Key callbacks #7418
-
|
The key callback functions for the old-style visualization classes (e.g. VisualizerWithKeyCallback) receive a key ID, a type (UP/DOWN), and a modifier bitmap. But key callbacks for the newer visualization.gui window/widget classes receive only a KeyEvent. And (contrary to what Google's AI thinks) that class has no 'modifiers' property, only raw key codes: shift/ctrl/alt are just passed in like any other key. Am I missing something? Do I really need to keep track of the up/down status of modifier keys myself?!? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
It appears the answer to my question is "yes": I really DO need to keep track of the shift/alt/ctrl states myself. |
Beta Was this translation helpful? Give feedback.
It appears the answer to my question is "yes": I really DO need to keep track of the shift/alt/ctrl states myself.