summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface
AgeCommit message (Collapse)Author
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
2014-09-03Change ControlState typedef to double, and change all related floats/doubles ↵Rachel Bryk
to use it. Fixes an off by 1 issue related to double->float->double conversion, and eliminates numerous warnings.
2014-09-01Revert changes to how DInput filters out XInput devices.Shawn Hoffman
This is to remain compatible with XBCD devices.
2014-08-30InputCommon: Clean up brace placementsLioncash
2014-08-23windows: remove now-extraneous NOMINMAX and WIN32_LEAN_AND_MEAN #defines ↵Shawn Hoffman
from dolphin code. Wrap dinput.h in a header defining DIRECTINPUT_VERSION instead of repeating it multiple places.
2014-08-21Merge pull request #764 from magcius/new-nogui-2Lioncash
Rewrite GLInterface
2014-08-19msvc: enable strictStrings solution-wide for release.Shawn Hoffman
strictStrings is not supported by debug libraries, and indeed breaks the build. Drop wbemidl.h (incompatible with strictStrings) dependency by using SDL-style search for XInput GUIDs.
2014-08-19GLInterface: Destroy GLWinJasper St. Pierre
Everything is now safely tucked inside each individual GLInterface.
2014-08-19Remove support for WaylandJasper St. Pierre
Yes, this is a fancy new feature, but our Wayland support was particularly bitrotten, and ideally this would be handled by a platform layer like SDL. If not, we can always add this back in when GLInterface has caught up. We might be able to even support wxWidgets and GL together with subsurfaces!
2014-08-04Restore Wayland compatibility.Tony Wasserka
It was broken by e15ec56bf0237 because it wasn't deemed important. However chances are people will eventually start using Dolphin on that configuration, so we shouldn't frivolously drop compatibility without good reason.
2014-08-02Move GLInterface around to remove VideoBackends dependency on DolphinWXPierre Bourdon
2014-07-25Merge pull request #665 from lioncash/cismsPierre Bourdon
Get rid of a few C-style struct declarations
2014-07-24InputCommon: Include the algorithm header in ForceFeedbackDeviceLioncash
Also simplified the casting within a std::max call
2014-07-23Get rid of a few C-style struct declarationsLioncash