android test
This commit is contained in:
@@ -66,9 +66,11 @@ class Input {
|
||||
{Action::CANCEL, ButtonState{.button = static_cast<int>(SDL_GAMEPAD_BUTTON_BACK)}},
|
||||
// Botó START del mando → pausa
|
||||
{Action::PAUSE, ButtonState{.button = static_cast<int>(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<int>(SDL_GAMEPAD_BUTTON_LEFT_SHOULDER)}},
|
||||
{Action::NEXT_PALETTE_SORT, ButtonState{.button = static_cast<int>(SDL_GAMEPAD_BUTTON_RIGHT_SHOULDER)}}} {}
|
||||
{Action::TOGGLE_INTEGER_SCALE, ButtonState{.button = static_cast<int>(SDL_GAMEPAD_BUTTON_RIGHT_SHOULDER)}}} {}
|
||||
|
||||
~Gamepad() {
|
||||
if (pad != nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user