Mercurial > sdl-ios-xcode
comparison src/events/SDL_keyboard_c.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 | 25d4feb7c127 |
children | c1a92e61907d |
comparison
equal
deleted
inserted
replaced
5222:9c0593fa27d6 | 5223:572a73d71b5f |
---|---|
41 | 41 |
42 /* Set a platform-dependent key name, overriding the default platform-agnostic | 42 /* Set a platform-dependent key name, overriding the default platform-agnostic |
43 name. Encoded as UTF-8. The string is not copied, thus the pointer given to | 43 name. Encoded as UTF-8. The string is not copied, thus the pointer given to |
44 this function must stay valid forever (or at least until the call to | 44 this function must stay valid forever (or at least until the call to |
45 VideoQuit()). */ | 45 VideoQuit()). */ |
46 extern void SDL_SetScancodeName(SDL_ScanCode scancode, const char *name); | 46 extern void SDL_SetScancodeName(SDL_Scancode scancode, const char *name); |
47 | 47 |
48 /* Set the keyboard focus window */ | 48 /* Set the keyboard focus window */ |
49 extern void SDL_SetKeyboardFocus(SDL_Window * window); | 49 extern void SDL_SetKeyboardFocus(SDL_Window * window); |
50 | 50 |
51 /* Send a keyboard key event */ | 51 /* Send a keyboard key event */ |
52 extern int SDL_SendKeyboardKey(Uint8 state, SDL_ScanCode scancode); | 52 extern int SDL_SendKeyboardKey(Uint8 state, SDL_Scancode scancode); |
53 | 53 |
54 /* Send keyboard text input */ | 54 /* Send keyboard text input */ |
55 extern int SDL_SendKeyboardText(const char *text); | 55 extern int SDL_SendKeyboardText(const char *text); |
56 | 56 |
57 /* Send editing text for selected range from start to end */ | 57 /* Send editing text for selected range from start to end */ |