Presses and holds a key, identified by its Windows virtual-key code. It stays down until you call keyrelease with the same code.

Parameters

number
required
The virtual-key code to hold.

Example