Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- a/src/events/SDL_keyboard_c.h Mon Feb 07 09:42:08 2011 -0800 +++ b/src/events/SDL_keyboard_c.h Mon Feb 07 10:40:21 2011 -0800 @@ -34,10 +34,10 @@ extern void SDL_ResetKeyboard(void); /* Get the default keymap */ -extern void SDL_GetDefaultKeymap(SDL_Key * keymap); +extern void SDL_GetDefaultKeymap(SDL_Keycode * keymap); /* Set the mapping of scancode to key codes */ -extern void SDL_SetKeymap(int start, SDL_Key * keys, int length); +extern void SDL_SetKeymap(int start, SDL_Keycode * keys, int length); /* Set a platform-dependent key name, overriding the default platform-agnostic name. Encoded as UTF-8. The string is not copied, thus the pointer given to