Input unit: Generalizados los tipos de input. Ya no son específicos de cada juego
This commit is contained in:
@@ -11,12 +11,12 @@ Input::Input(std::string file)
|
||||
keyBindings_t kb;
|
||||
kb.scancode = 0;
|
||||
kb.active = false;
|
||||
keyBindings.resize(input_number_of_inputs, kb);
|
||||
keyBindings.resize(INPUT_TOTAL, kb);
|
||||
|
||||
GameControllerBindings_t gcb;
|
||||
gcb.button = SDL_CONTROLLER_BUTTON_INVALID;
|
||||
gcb.active = false;
|
||||
gameControllerBindings.resize(input_number_of_inputs, gcb);
|
||||
gameControllerBindings.resize(INPUT_TOTAL, gcb);
|
||||
|
||||
verbose = true;
|
||||
enabled = true;
|
||||
|
||||
Reference in New Issue
Block a user