comparison src/events/SDL_keyboard_c.h @ 5083:25d4feb7c127

Renamed SDL_keysym to SDL_KeySym Renamed SDL_scancode to SDL_ScanCode Added #defines to SDL_compat.h
author krogoway
date Mon, 24 Jan 2011 13:47:35 -0600
parents e2d46c5c7483
children 572a73d71b5f
comparison
equal deleted inserted replaced
5082:de59e0218aa2 5083:25d4feb7c127
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 */