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

Summary: No up and down events for the dollar key on the swiss keyboard layout
Product: SDL Reporter: norfanin
Component: eventsAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: All   
OS: Windows (All)   

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.