Roderick Colenbrander 9131f8cc2b HID: sony: Comply to Linux gamepad spec for DS4
The DS4 side of hid-sony used the hid-core layer to assign buttons
and axes based on the HID report descriptors. The default mapping
was strange e.g. right stick using ABS_Z/ABS_RZ or the physical
'south button' being reported as BTN_EAST etcetera.

This patch makes the DS4 side ofi the hid-sony driver comply to
the Linux game controller spec as suggested in a discussion with
Dmitry on the linux-input list.

Currently the main user of the DS4 is the SDL2 library, which has
a mapping table using vendor/device/version as a key. In order to
not break SDL2 we discussed adjusting the version number, so it
can have both mappings. This was discust on linux-input and we
discussed privately with SDL2 developers.

Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2016-11-28 14:54:57 +01:00
..
2016-10-05 11:37:14 -07:00
2016-09-23 14:49:21 -07:00
2016-09-03 10:40:57 -07:00
2016-10-06 17:13:54 -07:00
2016-08-15 16:41:46 +02:00
2016-10-06 15:16:16 -07:00
2016-10-04 10:56:14 -07:00
2016-10-05 14:50:51 -07:00
2016-10-06 10:49:01 -07:00
2016-09-22 22:49:52 +02:00
2016-09-27 12:33:47 +02:00
2016-10-03 20:17:35 -07:00
2016-10-07 08:35:35 -07:00
2016-10-03 19:57:49 -07:00
2016-10-03 20:17:35 -07:00
2016-09-28 12:53:08 -07:00
2016-10-05 11:56:38 -07:00
2016-10-07 08:35:35 -07:00
2016-10-07 08:35:35 -07:00
2016-10-06 17:03:49 -07:00
2016-10-07 09:28:53 -07:00
2016-10-07 09:28:53 -07:00
2016-10-05 14:50:51 -07:00
2016-10-03 20:11:49 -07:00
2016-09-29 13:36:38 -06:00
2016-09-05 08:04:07 +02:00
2016-10-06 11:19:10 -07:00