Mercurial > sdl-ios-xcode
diff include/SDL_keysym.h @ 5224:c1a92e61907d
Renamed SDLKey and SDLMod for consistency
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 07 Feb 2011 09:42:08 -0800 |
parents | f7b03b6838cb |
children | 1fbe1c202501 |
line wrap: on
line diff
--- a/include/SDL_keysym.h Mon Feb 07 09:37:11 2011 -0800 +++ b/include/SDL_keysym.h Mon Feb 07 09:42:08 2011 -0800 @@ -40,7 +40,7 @@ * the unmodified character that would be generated by pressing the key, or * an SDLK_* constant for those keys that do not generate characters. */ -typedef Sint32 SDLKey; +typedef Sint32 SDL_Key; #define SDLK_SCANCODE_MASK (1<<30) #define SDL_SCANCODE_TO_KEYCODE(X) (X | SDLK_SCANCODE_MASK) @@ -330,7 +330,7 @@ KMOD_CAPS = 0x2000, KMOD_MODE = 0x4000, KMOD_RESERVED = 0x8000 -} SDLMod; +} SDL_Mod; #define KMOD_CTRL (KMOD_LCTRL|KMOD_RCTRL) #define KMOD_SHIFT (KMOD_LSHIFT|KMOD_RSHIFT)