| Summary: | LSHIFT + numpad bug | ||
|---|---|---|---|
| Product: | SDL | Reporter: | eddietree <edwardlee1967> |
| Component: | events | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED WONTFIX | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | vikas.ag |
| Version: | 2.0.3 | ||
| Hardware: | x86_64 | ||
| OS: | Windows 8 | ||
|
Description
eddietree
2015-05-02 21:49:09 UTC
made a typo on the description, it should be * it will unregister the LSHIFT as being not held down anymore even if it is held DOWN. Please Check SDL wiki https://wiki.libsdl.org/SDL_GetKeyboardState It clearly says "This function doesn't take into account whether shift has been pressed or not" This is really weird. I was able to reproduce this, and it turns out that Windows really is sending a key up message for LSHIFT, sending a key down message for the numpad button, sending a key up message for the numpad button and then sending a key down message for LSHIFT. You can see this yourself using Spy++. Windows is doing this for all applications, not just SDL. |