Merge branch 'master' of ted.mutabah.net:acess2
[tpg/acess2.git] / KernelLand / Modules / Input / Keyboard / keymap_int.h
1 /*
2  * Acess2 Kernel - Keyboard Character Mappings
3  * - By John Hodge (thePowersGang)
4  *
5  * keymap.h
6  * - Core keymap "library" header
7  */
8 #ifndef _KEYMAP__KEYMAP_INT_H_
9 #define _KEYMAP__KEYMAP_INT_H_
10
11 typedef struct sKeymap  tKeymap;
12 typedef struct sKeymapLayer     tKeymapLayer;
13
14 struct sKeymapLayer
15 {
16          int    nSyms;
17         Uint32  Sym[];
18 };
19
20 struct sKeymap
21 {
22         char    *Name;
23          int    nLayers;
24         tKeymapLayer    *Layers[];
25 };
26
27 struct sKeyboard
28 {
29         struct sKeyboard        *Next;
30         char    *Name;
31         struct sVFS_Node        *Node;
32
33         tKeymap *Keymap;        
34
35         Uint32  State;
36          int    MaxKeysym;
37         Uint8   KeyStates[];
38 };
39
40 #endif
41

UCC git Repository :: git.ucc.asn.au