Added PSP Accept/Cance

This commit is contained in:
YourWishes committed 2026-04-17 15:28:03 -05:00
1 parent 225f405592
commit ff84ce2b04
13 files changed
+89 -6

No files matched your search

+5
View File
@@ -73,6 +73,11 @@ float_t inputButtonGetValueSDL2(const inputbutton_t button) {
#ifdef DUSK_INPUT_GAMEPAD
case INPUT_BUTTON_TYPE_GAMEPAD: {
assertTrue(
button.gpButton < SDL_CONTROLLER_BUTTON_MAX,
"Gamepad button out of range"
);
if(SDL_GameControllerGetButton(
INPUT.platform.controller, button.gpButton
)) {