src/video/ps2gs/SDL_gskeys.h
author Sam Lantinga <slouken@libsdl.org>
Tue, 15 Dec 2009 08:11:06 +0000
changeset 3565 f43c8f688f77
parent 1895 c121d94672cb
permissions -rw-r--r--
Fixed bug #906

Added better error reporting for OpenGL context creation failing.
slouken@70
     1
slouken@70
     2
/* Scancodes for the Linux framebuffer console
slouken@70
     3
   - Taken with thanks from SVGAlib 1.4.0
slouken@70
     4
*/
slouken@70
     5
slouken@70
     6
#define SCANCODE_ESCAPE			1
slouken@70
     7
slouken@70
     8
#define SCANCODE_1			2
slouken@70
     9
#define SCANCODE_2			3
slouken@70
    10
#define SCANCODE_3			4
slouken@70
    11
#define SCANCODE_4			5
slouken@70
    12
#define SCANCODE_5			6
slouken@70
    13
#define SCANCODE_6			7
slouken@70
    14
#define SCANCODE_7			8
slouken@70
    15
#define SCANCODE_8			9
slouken@70
    16
#define SCANCODE_9			10
slouken@70
    17
#define SCANCODE_0			11
slouken@70
    18
slouken@70
    19
#define SCANCODE_MINUS			12
slouken@70
    20
#define SCANCODE_EQUAL			13
slouken@70
    21
slouken@70
    22
#define SCANCODE_BACKSPACE		14
slouken@70
    23
#define SCANCODE_TAB			15
slouken@70
    24
slouken@70
    25
#define SCANCODE_Q			16
slouken@70
    26
#define SCANCODE_W			17
slouken@70
    27
#define SCANCODE_E			18
slouken@70
    28
#define SCANCODE_R			19
slouken@70
    29
#define SCANCODE_T			20
slouken@70
    30
#define SCANCODE_Y			21
slouken@70
    31
#define SCANCODE_U			22
slouken@70
    32
#define SCANCODE_I			23
slouken@70
    33
#define SCANCODE_O			24
slouken@70
    34
#define SCANCODE_P			25
slouken@70
    35
#define SCANCODE_BRACKET_LEFT		26
slouken@70
    36
#define SCANCODE_BRACKET_RIGHT		27
slouken@70
    37
slouken@70
    38
#define SCANCODE_ENTER			28
slouken@70
    39
slouken@70
    40
#define SCANCODE_LEFTCONTROL		29
slouken@70
    41
slouken@70
    42
#define SCANCODE_A			30
slouken@70
    43
#define SCANCODE_S			31
slouken@70
    44
#define SCANCODE_D			32
slouken@70
    45
#define SCANCODE_F			33
slouken@70
    46
#define SCANCODE_G			34
slouken@70
    47
#define SCANCODE_H			35
slouken@70
    48
#define SCANCODE_J			36
slouken@70
    49
#define SCANCODE_K			37
slouken@70
    50
#define SCANCODE_L			38
slouken@70
    51
#define SCANCODE_SEMICOLON		39
slouken@70
    52
#define SCANCODE_APOSTROPHE		40
slouken@70
    53
#define SCANCODE_GRAVE			41
slouken@70
    54
slouken@70
    55
#define SCANCODE_LEFTSHIFT		42
slouken@70
    56
#define SCANCODE_BACKSLASH		43
slouken@70
    57
slouken@70
    58
#define SCANCODE_Z			44
slouken@70
    59
#define SCANCODE_X			45
slouken@70
    60
#define SCANCODE_C			46
slouken@70
    61
#define SCANCODE_V			47
slouken@70
    62
#define SCANCODE_B			48
slouken@70
    63
#define SCANCODE_N			49
slouken@70
    64
#define SCANCODE_M			50
slouken@70
    65
#define SCANCODE_COMMA			51
slouken@70
    66
#define SCANCODE_PERIOD			52
slouken@70
    67
#define SCANCODE_SLASH			53
slouken@70
    68
slouken@70
    69
#define SCANCODE_RIGHTSHIFT		54
slouken@70
    70
#define SCANCODE_KEYPADMULTIPLY		55
slouken@70
    71
slouken@70
    72
#define SCANCODE_LEFTALT		56
slouken@70
    73
#define SCANCODE_SPACE			57
slouken@70
    74
#define SCANCODE_CAPSLOCK		58
slouken@70
    75
