76 Commits

Author SHA1 Message Date
Unknown W. Brackets
0bd31e1567 Windows: Reduce CPU usage with no XInput connected. 2017-04-02 14:34:20 -07:00
Henrik Rydgard
ff2b6b3fca Assorted cleanup, UWP memory map fixes. PSPFlower runs in both 32-bit and 64-bit. 2017-03-23 10:02:28 +01:00
Henrik Rydgard
4ced81b1df UWP: Hook up basic touch/mouse input. Start work on loading from a StorageFile. Getting closer to starting to boot a game 2017-03-23 10:02:28 +01:00
Unknown W. Brackets
9e390510df Remove legacy InputState. 2017-03-14 22:07:07 -07:00
Henrik Rydgard
947f8c5bdd Let multiple XInput devices be mapped separately. Fixes #8250 2017-02-19 15:02:47 +01:00
Henrik Rydgard
5c918da774 Minor cleanups (combined two identical enums, misc) 2017-02-15 11:06:59 +01:00
Henrik Rydgard
f4b1152b00 Pick some safe changes from the android gradle branch (including windows CMake fixes) 2016-12-05 16:52:03 +01:00
Unknown W. Brackets
f0a8e931ff Remove UTF-8 BOMs from a few files.
And note the only ones that do need them in editorconfig.
2016-08-07 17:59:35 -07:00
Henrik Rydgard
28d8ed5881 Win32: Fix a bunch of little window resizing issues 2015-05-15 18:04:05 +02:00
Josh Palmer
929866edd3 XInput/DInput: Rename settings, fix sensitivity
* Change deadzone inverter naming convention to 'analog mapper'
* Remove hokey mathematics from sensitivity calculations
2015-02-05 06:30:29 +00:00
Josh Palmer
4c6410cd0d DInput/XInput: Further fixes & improvements
* Remove redundant second analog settings for XInput
* Replace DInput circle->square mapping with improved XInput version
2015-02-05 05:48:29 +00:00
Josh Palmer
6856709b1d DInput/XInput: Deadzone fixes & Sensitivity
* DInput Deadzone & Deadzone Inverter now function correctly
* Added analog Sensitivity options to DInput and XInput
2015-02-05 05:30:39 +00:00
Josh Palmer
918b96500c DInput/XInput: Configurable deadzone + inverter
* Add configurable shared deadzone for all DInput axes
* Add configurable separate deadzones for left & right XInput sticks
* Add configurable deadzone inverter for DInput X/Y axes
* Add configurable deadzone inverter for XInput sticks
2015-01-17 21:26:08 +00:00
Henrik Rydgard
995da23425 XInput: Try a different mapping of circular stick values to square psp stick values. May help #6772 ? 2014-09-05 23:31:25 +02:00
Unknown W. Brackets
3793bd5a02 Avoid xinput pad jitter resetting axis state.
Should take care of #5526.
2014-06-16 01:37:20 -07:00
Henrik Rydgard
3023f7d06b Android: Switch dpad default to use HAT X/Y +/- instead of "dpad", as documented.
Add a simple "autoconfigure" facility for input devices, that lets the user choose
if several are connected.

Can be expanded in the future to provide custom default mapppings for various devices as long as we manage to identify them.

Ideally, key mappings should be unique per device but they aren't yet.
2014-05-19 23:31:11 +02:00
Unknown W. Brackets
08b41df6a2 Change a few more log types. 2013-09-07 13:31:14 -07:00
Henrik Rydgard
55aa3d13c7 Win32: Switch to a UNICODE build. This took quite a bit of fixing. 2013-08-26 19:00:16 +02:00
Henrik Rydgard
edb0614a59 Fix analog axis names. Make L2/R2 on x360 controllers analog.
Also slightly nicer behaviour - don't create empty mapping, instead ask for mappings immediately.
2013-08-17 11:18:45 +02:00
Sacha
8b4280b297 Rename KEYCODE to NKCODE (native key code) to stop name collision. Implement Blackberry keymapping. 2013-08-05 03:31:40 +10:00
Henrik Rydgard
17e3751f45 Really avoid crash if no xinput dll 2013-07-25 23:58:19 +02:00
Henrik Rydgard
fafa9c9bfd Dynamically load XInput, lets us to map the home button with a trick
Also avoids failing to start if XInput 1.3 is not installed.
2013-07-23 00:12:26 +02:00
Henrik Rydgard
28ad8dc230 Lots of NewUI stuff (still experimental), fix back bug with x360 controllers 2013-07-17 22:27:50 +02:00
Unknown W. Brackets
cb1b1164d1 Only send XInput analog on change. 2013-07-07 17:18:02 -07:00
Unknown W. Brackets
3852e26558 Remove the force device setting, map instead. 2013-07-07 13:44:21 -07:00