CoSMOS
Documentation
×
Menu

keyDown

Description:

 
Simulates a key down state. Don't forget to release the key by simulating the up state when done.
 

Command Parameters:

 
Parameter
Type
Description
key
byte
The key that is held down
 

Examples:

 
local key = 0x2D --insert
keyDown(key)