Mercurial > sdl-ios-xcode
comparison src/video/uikit/keyinfotable.h @ 5137:c63b901d97ab
Fixed bug #1025 (iphone keyboard doesn't send 'return' and 'backspace' events)
Vittorio Giovara 2011-02-01 02:25:48 PST
i have attached an updated patch that fixes this behaviour
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 01 Feb 2011 09:04:43 -0800 |
parents | b915b3181cc2 |
children | 572a73d71b5f |
comparison
equal
deleted
inserted
replaced
5136:b915b3181cc2 | 5137:c63b901d97ab |
---|---|
52 /* 8 */ { SDL_SCANCODE_UNKNOWN, 0 }, | 52 /* 8 */ { SDL_SCANCODE_UNKNOWN, 0 }, |
53 /* 9 */ { SDL_SCANCODE_UNKNOWN, 0 }, | 53 /* 9 */ { SDL_SCANCODE_UNKNOWN, 0 }, |
54 /* 10 */ { SDL_SCANCODE_UNKNOWN, 0 }, | 54 /* 10 */ { SDL_SCANCODE_UNKNOWN, 0 }, |
55 /* 11 */ { SDL_SCANCODE_UNKNOWN, 0 }, | 55 /* 11 */ { SDL_SCANCODE_UNKNOWN, 0 }, |
56 /* 12 */ { SDL_SCANCODE_UNKNOWN, 0 }, | 56 /* 12 */ { SDL_SCANCODE_UNKNOWN, 0 }, |
57 /* 13 */ { SDL_SCANCODE_UNKNOWN, 0 }, | 57 /* 13 */ { SDL_SCANCODE_RETURN, 0 }, |
58 /* 14 */ { SDL_SCANCODE_UNKNOWN, 0 }, | 58 /* 14 */ { SDL_SCANCODE_UNKNOWN, 0 }, |
59 /* 15 */ { SDL_SCANCODE_UNKNOWN, 0 }, | 59 /* 15 */ { SDL_SCANCODE_UNKNOWN, 0 }, |
60 /* 16 */ { SDL_SCANCODE_UNKNOWN, 0 }, | 60 /* 16 */ { SDL_SCANCODE_UNKNOWN, 0 }, |
61 /* 17 */ { SDL_SCANCODE_UNKNOWN, 0 }, | 61 /* 17 */ { SDL_SCANCODE_UNKNOWN, 0 }, |
62 /* 18 */ { SDL_SCANCODE_UNKNOWN, 0 }, | 62 /* 18 */ { SDL_SCANCODE_UNKNOWN, 0 }, |
135 /* 91 */ { SDL_SCANCODE_LEFTBRACKET, 0 }, | 135 /* 91 */ { SDL_SCANCODE_LEFTBRACKET, 0 }, |
136 /* 92 */ { SDL_SCANCODE_BACKSLASH, 0 }, | 136 /* 92 */ { SDL_SCANCODE_BACKSLASH, 0 }, |
137 /* 93 */ { SDL_SCANCODE_RIGHTBRACKET, 0 }, | 137 /* 93 */ { SDL_SCANCODE_RIGHTBRACKET, 0 }, |
138 /* 94 */ { SDL_SCANCODE_6, KMOD_SHIFT }, /* plus shift modifier '^' */ | 138 /* 94 */ { SDL_SCANCODE_6, KMOD_SHIFT }, /* plus shift modifier '^' */ |
139 /* 95 */ { SDL_SCANCODE_MINUS, KMOD_SHIFT }, /* plus shift modifier '_' */ | 139 /* 95 */ { SDL_SCANCODE_MINUS, KMOD_SHIFT }, /* plus shift modifier '_' */ |
140 /* 96 */ { SDL_SCANCODE_GRAVE, KMOD_SHIFT }, /* '`' | 140 /* 96 */ { SDL_SCANCODE_GRAVE, KMOD_SHIFT }, /* '`' */ |
141 /* 97 */ { SDL_SCANCODE_A, 0 }, | 141 /* 97 */ { SDL_SCANCODE_A, 0 }, |
142 /* 98 */ { SDL_SCANCODE_B, 0 }, | 142 /* 98 */ { SDL_SCANCODE_B, 0 }, |
143 /* 99 */ { SDL_SCANCODE_C, 0 }, | 143 /* 99 */ { SDL_SCANCODE_C, 0 }, |
144 /* 100 */{ SDL_SCANCODE_D, 0 }, | 144 /* 100 */{ SDL_SCANCODE_D, 0 }, |
145 /* 101 */{ SDL_SCANCODE_E, 0 }, | 145 /* 101 */{ SDL_SCANCODE_E, 0 }, |