For users with multiple keyboard layouts configured, glfwGetKeyName works fine only with the primary layout. Switching layouts results in changing the group index. This commit querries the current group index when initializing keyboard input and keeps track of any change to it. As a result the scancode -> keyname mapping may change while the program is running (needs to be documented). Fixes #1462. Closes #1528.master
parent
c6b95e3b07
commit
36f90800d8
3 changed files with 28 additions and 10 deletions
Loading…
Reference in New Issue