mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-01-07 05:43:18 +00:00
Renaming SDLK_QUOTE and SDLK_BACKQUOTE
Renaming SDLK_QUOTE to SDLK_APOSTROPHE. Renaming SDLK_BACKQUOTE to SDLK_GRAVE. This makes them similar to their scancode names.
This commit is contained in:
committed by
Sam Lantinga
parent
06d6f2cb25
commit
94cbaaabbf
@@ -62,7 +62,7 @@ typedef Uint32 SDL_Keycode;
|
||||
#define SDLK_PERCENT '%'
|
||||
#define SDLK_DOLLAR '$'
|
||||
#define SDLK_AMPERSAND '&'
|
||||
#define SDLK_QUOTE '\''
|
||||
#define SDLK_APOSTROPHE '\''
|
||||
#define SDLK_LEFTPAREN '('
|
||||
#define SDLK_RIGHTPAREN ')'
|
||||
#define SDLK_ASTERISK '*'
|
||||
@@ -93,7 +93,7 @@ typedef Uint32 SDL_Keycode;
|
||||
#define SDLK_RIGHTBRACKET ']'
|
||||
#define SDLK_CARET '^'
|
||||
#define SDLK_UNDERSCORE '_'
|
||||
#define SDLK_BACKQUOTE '`'
|
||||
#define SDLK_GRAVE '`'
|
||||
#define SDLK_a 'a'
|
||||
#define SDLK_b 'b'
|
||||
#define SDLK_c 'c'
|
||||
|
||||
@@ -357,6 +357,8 @@
|
||||
#define KMOD_RSHIFT SDL_KMOD_RSHIFT
|
||||
#define KMOD_SCROLL SDL_KMOD_SCROLL
|
||||
#define KMOD_SHIFT SDL_KMOD_SHIFT
|
||||
#define SDLK_BACKQUOTE SDLK_GRAVE
|
||||
#define SDLK_QUOTE SDLK_APOSTROPHE
|
||||
|
||||
/* ##SDL_log.h */
|
||||
#define SDL_LogGetOutputFunction SDL_GetLogOutputFunction
|
||||
@@ -864,6 +866,8 @@
|
||||
#define KMOD_RSHIFT KMOD_RSHIFT_renamed_SDL_KMOD_RSHIFT
|
||||
#define KMOD_SCROLL KMOD_SCROLL_renamed_SDL_KMOD_SCROLL
|
||||
#define KMOD_SHIFT KMOD_SHIFT_renamed_SDL_KMOD_SHIFT
|
||||
#define SDLK_BACKQUOTE SDLK_BACKQUOTE_renamed_SDLK_GRAVE
|
||||
#define SDLK_QUOTE SDLK_QUOTE_renamed_SDLK_APOSTROPHE
|
||||
|
||||
/* ##SDL_log.h */
|
||||
#define SDL_LogGetOutputFunction SDL_LogGetOutputFunction_renamed_SDL_GetLogOutputFunction
|
||||
|
||||
Reference in New Issue
Block a user