Input: canviant a nou model update/poll

This commit is contained in:
2025-06-29 09:35:49 +02:00
parent 78338933e2
commit ce1ae74e88
7 changed files with 153 additions and 144 deletions

View File

@@ -58,6 +58,10 @@ void DefineButtons::bindButtons()
{
input_->bindGameControllerButton(index_controller_, button.input, button.button);
}
// Remapea los inputs a inputs
input_->bindGameControllerButton(index_controller_, InputAction::SM_SELECT, InputAction::FIRE_LEFT);
input_->bindGameControllerButton(index_controller_, InputAction::SM_BACK, InputAction::FIRE_CENTER);
}
// Comprueba los eventos