From c8a195e1eb19d346c03c1dfa6ed66c6215caefa2 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Mon, 2 Feb 2015 21:48:38 -0500 Subject: Refactor, begin writing a PS/2 driver --- drivers/include/ps2.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 drivers/include/ps2.h (limited to 'drivers/include/ps2.h') 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 + +#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); -- cgit v1.1