|
ZeroZero Game Engine
v0.0
A 3D game engine using Vulkan & Jolt
|
Keyboard input event
Public Member Functions | |
| Key | getKey () const |
| auto | getRepeatCount () const |
| auto | isPressed () const |
| auto | getModifiers () const |
Public Member Functions inherited from InputEvent | |
| InputEventType | getType () const |
Public Member Functions inherited from Object | |
| void | connect (const Signal::signal &name, const Signal::Handler &handler) |
| void | connect (const Signal::signal &name, const function< void ()> &handler) |
| void | emit (const Signal::signal &name, void *params=nullptr) |
| virtual string | toString () const |
|
nodiscardinline |
Returns the key code
|
nodiscardinline |
Returns the state of the z0::KeyModifier keys
|
nodiscardinline |
The repeat count for the current event. The value is the number of times the keystroke is auto-repeated as a result of the user holding down the key
|
nodiscardinline |
Returns true if the key is pressed
1.7.0