Input: mogudes structs, enums i consts a la part publica
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
#include "game_logo.h" // Para GameLogo
|
||||
#include "global_events.h" // Para check
|
||||
#include "global_inputs.h" // Para check
|
||||
#include "input.h" // Para Input, INPUT_DO_NOT_ALLOW_REPEAT, Input...
|
||||
#include "input.h" // Para Input, Input::DO_NOT_ALLOW_REPEAT, Input...
|
||||
#include "lang.h" // Para getText
|
||||
#include "options.h" // Para GamepadOptions, controllers, getPlayerW...
|
||||
#include "param.h" // Para Param, param, ParamGame, ParamTitle
|
||||
@@ -271,8 +271,8 @@ void Title::processControllerInputs() {
|
||||
|
||||
auto Title::isStartButtonPressed(const Options::GamepadOptions& controller) -> bool {
|
||||
return Input::get()->checkInput(
|
||||
InputAction::START,
|
||||
INPUT_DO_NOT_ALLOW_REPEAT,
|
||||
Input::Action::START,
|
||||
Input::DO_NOT_ALLOW_REPEAT,
|
||||
controller.type,
|
||||
controller.index);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user