| Summary: | Keyboard Events and Shift | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Sam Lantinga <slouken> |
| Component: | events | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED WORKSFORME | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | wtb.mike |
| Version: | don't know | ||
| Hardware: | x86 | ||
| OS: | Windows (All) | ||
|
Description
Sam Lantinga
2006-01-27 02:19:37 UTC
Setting Sam as "QA Contact" on all bugs (even resolved ones) so he'll definitely be in the loop to any further discussion here about SDL. --ryan. SDL calls GetKeyboardState(), which is I believe is current with the keyboard state as processed in Windows messages. This should work correctly for the windib driver, but it's possible that the keyboard state is out of sync on the windx5 driver (since all windows messages are processed before keyboard input is processed) Can you confirm that the bug does not occur with the windib video driver? Moving this to fixed for 1.2.10. Please reopen it if it's still active using the windib driver, or if we switch back to the directx driver by default. (In reply to comment #3) > Moving this to fixed for 1.2.10. Please reopen it if it's still active using > the windib driver, or if we switch back to the directx driver by default. I'm currently using libSDL 1.2.10 and the SHIFT key event detection seems to be working perfectly for everything (that I've tried) *except* for Windows 98. So Win2000/WinXP, MacOS, various Linux distros seem to be fine. Is it possible I'm doing something wrong or is there something about Win98 that's special. I've set SDL_VIDEODRIVER=windib. Is that all that's necessary to override the use of the DX driver? THanks for the help! I tried to reproduce this using checkkeys.exe on Windows 98 and it appears to work correctly. Is there a test case that I can run to check this out? Hmm. I get this exact bug too. We use the DirectX driver, though. Is that now unsupported? Sorry Sam, I missed your update a few months ago and unfortunately don't have my Win98 snapshot running at the moment, so I'm unable to create a testcase for you. If I run into this problem again, I will try checkkeys.exe and create a testcase. James, if you're getting this same problem while using DX, perhaps it's not an SDL problem, but rather a Win98 keyboard problem... m. |