93 bool IsButtonUp(
Button button, int8_t &indexOut, int8_t controllingIndex = -1)
const;
102 bool IsButtonDown(
Button button, int8_t &indexOut, int8_t controllingIndex = -1)
const;
130 ALLEGRO_KEYBOARD_STATE m_currentKeyboardState;
131 ALLEGRO_KEYBOARD_STATE m_previousKeyboardState;
133 ALLEGRO_MOUSE_STATE m_currentMouseState;
134 ALLEGRO_MOUSE_STATE m_previousMouseState;
139 std::map<ALLEGRO_JOYSTICK *, int> m_map;
143 int8_t GetGamePadIndex(ALLEGRO_JOYSTICK *pId);
145 void InitializeGamePads();
147 void UpdateConfigurationEvent();
148 void UpdateAxisEvent(ALLEGRO_EVENT alEvent);
149 void UpdateButtonEvent(ALLEGRO_EVENT alEvent,
ButtonState state);
ButtonState
Defines the possible states of a Button.
Definition: GamePadState.h:23
Key
Defines the keys on a keyboard.
Definition: KeyState.h:18
Base class for all games. Provides graphics initialization, game loop, and rendering code...
Definition: Game.h:18
MouseButton
Defines the buttons for a mouse.
Definition: MouseState.h:18
Represents specific information about the state of an Xbox Controller, including the current state of...
Definition: GamePadState.h:125
Defines a point in 2D space.
Definition: Point.h:19
Button
Defines the buttons for an Xbox Controller.
Definition: GamePadState.h:36
Katana Engine is a library of classes, interfaces, and value types that provides a foundation for dev...
Definition: Animation.cpp:14