Fix console binds incorrectly respecting keyboard layout
While attempting to diagnose #1174 (closed), I discovered another possibly related bug where the console key incorrectly uses the keyboard layout-mapped key when opening and closing the console. This bug can easily be triggered on a non-QWERTY keyboard by binding a button that maps to a different character than QWERTY keyboards do (for example, Z on an AZERTY keyboard). In that case, both the key on the QWERTY layout (bottom-left) and on the AZERTY layout (where W is on a QWERTY keyboard) would toggle the console.
This is fixed by simply ignoring ev_text
events when toggling the console, causing it to always use it's QWERTY mapping as intended.
Merge request reports
Activity
Filter activity
mentioned in commit 51f0758c
mentioned in merge request !2305 (merged)
Please register or sign in to reply