| Summary: | SDL_GetModState consumes SHIFT(L/R), when SHIFT + Numpad key(0-9) is pressed | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Vikas <vikas.ag> |
| Component: | events | Assignee: | Sam Lantinga <slouken> |
| Status: | NEW --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 2.0.3 | ||
| Hardware: | x86 | ||
| OS: | Windows 7 | ||
|
Description
Vikas
2015-07-10 09:26:32 UTC
I tested the same scenario in Linux and it works fine. It seems its windows bugs. Consider the following scenario: 1. Enable NUM lock 2. Press SHIFT + 1(Num pad(0-9) key) Here I get 3 events 1. SHIFT released(I didn't released the shift) 2. NUM 1 3. SHIFT pressed instead of NUM 1 + modifier(SHIFT) It looks like windows is sending one extra SHIFT released and pressed event. Any workaround for this? |