RetroArch/input/common
gblues 78858a9474
Fix analog inputs on HID devices (#12991)
== DETAILS

File this one under "I'm not sure how this ever worked."

I mean, it did (in 1.8.8). I'm not sure what changed, but ultimately what I did was
a bunch of comparative testing against 1.8.8:

- I confirmed the packet data was still being read successfully
- I confirmed that the axis value being passed into pad->get_axis() had
  not changed
- I confirmed the work done in `gamepad_read_axis_data()` was working the same
  between 1.8.8 and master

With the only difference between 1.8.8 and current being the return value from
`gamepad_read_axis_data()`, I just rewrote the method to work properly, and
also fixed up the default axis mapping.

I tested this with a sixaxis controller and GCA, configuring the analog-to-digital
control override to use the right stick.
2021-09-15 03:30:05 +02:00
..
hid WIIU: Fix L3/R3 buttons 2021-08-07 23:23:33 -07:00
input_hid_common.c Fix analog inputs on HID devices (#12991) 2021-09-15 03:30:05 +02:00
input_x11_common.c Cleanups 2020-08-28 20:40:06 +02:00
input_x11_common.h Clean up trailing whitespace 2017-12-12 00:24:18 -08:00
linux_common.c Cleanups 2020-07-24 22:23:52 +02:00
linux_common.h Cleanups 2020-07-24 22:23:52 +02:00
wayland_common.c Get rid of RARCH_LOG in wayland_common - gets rid of warning/error 2021-03-22 23:35:14 +01:00
wayland_common.h (Wayland) Fix serious warnings - input struct pointer was being passed 2020-08-31 19:56:03 +02:00