Renamed SDLKey and SDLMod for consistency
This commit is contained in:
parent
76a24d278d
commit
cc52151bca
12 changed files with 35 additions and 33 deletions
|
@ -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 @@ typedef enum
|
|||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue