dolphin/Source/Core/InputCommon
Scott Pleb 0bede93daa evdev: Correctly calculate axis range for min values greater than 0.
Axis range was previously calculated as max + abs(min), which relies on the assumption that
min will not exceed 0. For (min, max) values like (0, 255) or (-128, 127), which I assume to
be the most common cases, the range is correctly calculated as 255. However, given (20,
235), the range is erroneously calculated as 255, leading to axis values being normalized
incorrectly.

SDL already handles this case correctly. After changing the range calculation to max - min,
the axis values received from the evdev backend are practically identical to the values
received from the SDL backend.
2017-11-11 02:07:04 -05:00
..
ControllerEmu ControlReference: don't reparse expression when references are updated 2017-09-14 12:53:35 -07:00
ControllerInterface evdev: Correctly calculate axis range for min values greater than 0. 2017-11-11 02:07:04 -05:00
ControlReference ExpressionParser: std::move() tokens vector to parser 2017-09-14 12:53:36 -07:00
CMakeLists.txt Depreciate old OSX Keyboard and Mouse 2017-08-21 01:44:03 -04:00
GCAdapter.cpp Add Core::State::Starting 2017-09-13 17:30:18 -07:00
GCAdapter.h GCAdapter: Return input state by value 2016-08-01 21:27:51 -04:00
GCAdapter_Android.cpp Add Core::State::Starting 2017-09-13 17:30:18 -07:00
GCPadStatus.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00
InputCommon.vcxproj upgrade to Windows SDK 10.0.15063.0 2017-05-28 13:37:31 +02:00
InputCommon.vcxproj.filters might as well update yet some more pointless version numbers.. 2017-06-03 18:20:40 -07:00
InputConfig.cpp keyboard fixes v2 2017-08-22 12:26:44 -04:00
InputConfig.h ControllerEmu: Separate ControlGroup from ControllerEmu 2017-02-09 18:18:52 -05:00
KeyboardStatus.h Reformat all the things. Have fun with merge conflicts. 2016-06-24 10:43:46 +02:00