![]() |
Lysa
0.0
Lysa 3D Engine
|
Keyboard input event
Inheritance diagram for InputEventKey:Public Member Functions | |
| InputEventKey (const Key key, const bool pressed, const int repeat, const int modifiers) | |
| 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 std::function< void ()> &handler) |
| void | emit (const Signal::signal &name, void *params=nullptr) |
| virtual std::string | toString () const |
| Object () = default | |
| virtual | ~Object () = default |
Additional Inherited Members | |
Protected Member Functions inherited from InputEvent | |
| InputEvent (const InputEventType type) | |
|
inline |
|
inline |
Returns the key code
|
inline |
Returns the state of the z0::KeyModifier keys
|
inline |
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
|
inline |
Returns true if the key is pressed