Structure to store input state. More...
#include <input.h>

Public Attributes | |
| bool | locked |
| u16 | active_keys |
| u16 | pressed_keys |
| u16 | released_keys |
| bool | text_input |
| char | inputBuffer [100] |
| Mouse | mouse |
Structure to store input state.
This structure holds the states of keys and mouse, as well as text input buffer.
| bool Input::locked |
Flag indicating if input is locked.
| u16 Input::active_keys |
Bitfield representing currently active keys.
| u16 Input::pressed_keys |
Bitfield representing keys that were pressed.
| u16 Input::released_keys |
Bitfield representing keys that were released.
| bool Input::text_input |
Flag indicating text input.
| char Input::inputBuffer[100] |
Buffer for text input.