summaryrefslogtreecommitdiff
path: root/fs/filesystems.c
diff options
context:
space:
mode:
authorRoderick Colenbrander <roderick.colenbrander@sony.com>2017-03-08 02:45:00 +0300
committerJiri Kosina <jkosina@suse.cz>2017-03-21 17:11:32 +0300
commit227c011b2e046dd4d36d9e00e3d9c88097b2a4c3 (patch)
tree01d851c728388f115f941de1cd8ff5040e1d49d4 /fs/filesystems.c
parent765a1077c85e5f2efcc43582f80caf43a052e903 (diff)
downloadlinux-227c011b2e046dd4d36d9e00e3d9c88097b2a4c3.tar.xz
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>
Diffstat (limited to 'fs/filesystems.c')
0 files changed, 0 insertions, 0 deletions