Report modifier key presses on the computer keyboard
| Name | Type | Opt | Description |
|---|---|---|---|
| polling-rate (milliseconds) | int | opt | Specifies a polling rate in milliseconds. The default value is (no polling). |
| bang | Sends out a report of the current modifier key states. | |
| (keyboard) | The keyboard input to modifiers comes directly from the computer keyboard. | |
| interval | polling-rate (milliseconds) [int] |
The word followed by a number, specifies the rate, in milliseconds, used when polling the state of the modifier keys. A value of zero disables polling. |

| Name | Description |
|---|---|
| key | Report key presses on the computer keyboard |
| keyup | Report key releases on the computer keyboard |
| numkey | Interpret numbers typed on the computer keyboard |
| Max Basic Tutorial 8: Keyboard and Mouse Input | Max Basic Tutorial 8: Keyboard and Mouse Input |