Browse Source

Update controls document

Specify all available gamepad controls.
master
TheoryOfNekomata 1 year ago
parent
commit
494adc81a3
1 changed files with 11 additions and 3 deletions
  1. +11
    -3
      docs/controls.md

+ 11
- 3
docs/controls.md View File

@@ -33,12 +33,20 @@
| Button B | `button:b` |
| Button X | `button:x` |
| Button Y | `button:y` |
| Left Bumper/Shoulder | `button:leftshoulder` |
| Right Bumper/Shoulder | `button:rightshoulder` |
| Right Trigger | `axis:+righttrigger` |
| Left Stick Button | `button:leftstick` |
| Right Stick Button | `button:rightstick` |
| Left Bumper/Shoulder | `button:leftshoulder` |
| Left Trigger | `axis:lefttrigger` |
| Left Trigger | `axis:+lefttrigger` |
| Right Trigger | `axis:+righttrigger` |
| Left Stick Up | `axis:-lefty` |
| Left Stick Right | `axis:+leftx` |
| Left Stick Down | `axis:+lefty` |
| Left Stick Left | `axis:-leftx` |
| Right Stick Up | `axis:-righty` |
| Right Stick Right | `axis:+rightx` |
| Right Stick Down | `axis:+righty` |
| Right Stick Left | `axis:-rightx` |

> **Note:** The config keys are based from SDL internal names, only we have added the `button:` and `axis:` bind
> prefixes to be flexible on setting up controls on the gamepad. The reason is because gamepad controls use different


Loading…
Cancel
Save