forked from jaildesigner-jailgames/jaildoctors_dilemma
linter
This commit is contained in:
@@ -48,7 +48,7 @@ enum class InputAction {
|
||||
class Input {
|
||||
private:
|
||||
// [SINGLETON] Objeto privado
|
||||
static Input* input_;
|
||||
static Input* input;
|
||||
|
||||
struct KeyBindings {
|
||||
Uint8 scancode; // Scancode asociado
|
||||
@@ -107,7 +107,7 @@ class Input {
|
||||
|
||||
// Asigna inputs a botones del mando
|
||||
void bindGameControllerButton(int controller_index, InputAction input, SDL_GamepadButton button);
|
||||
void bindGameControllerButton(int controller_index, InputAction inputTarget, InputAction inputSource);
|
||||
void bindGameControllerButton(int controller_index, InputAction input_target, InputAction input_source);
|
||||
|
||||
// Comprueba si un input esta activo
|
||||
bool checkInput(InputAction input, bool repeat = true, InputDeviceToUse device = InputDeviceToUse::ANY, int controller_index = 0);
|
||||
@@ -119,7 +119,7 @@ class Input {
|
||||
bool discoverGameControllers();
|
||||
|
||||
// Comprueba si hay algun mando conectado
|
||||
bool gameControllerFound();
|
||||
bool gameControllerFound() const;
|
||||
|
||||
// Obten el número de mandos conectados
|
||||
int getNumControllers() const;
|
||||
|
||||
Reference in New Issue
Block a user