summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon
AgeCommit message (Collapse)Author
2014-06-24Remove the 32-bit config platform from the VS solution and projectsLioncash
2014-06-16Use only section-based ini reading.Lioncash
2014-05-30Merge pull request #300 from Sonicadvance1/Fix-AndroidInputshuffle2
[Android] Fixes a bunch of input bugs.
2014-05-29Remove the min/max functions in CommonFuncs.Lioncash
The algorithm header has the same functions.
2014-05-04Remove SDL from Externals.Jordan Woyak
2014-05-04Disable SDL input on Windows.Jordan Woyak
2014-04-24[Android] Fix a bunch of input bugs.Ryan Houdek
Looking at the old code for the ButtonManager was a brainfsck. This fixes a ton of bugs I kept uncovering as I was moving along. Fixes the gamepad configuration file being incorrect. No longer treats touchscreen in a special way. Ends up as a regular device with a "Touchscreen" device name. Was incorrectly converting a index from integer to ButtonType. Wouldn't work due to the addition of some unused(in JNI) enumerators in ButtonType. Fixes an issue where a map had a key as an axis which was causing its binding to be overwritten for every axis that was used twice (eg main stick left and right); Fixes Triggers not working at all. Fixes DPad not working at all. Fixes C-Stick only half working. Removes touch screen specific nativelibrary types onTouchAxisEvent and onTouchEvent. Adds a configuration version configuration option. Allows easy configuration overwriting if the options need to be changed during updating. Supersedes github PR #291.
2014-04-17Add support for the guide button to XInputpinumbernumber
2014-04-16Don't use SDL devices that report invalid ranges.Ryan Houdek
If Buttons, Axes, Hats, or Balls > 255 then reject it.
2014-04-01Replace use of the deprecated mem_fun function with mem_fn.lioncash
2014-03-29Remove all trailing whitespaces from our codebase.Pierre Bourdon
2014-03-17Turn some non-const refs into pointersTillmann Karras
2014-03-14Kill off some usages of c_str.Lioncash
Also changes some function params, but this is ok. Some simplifications were also able to be made (ie. killing off strcmps with ==, etc).
2014-03-11Fixes spacing for "for", "while", "switch" and "if"Matthew Parlane
Also moved && and || to ends of lines instead of start. Fixed misc vertical alignments and some { needed newlining.
2014-03-09clang-modernize -use-nullptrTillmann Karras
and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine
2014-03-09clang-modernize -add-overrideTillmann Karras
2014-02-28Various changes suggested by cppcheckTillmann Karras
- remove unused variables - reduce the scope where it makes sense - correct limits (did you know that strcat()'s last parameter does not include the \0 that is always added?) - set some free()'d pointers to NULL
2014-02-22Remove X11InputBase (dead code)Tillmann Karras
2014-02-20Fix the Windows build in relation to the recent changes.Lioncash
2014-02-20Fix more header sorting issues in InputCommon/ (now check-includes clean).Pierre Bourdon
2014-02-18Fix Linux buildPierre Bourdon
2014-02-18Convert all includes to relative paths.Lioncash
2014-02-17Second and final pass of clearing out tabs.Lioncash
2014-02-16Fix some vertical alignmentsLioncash
ie. uses spaces for alignment.
2014-02-13Turn loops into range-based formTillmann Karras
and some things suggested by cppcheck and compiler warnings.
2014-02-13Merge pull request #50 from Parlane/inifile_tidyMatthew Parlane
Fix IniFile to use string& instead of char*
2014-02-13Fix IniFile to use string& instead of char*Matthew Parlane
Also removes .c_str() usages where found.
2014-02-10Replace all include guard ifdefs with "#pragma once"lioncash
2014-02-09Clean up some struct indentationsLioncash
Also cleaned up the indentations of some variable declarations.
2014-02-09ForceFeedback: Fixed scoping bugJules Blok
Previous code relied on a destroyed variable to still be valid.
2014-02-09ForceFeedback: Don't depend on the force_type_name index.Jules Blok
Instead use a for-each loop, compare GUIDs and save the name pointers.
2014-02-09ForceFeedback: Add OSX rumble supportJules Blok
2014-02-09ControllerInterface: Move DInput ForceFeedback support to a seperate classJules Blok
2014-02-01Introduce the usage of unique_ptr into the InputCommon ControlEmu.h class. ↵Lioncash
Allows for the automatic handling of resource deallocation.
2014-01-30Remove some unnecessary comments, as pointed out by Matt_P.Lioncash
2014-01-30Light cleanup to a little bit of InputCommon. Replaces much of the iterators ↵Lioncash
that litter this section of the codebase. Also clean up a little bit of the comments that describe the interface classes.
2014-01-20Move GLInterface.h into GLInterface directoryScott Moreau
2014-01-20Merge Platform.h into GLInterface.hScott Moreau
2014-01-19wayland: Add bits required to run as a wayland client.Scott Moreau
2013-12-31Remove unnecessary Src/ foldersJasper St. Pierre
2013-12-31Convert all vcxproj files to UNIX line endingsJasper St. Pierre
2013-12-12[Android] Fix joysticks only capable of right/down movements. Also make it ↵Ryan Houdek
capable of using onscreen joystick even if controller 1 is bound.
2013-11-24Merge branch 'master' into android-new-control-input-overlayRyan Houdek
Conflicts: Source/Android/res/values-ja/strings.xml Source/Android/res/values/strings.xml Source/Android/src/org/dolphinemu/dolphinemu/AboutFragment.java Source/Android/src/org/dolphinemu/dolphinemu/emulation/EmulationActivity.java Source/Android/src/org/dolphinemu/dolphinemu/folderbrowser/FolderBrowser.java Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListActivity.java Source/Android/src/org/dolphinemu/dolphinemu/settings/video/VideoSettingsFragment.java
2013-11-24[Android-overlay] Support multiple gamepads with touch screen controls.Ryan Houdek
2013-11-14more warning fixesJordan Cristiano
2013-11-03Run code through clang-modernize -add-override to add 'override' decls.comex
2013-11-03Run code through the advanced tool 'sed' to remove trailing whitespace.comex
2013-11-03Run code through clang-modernize -loop-convert to create range-based for ↵comex
loops, and manually fix some stuff up.
2013-10-26Update to VS2013 and a slew of build-related updates. Notes:Shawn Hoffman
* Currently there is no DEBUGFAST configuration. Defining DEBUGFAST as a preprocessor definition in Base.props (or a global header) enables it for now, pending a better method. This was done to make managing the build harder to screw up. However it may not even be an issue anymore with the new .props usage. * D3DX11SaveTextureToFile usage is dropped and not replaced. * If you have $(DXSDK_DIR) in your global property sheets (Microsoft.Cpp.$(PlatformName).user), you need to remove it. The build will error out with a message if it's configured incorrectly. * If you are on Windows 8 or above, you no longer need the June 2010 DirectX SDK installed to build dolphin. If you are in this situation, it is still required if you want your built binaries to be able to use XAudio2 and XInput on previous Windows versions. * GLew updated to 1.10.0 * compiler switches added: /volatile:iso, /d2Zi+ * LTCG available via msbuild property: DolphinRelease * SDL updated to 2.0.0 * All Externals (excl. OpenAL and SDL) are built from source. * Now uses STL version of std::{mutex,condition_variable,thread} * Now uses Build as root directory for *all* intermediate files * Binary directory is populated as post-build msbuild action * .gitignore is simplified * UnitTests project is no longer compiled
2013-10-19Remove some unnecessary includes as well as simplifying exisiting ones if ↵Lioncash
possible.