/* AXPbox Alpha Emulator
 * Copyright (C) 2020 Tomáš Glozar
 * Website: https://github.com/lenticularis39/axpbox
 *
 * Forked from: ES40 emulator
 * Copyright (C) 2007-2008 by the ES40 Emulator Project
 * Copyright (C) 2007 by Camiel Vanderhoeven
 *
 *  This file is based upon Bochs.
 *
 *  Copyright (C) 2002  MandrakeSoft S.A.
 *
 *    MandrakeSoft S.A.
 *    43, rue d'Aboukir
 *    75002 Paris - France
 *    http://www.linux-mandrake.com/
 *    http://www.mandrakesoft.com/
 *
 *  This library is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Lesser General Public
 *  License as published by the Free Software Foundation; either
 *  version 2 of the License, or (at your option) any later version.
 *
 *  This library 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
 *  Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with this library; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 */

/**
 * \file
 * This file is simply a list of SDL key symbols taken from <SDL/SDL_keysym.h>.
 * The order in this file is not important.  In sdl.cc, DEF_SDL_KEY() is
 * defined as a macro and then it includes this file to fill in all the data in
 * its key mapping table.
 *
 * The symbols, such as SDLK_RETURN, are used for two purposes.  They
 * are converted into a string (by the # operator in processor), which is
 * compared to the host key name in the keymap file.  Also, the value of
 * the symbol is inserted into the key mapping table.  Then the value is
 * compared with the keysym field of each key up/down event as it arrives.
 *
 * If you get undefined symbol errors in this file, it must mean that
 * your SDL library version doesn't define those same SDLK_* symbols in
 * <SDL/SDL_keysym.h>.  You can't fix it with #ifdef SDLK_SYM because
 * they are enums, so you'll just have to comment out the offending line.
 * The list was generated using symbols from SDL 1.2.3.
 *
 * $Id$
 * X-1.3        Camiel Vanderhoeven                             02-JAN-2008
 *      Comments.
 *
 * X-1.1        Camiel Vanderhoeven                             6-DEC-2007
 *      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_KEY(SDLK_RALT)
DEF_SDL_KEY(SDLK_LALT)
DEF_SDL_KEY(SDLK_RMETA) // SDL3 extended key
DEF_SDL_KEY(SDLK_LMETA) // SDL3 extended key
DEF_SDL_KEY(SDLK_LGUI)  // was SDLK_LSUPER
DEF_SDL_KEY(SDLK_RGUI)  // was SDLK_RSUPER
DEF_SDL_KEY(SDLK_MODE)
DEF_SDL_KEY(SDLK_MULTI_KEY_COMPOSE) // was SDLK_COMPOSE
DEF_SDL_KEY(SDLK_HELP)
DEF_SDL_KEY(SDLK_PRINTSCREEN) // was SDLK_PRINT
DEF_SDL_KEY(SDLK_SYSREQ)
// SDLK_BREAK -- (SDLK_PAUSE covers it)
DEF_SDL_KEY(SDLK_MENU)
DEF_SDL_KEY(SDLK_POWER)
// SDLK_EURO -- removed in SDL3
DEF_SDL_KEY(SDLK_UNDO)
