Hello, I was looking at this key reference and it doesn’t seem to have a colon, so how would I detect a colon press?
Welcome to the GLFW forum!
The Key Input functions are designed for physical key input, and are mapped to a US Keyboard layout. There is no colon in the physical keyboard identifiers because this is the same key as the GLFW_KEY_SEMICOLON
key.
If you need users to press the actual ;
key, then you should consider using the Text input functions.
For further discussion you may be interested in reading this Github issue about translated keycodes.
1 Like