summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface
AgeCommit message (Collapse)Author
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
2014-07-16Host: Add a new "UIHasFocus" hook to determine if the UI has focusJasper St. Pierre
We can't use RendererHasFocus for this purpose because of some issues with exclusive fullscreen, and the new RendererHasFocus implementation didn't work for non-Render to Main Window cases, since the renderer window wasn't managed by wx.
2014-07-11ControllerInterface: Gate the input based on our new background input settingJasper St. Pierre
2014-07-11mark all local functions as staticdegasus
2014-05-30Merge pull request #300 from Sonicadvance1/Fix-AndroidInputshuffle2
[Android] Fixes a bunch of input bugs.
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.