[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] GUI keycode inconsistencies?



hi sciss, adc, all,
thank you for the GUI scheme - i started using it for all my patches and it's excellent!

one strangeness though...
i get different keycode values in swing than in cocoa:

on a macbook, OSX:

a = GUI.window.new.front.view.keyDownAction_({|view, char, unicode, keycode| [ keycode].postln}).focus

hit "a, b, c, d":

GUI.swing
65
66
67
68

GUi.cocoa
0
11
8
2

any ideas why?

regards,
tom