key_pressed
Description:
Emitted whenever a key is pressed.
Parameters:
keyval |
the pressed key. |
keycode |
the raw code of the pressed key. |
state |
the bitmask, representing the state of modifier keys and pointer buttons. |
Returns:
true if the key press was handled, false otherwise. |