132 ALLEGRO_JOYSTICK *
ID;
ButtonState
Defines the possible states of a Button.
Definition: GamePadState.h:23
ButtonState Up
Definition: GamePadState.h:63
ButtonState Left
Definition: GamePadState.h:65
Structure that defines the position of the left and right triggers on an Xbox Controller.
Definition: GamePadState.h:76
bool IsButtonDown(Button button) const
Determines if a button is pressed down.
Definition: GamePadState.h:137
ButtonState Right
Definition: GamePadState.h:66
GamePadDPad Dpad
The current state of the GamePad's Dpad.
Definition: GamePadState.h:131
Identifies which directions on the directional pad of an Xbox Controller are being pressed...
Definition: GamePadState.h:61
Defines a vector with 2 components (x and y). This is additional information...
Definition: Vector2.h:18
GamePadButtons Buttons
The current state of the GamePad's Buttons.
Definition: GamePadState.h:128
bool IsButtonUp(Button button) const
Determines if a button is up.
Definition: GamePadState.h:161
Vector2 Right
Definition: GamePadState.h:92
GamePadThumbSticks Thumbsticks
The current state of the GamePad's Thumbsticks.
Definition: GamePadState.h:129
GamePadTriggers Triggers
The current state of the GamePad's Triggers.
Definition: GamePadState.h:130
Vector2 Left
Definition: GamePadState.h:91
bool IsConnected
True if the GamePad is connected, false otherwise.
Definition: GamePadState.h:127
float Left
Definition: GamePadState.h:78
Represents specific information about the state of an Xbox Controller, including the current state of...
Definition: GamePadState.h:125
float Right
Definition: GamePadState.h:79
ALLEGRO_JOYSTICK * ID
The underlaying allegro joystick id.
Definition: GamePadState.h:132
Button
Defines the buttons for an Xbox Controller.
Definition: GamePadState.h:36
Structure that represents the position of left and right sticks (thumbsticks) on an Xbox Controller...
Definition: GamePadState.h:89
ButtonState Down
Definition: GamePadState.h:64
Katana Engine is a library of classes, interfaces, and value types that provides a foundation for dev...
Definition: Animation.cpp:14