Roderick Colenbrander 227c011b2e HID: sony: Report DS4 motion sensors through a separate device
The DS4 motion sensors are currently mapped by the hid-core driver
to non-existing axes in between ABS_MISC and ABS_MT_SLOT, because
the device already exhausted ABS_X-ABS_RZ. For a part the mapping
by hid-core is accomplished by a fixup in hid-sony as the motion
axes actually use vendor specific usage pages.

This patch makes the DS4 use a separate input device for the motion
sensors and reports acceleration data through ABS_X-ABS_Z and
gyroscope data through ABS_RX-ABS_RZ. In addition it extends the
event spec to allow gyroscope data through ABS_RX-ABS_RZ when
INPUT_PROP_ACCELEROMETER is set. This change was suggested by
Peter Hutterer during a discussion on linux-input.

[jkosina@suse.cz: rebase onto slightly newer codebase]
Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2017-03-21 15:11:32 +01:00
..
2017-02-20 17:55:15 -08:00
2016-12-25 10:47:44 +01:00
2016-12-18 15:49:10 -08:00
2017-02-20 14:23:40 +01:00
2017-02-21 17:06:22 -08:00
2017-02-21 11:51:42 -08:00
2017-02-20 16:42:43 -08:00
2016-12-25 17:21:22 +01:00
2017-02-21 16:58:32 -08:00
2017-02-21 11:51:42 -08:00
2017-02-21 12:04:54 -08:00
2017-02-21 10:57:33 -08:00
2017-02-21 13:53:41 -08:00
2016-12-25 10:47:44 +01:00
2016-12-14 10:49:33 -08:00
2016-12-15 11:45:13 -08:00
2017-02-20 17:23:57 -08:00
2017-02-21 11:51:42 -08:00
2017-02-21 11:51:42 -08:00
2017-01-30 14:39:20 +01:00
2017-02-20 17:55:15 -08:00
2017-02-21 16:58:32 -08:00
2017-02-21 10:57:33 -08:00
2017-02-20 14:22:50 +01:00
2017-02-20 16:42:43 -08:00
2016-12-24 11:27:45 -08:00