as I understand Gravit Designer uses its own set of key codes, since the constants in
GravitDesigner.framework.client.GKey.Constants are different from the raw ones I get from the keydown event on the plain DOM. I.e: plain DOM key code for shift is
16, in GD it’s
How do I listen for input, and how do I get the respective key codes used internally? How do I listen for a specific set of key strokes, like
ALT+SHIFT+G. How do I listen for key strokes in a cross platform way? I.e:
CMD+S (mac) is
CTRL+S (win). … and so on.
Perhaps one can give some general examples which cover this whole topic.