Is there any way to get text input events even when modifiers are held down?
I want to make a key binding in a crossplatform way for <C-!> but I can’t use the key down events to do it because I don’t know what the keyboard mapping is for !. Similarly I can’t use the text input events because the control modifier causes text input to fail.
So I’m at a loss. I can manually write out the binding for ! for a qwerty keyboard, but then people using other layouts would get weird behaviour.
Any help?