misc/winutils/include/SDL_keysym.h
author unc0rr
Fri, 13 Apr 2012 00:08:46 +0400
changeset 6883 70aec33185e2
parent 6560 ca07e6be08d0
child 7809 7d4fb2f35f4f
permissions -rw-r--r--
Support string constants
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
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
     3
    Copyright (C) 1997-2009 Sam Lantinga
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
        /*@{*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    36
	SDLK_UNKNOWN		= 0,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    37
	SDLK_FIRST		= 0,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    38
	SDLK_BACKSPACE		= 8,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    39
	SDLK_TAB		= 9,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    40
	SDLK_CLEAR		= 12,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    41
	SDLK_RETURN		= 13,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    42
	SDLK_PAUSE		= 19,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    43
	SDLK_ESCAPE		= 27,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    44
	SDLK_SPACE		= 32,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    45
	SDLK_EXCLAIM		= 33,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    46
	SDLK_QUOTEDBL		= 34,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    47
	SDLK_HASH		= 35,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    48
	SDLK_DOLLAR		= 36,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    49
	SDLK_AMPERSAND		= 38,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    50
	SDLK_QUOTE		= 39,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    51
	SDLK_LEFTPAREN		= 40,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    52
	SDLK_RIGHTPAREN		= 41,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    53
	SDLK_ASTERISK		= 42,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    54
	SDLK_PLUS		= 43,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    55
	SDLK_COMMA		= 44,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    56
	SDLK_MINUS		= 45,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    57
	SDLK_PERIOD		= 46,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    58
	SDLK_SLASH		= 47,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    59
	SDLK_0			= 48,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    60
	SDLK_1			= 49,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    61
	SDLK_2			= 50,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    62
	SDLK_3			= 51,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    63
	SDLK_4			= 52,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    64
	SDLK_5			= 53,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    65
	SDLK_6			= 54,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    66
	SDLK_7			= 55,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    67
	SDLK_8			= 56,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    68
	SDLK_9			= 57,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    69
	SDLK_COLON		= 58,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    70
	SDLK_SEMICOLON		= 59,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    71
	SDLK_LESS		= 60,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    72
	SDLK_EQUALS		= 61,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    73
	SDLK_GREATER		= 62,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    74
	SDLK_QUESTION		= 63,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    75
	SDLK_AT			= 64,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    76
	/* 
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    77
	   Skip uppercase letters
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    78
	 */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    79
	SDLK_LEFTBRACKET	= 91,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    80
	SDLK_BACKSLASH		= 92,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    81
	SDLK_RIGHTBRACKET	= 93,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    82
	SDLK_CARET		= 94,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    83
	SDLK_UNDERSCORE		= 95,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    84
	SDLK_BACKQUOTE		= 96,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    85
	SDLK_a			= 97,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    86
	SDLK_b			= 98,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    87
	SDLK_c			= 99,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    88
	SDLK_d			= 100,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    89
	SDLK_e			= 101,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    90
	SDLK_f			= 102,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    91
	SDLK_g			= 103,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    92
	SDLK_h			= 104,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    93
	SDLK_i			= 105,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    94
	SDLK_j			= 106,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    95
	SDLK_k			= 107,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    96
	SDLK_l			= 108,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    97
	SDLK_m			= 109,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    98
	SDLK_n			= 110,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    99
	SDLK_o			= 111,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   100
	SDLK_p			= 112,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   101
	SDLK_q			= 113,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   102
	SDLK_r			= 114,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   103
	SDLK_s			= 115,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   104
	SDLK_t			= 116,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   105
	SDLK_u			= 117,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   106
	SDLK_v			= 118,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   107
	SDLK_w			= 119,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   108
	SDLK_x			= 120,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   109
	SDLK_y			= 121,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   110
	SDLK_z			= 122,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   111
	SDLK_DELETE		= 127,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   112
	/* End of ASCII mapped keysyms */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   113
        /*@}*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   114
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   115
	/** @name International keyboard syms */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   116
        /*@{*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   117
	SDLK_WORLD_0		= 160,		/* 0xA0 */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   118
	SDLK_WORLD_1		= 161,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   119
	SDLK_WORLD_2		= 162,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   120
	SDLK_WORLD_3		= 163,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   121
	SDLK_WORLD_4		= 164,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   122
	SDLK_WORLD_5		= 165,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   123
	SDLK_WORLD_6		= 166,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   124
	SDLK_WORLD_7		= 167,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   125
	SDLK_WORLD_8		= 168,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   126
	SDLK_WORLD_9		= 169,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   127
	SDLK_WORLD_10		= 170,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   128
	SDLK_WORLD_11		= 171,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   129
	SDLK_WORLD_12		= 172,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   130
	SDLK_WORLD_13		= 173,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   131
	SDLK_WORLD_14		= 174,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   132
	SDLK_WORLD_15		= 175,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   133
	SDLK_WORLD_16		= 176,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   134
	SDLK_WORLD_17		= 177,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   135
	SDLK_WORLD_18		= 178,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   136
	SDLK_WORLD_19		= 179,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   137
	SDLK_WORLD_20		= 180,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   138
	SDLK_WORLD_21		= 181,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   139
	SDLK_WORLD_22		= 182,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   140
	SDLK_WORLD_23		= 183,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   141
	SDLK_WORLD_24		= 184,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   142
	SDLK_WORLD_25		= 185,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   143
	SDLK_WORLD_26		= 186,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   144
	SDLK_WORLD_27		= 187,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   145
	SDLK_WORLD_28		= 188,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   146
	SDLK_WORLD_29		= 189,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   147
	SDLK_WORLD_30		= 190,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   148
	SDLK_WORLD_31		= 191,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   149
	SDLK_WORLD_32		= 192,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   150
	SDLK_WORLD_33		= 193,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   151
	SDLK_WORLD_34		= 194,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   152
	SDLK_WORLD_35		= 195,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   153
	SDLK_WORLD_36		= 196,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   154
	SDLK_WORLD_37		= 197,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   155
	SDLK_WORLD_38		= 198,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   156
	SDLK_WORLD_39		= 199,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   157
	SDLK_WORLD_40		= 200,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   158
	SDLK_WORLD_41		= 201,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   159
	SDLK_WORLD_42		= 202,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   160
	SDLK_WORLD_43		= 203,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   161
	SDLK_WORLD_44		= 204,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   162
	SDLK_WORLD_45		= 205,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   163
	SDLK_WORLD_46		= 206,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   164
	SDLK_WORLD_47		= 207,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   165
	SDLK_WORLD_48		= 208,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   166
	SDLK_WORLD_49		= 209,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   167
	SDLK_WORLD_50		= 210,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   168
	SDLK_WORLD_51		= 211,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   169
	SDLK_WORLD_52		= 212,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   170
	SDLK_WORLD_53		= 213,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   171
	SDLK_WORLD_54		= 214,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   172
	SDLK_WORLD_55		= 215,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   173
	SDLK_WORLD_56		= 216,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   174
	SDLK_WORLD_57		= 217,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   175
	SDLK_WORLD_58		= 218,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   176
	SDLK_WORLD_59		= 219,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   177
	SDLK_WORLD_60		= 220,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   178
	SDLK_WORLD_61		= 221,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   179
	SDLK_WORLD_62		= 222,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   180
	SDLK_WORLD_63		= 223,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   181
	SDLK_WORLD_64		= 224,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   182
	SDLK_WORLD_65		= 225,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   183
	SDLK_WORLD_66		= 226,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   184
	SDLK_WORLD_67		= 227,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   185
	SDLK_WORLD_68		= 228,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   186
	SDLK_WORLD_69		= 229,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   187
	SDLK_WORLD_70		= 230,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   188
	SDLK_WORLD_71		= 231,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   189
	SDLK_WORLD_72		= 232,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   190
	SDLK_WORLD_73		= 233,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   191
	SDLK_WORLD_74		= 234,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   192
	SDLK_WORLD_75		= 235,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   193
	SDLK_WORLD_76		= 236,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   194
	SDLK_WORLD_77		= 237,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   195
	SDLK_WORLD_78		= 238,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   196
	SDLK_WORLD_79		= 239,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   197
	SDLK_WORLD_80		= 240,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   198
	SDLK_WORLD_81		= 241,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   199
	SDLK_WORLD_82		= 242,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   200
	SDLK_WORLD_83		= 243,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   201
	SDLK_WORLD_84		= 244,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   202
	SDLK_WORLD_85		= 245,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   203
	SDLK_WORLD_86		= 246,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   204
	SDLK_WORLD_87		= 247,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   205
	SDLK_WORLD_88		= 248,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   206
	SDLK_WORLD_89		= 249,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   207
	SDLK_WORLD_90		= 250,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   208
	SDLK_WORLD_91		= 251,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   209
	SDLK_WORLD_92		= 252,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   210
	SDLK_WORLD_93		= 253,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   211
	SDLK_WORLD_94		= 254,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   212
	SDLK_WORLD_95		= 255,		/* 0xFF */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   213
        /*@}*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   214
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   215
	/** @name Numeric keypad */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   216
        /*@{*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   217
	SDLK_KP0		= 256,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   218
	SDLK_KP1		= 257,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   219
	SDLK_KP2		= 258,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   220
	SDLK_KP3		= 259,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   221
	SDLK_KP4		= 260,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   222
	SDLK_KP5		= 261,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   223
	SDLK_KP6		= 262,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   224
	SDLK_KP7		= 263,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   225
	SDLK_KP8		= 264,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   226
	SDLK_KP9		= 265,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   227
	SDLK_KP_PERIOD		= 266,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   228
	SDLK_KP_DIVIDE		= 267,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   229
	SDLK_KP_MULTIPLY	= 268,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   230
	SDLK_KP_MINUS		= 269,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   231
	SDLK_KP_PLUS		= 270,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   232
	SDLK_KP_ENTER		= 271,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   233
	SDLK_KP_EQUALS		= 272,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   234
        /*@}*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   235
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   236
	/** @name Arrows + Home/End pad */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   237
        /*@{*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   238
	SDLK_UP			= 273,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   239
	SDLK_DOWN		= 274,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   240
	SDLK_RIGHT		= 275,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   241
	SDLK_LEFT		= 276,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   242
	SDLK_INSERT		= 277,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   243
	SDLK_HOME		= 278,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   244
	SDLK_END		= 279,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   245
	SDLK_PAGEUP		= 280,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   246
	SDLK_PAGEDOWN		= 281,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   247
        /*@}*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   248
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   249
	/** @name Function keys */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   250
        /*@{*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   251
	SDLK_F1			= 282,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   252
	SDLK_F2			= 283,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   253
	SDLK_F3			= 284,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   254
	SDLK_F4			= 285,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   255
	SDLK_F5			= 286,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   256
	SDLK_F6			= 287,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   257
	SDLK_F7			= 288,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   258
	SDLK_F8			= 289,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   259
	SDLK_F9			= 290,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   260
	SDLK_F10		= 291,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   261
	SDLK_F11		= 292,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   262
	SDLK_F12		= 293,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   263
	SDLK_F13		= 294,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   264
	SDLK_F14		= 295,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   265
	SDLK_F15		= 296,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   266
        /*@}*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   267
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   268
	/** @name Key state modifier keys */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   269
        /*@{*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   270
	SDLK_NUMLOCK		= 300,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   271
	SDLK_CAPSLOCK		= 301,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   272
	SDLK_SCROLLOCK		= 302,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   273
	SDLK_RSHIFT		= 303,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   274
	SDLK_LSHIFT		= 304,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   275
	SDLK_RCTRL		= 305,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   276
	SDLK_LCTRL		= 306,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   277
	SDLK_RALT		= 307,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   278
	SDLK_LALT		= 308,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   279
	SDLK_RMETA		= 309,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   280
	SDLK_LMETA		= 310,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   281
	SDLK_LSUPER		= 311,		/**< Left "Windows" key */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   282
	SDLK_RSUPER		= 312,		/**< Right "Windows" key */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   283
	SDLK_MODE		= 313,		/**< "Alt Gr" key */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   284
	SDLK_COMPOSE		= 314,		/**< Multi-key compose key */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   285
        /*@}*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   286
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   287
	/** @name Miscellaneous function keys */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   288
        /*@{*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   289
	SDLK_HELP		= 315,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   290
	SDLK_PRINT		= 316,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   291
	SDLK_SYSREQ		= 317,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   292
	SDLK_BREAK		= 318,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   293
	SDLK_MENU		= 319,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   294
	SDLK_POWER		= 320,		/**< Power Macintosh power key */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   295
	SDLK_EURO		= 321,		/**< Some european keyboards */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   296
	SDLK_UNDO		= 322,		/**< Atari keyboard has Undo */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   297
        /*@}*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   298
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   299
	/* Add any other keys here */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   300
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   301
	SDLK_LAST
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 {
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   306
	KMOD_NONE  = 0x0000,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   307
	KMOD_LSHIFT= 0x0001,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   308
	KMOD_RSHIFT= 0x0002,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   309
	KMOD_LCTRL = 0x0040,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   310
	KMOD_RCTRL = 0x0080,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   311
	KMOD_LALT  = 0x0100,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   312
	KMOD_RALT  = 0x0200,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   313
	KMOD_LMETA = 0x0400,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   314
	KMOD_RMETA = 0x0800,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   315
	KMOD_NUM   = 0x1000,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   316
	KMOD_CAPS  = 0x2000,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   317
	KMOD_MODE  = 0x4000,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   318
	KMOD_RESERVED = 0x8000
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   319
} SDLMod;
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   320
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   321
#define KMOD_CTRL	(KMOD_LCTRL|KMOD_RCTRL)
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   322
#define KMOD_SHIFT	(KMOD_LSHIFT|KMOD_RSHIFT)
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   323
#define KMOD_ALT	(KMOD_LALT|KMOD_RALT)
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   324
#define KMOD_META	(KMOD_LMETA|KMOD_RMETA)
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   325
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
   326
#endif /* _SDL_keysym_h */