Kernel - Fixed screen not updating in VT framebuffer mode
[tpg/acess2.git] / KernelLand / Kernel / include / keysyms.h
1 /*
2  * Acess2 Kernel
3  * - By John Hodge (thePowersGang)
4  *
5  * keysyms.h
6  * - USB HID Keyboard Symbols
7  */
8 #ifndef _USB_KEYSYMS_H_
9 #define _USB_KEYSYMS_H_
10
11 enum eUSB_Keysyms
12 {
13         KEYSYM_NONE,
14         KEYSYM_ERRORROLLOVER,
15         KEYSYM_POSTFAIL,
16         KEYSYM_ERRORUNDEFINED,
17         // 0x04 / 4
18         KEYSYM_a, KEYSYM_b, KEYSYM_c,
19         KEYSYM_d, KEYSYM_e, KEYSYM_f,
20         KEYSYM_g, KEYSYM_h, KEYSYM_i,
21         KEYSYM_j, KEYSYM_k, KEYSYM_l,
22         KEYSYM_m, KEYSYM_n, KEYSYM_o,
23         KEYSYM_p, KEYSYM_q, KEYSYM_r,
24         KEYSYM_s, KEYSYM_t, KEYSYM_u,
25         KEYSYM_v, KEYSYM_w, KEYSYM_x,
26         KEYSYM_y, KEYSYM_z,
27         
28         // 0x1E / 30
29         KEYSYM_1, KEYSYM_2,
30         KEYSYM_3, KEYSYM_4,
31         KEYSYM_5, KEYSYM_6,
32         KEYSYM_7, KEYSYM_8,
33         KEYSYM_9, KEYSYM_0,
34         
35         KEYSYM_RETURN,  // Enter
36         KEYSYM_ESC,     // Esc.
37         KEYSYM_BACKSP,  // Backspace
38         KEYSYM_TAB,     // Tab
39         KEYSYM_SPACE,   // Spacebar
40         KEYSYM_MINUS,   // - _
41         KEYSYM_EQUALS,  // = +
42         KEYSYM_SQUARE_OPEN,     // [ {
43         KEYSYM_SQUARE_CLOSE,    // ] }
44         KEYSYM_BACKSLASH,       // \ |
45         KEYSYM_HASH_TILDE,      // # ~ (Non-US)
46         KEYSYM_SEMICOLON,       // ; :
47         KEYSYM_QUOTE,   // ' "
48         KEYSYM_GRAVE_TILDE,     // Grave Accent, Tilde
49         KEYSYM_COMMA,   // , <
50         KEYSYM_PERIOD,  // . >
51         KEYSYM_SLASH,   // / ?
52         KEYSYM_CAPS,    // Caps Lock
53         KEYSYM_F1, KEYSYM_F2,
54         KEYSYM_F3, KEYSYM_F4,
55         KEYSYM_F5, KEYSYM_F6,
56         KEYSYM_F7, KEYSYM_F8,
57         KEYSYM_F9, KEYSYM_F10,
58         KEYSYM_F11, KEYSYM_F12,
59         KEYSYM_PRINTSCREEN,
60         KEYSYM_SCROLLLOCK,
61         KEYSYM_PAUSE,
62         KEYSYM_INSERT,
63         KEYSYM_HOME,
64         KEYSYM_PGUP,
65         KEYSYM_DELETE,
66         KEYSYM_END,
67         KEYSYM_PGDN,
68         KEYSYM_RIGHTARROW,
69         KEYSYM_LEFTARROW,
70         KEYSYM_DOWNARROW,
71         KEYSYM_UPARROW,
72         
73         KEYSYM_NUMLOCK,
74         KEYSYM_KPSLASH,
75         KEYSYM_KPSTAR,
76         KEYSYM_KPMINUS,
77         KEYSYM_KPPLUS,
78         KEYSYM_KPENTER,
79         KEYSYM_KP1,
80         KEYSYM_KP2,
81         KEYSYM_KP3,
82         KEYSYM_KP4,
83         KEYSYM_KP5,
84         KEYSYM_KP6,
85         KEYSYM_KP7,
86         KEYSYM_KP8,
87         KEYSYM_KP9,
88         KEYSYM_KP0,
89         KEYSYM_KPPERIOD,
90         
91         KEYSYM_NONUS_BACKSLASH,
92         KEYSYM_APPLICATION,     // Menu
93         KEYSYM_POWER,
94         KEYSYM_KPEQUALS,
95         
96         KEYSYM_F13, KEYSYM_F14,
97         KEYSYM_F15, KEYSYM_F16,
98         KEYSYM_F17, KEYSYM_F18,
99         KEYSYM_F19, KEYSYM_F20,
100         KEYSYM_F21, KEYSYM_F22,
101         KEYSYM_F23, KEYSYM_F24,
102         KEYSYM_EXECUTE,
103         KEYSYM_HELP,
104         KEYSYM_MENU,
105         KEYSYM_SELECT,
106         KEYSYM_STOP,
107         KEYSYM_AGAIN,
108         KEYSYM_UNDO,
109         KEYSYM_CUT,
110         KEYSYM_COPY,
111         KEYSYM_PASTE,
112         KEYSYM_FIND,
113         KEYSYM_MUTE,
114         KEYSYM_VOLUP,
115         KEYSYM_VOLDN,
116         KEYSYM_LOCKING_CAPS,    // Physically toggles
117         KEYSYM_LOGKING_NUM,
118         KEYSYM_LOGKING_SCROLL,
119         KEYSYM_KPCOMMA,
120         KEYSYM_KPEQUAL,
121         KEYSYM_KBINT1,
122         KEYSYM_KBINT2,
123         KEYSYM_KBINT3,
124         KEYSYM_KBINT4,
125         KEYSYM_KBINT5,
126         KEYSYM_KBINT6,
127         KEYSYM_KBINT7,
128         KEYSYM_KBINT8,
129         KEYSYM_KBINT9,
130
131         KEYSYM_LANG1,
132         KEYSYM_LANG2,
133         KEYSYM_LANG3,
134         KEYSYM_LANG4,
135         KEYSYM_LANG5,
136         KEYSYM_LANG6,
137         KEYSYM_LANG7,
138         KEYSYM_LANG8,
139         KEYSYM_LANG9,
140
141         KEYSYM_ALT_ERASE,
142         KEYSYM_SYSRQ,
143         KEYSYM_CANCEL,
144         KEYSYM_CLEAR,
145         KEYSYM_PRIOR,
146         KEYSYM_RETURN_,
147         KEYSYM_SEPAR,
148         KEYSYM_OUT,
149         KEYSYM_OPER,
150         // TODO: Define this void
151         
152         KEYSYM_LEFTCTRL = 0xE0,
153         KEYSYM_LEFTSHIFT,
154         KEYSYM_LEFTALT,
155         KEYSYM_LEFTGUI, // Menu?
156         KEYSYM_RIGHTCTRL,
157         KEYSYM_RIGHTSHIFT,
158         KEYSYM_RIGHTALT,
159         KEYSYM_RIGHTGUI
160
161         // > 0xE7 is undefined as of revision 1.12 of the HID Usage Tables
162 };
163
164 #endif
165

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