Generalized keypress event. More...
#include <keycode.h>
Public Member Functions | |
| KeyPressEvent (const SEvent &event) | |
| Construct a KeyPressEvent from an Irrlicht event. User events (e.g. touchscreen input) is not handled. | |
| operator bool () const | |
| bool | isPressed () const |
Public Attributes | |
| KeyPress | key |
| float | analog_value = 0 |
Generalized keypress event.
| KeyPressEvent::KeyPressEvent | ( | const SEvent & | event | ) |
Construct a KeyPressEvent from an Irrlicht event. User events (e.g. touchscreen input) is not handled.
References analog_value, g_settings, key, and rangelim().
|
inline |
References analog_value.
Referenced by GUIFormSpecMenu::OnEvent().
|
inline |
References key.
| float KeyPressEvent::analog_value = 0 |
Referenced by KeyPressEvent(), and isPressed().
| KeyPress KeyPressEvent::key |
Referenced by KeyPressEvent(), and operator bool().