Bläddra i källkod

Update controls document

Specify all available gamepad controls.
master
TheoryOfNekomata 1 år sedan
förälder
incheckning
494adc81a3
1 ändrade filer med 11 tillägg och 3 borttagningar
  1. +11
    -3
      docs/controls.md

+ 11
- 3
docs/controls.md Visa fil

@@ -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


Laddar…
Avbryt
Spara