misc/winutils/include/SDL_keysym.h
author Wuzzy <Wuzzy2@mail.ru>
Sat, 28 Jul 2018 13:15:59 +0200
changeset 13567 8f9b84d6991d
parent 10017 de822cd3df3a
permissions -rw-r--r--
Fix DrawHLinesExplosions setting invalid map pixels if called at wrap world edge This caused an errror message after the game when using hammer or pickhammer at wrap world edge.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6560
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
     1
/*
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
     2
    SDL - Simple DirectMedia Layer
7809
7d4fb2f35f4f update SDL headers for winutils
koda
parents: 6560
diff changeset
     3
    Copyright (C) 1997-2012 Sam Lantinga
6560
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
     4
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
     5
    This library is free software; you can redistribute it and/or
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
     6
    modify it under the terms of the GNU Lesser General Public
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
     7
    License as published by the Free Software Foundation; either
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
     8
    version 2.1 of the License, or (at your option) any later version.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
     9
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    10
    This library is distributed in the hope that it will be useful,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    13
    Lesser General Public License for more details.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    14
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    15
    You should have received a copy of the GNU Lesser General Public
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    16
    License along with this library; if not, write to the Free Software
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    18
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    19
    Sam Lantinga
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    20
    slouken@libsdl.org
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    21
*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    22
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    23
#ifndef _SDL_keysym_h
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    24
#define _SDL_keysym_h
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    25
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    26
/** What we really want is a mapping of every raw key on the keyboard.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    27
 *  To support international keyboards, we use the range 0xA1 - 0xFF
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    28
 *  as international virtual keycodes.  We'll follow in the footsteps of X11...
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    29
 *  @brief The names of the keys
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    30
 */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    31
