Lua · Variables · Features
keystrokes
The movement keys and mouse buttons the user is pressing.
| Function | What it does |
|---|---|
keystrokes.state() | Physical key states, plus clicks per second. |
#keystrokes.state
keystrokes.state()Physical key states, plus clicks per second.
Returns
table
Booleans
w a s d shift space ctrl lmb rmb, and integers cps_left, cps_right (clicks in the last second).