Kernel - Split key translation out of PS2Keyboard
[tpg/acess2.git] / KernelLand / Modules / Input / Keyboard / include / keyboard.h
diff --git a/KernelLand/Modules/Input/Keyboard/include/keyboard.h b/KernelLand/Modules/Input/Keyboard/include/keyboard.h
new file mode 100644 (file)
index 0000000..c575399
--- /dev/null
@@ -0,0 +1,20 @@
+/*
+ * Acess2 Kernel - Keyboard mulitplexer/translation
+ * - By John Hodge (thePowersGang)
+ *
+ * keyboard.h
+ * - Interface header
+ */
+#ifndef _KEYBOARD__KEYBOARD_H_
+#define _KEYBOARD__KEYBAORD_H_
+
+#include <api_drv_keyboard.h>
+
+typedef struct sKeyboard       tKeyboard;
+
+extern tKeyboard       *Keyboard_CreateInstance(int MaxSym, const char *Ident);
+extern void    Keyboard_RemoveInstance(tKeyboard *Instance);
+extern void    Keyboard_HandleKey(tKeyboard *Source, Uint32 HIDKeySym);
+
+#endif
+

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