Change char assign

This commit is contained in:
latot 2015-12-27 16:52:38 -03:00
parent c7b98b84c2
commit b22ee53662

View File

@ -5,7 +5,7 @@
// TODO: Add any missing keys // TODO: Add any missing keys
static const std::map<int, int> KeyMapRawSDLtoNative = InitConstMap<int, int> static const std::map<int, int> KeyMapRawSDLtoNative = InitConstMap<int, int>
(SDL_SCANCODE_UNKNOWN, NKCODE_UNKNOWN) (SDLK_UNKNOWN, NKCODE_UNKNOWN)
(SDLK_p, NKCODE_P) (SDLK_p, NKCODE_P)
(SDLK_o, NKCODE_O) (SDLK_o, NKCODE_O)
(SDLK_i, NKCODE_I) (SDLK_i, NKCODE_I)
@ -47,7 +47,7 @@ static const std::map<int, int> KeyMapRawSDLtoNative = InitConstMap<int, int>
(SDLK_RIGHTBRACKET, NKCODE_RIGHT_BRACKET) (SDLK_RIGHTBRACKET, NKCODE_RIGHT_BRACKET)
(SDLK_BACKSLASH, NKCODE_BACKSLASH) (SDLK_BACKSLASH, NKCODE_BACKSLASH)
(SDLK_SEMICOLON, NKCODE_SEMICOLON) (SDLK_SEMICOLON, NKCODE_SEMICOLON)
(SDL_SCANCODE_0, NKCODE_APOSTROPHE) (SDLK_QUOTE, NKCODE_APOSTROPHE)
(SDLK_SLASH, NKCODE_SLASH) (SDLK_SLASH, NKCODE_SLASH)
(SDLK_AT, NKCODE_AT) (SDLK_AT, NKCODE_AT)
(SDLK_PLUS, NKCODE_PLUS) (SDLK_PLUS, NKCODE_PLUS)
@ -110,9 +110,9 @@ static const std::map<int, int> KeyMapRawSDLtoNative = InitConstMap<int, int>
(SDLK_RIGHT, NKCODE_DPAD_RIGHT) (SDLK_RIGHT, NKCODE_DPAD_RIGHT)
(SDLK_DOWN, NKCODE_DPAD_DOWN) (SDLK_DOWN, NKCODE_DPAD_DOWN)
(SDLK_PAUSE, NKCODE_BREAK) (SDLK_PAUSE, NKCODE_BREAK)
(SDL_SCANCODE_COPY, NKCODE_EXT_PIPE) ('|', NKCODE_EXT_PIPE)
(SDL_SCANCODE_CUT, NKCODE_LEFTBRACE) ('{', NKCODE_LEFTBRACE)
(SDL_SCANCODE_PASTE, NKCODE_RIGHTBRACE) ('}', NKCODE_RIGHTBRACE)
(SDL_SCANCODE_KP_D, NKCODE_START_QUESTION) (191, NKCODE_START_QUESTION)
(SDLK_APPLICATION, NKCODE_MENU); (SDLK_APPLICATION, NKCODE_MENU);