Hi,
how can one generate function keys? (F1 to F12)
I've made a morph for testing
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
c := Morph subclass: #MyKeyMorph.
c compile: 'handlesKeyboard: evt
�� �� �� �� ^ true'.
c compile: 'handleKeystroke: evt
�� �� �� �� self logCr: evt'.
c compile: 'handleKeyUp: evt
�� �� �� �� self logCr: evt'.
c compile: 'handleKeyDown: evt
�� �� �� �� self logCr: evt'.
m := c new.
m openInWindow.
m takeKeyboardFocus
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
However the functions keys are not being generated.
Is this something that would have to be done in the VM?
I'm using linux btw, but ideally it should work on all platforms.
Thanks,
Peter