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 - after changing keyboard layouts SDL reports the wrong virtual key code when ctrl is pressed
Summary: after changing keyboard layouts SDL reports the wrong virtual key code when c...
Status: NEW
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: 2.0.2
Hardware: x86_64 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-11 22:40 UTC by Andrew Kelley
Modified: 2015-10-14 20:36 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.