Variables renombrades en input.cpp
This commit is contained in:
@@ -24,27 +24,27 @@ DefineButtons::DefineButtons(std::unique_ptr<Text> text_)
|
||||
DefineButtonsButton button;
|
||||
|
||||
button.label = lang::getText(95);
|
||||
button.input = input_fire_left;
|
||||
button.input = InputType::FIRE_LEFT;
|
||||
button.button = SDL_CONTROLLER_BUTTON_X;
|
||||
buttons_.push_back(button);
|
||||
|
||||
button.label = lang::getText(96);
|
||||
button.input = input_fire_center;
|
||||
button.input = InputType::FIRE_CENTER;
|
||||
button.button = SDL_CONTROLLER_BUTTON_Y;
|
||||
buttons_.push_back(button);
|
||||
|
||||
button.label = lang::getText(97);
|
||||
button.input = input_fire_right;
|
||||
button.input = InputType::FIRE_RIGHT;
|
||||
button.button = SDL_CONTROLLER_BUTTON_RIGHTSHOULDER;
|
||||
buttons_.push_back(button);
|
||||
|
||||
button.label = lang::getText(98);
|
||||
button.input = input_start;
|
||||
button.input = InputType::START;
|
||||
button.button = SDL_CONTROLLER_BUTTON_START;
|
||||
buttons_.push_back(button);
|
||||
|
||||
button.label = lang::getText(99);
|
||||
button.input = input_exit;
|
||||
button.input = InputType::EXIT;
|
||||
button.button = SDL_CONTROLLER_BUTTON_BACK;
|
||||
buttons_.push_back(button);
|
||||
|
||||
@@ -155,7 +155,7 @@ void DefineButtons::incIndexButton()
|
||||
// Guarda los cambios en las opciones
|
||||
saveBindingsToOptions();
|
||||
|
||||
input_->allActive(index_controller_);
|
||||
//input_->allActive(index_controller_);
|
||||
|
||||
// Reinicia variables
|
||||
index_button_ = 0;
|
||||
|
||||
Reference in New Issue
Block a user