You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Playing around with the input system I noticed that it seems like IKeyboard.KeyChar doesn't trigger on non-alphanumeric characters. Looking at the input for both glfw and sdl I can't see why this would be and the documentation for at least glfw seems to indicate that it would pass all keypresses. While the workaround is to use IKeyboard.KeyDown and .KeyUp, the problem I've stumbled upon is that you lose the system level key repeat functionality. I'm not sure if I'm missing something obvious here, but at present I can't see if this is a bug or as designed.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Playing around with the input system I noticed that it seems like IKeyboard.KeyChar doesn't trigger on non-alphanumeric characters. Looking at the input for both glfw and sdl I can't see why this would be and the documentation for at least glfw seems to indicate that it would pass all keypresses. While the workaround is to use IKeyboard.KeyDown and .KeyUp, the problem I've stumbled upon is that you lose the system level key repeat functionality. I'm not sure if I'm missing something obvious here, but at present I can't see if this is a bug or as designed.
Thoughts/suggestions appreciated!
Beta Was this translation helpful? Give feedback.
All reactions