Added PSP Accept/Cance
This commit is contained in:
1 parent
225f405592
commit
ff84ce2b04
13 files changed
+89
-6
No files matched your search
@@ -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
|
||||
)) {
|
||||
|
||||
Reference in new issue
Block a user