Expand description
Input event ABI shared by host and guest.
Keys are numbered by position in KEY_NAMES (1-based; 0 = unknown). The names
are DOM KeyboardEvent.code values, so web game code ports unchanged.
Modules§
Structs§
- RawEvent
- One input event, as written by
sg.input_poll(24 bytes, little endian).