annotate gui/wm/wskeys.h @ 23679:7ec134c71749

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