6,834
edits
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
|type = event | |type = event | ||
|name = onKeyDown | |name = onKeyDown | ||
|usage = a key is pressed down | |usage = a key is pressed down. If the key is held down, the event is triggered repeatedly. | ||
|callbackParameters = Event event, int virtualKey, int physicalKey, int keyModifiers | |callbackParameters = Event event, int virtualKey, int physicalKey, int keyModifiers | ||
|parameter1 = int virtualKey The virtual key code for the key that was pressed down. | |parameter1 = int virtualKey The virtual key code for the key that was pressed down. |
edits