aboutsummaryrefslogtreecommitdiff
path: root/drivers/include/ps2.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/include/ps2.h')
-rw-r--r--drivers/include/ps2.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/include/ps2.h b/drivers/include/ps2.h
new file mode 100644
index 0000000..924ef24
--- /dev/null
+++ b/drivers/include/ps2.h
@@ -0,0 +1,9 @@
+#include <stdint.h>
+
+#define PS2_SCROLL_LOCK (1 << 0)
+#define PS2_NUM_LOCK (1 << 1)
+#define PS2_CAPS_LOCK (1 << 2)
+
+void ps2_set_leds(uint8_t status);
+
+void ps2_init(void);