140 lines
2.1 KiB
C
140 lines
2.1 KiB
C
/*
|
|
PokeMini - Pokémon-Mini Emulator
|
|
Copyright (C) 2009-2014 JustBurn
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#include "SDL.h"
|
|
#include "Keyboard.h"
|
|
|
|
TKeyboardRemap KeybMapSDL2 = {
|
|
SDLK_UNKNOWN,
|
|
SDLK_ESCAPE,
|
|
SDLK_RETURN,
|
|
SDLK_BACKSPACE,
|
|
SDLK_TAB,
|
|
SDLK_BACKQUOTE,
|
|
|
|
SDLK_RSHIFT,
|
|
SDLK_LSHIFT,
|
|
SDLK_RCTRL,
|
|
SDLK_LCTRL,
|
|
SDLK_RALT,
|
|
SDLK_LALT,
|
|
|
|
SDLK_INSERT,
|
|
SDLK_DELETE,
|
|
SDLK_HOME,
|
|
SDLK_END,
|
|
SDLK_PAGEUP,
|
|
SDLK_PAGEDOWN,
|
|
|
|
SDLK_NUMLOCKCLEAR,
|
|
SDLK_CAPSLOCK,
|
|
SDLK_SCROLLLOCK,
|
|
SDLK_KP_PERIOD,
|
|
SDLK_KP_DIVIDE,
|
|
SDLK_KP_MULTIPLY,
|
|
SDLK_KP_MINUS,
|
|
SDLK_KP_PLUS,
|
|
SDLK_KP_ENTER,
|
|
SDLK_KP_EQUALS,
|
|
|
|
SDLK_UP,
|
|
SDLK_DOWN,
|
|
SDLK_RIGHT,
|
|
SDLK_LEFT,
|
|
|
|
SDLK_SPACE,
|
|
SDLK_EXCLAIM,
|
|
SDLK_QUOTEDBL,
|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