summaryrefslogtreecommitdiff
path: root/Source/Kernel/Devices/Keyboard/PS2Keyboard.class.h
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-08-31 00:25:21 +0200
committerAlexis211 <alexis211@gmail.com>2009-08-31 00:25:21 +0200
commit68a8fb4e3b3e9087904b17ce6d81983950b9dca9 (patch)
tree57518642ab813fddfb3887a47f7a01d839d9bb70 /Source/Kernel/Devices/Keyboard/PS2Keyboard.class.h
parent9ad8e2fe0242da26dae7fca2b180640637c8c062 (diff)
downloadMelon-68a8fb4e3b3e9087904b17ce6d81983950b9dca9.tar.gz
Melon-68a8fb4e3b3e9087904b17ce6d81983950b9dca9.zip
We now have complete support for keybord, IN UTF-8 !!
Diffstat (limited to 'Source/Kernel/Devices/Keyboard/PS2Keyboard.class.h')
-rw-r--r--Source/Kernel/Devices/Keyboard/PS2Keyboard.class.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/Source/Kernel/Devices/Keyboard/PS2Keyboard.class.h b/Source/Kernel/Devices/Keyboard/PS2Keyboard.class.h
new file mode 100644
index 0000000..b4cd7a8
--- /dev/null
+++ b/Source/Kernel/Devices/Keyboard/PS2Keyboard.class.h
@@ -0,0 +1,18 @@
+#ifndef DEF_PS2KEYBOARD_CLASS_H
+#define DEF_PS2KEYBOARD_CLASS_H
+
+#include <Devices/Keyboard/Keyboard.proto.h>
+
+class PS2Keyboard : public Keyboard {
+ private:
+ bool m_escaped;
+
+ public:
+ PS2Keyboard();
+ String getClass();
+ String getName();
+ void handleIRQ(registers_t regs, int irq);
+ void updateLeds(u32int kbdstatus);
+};
+
+#endif