Pas a SDL3 complet

This commit is contained in:
2024-11-06 21:35:30 +01:00
parent 22619cf207
commit 53784e6fb0
7 changed files with 200 additions and 127 deletions

View File

@@ -57,7 +57,7 @@ namespace modules
}
} else {
const int8_t btn = input::getPadBtnPressed();
if (btn != SDL_CONTROLLER_BUTTON_INVALID) {
if (btn != SDL_GAMEPAD_BUTTON_INVALID) {
config::definePadBtn(selected_option, btn);
selected_option++;
if (selected_option==6) state = STATE_SELECTING;