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 1669 - No up and down events for the dollar key on the swiss keyboard layout
Summary: No up and down events for the dollar key on the swiss keyboard layout
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: HG 2.0
Hardware: All Windows (All)
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-19 13:19 UTC by norfanin
Modified: 2013-02-26 15:37 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description norfanin 2012-12-19 13:19:53 UTC
On Windows, the dollar key on the swiss keyboard layouts generate a virtual-key code that gets mapped to SDL_SCANCODE_UNKNOWN and discarded. SDL doesn't push SDL_KEYDOWN and SDL_KEYUP events for this key.

The generated virtual-key code is 223 (0xdf) and the scan code 43 (0x2b).

Image of the layout:
http://upload.wikimedia.org/wikipedia/commons/thumb/4/4f/KB_Swiss.svg/800px-KB_Swiss.svg.png
Comment 1 norfanin 2013-02-26 15:37:48 UTC
Commit 91d157d9f283 has resolved this issue.