227c011b2e
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> |
||
---|---|---|
.. | ||
alps.txt | ||
amijoy.txt | ||
appletouch.txt | ||
atarikbd.txt | ||
bcm5974.txt | ||
cd32.txt | ||
cma3000_d0x.txt | ||
cs461x.txt | ||
edt-ft5x06.txt | ||
elantech.txt | ||
event-codes.txt | ||
ff.txt | ||
gamepad.txt | ||
gameport-programming.txt | ||
gpio-tilt.txt | ||
iforce-protocol.txt | ||
input-programming.txt | ||
input.txt | ||
interactive.fig | ||
joystick-api.txt | ||
joystick-parport.txt | ||
joystick.txt | ||
multi-touch-protocol.txt | ||
notifier.txt | ||
ntrig.txt | ||
rotary-encoder.txt | ||
sentelic.txt | ||
shape.fig | ||
userio.txt | ||
walkera0701.txt | ||
xpad.txt | ||
yealink.txt |