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 - CTRL ALT META modifiers are not properly initialized on SDL_Init
Summary: CTRL ALT META modifiers are not properly initialized on SDL_Init
Status: RESOLVED WORKSFORME
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 1.2.12
Hardware: PowerPC Mac OS X (All)
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords: target-1.2.14
Depends on:
Blocks:
 
Reported: 2007-12-01 07:42 UTC by Marc S. Ressl
Modified: 2009-09-20 23:56 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 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.