Skip to main content
Keyboard and mouse state.

Functions

Virtual key codes follow the Windows VK_* constants: 0x01 (LMB), 0x02 (RMB), 0x04 (MMB), 0x1B (Escape), 0x20 (Space), 0x41-0x5A (A-Z).

Example