]> git.karo-electronics.de Git - karo-tx-linux.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)
commit7363b25af33251d036a4bedb7daed1e6bc395142
treeaeba90c0fda2b17ed9263d688153578b83bcf206
parentb456634b8d08b184a437bba55ac0efe7ef02d3b3
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