annotate libvo/wskeys.h @ 24498:7d955b1de13c

Remove another variable and reorder to avoid wasting space due to alignment
author reimar
date Sat, 15 Sep 2007 10:58:06 +0000
parents 3f0d00abc073
children 3baf6a2283da
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1
23689
3f0d00abc073 Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents: 23686
diff changeset
2 #ifndef WSKEYS_H
3f0d00abc073 Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents: 23686
diff changeset
3 #define WSKEYS_H
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5 #define wsosbrackets '['
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
6 #define wscsbrackets ']'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
7
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8 #define wsq 'q'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
9 #define wsa 'a'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10 #define wsz 'z'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11 #define wsw 'w'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12 #define wss 's'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
13 #define wsx 'x'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14 #define wse 'e'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15 #define wsd 'd'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16 #define wsr 'r'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17 #define wsf 'f'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18 #define wsv 'v'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19 #define wst 't'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20 #define wsg 'g'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21 #define wsb 'b'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22 #define wsy 'y'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23 #define wsh 'h'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24 #define wsn 'n'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
25 #define wsu 'u'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
26 #define wsj 'j'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
27 #define wsm 'm'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
28 #define wsi 'i'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
29 #define wsk 'k'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
30 #define wso 'o'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
31 #define wsl 'l'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
32 #define wsp 'p'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
33
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
34 #define wsQ 'Q'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
35 #define wsA 'A'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
36 #define wsZ 'Z'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
37 #define wsW 'W'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
38 #define wsS 'S'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
39 #define wsX 'X'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
40 #define wsE 'E'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
41 #define wsD 'D'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
42 #define wsR 'R'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
43 #define wsF 'F'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
44 #define wsV 'V'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
45 #define wsT 'T'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
46 #define wsG 'G'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
47 #define wsB 'B'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
48 #define wsY 'Y'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
49 #define wsH 'H'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
50 #define wsN 'N'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
51 #define wsU 'U'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
52 #define wsJ 'J'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
53 #define wsM 'M'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
54 #define wsI 'I'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
55 #define wsK 'K'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
56 #define wsO 'O'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
57 #define wsL 'L'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
58 #define wsP 'P'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
59
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
60 #define wsSpace ' '
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
61 #define wsMinus '-'
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
62 #define wsPlus '+'
453
c68f62830c83 add * and /
pontscho
parents: 448
diff changeset
63 #define wsMul '*'
c68f62830c83 add * and /
pontscho
parents: 448
diff changeset
64 #define wsDiv '/'
3490
d33dac3fcfa1 applied Panagiotis' patch
gabucino
parents: 453
diff changeset
65 #define wsLess '<'
d33dac3fcfa1 applied Panagiotis' patch
gabucino
parents: 453
diff changeset
66 #define wsMore '>'
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
67
10936
51bc09f2977c Get more keys from X window (punctuation, etc.) Hopefully, all alnum keys
lumag
parents: 9891
diff changeset
68 #define wsGrave '`'
51bc09f2977c Get more keys from X window (punctuation, etc.) Hopefully, all alnum keys
lumag
parents: 9891
diff changeset
69 #define wsTilde '~'
51bc09f2977c Get more keys from X window (punctuation, etc.) Hopefully, all alnum keys
lumag
parents: 9891
diff changeset
70 #define wsExclSign '!'
51bc09f2977c Get more keys from X window (punctuation, etc.) Hopefully, all alnum keys
lumag
parents: 9891
diff changeset
71 #define wsAt '@'
51bc09f2977c Get more keys from X window (punctuation, etc.) Hopefully, all alnum keys
lumag
parents: 9891
diff changeset
72 #define wsHash '#'
51bc09f2977c Get more keys from X window (punctuation, etc.) Hopefully, all alnum keys
lumag
parents: 9891
diff changeset
73 #define wsDollar '$'
51bc09f2977c Get more keys from X window (punctuation, etc.) Hopefully, all alnum keys
lumag
parents: 9891
diff changeset
74 #define wsPercent '%'
51bc09f2977c Get more keys from X window (punctuation, etc.) Hopefully, all alnum keys
lumag
parents: 9891
diff changeset
75 #define wsCircumflex '^'
51bc09f2977c Get more keys from X window (punctuation, etc.) Hopefully, all alnum keys
lumag
parents: 9891
diff changeset
76 #define wsAmpersand '&'
51bc09f2977c Get more keys from X window (punctuation, etc.) Hopefully, all alnum keys
lumag
parents: 9891
diff changeset
77 #define wsobracket '('
51bc09f2977c Get more keys from X window (punctuation, etc.) Hopefully, all alnum keys
lumag
parents: 9891
diff changeset
78 #define wscbracket ')'
51bc09f2977c Get more keys from X window (punctuation, etc.) Hopefully, all alnum keys
lumag
parents: 9891
diff changeset
79 #define wsUnder '_'
51bc09f2977c Get more keys from X window (punctuation, etc.) Hopefully, all alnum keys
lumag
parents: 9891
diff changeset
80 #define wsocbracket '{'
51bc09f2977c Get more keys from X window (punctuation, etc.) Hopefully, all alnum keys
lumag
parents: 9891
diff changeset
81 #define wsccbracket '}'
51bc09f2977c Get more keys from X window (punctuation, etc.) Hopefully, all alnum keys
lumag
parents: 9891
diff changeset
82 #define wsColon ':'
51bc09f2977c Get more keys from X window (punctuation, etc.) Hopefully, all alnum keys
lumag
parents: 9891
diff changeset
83 #define wsSemicolon ';'
51bc09f2977c Get more keys from X window (punctuation, etc.) Hopefully, all alnum keys
lumag
parents: 9891
diff changeset
84 #define wsDblQuote '\"'
51bc09f2977c Get more keys from X window (punctuation, etc.) Hopefully, all alnum keys
lumag
parents: 9891
diff changeset
85 #define wsAcute '\''
51bc09f2977c Get more keys from X window (punctuation, etc.) Hopefully, all alnum keys
lumag
parents: 9891
diff changeset
86 #define wsComma ','
51bc09f2977c Get more keys from X window (punctuation, etc.) Hopefully, all alnum keys
lumag
parents: 9891
diff changeset
87 #define wsPoint '.'
51bc09f2977c Get more keys from X window (punctuation, etc.) Hopefully, all alnum keys
lumag
parents: 9891
diff changeset
88 #define wsQuestSign '?'
51bc09f2977c Get more keys from X window (punctuation, etc.) Hopefully, all alnum keys
lumag
parents: 9891
diff changeset
89 #define wsBSlash '\\'
51bc09f2977c Get more keys from X window (punctuation, etc.) Hopefully, all alnum keys
lumag
parents: 9891
diff changeset
90 #define wsPipe '|'
51bc09f2977c Get more keys from X window (punctuation, etc.) Hopefully, all alnum keys
lumag
parents: 9891
diff changeset
91 #define wsEqual '='
51bc09f2977c Get more keys from X window (punctuation, etc.) Hopefully, all alnum keys
lumag
parents: 9891
diff changeset
92
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
93 #define wsUp 0x52 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
94 #define wsDown 0x54 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
95 #define wsLeft 0x51 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
96 #define wsRight 0x53 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
97 #define wsLeftCtrl 0xe3 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
98 #define wsRightCtrl 0xe4 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
99 #define wsLeftAlt 0xe9 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
100 #define wsRightAlt 0x7e + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
101 #define wsLeftShift 0xe1 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
102 #define wsRightShift 0xe2 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
103 #define wsEnter 0x0d + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
104 #define wsBackSpace 0x08 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
105 #define wsCapsLock 0xe5 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
106 #define wsTab 0x09 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
107 #define wsF1 0xbe + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
108 #define wsF2 0xbf + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
109 #define wsF3 0xc0 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
110 #define wsF4 0xc1 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
111 #define wsF5 0xc2 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
112 #define wsF6 0xc3 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
113 #define wsF7 0xc4 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
114 #define wsF8 0xc5 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
115 #define wsF9 0xc6 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
116 #define wsF10 0xc7 + 256
11793
faa111ce1315 Support binding F11 and F12 keys to commands.
diego
parents: 10936
diff changeset
117 #define wsF11 0xc8 + 256
faa111ce1315 Support binding F11 and F12 keys to commands.
diego
parents: 10936
diff changeset
118 #define wsF12 0xc9 + 256
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
119 #define wsInsert 0x63 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
120 #define wsDelete 0xff + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
121 #define wsHome 0x50 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
122 #define wsEnd 0x57 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
123 #define wsPageUp 0x55 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
124 #define wsPageDown 0x56 + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
125 #define wsNumLock 0x7f + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
126 #define wsEscape 0x1b + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
127 #define wsGrayEnter 0x8d + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
128 #define wsGrayPlus 0xab + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
129 #define wsGrayMinus 0xad + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
130 #define wsGrayMul 0xaa + 256
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
131 #define wsGrayDiv 0xaf + 256
9891
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 3490
diff changeset
132 #define wsGrayDecimal 0xae + 256
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 3490
diff changeset
133 #define wsGray0 0xb0 + 256
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 3490
diff changeset
134 #define wsGray1 0xb1 + 256
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 3490
diff changeset
135 #define wsGray2 0xb2 + 256
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 3490
diff changeset
136 #define wsGray3 0xb3 + 256
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 3490
diff changeset
137 #define wsGray4 0xb4 + 256
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 3490
diff changeset
138 #define wsGray5 0xb5 + 256
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 3490
diff changeset
139 #define wsGray6 0xb6 + 256
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 3490
diff changeset
140 #define wsGray7 0xb7 + 256
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 3490
diff changeset
141 #define wsGray8 0xb8 + 256
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 3490
diff changeset
142 #define wsGray9 0xb9 + 256
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 3490
diff changeset
143 #define wsGrayHome 0x95 + 256
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 3490
diff changeset
144 #define wsGrayLeft 0x96 + 256
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 3490
diff changeset
145 #define wsGrayUp 0x97 + 256
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 3490
diff changeset
146 #define wsGrayRight 0x98 + 256
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 3490
diff changeset
147 #define wsGrayDown 0x99 + 256
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 3490
diff changeset
148 #define wsGrayPgUp 0x9a + 256
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 3490
diff changeset
149 #define wsGrayPgDn 0x9b + 256
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 3490
diff changeset
150 #define wsGrayEnd 0x9c + 256
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 3490
diff changeset
151 #define wsGray5Dup 0x9d + 256
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 3490
diff changeset
152 #define wsGrayInsert 0x9e + 256
150d1ef4204d keypad and function (f1-f10) suppport (currently only vo_sdl and the terminal input code supports it). Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
alex
parents: 3490
diff changeset
153 #define wsGrayDelete 0x9f + 256
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
154
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
155 #endif
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
156