annotate Gui/wm/wskeys.h @ 13549:4604fc855b3a

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