Skip to content

Commit aae7736

Browse files
committed
Added additional examples of paddle and misc buttons (thanks @AL2009man!)
1 parent f44a987 commit aae7736

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

include/SDL3/SDL_gamepad.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -165,14 +165,14 @@ typedef enum SDL_GamepadButton
165165
SDL_GAMEPAD_BUTTON_DPAD_LEFT,
166166
SDL_GAMEPAD_BUTTON_DPAD_RIGHT,
167167
SDL_GAMEPAD_BUTTON_MISC1, /**< Additional button (e.g. Xbox Series X share button, PS5 microphone button, Nintendo Switch Pro capture button, Amazon Luna microphone button, Google Stadia capture button) */
168-
SDL_GAMEPAD_BUTTON_RIGHT_PADDLE1, /**< Upper or primary paddle, under your right hand (e.g. Xbox Elite paddle P1) */
169-
SDL_GAMEPAD_BUTTON_LEFT_PADDLE1, /**< Upper or primary paddle, under your left hand (e.g. Xbox Elite paddle P3) */
170-
SDL_GAMEPAD_BUTTON_RIGHT_PADDLE2, /**< Lower or secondary paddle, under your right hand (e.g. Xbox Elite paddle P2) */
171-
SDL_GAMEPAD_BUTTON_LEFT_PADDLE2, /**< Lower or secondary paddle, under your left hand (e.g. Xbox Elite paddle P4) */
168+
SDL_GAMEPAD_BUTTON_RIGHT_PADDLE1, /**< Upper or primary paddle, under your right hand (e.g. Xbox Elite paddle P1, DualSense Edge RB button, Right Joy-Con SR button) */
169+
SDL_GAMEPAD_BUTTON_LEFT_PADDLE1, /**< Upper or primary paddle, under your left hand (e.g. Xbox Elite paddle P3, DualSense Edge LB button, Left Joy-Con SL button) */
170+
SDL_GAMEPAD_BUTTON_RIGHT_PADDLE2, /**< Lower or secondary paddle, under your right hand (e.g. Xbox Elite paddle P2, DualSense Edge right Fn button, Right Joy-Con SL button) */
171+
SDL_GAMEPAD_BUTTON_LEFT_PADDLE2, /**< Lower or secondary paddle, under your left hand (e.g. Xbox Elite paddle P4, DualSense Edge left Fn button, Left Joy-Con SR button) */
172172
SDL_GAMEPAD_BUTTON_TOUCHPAD, /**< PS4/PS5 touchpad button */
173173
SDL_GAMEPAD_BUTTON_MISC2, /**< Additional button */
174-
SDL_GAMEPAD_BUTTON_MISC3, /**< Additional button */
175-
SDL_GAMEPAD_BUTTON_MISC4, /**< Additional button */
174+
SDL_GAMEPAD_BUTTON_MISC3, /**< Additional button (e.g. Nintendo GameCube left trigger click) */
175+
SDL_GAMEPAD_BUTTON_MISC4, /**< Additional button (e.g. Nintendo GameCube right trigger click) */
176176
SDL_GAMEPAD_BUTTON_MISC5, /**< Additional button */
177177
SDL_GAMEPAD_BUTTON_MISC6, /**< Additional button */
178178
SDL_GAMEPAD_BUTTON_COUNT

0 commit comments

Comments
 (0)