typedef enum {
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    32
        /** @name ASCII mapped keysyms
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    33
         *  The keyboard syms have been cleverly chosen to map to ASCII
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    34
         */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    35
        /*@{*/
10017
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    36
    SDLK_UNKNOWN        = 0,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    37
    SDLK_FIRST      = 0,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    38
    SDLK_BACKSPACE      = 8,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    39
    SDLK_TAB        = 9,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    40
    SDLK_CLEAR      = 12,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    41
    SDLK_RETURN     = 13,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    42
    SDLK_PAUSE      = 19,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    43
    SDLK_ESCAPE     = 27,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    44
    SDLK_SPACE      = 32,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    45
    SDLK_EXCLAIM        = 33,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    46
    SDLK_QUOTEDBL       = 34,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    47
    SDLK_HASH       = 35,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    48
    SDLK_DOLLAR     = 36,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    49
    SDLK_AMPERSAND      = 38,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    50
    SDLK_QUOTE      = 39,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    51
    SDLK_LEFTPAREN      = 40,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    52
    SDLK_RIGHTPAREN     = 41,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    53
    SDLK_ASTERISK       = 42,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    54
    SDLK_PLUS       = 43,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    55
    SDLK_COMMA      = 44,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    56
    SDLK_MINUS      = 45,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    57
    SDLK_PERIOD     = 46,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    58
    SDLK_SLASH      = 47,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    59
    SDLK_0          = 48,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    60
    SDLK_1          = 49,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    61
    SDLK_2          = 50,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    62
    SDLK_3          = 51,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    63
    SDLK_4          = 52,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    64
    SDLK_5          = 53,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    65
    SDLK_6          = 54,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    66
    SDLK_7          = 55,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    67
    SDLK_8          = 56,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    68
    SDLK_9          = 57,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    69
    SDLK_COLON      = 58,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    70
    SDLK_SEMICOLON      = 59,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    71
    SDLK_LESS       = 60,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    72
    SDLK_EQUALS     = 61,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    73
    SDLK_GREATER        = 62,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    74
    SDLK_QUESTION       = 63,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    75
    SDLK_AT         = 64,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    76
    /*
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    77
       Skip uppercase letters
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    78
     */
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    79
    SDLK_LEFTBRACKET    = 91,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    80
    SDLK_BACKSLASH      = 92,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    81
    SDLK_RIGHTBRACKET   = 93,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    82
    SDLK_CARET      = 94,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    83
    SDLK_UNDERSCORE     = 95,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    84
    SDLK_BACKQUOTE      = 96,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    85
    SDLK_a          = 97,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    86
    SDLK_b          = 98,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    87
    SDLK_c          = 99,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    88
    SDLK_d          = 100,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    89
    SDLK_e          = 101,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    90
    SDLK_f          = 102,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    91
    SDLK_g          = 103,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    92
    SDLK_h          = 104,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    93
    SDLK_i          = 105,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    94
    SDLK_j          = 106,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    95
    SDLK_k          = 107,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    96
    SDLK_l          = 108,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    97
    SDLK_m          = 109,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    98
    SDLK_n          = 110,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
    99
    SDLK_o          = 111,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   100
    SDLK_p          = 112,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   101
    SDLK_q          = 113,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   102
    SDLK_r          = 114,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   103
    SDLK_s          = 115,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   104
    SDLK_t          = 116,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   105
    SDLK_u          = 117,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   106
    SDLK_v          = 118,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   107
    SDLK_w          = 119,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   108
    SDLK_x          = 120,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   109
    SDLK_y          = 121,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   110
    SDLK_z          = 122,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   111
    SDLK_DELETE     = 127,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   112
    /* End of ASCII mapped keysyms */
6560
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   113
        /*@}*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   114
10017
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   115
    /** @name International keyboard syms */
6560
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   116
        /*@{*/
10017
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   117
    SDLK_WORLD_0        = 160,      /* 0xA0 */
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   118
    SDLK_WORLD_1        = 161,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   119
    SDLK_WORLD_2        = 162,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   120
    SDLK_WORLD_3        = 163,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   121
    SDLK_WORLD_4        = 164,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   122
    SDLK_WORLD_5        = 165,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   123
    SDLK_WORLD_6        = 166,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   124
    SDLK_WORLD_7        = 167,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   125
    SDLK_WORLD_8        = 168,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   126
    SDLK_WORLD_9        = 169,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   127
    SDLK_WORLD_10       = 170,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   128
    SDLK_WORLD_11       = 171,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   129
    SDLK_WORLD_12       = 172,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   130
    SDLK_WORLD_13       = 173,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   131
    SDLK_WORLD_14       = 174,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   132
    SDLK_WORLD_15       = 175,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   133
    SDLK_WORLD_16       = 176,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   134
    SDLK_WORLD_17       = 177,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   135
    SDLK_WORLD_18       = 178,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   136
    SDLK_WORLD_19       = 179,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   137
    SDLK_WORLD_20       = 180,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   138
    SDLK_WORLD_21       = 181,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   139
    SDLK_WORLD_22       = 182,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   140
    SDLK_WORLD_23       = 183,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   141
    SDLK_WORLD_24       = 184,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   142
    SDLK_WORLD_25       = 185,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   143
    SDLK_WORLD_26       = 186,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   144
    SDLK_WORLD_27       = 187,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   145
    SDLK_WORLD_28       = 188,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   146
    SDLK_WORLD_29       = 189,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   147
    SDLK_WORLD_30       = 190,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   148
    SDLK_WORLD_31       = 191,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   149
    SDLK_WORLD_32       = 192,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   150
    SDLK_WORLD_33       = 193,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   151
    SDLK_WORLD_34       = 194,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   152
    SDLK_WORLD_35       = 195,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   153
    SDLK_WORLD_36       = 196,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   154
    SDLK_WORLD_37       = 197,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   155
    SDLK_WORLD_38       = 198,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   156
    SDLK_WORLD_39       = 199,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   157
    SDLK_WORLD_40       = 200,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   158
    SDLK_WORLD_41       = 201,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   159
    SDLK_WORLD_42       = 202,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   160
    SDLK_WORLD_43       = 203,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   161
    SDLK_WORLD_44       = 204,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   162
    SDLK_WORLD_45       = 205,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   163
    SDLK_WORLD_46       = 206,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   164
    SDLK_WORLD_47       = 207,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   165
    SDLK_WORLD_48       = 208,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   166
    SDLK_WORLD_49       = 209,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   167
    SDLK_WORLD_50       = 210,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   168
    SDLK_WORLD_51       = 211,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   169
    SDLK_WORLD_52       = 212,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   170
    SDLK_WORLD_53       = 213,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   171
    SDLK_WORLD_54       = 214,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   172
    SDLK_WORLD_55       = 215,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   173
    SDLK_WORLD_56       = 216,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   174
    SDLK_WORLD_57       = 217,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   175
    SDLK_WORLD_58       = 218,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   176
    SDLK_WORLD_59       = 219,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   177
    SDLK_WORLD_60       = 220,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   178
    SDLK_WORLD_61       = 221,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   179
    SDLK_WORLD_62       = 222,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   180
    SDLK_WORLD_63       = 223,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   181
    SDLK_WORLD_64       = 224,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   182
    SDLK_WORLD_65       = 225,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   183
    SDLK_WORLD_66       = 226,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   184
    SDLK_WORLD_67       = 227,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   185
    SDLK_WORLD_68       = 228,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   186
    SDLK_WORLD_69       = 229,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   187
    SDLK_WORLD_70       = 230,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   188
    SDLK_WORLD_71       = 231,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   189
    SDLK_WORLD_72       = 232,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   190
    SDLK_WORLD_73       = 233,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   191
    SDLK_WORLD_74       = 234,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   192
    SDLK_WORLD_75       = 235,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   193
    SDLK_WORLD_76       = 236,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   194
    SDLK_WORLD_77       = 237,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   195
    SDLK_WORLD_78       = 238,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   196
    SDLK_WORLD_79       = 239,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   197
    SDLK_WORLD_80       = 240,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   198
    SDLK_WORLD_81       = 241,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   199
    SDLK_WORLD_82       = 242,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   200
    SDLK_WORLD_83       = 243,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   201
    SDLK_WORLD_84       = 244,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   202
    SDLK_WORLD_85       = 245,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   203
    SDLK_WORLD_86       = 246,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   204
    SDLK_WORLD_87       = 247,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   205
    SDLK_WORLD_88       = 248,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   206
    SDLK_WORLD_89       = 249,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   207
    SDLK_WORLD_90       = 250,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   208
    SDLK_WORLD_91       = 251,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   209
    SDLK_WORLD_92       = 252,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   210
    SDLK_WORLD_93       = 253,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   211
    SDLK_WORLD_94       = 254,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   212
    SDLK_WORLD_95       = 255,      /* 0xFF */
6560
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   213
        /*@}*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   214
10017
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   215
    /** @name Numeric keypad */
6560
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   216
        /*@{*/
10017
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   217
    SDLK_KP0        = 256,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   218
    SDLK_KP1        = 257,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   219
    SDLK_KP2        = 258,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   220
    SDLK_KP3        = 259,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   221
    SDLK_KP4        = 260,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   222
    SDLK_KP5        = 261,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   223
    SDLK_KP6        = 262,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   224
    SDLK_KP7        = 263,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   225
    SDLK_KP8        = 264,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   226
    SDLK_KP9        = 265,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   227
    SDLK_KP_PERIOD      = 266,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   228
    SDLK_KP_DIVIDE      = 267,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   229
    SDLK_KP_MULTIPLY    = 268,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   230
    SDLK_KP_MINUS       = 269,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   231
    SDLK_KP_PLUS        = 270,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   232
    SDLK_KP_ENTER       = 271,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   233
    SDLK_KP_EQUALS      = 272,
6560
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   234
        /*@}*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   235
10017
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   236
    /** @name Arrows + Home/End pad */
6560
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   237
        /*@{*/
10017
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   238
    SDLK_UP         = 273,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   239
    SDLK_DOWN       = 274,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   240
    SDLK_RIGHT      = 275,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   241
    SDLK_LEFT       = 276,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   242
    SDLK_INSERT     = 277,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   243
    SDLK_HOME       = 278,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   244
    SDLK_END        = 279,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   245
    SDLK_PAGEUP     = 280,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   246
    SDLK_PAGEDOWN       = 281,
6560
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   247
        /*@}*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   248
10017
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   249
    /** @name Function keys */
6560
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   250
        /*@{*/
10017
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   251
    SDLK_F1         = 282,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   252
    SDLK_F2         = 283,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   253
    SDLK_F3         = 284,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   254
    SDLK_F4         = 285,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   255
    SDLK_F5         = 286,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   256
    SDLK_F6         = 287,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   257
    SDLK_F7         = 288,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   258
    SDLK_F8         = 289,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   259
    SDLK_F9         = 290,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   260
    SDLK_F10        = 291,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   261
    SDLK_F11        = 292,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   262
    SDLK_F12        = 293,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   263
    SDLK_F13        = 294,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   264
    SDLK_F14        = 295,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   265
    SDLK_F15        = 296,
6560
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   266
        /*@}*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   267
10017
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   268
    /** @name Key state modifier keys */
6560
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   269
        /*@{*/
10017
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   270
    SDLK_NUMLOCK        = 300,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   271
    SDLK_CAPSLOCK       = 301,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   272
    SDLK_SCROLLOCK      = 302,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   273
    SDLK_RSHIFT     = 303,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   274
    SDLK_LSHIFT     = 304,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   275
    SDLK_RCTRL      = 305,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   276
    SDLK_LCTRL      = 306,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   277
    SDLK_RALT       = 307,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   278
    SDLK_LALT       = 308,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   279
    SDLK_RMETA      = 309,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   280
    SDLK_LMETA      = 310,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   281
    SDLK_LSUPER     = 311,      /**< Left "Windows" key */
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   282
    SDLK_RSUPER     = 312,      /**< Right "Windows" key */
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   283
    SDLK_MODE       = 313,      /**< "Alt Gr" key */
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   284
    SDLK_COMPOSE        = 314,      /**< Multi-key compose key */
6560
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   285
        /*@}*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   286
10017
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   287
    /** @name Miscellaneous function keys */
6560
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   288
        /*@{*/
10017
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   289
    SDLK_HELP       = 315,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   290
    SDLK_PRINT      = 316,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   291
    SDLK_SYSREQ     = 317,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   292
    SDLK_BREAK      = 318,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   293
    SDLK_MENU       = 319,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   294
    SDLK_POWER      = 320,      /**< Power Macintosh power key */
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   295
    SDLK_EURO       = 321,      /**< Some european keyboards */
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   296
    SDLK_UNDO       = 322,      /**< Atari keyboard has Undo */
6560
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   297
        /*@}*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   298
10017
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   299
    /* Add any other keys here */
6560
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   300
10017
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   301
    SDLK_LAST
6560
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   302
} SDLKey;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   303
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   304
/** Enumeration of valid key mods (possibly OR'd together) */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   305
typedef enum {
10017
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   306
    KMOD_NONE  = 0x0000,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   307
    KMOD_LSHIFT= 0x0001,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   308
    KMOD_RSHIFT= 0x0002,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   309
    KMOD_LCTRL = 0x0040,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   310
    KMOD_RCTRL = 0x0080,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   311
    KMOD_LALT  = 0x0100,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   312
    KMOD_RALT  = 0x0200,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   313
    KMOD_LMETA = 0x0400,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   314
    KMOD_RMETA = 0x0800,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   315
    KMOD_NUM   = 0x1000,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   316
    KMOD_CAPS  = 0x2000,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   317
    KMOD_MODE  = 0x4000,
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   318
    KMOD_RESERVED = 0x8000
6560
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   319
} SDLMod;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   320
10017
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   321
#define KMOD_CTRL   (KMOD_LCTRL|KMOD_RCTRL)
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   322
#define KMOD_SHIFT  (KMOD_LSHIFT|KMOD_RSHIFT)
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   323
#define KMOD_ALT    (KMOD_LALT|KMOD_RALT)
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 7809
diff changeset
   324
#define KMOD_META   (KMOD_LMETA|KMOD_RMETA)
6560
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   325
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   326
#endif /* _SDL_keysym_h */