From 494adc81a353d6ade14b86addd4bcb67fd5f8296 Mon Sep 17 00:00:00 2001 From: TheoryOfNekomata Date: Sat, 4 Mar 2023 19:47:36 +0800 Subject: [PATCH] Update controls document Specify all available gamepad controls. --- docs/controls.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/controls.md b/docs/controls.md index 214746d..9ea10e8 100644 --- a/docs/controls.md +++ b/docs/controls.md @@ -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