Provides key event handling
Package gma/events Already Instantiated
handlers
Provides a dictionary of keycode : arrayThe array holds functions which are called when the corresponding keycode is triggered
Type Dictionary
Determines what functions should be called when a keypress event is triggered
Parameters | ||
---|---|---|
e | Event | The event that has been triggered |
Allows you to register a function to a keyCode
Parameters | ||
---|---|---|
keyCode | Number or Character | The keycode that triggers this function |
func | Function | Function to call when we have this event |
Parameters | ||
---|---|---|
keyCode | Number or Character | The keycode you want to inspect |