comparison src/video/uikit/keyinfotable.h @ 5223:572a73d71b5f

Sheena pointed out that "scancode" and "keysym" are single words and shouldn't be camel-cased.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 07 Feb 2011 09:37:11 -0800
parents c63b901d97ab
children b530ef003506
comparison
equal deleted inserted replaced
5222:9c0593fa27d6 5223:572a73d71b5f
25 25
26 #include "SDL_scancode.h" 26 #include "SDL_scancode.h"
27 27
28 /* 28 /*
29 This file is used by the keyboard code in SDL_uikitview.m to convert between characters 29 This file is used by the keyboard code in SDL_uikitview.m to convert between characters
30 passed in from the iPhone's virtual keyboard, and tuples of SDL_ScanCodes and SDL_keymods. 30 passed in from the iPhone's virtual keyboard, and tuples of SDL_Scancode and SDL_keymods.
31 For example unicharToUIKeyInfoTable['a'] would give you the scan code and keymod for lower 31 For example unicharToUIKeyInfoTable['a'] would give you the scan code and keymod for lower
32 case a. 32 case a.
33 */ 33 */
34 34
35 typedef struct 35 typedef struct
36 { 36 {
37 SDL_ScanCode code; 37 SDL_Scancode code;
38 Uint16 mod; 38 Uint16 mod;
39 } UIKitKeyInfo; 39 } UIKitKeyInfo;
40 40
41 /* So far only ASCII characters here */ 41 /* So far only ASCII characters here */
42 static UIKitKeyInfo unicharToUIKeyInfoTable[] = { 42 static UIKitKeyInfo unicharToUIKeyInfoTable[] = {