|
Public Member Functions |
| Input () |
| Default constructor.
|
bool | IsKeyDown (Key::Code KeyCode) const |
| Get the state of a key.
|
bool | IsMouseButtonDown (Mouse::Button Button) const |
| Get the state of a mouse button.
|
bool | IsJoystickButtonDown (unsigned int JoyId, unsigned int Button) const |
| Get the state of a joystick button.
|
unsigned int | GetMouseX () const |
| Get the mouse left position.
|
unsigned int | GetMouseY () const |
| Get the mouse top position.
|
int | GetJoystickX (unsigned int JoyId) const |
| Get the joystick X position.
|
int | GetJoystickY (unsigned int JoyId) const |
| Get the joystick Y position.
|
int | GetJoystickZ (unsigned int JoyId) const |
| Get the joystick Z position.
|
Use it instead of events to handle continuous moves and more game-friendly inputs