
Union of all input types. More...
Data Fields | |
| byte | type |
| KeyInput | key |
| MouseMotionEvent | motion |
| MouseButtonEvent | button |
Union of all input types.
A union that is used by the callback function get_input_key_hook, to collect input data. At the moment, it is meant to collect only keyboard inputs. In the future this may be used to support mouse inputs as well.
| MouseButtonEvent button |
Indicates which mouse button has changed state.
| KeyInput key |
Indicates which key on the keyboard has changed state.
| MouseMotionEvent motion |
Information about the movement of the mouse.
| byte type |
Shows whether a mouse or keyboard event is encoded.