diff options
| author | MrMugame <[email protected]> | 2024-03-29 01:40:20 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-03-29 01:40:20 +0100 |
| commit | eda239cc97e78e548621013e2d2ce94149e8702b (patch) | |
| tree | 26a59825cafbb9885909a026c47e2d0d2827835c /src/raylib.h | |
| parent | 07128896af36817f8760068729111dcab29f6fdc (diff) | |
| download | raylib-eda239cc97e78e548621013e2d2ce94149e8702b.tar.gz raylib-eda239cc97e78e548621013e2d2ce94149e8702b.zip | |
Fixing gamepad buttons not working in drm backend (#3888)
* Fixing gamepad buttons in drm backend
* Remove trailing spaces
* Axis enumeration now works properly
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/raylib.h b/src/raylib.h index 1a15e124..0f6fdf51 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -721,9 +721,9 @@ typedef enum { GAMEPAD_BUTTON_LEFT_FACE_DOWN, // Gamepad left DPAD down button GAMEPAD_BUTTON_LEFT_FACE_LEFT, // Gamepad left DPAD left button GAMEPAD_BUTTON_RIGHT_FACE_UP, // Gamepad right button up (i.e. PS3: Triangle, Xbox: Y) - GAMEPAD_BUTTON_RIGHT_FACE_RIGHT, // Gamepad right button right (i.e. PS3: Square, Xbox: X) + GAMEPAD_BUTTON_RIGHT_FACE_RIGHT, // Gamepad right button right (i.e. PS3: Circle, Xbox: B) GAMEPAD_BUTTON_RIGHT_FACE_DOWN, // Gamepad right button down (i.e. PS3: Cross, Xbox: A) - GAMEPAD_BUTTON_RIGHT_FACE_LEFT, // Gamepad right button left (i.e. PS3: Circle, Xbox: B) + GAMEPAD_BUTTON_RIGHT_FACE_LEFT, // Gamepad right button left (i.e. PS3: Square, Xbox: X) GAMEPAD_BUTTON_LEFT_TRIGGER_1, // Gamepad top/back trigger left (first), it could be a trailing button GAMEPAD_BUTTON_LEFT_TRIGGER_2, // Gamepad top/back trigger left (second), it could be a trailing button GAMEPAD_BUTTON_RIGHT_TRIGGER_1, // Gamepad top/back trigger right (one), it could be a trailing button |
