Represents specific information about the state of an Xbox Controller, including the current state of buttons and sticks.
More...
#include <GamePadState.h>
Represents specific information about the state of an Xbox Controller, including the current state of buttons and sticks.
- See also
- Button
-
ButtonState
-
GamePadDPad
-
GamePadTriggers
-
GamePadThumbSticks
-
GamePadButtons
◆ IsButtonDown()
| bool KatanaEngine::GamePadState::IsButtonDown |
( |
Button |
button | ) |
const |
|
inline |
Determines if a button is pressed down.
- Parameters
-
| button | The button to test. |
- Returns
- Returns true if the button is down, false otherwise.
◆ IsButtonUp()
| bool KatanaEngine::GamePadState::IsButtonUp |
( |
Button |
button | ) |
const |
|
inline |
Determines if a button is up.
- Parameters
-
| button | The button to test. |
- Returns
- Returns true if the button is up, false otherwise.
The documentation for this struct was generated from the following file: