]> git.baikalelectronics.ru Git - kernel.git/commit
HID: hid-logitech: Rewrite of descriptor for all DF wheels
authorSimon Wood <gitsend@mungewell.org>
Sun, 18 Sep 2016 16:55:40 +0000 (10:55 -0600)
committerJiri Kosina <jkosina@suse.cz>
Mon, 26 Sep 2016 13:39:55 +0000 (15:39 +0200)
commitd96b042b9fbc24a089cc9c76774763d756827a7d
treeaeba90c0fda2b17ed9263d688153578b83bcf206
parent314a3934a9c804753ed752d71a9d16d3b89a79b0
HID: hid-logitech: Rewrite of descriptor for all DF wheels

Rewrite the HID descriptor for _all_ Driving Force wheels (real
or emulated) so that they can report separate Accelerator and
Brake axis.

If the user wants a combined accel/brake axis, they can use the
'combined pedals' feature.

$ echo 1 > /sys/bus/hid/devices/<device-id>/combine_pedals

Signed-off-by: Simon Wood <simon@mungewell.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-lg.c