Messages in this thread Patch in this message | | | From | David Herrmann <> | Subject | [PATCH 3/4] Input: remove ambigious gamepad comment | Date | Tue, 17 Dec 2013 16:48:53 +0100 |
| |
If only a single trigger combination is present on a device, either can be reported. If the side of the trigger (left/right) cannot be decided (eg., if it's centered), then choose any side. User-space automatically notices that only a single trigger is reported and thus doesn't care how it is reported.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com> --- Documentation/input/gamepad.txt | 2 -- 1 file changed, 2 deletions(-)
diff --git a/Documentation/input/gamepad.txt b/Documentation/input/gamepad.txt index 31bb6a4..196dc42 100644 --- a/Documentation/input/gamepad.txt +++ b/Documentation/input/gamepad.txt @@ -138,8 +138,6 @@ Triggers: Upper trigger buttons are reported as BTN_TR or ABS_HAT1X (right) and BTN_TL or ABS_HAT1Y (left). Lower trigger buttons are reported as BTN_TR2 or ABS_HAT2X (right/ZR) and BTN_TL2 or ABS_HAT2Y (left/ZL). - If only one trigger-button combination is present (upper+lower), they are - reported as "right" triggers (BTN_TR/ABS_HAT1X). (ABS trigger values start at 0, pressure is reported as positive values) Menu-Pad: -- 1.8.5.1
| |