With this function you can simulate the release of any key on the keyboard. The function will take a keycode value as returned by the function ord() (only capital letters from A-Z or numbers from 0-9), or any of the vk_* constants listed on the main Keyboard Input page.
keyboard_key_release(key);
Argument | Type | Description |
---|---|---|
key | Virtual Key Constant (vk_*) | The key to simulate a release of. |
N/A
keyboard_key_release(vk_space);
This will simulate a spacebar release.