HID: sony: Expose DS3 motion sensors through separate device
authorRoderick Colenbrander <roderick.colenbrander@sony.com>
Tue, 7 Mar 2017 23:45:10 +0000 (15:45 -0800)
committerJiri Kosina <jkosina@suse.cz>
Tue, 21 Mar 2017 14:12:07 +0000 (15:12 +0100)
commit510c8b7c168bcad75e2864f73e5125d7218ee3cf
tree37a6858d485438a40eb86806fafec3ccdcebba16
parent80ecc48c0ade5e99cc9d84febd17c44a4f011c13
HID: sony: Expose DS3 motion sensors through separate device

This patch adds a separate evdev node for the DS3 its motion
sensors. We only expose the accelerometers as the gyroscope
is extremely difficult to manage and behavior varies a lot
between hardware revisions.

Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-sony.c