135 ALLEGRO_JOYSTICK *
ID;
Defines a vector with 2 components (x and y).
static const Vector2 ZERO
A vector with both of its components set to zero.
Katana Engine is a library of classes, interfaces, and value types that provides a foundation for dev...
Button
Defines the buttons for an Xbox Controller.
ButtonState
Defines the possible states of a Button.
Identifies which directions on the directional pad of an Xbox Controller are being pressed.
Represents specific information about the state of an Xbox Controller, including the current state of...
GamePadButtons Buttons
The current state of the GamePad's Buttons.
bool IsButtonDown(Button button) const
Determines if a button is pressed down.
GamePadDPad DPad
The current state of the GamePad's DPad.
bool IsButtonUp(Button button) const
Determines if a button is up.
ALLEGRO_JOYSTICK * ID
The underlaying allegro joystick id.
bool IsConnected
True if the GamePad is connected, false otherwise.
GamePadThumbSticks Thumbsticks
The current state of the GamePad's Thumbsticks.
GamePadTriggers Triggers
The current state of the GamePad's Triggers.
Structure that represents the position of left and right sticks (thumbsticks) on an Xbox Controller.
Structure that defines the position of the left and right triggers on an Xbox Controller.