State of the input system.
More...
State of the input system.
Definition at line 15 of file input.c.
◆ keys
b8 input_state::keys[KEY_CODE_MAX] |
State of keys on keypoard and mouse.
0 indicates the key is up. 1 indicates down.
- See also
- key_code
Definition at line 23 of file input.c.
◆ mouse_wheel
i8 input_state::mouse_wheel |
Mouse wheel direction.
0 : no input currently 1 : scrolling down -1: scrolling up
Definition at line 35 of file input.c.
The documentation for this struct was generated from the following file: