diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2013-11-05 12:23:52 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2013-11-05 12:23:52 +1100 |
commit | 1657566c87a3ae45bd0e0ca3876c7a386980b211 (patch) | |
tree | 09dd0ca3e960d298d607b20ab25b1359c55fdce9 /Documentation | |
parent | ca5f026efedeb01287863a9c7e1d5fdaf82d196d (diff) | |
parent | c6d81bd7237b5785080087bcf796ce456ef69557 (diff) |
Merge remote-tracking branch 'input/next'
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/input/gamepad.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/input/gamepad.txt b/Documentation/input/gamepad.txt index 8002c894c6b0..31bb6a4029ef 100644 --- a/Documentation/input/gamepad.txt +++ b/Documentation/input/gamepad.txt @@ -122,12 +122,14 @@ D-Pad: BTN_DPAD_* Analog buttons are reported as: ABS_HAT0X and ABS_HAT0Y + (for ABS values negative is left/up, positive is right/down) Analog-Sticks: The left analog-stick is reported as ABS_X, ABS_Y. The right analog stick is reported as ABS_RX, ABS_RY. Zero, one or two sticks may be present. If analog-sticks provide digital buttons, they are mapped accordingly as BTN_THUMBL (first/left) and BTN_THUMBR (second/right). + (for ABS values negative is left/up, positive is right/down) Triggers: Trigger buttons can be available as digital or analog buttons or both. User- @@ -138,6 +140,7 @@ Triggers: 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: Menu buttons are always digital and are mapped according to their location |