From 98f251d15524b8061cc689b07e2d316db1451e3b Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Mon, 13 Apr 2026 21:17:31 +0200 Subject: [PATCH] android test --- source/core/input/input.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/core/input/input.hpp b/source/core/input/input.hpp index 66879f93b..04467e023 100644 --- a/source/core/input/input.hpp +++ b/source/core/input/input.hpp @@ -66,9 +66,11 @@ class Input { {Action::CANCEL, ButtonState{.button = static_cast(SDL_GAMEPAD_BUTTON_BACK)}}, // Botó START del mando → pausa {Action::PAUSE, ButtonState{.button = static_cast(SDL_GAMEPAD_BUTTON_START)}}, - // Shoulders → paleta següent / mode d'ordenació de paleta següent + // Shoulders → paleta següent / toggle integer scale (workaround + // Android: la restauració del canvas no funciona sempre en sortir + // de fullscreen, R permet forçar-la manualment). {Action::NEXT_PALETTE, ButtonState{.button = static_cast(SDL_GAMEPAD_BUTTON_LEFT_SHOULDER)}}, - {Action::NEXT_PALETTE_SORT, ButtonState{.button = static_cast(SDL_GAMEPAD_BUTTON_RIGHT_SHOULDER)}}} {} + {Action::TOGGLE_INTEGER_SCALE, ButtonState{.button = static_cast(SDL_GAMEPAD_BUTTON_RIGHT_SHOULDER)}}} {} ~Gamepad() { if (pad != nullptr) {