96 bool IsButtonUp(
Button button, int8_t &indexOut, int8_t controllingIndex = -1)
const;
105 bool IsButtonDown(
Button button, int8_t &indexOut, int8_t controllingIndex = -1)
const;
133 ALLEGRO_KEYBOARD_STATE m_currentKeyboardState;
134 ALLEGRO_KEYBOARD_STATE m_previousKeyboardState;
136 ALLEGRO_MOUSE_STATE m_currentMouseState;
137 ALLEGRO_MOUSE_STATE m_previousMouseState;
142 std::map<ALLEGRO_JOYSTICK *, int> m_map;
146 int8_t GetGamePadIndex(ALLEGRO_JOYSTICK *pId);
148 void InitializeGamePads();
150 void UpdateConfigurationEvent();
151 void UpdateAxisEvent(ALLEGRO_EVENT alEvent);
152 void UpdateButtonEvent(ALLEGRO_EVENT alEvent,
ButtonState state);
Base class for all games. Provides graphics initialization, game loop, and rendering code....
Defines a point in 2D space.
Katana Engine is a library of classes, interfaces, and value types that provides a foundation for dev...
MouseButton
Defines the buttons for a mouse.
Button
Defines the buttons for an Xbox Controller.
ButtonState
Defines the possible states of a Button.
Key
Defines the keys on a keyboard.
Represents specific information about the state of an Xbox Controller, including the current state of...