|
SleakEngine 1.0.0
C++23 multi-backend game engine
|
#include <Keyboard.hpp>
Public Member Functions | |
| Keyboard ()=default | |
| ~Keyboard ()=default | |
| bool | Initialize () |
| void | Shutdown () |
Static Public Member Functions | |
| static bool | IsKeyHold (KEY_CODE key) |
| True while key is held down, including the initial press frame. | |
| static bool | IsKeyPressed (KEY_CODE key) |
| True on the frame key transitions from up to down. | |
| static bool | IsKeyReleased (KEY_CODE key) |
| True on the frame key transitions from down to up. | |
Friends | |
| class | Window |
Static keyboard state queried by key code; Window feeds it raw key events.
Definition at line 13 of file Keyboard.hpp.
|
default |
|
default |
| bool Sleak::Input::Keyboard::Initialize | ( | ) |
|
static |
True while key is held down, including the initial press frame.
|
static |
True on the frame key transitions from up to down.
|
static |
True on the frame key transitions from down to up.
| void Sleak::Input::Keyboard::Shutdown | ( | ) |
|
friend |
Definition at line 14 of file Keyboard.hpp.