summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface
AgeCommit message (Collapse)Author
2015-08-16Merge pull request #2794 from randomstuff/evdev-stableScott Mansell
Stable device identifier for evdev
2015-08-16Merge pull request #2854 from Tilka/valgrindMarkus Wick
Fix some small stuff found with Valgrind Conflicts: Source/Core/Core/PowerPC/CachedInterpreter.cpp
2015-07-07evdev: Delete rumble effects on the correct file descriptor.Scott Mansell
Was using m_id insted of m_fd. Also re-arrange the code so rumble effects always get deleted instead of just on stop commands.
2015-07-01evdev: Support axis with ranges which extend below zero.Scott Mansell
2015-07-01Linux: Add an evdev based controller backend, to replace SDL.Scott Mansell
2015-06-08Revert "SDL: handle SDL_QUIT event"Matthew Parlane
2015-06-05SDL: handle SDL_QUIT eventTillmann Karras
Using SDL_INIT_JOYSTICK implies SDL_INIT_EVENTS which installs a signal handler for SIGINT and SIGTERM. There will be a way to prevent this in 2.0.4 but for now we'll need to handle SDL_QUIT.
2015-05-28Pass strings by const reference where possibleLioncash
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2015-05-25Add missing license headersTillmann Karras
2015-05-25Simplify some more license headersTillmann Karras
2015-05-22ExpressionParser: Add missing break in UnaryExpression value settingLioncash
2015-04-21Merge pull request #2199 from skidau/remove-controls-lockMatthew Parlane
Cleaned up the controller locking mechanism
2015-03-28Track the co-ordinates of the mouse relative to the pointed window instead ↵skidau
of the original hwnd.
2015-03-28Revert the recent changes related to updating hwndskidau
2015-03-19Updated the input plugins reference of hwnd on game start. Fixes the emu ↵skidau
wiimotes mouse IR when rendering the game to a separate window.
2015-03-12Removed the controller update lock as it is no longer needed.skidau
2015-03-08Fixed the crash that would occur when the Refresh button was pressed in the ↵skidau
controllers config. - Simplified the locking mechanism when controllers were updated - Reloaded the config of the controls instead of re-initialising the control plugins - Fixed controls being unresponsive after the Refresh button was pressed - Disables the hotkeys while the controller config is open
2015-02-26Do not fail to evaluate an expression if some input is missingGabriel Corona
My keyboard layout does not have Alt_R but ISO_Level3_Shift. As a consequence any control expression containing Alt_R fails to evaluate completely and is unusable. This modification replace the missing term of the expression by a dummy expression which always evaluate to 0. This way, the keybinding can work even if some keys are not available.
2015-01-19Remove an assumption in SDL.Ryan Houdek
We can compile with haptic support, and then not initialize due to haptics not being available. So if we are compiling with haptics, test initializing with haptics and if that fails attempt to initialize without haptics before bailing out.
2015-01-13 SDL haptic: minor style change based on review feedbackAdam D. Moss
2015-01-11 SDL input: unhardcode a few values.Adam D. Moss
& change effect length to half a second instead of infinite, in futile attempt to avoid runaway rumbles.
2015-01-11 SDL Input: More minor refactoring of SDL haptic effectsAdam D. Moss
2015-01-08 SDL: Refactor the SDL haptic effects a little.Adam D. Moss
2015-01-08SDL: more global memsetKarol Herbst
2015-01-06SDL Input: Support more types of force feedback for controllers through SDL.Adam Moss
2014-12-20Manually revert d34418100be19fdbdf112febde3303edd48c9247comex
2014-11-28HW: Remove UpdateOutputJasper St. Pierre
All of the rumble interfaces are now immediate mode.
2014-11-28ForceFeedback: Apply immediately as wellJasper St. Pierre
2014-11-28XInput: Apply immediately as wellJasper St. Pierre
2014-11-28SDL: Apply updates immediately rather than going through UpdateOutputJasper St. Pierre
We're going to remove UpdateOutput as it's redundant, and horribly complicates the code.
2014-11-28ControllerInterface: Make UpdateInput / UpdateOutput return voidJasper St. Pierre
The return values here have never been checked, so it doesn't make sense to return a value to begin with.
2014-11-28ControllerInterface: Remove unused ClearInputStateJasper St. Pierre
2014-11-28ControllerInterface: Implement dummy UpdateInput / UpdateOutputsJasper St. Pierre
Make the implementation here a bit easier.
2014-11-28DInput: Remove the unsupported Lights outputJasper St. Pierre
The LEDs feature doesn't actually do anything: the SetState method is entirely commented out.
2014-11-28ControllerInterface: Remove unused "force" parameterJasper St. Pierre
I'm not sure when this nonsense of forcing locking the mutex when it's already taken should have ever taken effect, but let's be thankful it isn't now. That was a badly worded sentence.
2014-11-11Fix some double->float conversions.Rachel Bryk
2014-10-28Make some OSX-only functions staticLioncash
Gets rid of function prototype warnings.
2014-10-21Add missing includes where headers depend on other headers having been ↵comex
included first. This is good hygiene, and also happens to be required to build Dolphin using Clang modules. (Under this setup, each header file becomes a module, and each #include is automatically translated to a module import. Recursive includes still leak through (by default), but modules are compiled independently, and can't depend on defines or types having previously been set up. The main reason to retrofit it onto Dolphin is compilation performance - no more textual includes whatsoever, rather than putting a few blessed common headers into a PCH. Unfortunately, I found multiple Clang bugs while trying to build Dolphin this way, so it's not ready yet, but I can start with this prerequisite.)
2014-10-15ControllerInterface: Get rid of SetHwnd(), introduce Reinitialize()Lioncash
Initialize now just takes the handle directly. Reinitialize is added because it is much more straightforward in comparison to doing the Shutdown-Initialize manually.
2014-10-02Change a bunch of reference function arguments to pointers.comex
Per the coding style and sanity.
2014-09-21Fix building Dolphin on OSX without precompiled headersLioncash
2014-09-19Fix build failing when disabling precompiled headers.Rohit Nirmal
2014-09-14Kill off the wx casts within InputCommon and GLInterface.Lioncash
All because someone didn't actually return the wxWindow handle for the edge case.
2014-09-13InputCommon: Initialize NSDictionaries using literal syntax.Lioncash
2014-09-10Merge pull request #1027 from rohit-n/change-includeRyan Houdek
Include CommonTypes.h instead of Common.h.
2014-09-08InputCommon: Remove unnecessary breaks in XInput's GetName functionLioncash
2014-09-08Include CommonTypes.h instead of Common.h.Rohit Nirmal
2014-09-04Controller Interface: Remove "using namespace" in header file.Rohit Nirmal