| Summary: | Windows dead key behaviour inconsistent with other platforms | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Tim Angus <tim> |
| Component: | events | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | amanieu, simos.bugzilla, tjw |
| Version: | HG 1.2 | ||
| Hardware: | x86 | ||
| OS: | Windows (All) | ||
| Attachments: |
Patch which makes win32 dead key behaviour consistent with other platforms
Patch which makes win32 dead key behaviour consistent with other platforms and correctly respects the state of numlock key Only set the unicode, not the keysym |
||
|
Description
Tim Angus
2008-08-30 12:23:56 UTC
Created attachment 268 [details]
Patch which makes win32 dead key behaviour consistent with other platforms
Aforementioned patch.
Created attachment 314 [details]
Patch which makes win32 dead key behaviour consistent with other platforms and correctly respects the state of numlock key
Updated patch which includes a further fix to the handling of the numpad when numlock is on. This further fix is courtesy Amanieu d'Antras.
That patch was really only intended for use in ioq3, since it make numpad keys return the same keysym as normal number keys when numlock is on. This was done because ioq3 will still interpret the keysym and therefore cause a HOME while typing a 7 on the numpad. The clean way to do this is to make a separate keysym for numpad keys when numlock is on or off. OK, lets stick to the original patch then. Created attachment 317 [details]
Only set the unicode, not the keysym
This patch doesn't override the keysym, and therefore should be appropriate for SDL.
This was checked in as revision 4484. Thanks! |