added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / compiler / include / devices / keymap.h
blob36beb76e81afecc2c2e2da4ff72fcfef45dcfa5e
1 #ifndef DEVICES_KEYMAP_H
2 #define DEVICES_KEYMAP_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Keymap definitions
9 Lang: english
12 #ifndef EXEC_LISTS_H
13 # include <exec/lists.h>
14 #endif
16 #ifndef EXEC_NODES_H
17 # include <exec/nodes.h>
18 #endif
20 struct KeyMapResource
22 struct Node kr_Node;
23 struct List kr_List;
26 struct KeyMap
28 UBYTE * km_LoKeyMapTypes;
29 IPTR * km_LoKeyMap;
30 UBYTE * km_LoCapsable;
31 UBYTE * km_LoRepeatable;
32 UBYTE * km_HiKeyMapTypes;
33 IPTR * km_HiKeyMap;
34 UBYTE * km_HiCapsable;
35 UBYTE * km_HiRepeatable;
38 struct KeyMapNode
40 struct Node kn_Node;
41 struct KeyMap kn_KeyMap;
44 #define KC_NOQUAL 0
45 #define KC_VANILLA 7
46 #define KCB_SHIFT 0
47 #define KCF_SHIFT (1<<0)
48 #define KCB_ALT 1
49 #define KCF_ALT (1<<1)
50 #define KCB_CONTROL 2
51 #define KCF_CONTROL (1<<2)
52 #define KCB_DOWNUP 3
53 #define KCF_DOWNUP (1<<3)
54 #define KCB_DEAD 5
55 #define KCF_DEAD (1<<5)
56 #define KCB_STRING 6
57 #define KCF_STRING (1<<6)
58 #define KCB_NOP 7
59 #define KCF_NOP (1<<7)
61 #define DPB_MOD 0
62 #define DPF_MOD (1<<0)
63 #define DPB_DEAD 3
64 #define DPF_DEAD (1<<3)
66 #define DP_2DINDEXMASK 0x0f
67 #define DP_2DFACSHIFT 4
69 #endif /* DEVICES_KEYMAP_H */