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