26029
|
1 #ifndef MPLAYER_GUI_WSKEYS_H
|
|
2 #define MPLAYER_GUI_WSKEYS_H
|
23077
|
3
|
|
4 #define wsKeyNone -1
|
|
5
|
|
6 #define wsosbrackets '['
|
|
7 #define wscsbrackets ']'
|
|
8
|
|
9 #define wsq 'q'
|
|
10 #define wsa 'a'
|
|
11 #define wsz 'z'
|
|
12 #define wsw 'w'
|
|
13 #define wss 's'
|
|
14 #define wsx 'x'
|
|
15 #define wse 'e'
|
|
16 #define wsd 'd'
|
|
17 #define wsr 'r'
|
|
18 #define wsf 'f'
|
|
19 #define wsv 'v'
|
|
20 #define wst 't'
|
|
21 #define wsg 'g'
|
|
22 #define wsb 'b'
|
|
23 #define wsy 'y'
|
|
24 #define wsh 'h'
|
|
25 #define wsn 'n'
|
|
26 #define wsu 'u'
|
|
27 #define wsj 'j'
|
|
28 #define wsm 'm'
|
|
29 #define wsi 'i'
|
|
30 #define wsk 'k'
|
|
31 #define wso 'o'
|
|
32 #define wsl 'l'
|
|
33 #define wsp 'p'
|
|
34 #define wsc 'c'
|
|
35
|
|
36 #define wsQ 'Q'
|
|
37 #define wsA 'A'
|
|
38 #define wsZ 'Z'
|
|
39 #define wsW 'W'
|
|
40 #define wsS 'S'
|
|
41 #define wsX 'X'
|
|
42 #define wsE 'E'
|
|
43 #define wsD 'D'
|
|
44 #define wsR 'R'
|
|
45 #define wsF 'F'
|
|
46 #define wsV 'V'
|
|
47 #define wsT 'T'
|
|
48 #define wsG 'G'
|
|
49 #define wsB 'B'
|
|
50 #define wsY 'Y'
|
|
51 #define wsH 'H'
|
|
52 #define wsN 'N'
|
|
53 #define wsU 'U'
|
|
54 #define wsJ 'J'
|
|
55 #define wsM 'M'
|
|
56 #define wsI 'I'
|
|
57 #define wsK 'K'
|
|
58 #define wsO 'O'
|
|
59 #define wsL 'L'
|
|
60 #define wsP 'P'
|
|
61 #define wsC 'C'
|
|
62
|
|
63 #define ws0 '0'
|
|
64 #define ws1 '1'
|
|
65 #define ws2 '2'
|
|
66 #define ws3 '3'
|
|
67 #define ws4 '4'
|
|
68 #define ws5 '5'
|
|
69 #define ws6 '6'
|
|
70 #define ws7 '7'
|
|
71 #define ws8 '8'
|
|
72 #define ws9 '9'
|
|
73
|
|
74 #define wsSpace ' '
|
|
75 #define wsMinus '-'
|
|
76 #define wsPlus '+'
|
|
77 #define wsMul '*'
|
|
78 #define wsDiv '/'
|
|
79 #define wsLess '<'
|
|
80 #define wsMore '>'
|
|
81
|
|
82 #define wsUp 0x52 + 256
|
|
83 #define wsDown 0x54 + 256
|
|
84 #define wsLeft 0x51 + 256
|
|
85 #define wsRight 0x53 + 256
|
|
86 #define wsLeftCtrl 0xe3 + 256
|
|
87 #define wsRightCtrl 0xe4 + 256
|
|
88 #define wsLeftAlt 0xe9 + 256
|
|
89 #define wsRightAlt 0x7e + 256
|
|
90 #define wsLeftShift 0xe1 + 256
|
|
91 #define wsRightShift 0xe2 + 256
|
|
92 #define wsEnter 0x0d + 256
|
|
93 #define wsBackSpace 0x08 + 256
|
|
94 #define wsCapsLock 0xe5 + 256
|
|
95 #define wsTab 0x09 + 256
|
|
96 #define wsF1 0xbe + 256
|
|
97 #define wsF2 0xbf + 256
|
|
98 #define wsF3 0xc0 + 256
|
|
99 #define wsF4 0xc1 + 256
|
|
100 #define wsF5 0xc2 + 256
|
|
101 #define wsF6 0xc3 + 256
|
|
102 #define wsF7 0xc4 + 256
|
|
103 #define wsF8 0xc5 + 256
|
|
104 #define wsF9 0xc6 + 256
|
|
105 #define wsF10 0xc7 + 256
|
|
106 #define wsF11 0xc8 + 256
|
|
107 #define wsF12 0xc9 + 256
|
|
108 #define wsInsert 0x63 + 256
|
|
109 #define wsDelete 0xff + 256
|
|
110 #define wsHome 0x50 + 256
|
|
111 #define wsEnd 0x57 + 256
|
|
112 #define wsPageUp 0x55 + 256
|
|
113 #define wsPageDown 0x56 + 256
|
|
114 #define wsNumLock 0x7f + 256
|
|
115 #define wsEscape 0x1b + 256
|
|
116 #define wsGrayEnter 0x8d + 256
|
|
117 #define wsGrayPlus 0xab + 256
|
|
118 #define wsGrayMinus 0xad + 256
|
|
119 #define wsGrayMul 0xaa + 256
|
|
120 #define wsGrayDiv 0xaf + 256
|
|
121
|
|
122 #define wsGrayInsert 0xb0 + 256
|
|
123 #define wsGrayDelete 0xae + 256
|
|
124 #define wsGrayEnd 0xb1 + 256
|
|
125 #define wsGrayDown 0xb2 + 256
|
|
126 #define wsGrayPageDown 0xb3 + 256
|
|
127 #define wsGrayLeft 0xb4 + 256
|
|
128 #define wsGray5 0xb5 + 256
|
|
129 #define wsGrayRight 0xb6 + 256
|
|
130 #define wsGrayHome 0xb7 + 256
|
|
131 #define wsGrayUp 0xb8 + 256
|
|
132 #define wsGrayPageUp 0xb9 + 256
|
|
133
|
|
134 //Keys for multimedia keyboard
|
|
135
|
|
136 #define wsXF86LowerVolume 0x11 + 256
|
|
137 #define wsXF86RaiseVolume 0x13 + 256
|
|
138 #define wsXF86Mute 0x12 + 256
|
|
139 #define wsXF86Play 0x14 + 256
|
|
140 #define wsXF86Stop 0x15 + 256
|
|
141 #define wsXF86Prev 0x16 + 256
|
|
142 #define wsXF86Next 0x17 + 256
|
|
143 #define wsXF86Media 0x32 + 256
|
|
144
|
|
145 #define wsXFMMPrev 0x98
|
|
146 #define wsXFMMStop 0xb1
|
|
147 #define wsXFMMPlay 0x95
|
|
148 #define wsXFMMNext 0x93
|
|
149 #define wsXFMMVolUp 0xad
|
|
150 #define wsXFMMVolDown 0xa6
|
|
151 #define wsXFMMMute 0x99
|
|
152
|
|
153 #define wsKeyNumber 130
|
|
154
|
|
155 typedef struct
|
|
156 {
|
|
157 int code;
|
|
158 const char * name;
|
|
159 } TwsKeyNames;
|
|
160
|
25244
|
161 extern const TwsKeyNames wsKeyNames[ wsKeyNumber ];
|
23077
|
162
|
26029
|
163 #endif /* MPLAYER_GUI_WSKEYS_H */
|