slouken@70
    76
#define SCANCODE_F1			59
slouken@70
    77
#define SCANCODE_F2			60
slouken@70
    78
#define SCANCODE_F3			61
slouken@70
    79
#define SCANCODE_F4			62
slouken@70
    80
#define SCANCODE_F5			63
slouken@70
    81
#define SCANCODE_F6			64
slouken@70
    82
#define SCANCODE_F7			65
slouken@70
    83
#define SCANCODE_F8			66
slouken@70
    84
#define SCANCODE_F9			67
slouken@70
    85
#define SCANCODE_F10			68
slouken@70
    86
slouken@70
    87
#define SCANCODE_NUMLOCK		69
slouken@70
    88
#define SCANCODE_SCROLLLOCK		70
slouken@70
    89
slouken@70
    90
#define SCANCODE_KEYPAD7		71
slouken@70
    91
#define SCANCODE_CURSORUPLEFT		71
slouken@70
    92
#define SCANCODE_KEYPAD8		72
slouken@70
    93
#define SCANCODE_CURSORUP		72
slouken@70
    94
#define SCANCODE_KEYPAD9		73
slouken@70
    95
#define SCANCODE_CURSORUPRIGHT		73
slouken@70
    96
#define SCANCODE_KEYPADMINUS		74
slouken@70
    97
#define SCANCODE_KEYPAD4		75
slouken@70
    98
#define SCANCODE_CURSORLEFT		75
slouken@70
    99
#define SCANCODE_KEYPAD5		76
slouken@70
   100
#define SCANCODE_KEYPAD6		77
slouken@70
   101
#define SCANCODE_CURSORRIGHT		77
slouken@70
   102
#define SCANCODE_KEYPADPLUS		78
slouken@70
   103
#define SCANCODE_KEYPAD1		79
slouken@70
   104
#define SCANCODE_CURSORDOWNLEFT		79
slouken@70
   105
#define SCANCODE_KEYPAD2		80
slouken@70
   106
#define SCANCODE_CURSORDOWN		80
slouken@70
   107
#define SCANCODE_KEYPAD3		81
slouken@70
   108
#define SCANCODE_CURSORDOWNRIGHT	81
slouken@70
   109
#define SCANCODE_KEYPAD0		82
slouken@70
   110
#define SCANCODE_KEYPADPERIOD		83
slouken@70
   111
slouken@70
   112
#define SCANCODE_LESS			86
slouken@70
   113
slouken@70
   114
#define SCANCODE_F11			87
slouken@70
   115
#define SCANCODE_F12			88
slouken@70
   116
slouken@70
   117
#define SCANCODE_KEYPADENTER		96
slouken@70
   118
#define SCANCODE_RIGHTCONTROL		97
slouken@70
   119
#define SCANCODE_CONTROL		97
slouken@70
   120
#define SCANCODE_KEYPADDIVIDE		98
slouken@70
   121
#define SCANCODE_PRINTSCREEN		99
slouken@70
   122
#define SCANCODE_RIGHTALT		100
slouken@1895
   123
#define SCANCODE_BREAK			101     /* Beware: is 119     */
slouken@1895
   124
#define SCANCODE_BREAK_ALTERNATIVE	119     /* on some keyboards! */
slouken@70
   125
slouken@70
   126
#define SCANCODE_HOME			102
slouken@1895
   127
#define SCANCODE_CURSORBLOCKUP		103     /* Cursor key block */
slouken@70
   128
#define SCANCODE_PAGEUP			104
slouken@1895
   129
#define SCANCODE_CURSORBLOCKLEFT	105     /* Cursor key block */
slouken@1895
   130
#define SCANCODE_CURSORBLOCKRIGHT	106     /* Cursor key block */
slouken@70
   131
#define SCANCODE_END			107
slouken@1895
   132
#define SCANCODE_CURSORBLOCKDOWN	108     /* Cursor key block */
slouken@70
   133
#define SCANCODE_PAGEDOWN		109
slouken@70
   134
#define SCANCODE_INSERT			110
slouken@70
   135
#define SCANCODE_REMOVE			111
slouken@70
   136
slouken@70
   137
#define SCANCODE_RIGHTWIN		126
slouken@70
   138
#define SCANCODE_LEFTWIN		125
slouken@1895
   139
/* vi: set ts=4 sw=4 expandtab: */