summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface
AgeCommit message (Collapse)Author
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.
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-03-29Remove all trailing whitespaces from our codebase.Pierre Bourdon
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-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-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-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