Added PSP Accept/Cance
This commit is contained in:
@@ -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