forked from jaildesigner-jailgames/jaildoctors_dilemma
afegit soport per a axis del mando
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
#include "defines.h" // Para PLAY_AREA_CENTER_X, GAMECANVAS_WIDTH
|
||||
#include "global_events.h" // Para check
|
||||
#include "global_inputs.h" // Para check
|
||||
#include "input.h" // Para Input, InputAction, REPEAT_FALSE, REP...
|
||||
#include "input.h" // Para Input, InputAction, INPUT_DO_NOT_ALLOW_REPEAT, REP...
|
||||
#include "options.h" // Para Options, options, SectionState, Section
|
||||
#include "resource.h" // Para Resource
|
||||
#include "s_sprite.h" // Para SSprite
|
||||
@@ -96,22 +96,22 @@ void Title::checkInput()
|
||||
{
|
||||
if (show_cheevos_)
|
||||
{
|
||||
if (Input::get()->checkInput(InputAction::DOWN, REPEAT_TRUE))
|
||||
if (Input::get()->checkInput(InputAction::DOWN, INPUT_ALLOW_REPEAT))
|
||||
{
|
||||
moveCheevosList(1);
|
||||
}
|
||||
else if (Input::get()->checkInput(InputAction::UP, REPEAT_TRUE))
|
||||
else if (Input::get()->checkInput(InputAction::UP, INPUT_ALLOW_REPEAT))
|
||||
{
|
||||
moveCheevosList(0);
|
||||
}
|
||||
else if (Input::get()->checkInput(InputAction::ACCEPT, REPEAT_FALSE))
|
||||
else if (Input::get()->checkInput(InputAction::ACCEPT, INPUT_DO_NOT_ALLOW_REPEAT))
|
||||
{
|
||||
hideCheevosList();
|
||||
counter_ = 0;
|
||||
}
|
||||
}
|
||||
|
||||
if (Input::get()->checkInput(InputAction::ACCEPT, REPEAT_FALSE))
|
||||
if (Input::get()->checkInput(InputAction::ACCEPT, INPUT_DO_NOT_ALLOW_REPEAT))
|
||||
{
|
||||
if (state_ == TitleState::SHOW_LOADING_SCREEN)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user