2 Copyright © 2013, The AROS Development Team. All rights reserved.
8 #include <devices/keymap.h>
10 #define DEFINE_KEYMAP(kmname) \
12 STATIC char keymapname[] = kmname; \
14 STATIC CONST UBYTE lokeymaptypes[]; \
15 STATIC CONST IPTR lokeymap[]; \
16 STATIC CONST UBYTE locapsable[]; \
17 STATIC CONST UBYTE lorepeatable[]; \
19 STATIC CONST UBYTE hikeymaptypes[]; \
20 STATIC CONST IPTR hikeymap[]; \
21 STATIC CONST UBYTE hicapsable[]; \
22 STATIC CONST UBYTE hirepeatable[]; \
24 CONST struct KeyMapNode km = \
27 NULL, NULL, 0, 0, keymapname \
30 (UBYTE *)lokeymaptypes, \
32 (UBYTE *)locapsable, \
33 (UBYTE *)lorepeatable, \
34 (UBYTE *)hikeymaptypes, \
36 (UBYTE *)hicapsable, \
37 (UBYTE *)hirepeatable \