Mercurial > sdl-ios-xcode
comparison src/events/SDL_keyboard_c.h @ 5225:1fbe1c202501
Renamed SDL_Key to SDL_Keycode to clarify terminology.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 07 Feb 2011 10:40:21 -0800 |
parents | c1a92e61907d |
children | b530ef003506 |
comparison
equal
deleted
inserted
replaced
5224:c1a92e61907d | 5225:1fbe1c202501 |
---|---|
32 | 32 |
33 /* Clear the state of the keyboard */ | 33 /* Clear the state of the keyboard */ |
34 extern void SDL_ResetKeyboard(void); | 34 extern void SDL_ResetKeyboard(void); |
35 | 35 |
36 /* Get the default keymap */ | 36 /* Get the default keymap */ |
37 extern void SDL_GetDefaultKeymap(SDL_Key * keymap); | 37 extern void SDL_GetDefaultKeymap(SDL_Keycode * keymap); |
38 | 38 |
39 /* Set the mapping of scancode to key codes */ | 39 /* Set the mapping of scancode to key codes */ |
40 extern void SDL_SetKeymap(int start, SDL_Key * keys, int length); | 40 extern void SDL_SetKeymap(int start, SDL_Keycode * keys, int length); |
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()). */ |