Keyboard event manager.
More...
#include <Keyboard.hpp>
|
| typedef ::KeyboardKey | Key |
| |
◆ Key
◆ getPressedChars()
| std::vector< char > RAY::Controller::Keyboard::getPressedChars |
( |
void |
| ) |
|
|
static |
Fetch currently pressed keys.
- Returns
- a vector containing char of currently pressed keys
◆ getPressedKeys()
Fetch currently pressed keys.
- Returns
- a vector containing keycode of currently pressed keys
◆ isDown()
| bool RAY::Controller::Keyboard::isDown |
( |
Key |
key | ) |
|
|
static |
- Returns
- true if Key is down on the keyboard
- Parameters
-
| Key | The keycode of the key |
◆ isPressed()
| bool RAY::Controller::Keyboard::isPressed |
( |
Key |
key | ) |
|
|
static |
- Returns
- true if Key is pressed on the keyboard
- Parameters
-
| Key | The keycode of the key |
◆ isReleased()
| bool RAY::Controller::Keyboard::isReleased |
( |
Key |
key | ) |
|
|
static |
- Returns
- true if Key is released on the keyboard
- Parameters
-
| Key | The keycode of the key |
◆ isUp()
| bool RAY::Controller::Keyboard::isUp |
( |
Key |
key | ) |
|
|
static |
- Returns
- true if Key is up on the keyboard
- Parameters
-
| Key | The keycode of the key |
The documentation for this class was generated from the following files: