Arreglos en la estructura i format del codi
This commit is contained in:
@@ -32,12 +32,12 @@ Input::Input(const std::string &game_controller_db_path)
|
||||
: db_path_(game_controller_db_path)
|
||||
{
|
||||
// Inicializa las variables
|
||||
keyBindings_t kb;
|
||||
KeyBindings kb;
|
||||
kb.scancode = 0;
|
||||
kb.active = false;
|
||||
key_bindings_.resize(static_cast<int>(InputAction::SIZE), kb);
|
||||
|
||||
GameControllerBindings_t gcb;
|
||||
GameControllerBindings gcb;
|
||||
gcb.button = SDL_CONTROLLER_BUTTON_INVALID;
|
||||
gcb.active = false;
|
||||
game_controller_bindings_.resize(static_cast<int>(InputAction::SIZE), gcb);
|
||||
|
||||
Reference in New Issue
Block a user