ja navega pels menus en ServiceMenu

Ja aplica les opcions de video de ServiceMenu
This commit is contained in:
2025-06-05 14:06:42 +02:00
parent 1a84f1b1b0
commit f1c576beef
7 changed files with 246 additions and 86 deletions

View File

@@ -211,6 +211,34 @@ namespace globalInputs
ServiceMenu::get()->setSelectorDown();
return;
}
// Derecha
if (Input::get()->checkInput(InputAction::RIGHT, INPUT_DO_NOT_ALLOW_REPEAT, InputDeviceToUse::KEYBOARD))
{
ServiceMenu::get()->setSelectorRight();
return;
}
// Izquierda
if (Input::get()->checkInput(InputAction::LEFT, INPUT_DO_NOT_ALLOW_REPEAT, InputDeviceToUse::KEYBOARD))
{
ServiceMenu::get()->setSelectorLeft();
return;
}
// Aceptar
if (Input::get()->checkInput(InputAction::START, INPUT_DO_NOT_ALLOW_REPEAT, InputDeviceToUse::KEYBOARD))
{
ServiceMenu::get()->acceptSelection();
return;
}
// Atras
if (Input::get()->checkInput(InputAction::BACK, INPUT_DO_NOT_ALLOW_REPEAT, InputDeviceToUse::KEYBOARD))
{
ServiceMenu::get()->moveBack();
return;
}
}
// Mandos