The key was pressed
key | The value of the virtual key code of the pressed key. |
shift | This is the state of shift-type keys and mouse buttons that were pressed at the same time when the keys were pressed.
Also, if the keyboard is pressed for a long time and key repeat occurs, the following values are also combined.
|
process | If you pass false to this argument when calling onKeyDown of the parent class, the parent class will not do the default processing for that key (such as moving focus). |
Occurs when a key is pressed.