#9172 closed patch (invalid)
SDL backend: Map keypad period and divide
Reported by: | Templier | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | Ports |
Version: | Keywords: | ||
Cc: | Game: |
Description
Keypad divide and period are not mapped to any ascii values and do not output any character when used in editable widgets or in the console.
This patch adds a new check in mapKey() to map those two keys to their proper ascii values.
Ticket imported from: #2993618. Ticket imported from: patches/1277.
Attachments (1)
Change History (5)
by , 15 years ago
Attachment: | sdl_map_keypad_divide_period.patch added |
---|
comment:1 by , 15 years ago
For me divide and period work really fine without your patch (both when numlock is set or not, they work as expected, i.e. divide is always "\" and period is either delete or ","). Maybe that is a platform specific SDL bug for you?
comment:2 by , 15 years ago
You're right, this was an SDL problem, updating to the last version fixed the problem. I guess I ended up keeping an old version when testing the previous event patch with different versions of SDL. Sorry about that invalid entry.
comment:3 by , 15 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:4 by , 6 years ago
Component: | → Ports |
---|
Patch: add mapping for keypad period & divide