We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2877

Summary: after changing keyboard layouts SDL reports the wrong virtual key code when ctrl is pressed
Product: SDL Reporter: Andrew Kelley <superjoe30>
Component: eventsAssignee: Sam Lantinga <slouken>
Status: NEW --- QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: philipp.wiesemann
Version: 2.0.2   
Hardware: x86_64   
OS: Linux   

Description Andrew Kelley 2015-02-11 22:40:01 UTC
To reproduce:

1. Start an SDL application in Dvorak keyboard layout.
2. Press ctrl+x (in dvorak) and observe that you get a key down event with virtual key SDLK_x
3. Switch the keyboard layout to QWERTY
4. Press ctrl+x (in qwerty) and observe that you get a key down event with virtual key SDLK_q when you expected to get virtual key SDLK_x
Comment 1 Philipp Wiesemann 2015-10-14 20:36:37 UTC
Maybe this is related to bug 3050.