summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff
diff options
context:
space:
mode:
authorSimon Wood2016-09-18 18:55:37 +0200
committerJiri Kosina2016-09-26 15:39:54 +0200
commit961af46f8e2c7bf793352c11262fb37e87706921 (patch)
tree7654fa53062f7314065ff795393877213c8bebb9 /Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik... (diff)
downloadkernel-qcow2-linux-961af46f8e2c7bf793352c11262fb37e87706921.tar.gz
kernel-qcow2-linux-961af46f8e2c7bf793352c11262fb37e87706921.tar.xz
kernel-qcow2-linux-961af46f8e2c7bf793352c11262fb37e87706921.zip
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 <simon@mungewell.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff')
-rw-r--r--Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff b/Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff
index db197a879580..9cd7c5adeb7e 100644
--- a/Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff
+++ b/Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff
@@ -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 <simon@mungewell.org>
+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'.