mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
HID: hid-logitech: Introduce control for combined pedals feature
Introduce a dev_attr which can be used to combine the accelerator and brake pedals into a single axis. This is useful for older games which can not handle seperate accelerator and brake. Signed-off-by: Simon Wood <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
This commit is contained in:
parent
884316deb4
commit
961af46f8e
2 changed files with 67 additions and 0 deletions
|
|
@ -50,3 +50,12 @@ Description: Displays the real model of the wheel regardless of any
|
|||
alternate mode the wheel might be switched to.
|
||||
It is a read-only value.
|
||||
This entry is not created for devices that have only one mode.
|
||||
|
||||
What: /sys/bus/hid/drivers/logitech/<dev>/combine_pedals
|
||||
Date: Sep 2016
|
||||
KernelVersion: 4.9
|
||||
Contact: Simon Wood <[email protected]>
|
||||
Description: Controls whether a combined value of accelerator and brake is
|
||||
reported on the Y axis of the controller. Useful for older games
|
||||
which can do not work with separate accelerator/brake axis.
|
||||
Off ('0') by default, enabled by setting '1'.
|
||||
|
|
|
|||
Loading…
Reference in a new issue