prevent null pointer access crashes/memory trashing.
[AROS.git] / workbench / devs / keymaps / standard.h
blobf38adc1ad4cc2f1a52d23682a1805a202cf7e579
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 /* Strings for the F1 key. In a real AmigaOS keymap, these would have come after
7 ** the HiKeyMap, but we do it this way to avoid prototyping
8 **
9 ** String descriptors are byte arrays and work like this:
11 ** sizeofstring,offset_from_start_array_to_start_of_string
12 ** sizeofstring,offset_from_start_array_to_start_of_string
13 ** ..
14 ** ..
15 ** string1
16 ** string2
17 ** ..
18 ** ..
20 ** The number of strings depends on the qualifier flags
21 ** set in the keymap type.
24 STATIC CONST UBYTE f1_descr[] =
26 3,4,
27 4,7,
29 0x9B,'0','~',
30 0x9B,'1','0','~'
33 STATIC CONST UBYTE f2_descr[] =
35 3,4,
36 4,7,
38 0x9B,'1','~',
39 0x9B,'1','1','~'
42 STATIC CONST UBYTE f3_descr[] =
44 3,4,
45 4,7,
47 0x9B,'2','~',
48 0x9B,'1','2','~'
51 STATIC CONST UBYTE f4_descr[] =
53 3,4,
54 4,7,
56 0x9B,'3','~',
57 0x9B,'1','3','~'
60 STATIC CONST UBYTE f5_descr[] =
62 3,4,
63 4,7,
65 0x9B,'4','~',
66 0x9B,'1','4','~'
69 STATIC CONST UBYTE f6_descr[] =
71 3,4,
72 4,7,
74 0x9B,'5','~',
75 0x9B,'1','5','~'
78 STATIC CONST UBYTE f7_descr[] =
80 3,4,
81 4,7,
83 0x9B,'6','~',
84 0x9B,'1','6','~'
87 STATIC CONST UBYTE f8_descr[] =
89 3,4,
90 4,7,
92 0x9B,'7','~',
93 0x9B,'1','7','~'
96 STATIC CONST UBYTE f9_descr[] =
98 3,4,
99 4,7,
101 0x9B,'8','~',
102 0x9B,'1','8','~'
105 STATIC CONST UBYTE f10_descr[] =
107 3,4,
108 4,7,
110 0x9B,'9','~',
111 0x9B,'1','9','~'
114 STATIC CONST UBYTE f11_descr[] =
116 4,4,
117 4,8,
119 0x9B,'2','0','~',
120 0x9B,'3','0','~'
123 STATIC CONST UBYTE f12_descr[] =
125 4,4,
126 4,8,
128 0x9B,'2','1','~',
129 0x9B,'3','1','~'
132 STATIC CONST UBYTE insert_descr[] =
134 4,4,
135 4,8,
137 0x9B,'4','0','~',
138 0x9B,'5','0','~'
141 STATIC CONST UBYTE pageup_descr[] =
143 4,4,
144 4,8,
146 0x9B,'4','1','~',
147 0x9B,'5','1','~'
150 STATIC CONST UBYTE pagedown_descr[] =
152 4,4,
153 4,8,
155 0x9B,'4','2','~',
156 0x9B,'5','2','~'
159 STATIC CONST UBYTE pausebreak_descr[] =
161 4,4,
162 4,8,
164 0x9B,'4','3','~',
165 0x9B,'5','3','~'
168 STATIC CONST UBYTE home_descr[] =
170 4,4,
171 4,8,
173 0x9B,'4','4','~',
174 0x9B,'5','4','~'
177 STATIC CONST UBYTE end_descr[] =
179 4,4,
180 4,8,
182 0x9B,'4','5','~',
183 0x9B,'5','5','~'
186 STATIC CONST UBYTE up_descr[] =
188 2,4,
189 2,6,
191 0x9B,'A',
192 0x9B,'T'
195 STATIC CONST UBYTE down_descr[] =
197 2,4,
198 2,6,
200 0x9B,'B',
201 0x9B,'S'
204 STATIC CONST UBYTE left_descr[] =
206 2,4,
207 3,6,
209 0x9B,'D',
210 0x9B,' ','A'
213 STATIC CONST UBYTE right_descr[] =
215 2,4,
216 3,6,
218 0x9B,'C',
219 0x9B,' ','@'
222 STATIC CONST UBYTE tab_descr[] =
224 1,4,
225 2,5,
227 0x9,
228 0x9B,'Z'
231 STATIC CONST UBYTE help_descr[] =
233 3,2,
235 0x9B,'?','~'