Input: model upate/poll finalitzat

This commit is contained in:
2025-06-29 11:37:01 +02:00
parent ce1ae74e88
commit 5006289a5d
21 changed files with 183 additions and 155 deletions

View File

@@ -143,7 +143,7 @@ namespace Options
{
int index; // Índice en el vector de mandos
int player_id; // Jugador asociado al mando
InputDeviceToUse type; // Indica si se usará teclado, mando o ambos
InputDevice type; // Indica si se usará teclado, mando o ambos
std::string name; // Nombre del dispositivo
bool plugged; // Indica si el mando está conectado
std::vector<InputAction> inputs; // Listado de acciones asignadas
@@ -153,7 +153,7 @@ namespace Options
GamepadOptions()
: index(INVALID_INDEX),
player_id(INVALID_INDEX),
type(InputDeviceToUse::CONTROLLER),
type(InputDevice::CONTROLLER),
name(),
plugged(false),
inputs{