Files
linux/Documentation
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-01-03 16:47:13 -07:00
2016-12-27 13:05:36 -07:00
2017-02-20 14:26:13 +01:00
2016-12-22 12:32:33 -08:00
2017-02-10 11:15:08 +01:00
2016-06-30 13:07:33 -06:00
2016-12-14 10:54:28 +01:00
2016-06-07 22:57:10 +02:00
2016-11-07 12:16:06 -06:00
2016-05-17 14:48:04 +02:00