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