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 519

Summary: CTRL ALT META modifiers are not properly initialized on SDL_Init
Product: SDL Reporter: Marc S. Ressl <mressl>
Component: videoAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED WORKSFORME QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 Keywords: target-1.2.14
Version: 1.2.12   
Hardware: PowerPC   
OS: Mac OS X (All)   

Description Marc S. Ressl 2007-12-01 07:42:52 UTC
I am writing an emulator that uses shortcuts COMMAND-0 COMMAND-1 COMMAND-2 to change video size.

Problem is that when initializing video, the keyboard modifier COMMAND is not correctly initialized, so when I press COMMAND-0, don't release COMMAND and then try COMMAND-1, the second time a "1" without the COMMAND modifier is send to my emulator.

I think it is just necessary to correctly initialize the CTRL ALT META modifiers...

Thanks a lot for the hard work on SDL.
Comment 1 Sam Lantinga 2007-12-29 13:57:40 UTC
Does this happen with the checkkeys test program?  I wasn't able to reproduce the problem:
Key pressed:  310-left meta  modifiers: LMETA
Key pressed:  48-0  (0) modifiers: LMETA
Key released:  48-0  modifiers: LMETA
Key pressed:  49-1  (1) modifiers: LMETA
Key released:  49-1  modifiers: LMETA
Key released:  310-left meta  modifiers: (none)
Comment 2 Ryan C. Gordon 2009-09-13 16:33:26 UTC
Tagging this bug with "target-1.2.14" so we can try to resolve it for SDL 1.2.14.

Please note that we may choose to resolve it as WONTFIX. This tag is largely so we have a comprehensive wishlist of bugs to examine for 1.2.14 (and so we can close bugs that we'll never fix, rather than have them live forever in Bugzilla).

--ryan.
Comment 3 Sam Lantinga 2009-09-20 23:56:08 UTC
It's been a couple years with no updates, I'm closing this for now.