mgroth0 opened this issue 3 years ago · 1 comments
see: https://stackoverflow.com/questions/70630180/how-to-check-which-modifiers-were-pressed-for-a-nativekeyevent
I've responded to your stack overflow question.
You need to use the modifier bit-masks:
void nativeKeyTyped(NativeKeyEvent nativeEvent) { if (nativeEvent.getModifiers() & NativeInputEvent.META_MASK) { // META_MASK (left or right) was pressed. } }