Open nryeng opened 9 years ago
So we have been experimenting with this a little, and it's really hard to debug and know why it doesn't work for you.
It works for us using windows, because the current checking looks for event.isControlDown + text = "n", for creating new layer. However, on Mac the text = " " in combination with control, while the keyCode still is Code.N.
It's hard for us to know what the event triggered for you is. None of us use Linux.
Check event.getCode(). It's KeyCode.N for N, KeyCode.D for D, etc.
Keyboard shortcuts were added in #46, but they require the shift key to be pressed, e.g. Ctrl+Shift+N instead of Ctrl-N.