comp127graphics currently can detect keystrokes inside a TextField, but does not provide a way for a whole window to detect keystrokes. This makes it impossible to, for example, write a keyboard-controlled video game.
Could CanvasWindow provide onKeyDown and onKeyUp methods, similar to the existing mouse event methods?
comp127graphics currently can detect keystrokes inside a TextField, but does not provide a way for a whole window to detect keystrokes. This makes it impossible to, for example, write a keyboard-controlled video game.
Could
CanvasWindow
provideonKeyDown
andonKeyUp
methods, similar to the existing mouse event methods?