Code Addendum 07 - gforth: OpenGL Graphics Lesson 24

Code Addendum 07 - gforth: OpenGL Graphics Lesson 24

Post by Tim Trusse » Tue, 03 May 2011 05:09:21


===================================================================
\ File Name: sdlkeysym.fs
\ Description: SDL Keyboard Symbol constants definitions
\ Forth System: gforth-0.7.0
\ ===================================================================

0 constant SDLK_UNKNOWN
0 constant SDLK_FIRST
8 constant SDLK_BACKSPACE
9 constant SDLK_TAB
12 constant SDLK_CLEAR
13 constant SDLK_RETURN
19 constant SDLK_PAUSE
27 constant SDLK_ESCAPE
32 constant SDLK_SPACE
33 constant SDLK_EXCLAIM
34 constant SDLK_QUOTEDBL
35 constant SDLK_HASH
36 constant SDLK_DOLLAR
38 constant SDLK_AMPERSAND
39 constant SDLK_QUOTE
40 constant SDLK_LEFTPAREN
41 constant SDLK_RIGHTPAREN
42 constant SDLK_ASTERISK
43 constant SDLK_PLUS
44 constant SDLK_COMMA
45 constant SDLK_MINUS
46 constant SDLK_PERIOD
47 constant SDLK_SLASH
48 constant SDLK_0
49 constant SDLK_1
50 constant SDLK_2
51 constant SDLK_3
52 constant SDLK_4
53 constant SDLK_5
54 constant SDLK_6
55 constant SDLK_7
56 constant SDLK_8
57 constant SDLK_9
58 constant SDLK_COLON
59 constant SDLK_SEMICOLON
60 constant SDLK_LESS
61 constant SDLK_EQUALS
62 constant SDLK_GREATER
63 constant SDLK_QUESTION
64 constant SDLK_AT

\ Skip uppercase letters

91 constant SDLK_LEFTBRACKET
92 constant SDLK_BACKSLASH
93 constant SDLK_RIGHTBRACKET
94 constant SDLK_CARET
95 constant SDLK_UNDERSCORE
96 constant SDLK_BACKQUOTE
97 constant SDLK_a
98 constant SDLK_b
99 constant SDLK_c
100 constant SDLK_d
101 constant SDLK_e
102 constant SDLK_f
103 constant SDLK_g
104 constant SDLK_h
105 constant SDLK_i
106 constant SDLK_j
107 constant SDLK_k
108 constant SDLK_l
109 constant SDLK_m
110 constant SDLK_n
111 constant SDLK_o
112 constant SDLK_p
113 constant SDLK_q
114 constant SDLK_r
115 constant SDLK_s
116 constant SDLK_t
117 constant SDLK_u
118 constant SDLK_v
119 constant SDLK_w
120 constant SDLK_x
121 constant SDLK_y
121 constant SDLK_z
127 constant SDLK_DELETE
\ End of ASCII mapped keysyms

\ International keyboard syms
160 constant SDLK_WORLD_0 \ 0xA0
161 constant SDLK_WORLD_1
162 constant SDLK_WORLD_2
163 constant SDLK_WORLD_3
164 constant SDLK_WORLD_4
165 constant SDLK_WORLD_5
166 constant SDLK_WORLD_6
167 constant SDLK_WORLD_7
168 constant SDLK_WORLD_8
169 constant SDLK_WORLD_9
170 constant SDLK_WORLD_10
171 constant SDLK_WORLD_11
172 constant SDLK_WORLD_12
173 constant SDLK_WORLD_13
174 constant SDLK_WORLD_14
175 constant SDLK_WORLD_15
176 constant SDLK_WORLD_16
177 constant SDLK_WORLD_17
178 constant SDLK_WORLD_18
179 constant SDLK_WORLD_19
180 constant SDLK_WORLD_20
181 constant SDLK_WORLD_21
182 constant SDLK_WORLD_22
183 constant SDLK_WORLD_23
184 constant SDLK_WORLD_24
185 constant SDLK_WORLD_25
186 constant SDLK_WORLD_26
187 constant SDLK_WORLD_27
188 constant SDLK_WORLD_28
189 constant SDLK_WORLD_29
190 constant SDLK_WORLD_30
191 constant SDLK_WORLD_31
192 constant SDLK_WORLD_32
193 constant SDLK_WORLD_33
194 constant SDLK_WORLD_34
195 constant SDLK_WORLD_35
196 constant SDLK_WORLD_36
197 constant SDLK_WORLD_37
198 constant SDLK_WORLD_38
199 constant SDLK_WORLD_39
200 constant SDLK_WORLD_40
201 constant SDLK_WORLD_41
202 constant SDLK_WORLD_42
203 constant SDLK_WORLD_43
204 constant SDLK_WORLD_44
205 constant SDLK_WORLD_45
206 constant SDLK_WORLD_46
207 constant SDLK_WORLD_47
208 constant SDLK_WORLD_48
209 constant SDLK_WO