summaryrefslogtreecommitdiff
path: root/keyboard/hhkb_rn42/rn42.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2014-06-25 13:57:36 +0900
committertmk <nobody@nowhere>2014-07-30 14:38:25 +0900
commit4069776c022502f117b83b66c5a71700135acfbc (patch)
treed1259941dc233d6fe553edeeee7cce24cbf2b647 /keyboard/hhkb_rn42/rn42.c
parentea60dae6e69bd3b120f2f702aeea691cb6d3d790 (diff)
Add initial files for RN-42
Diffstat (limited to 'keyboard/hhkb_rn42/rn42.c')
-rw-r--r--keyboard/hhkb_rn42/rn42.c37
1 files changed, 37 insertions, 0 deletions
diff --git a/keyboard/hhkb_rn42/rn42.c b/keyboard/hhkb_rn42/rn42.c
new file mode 100644
index 0000000000..bbf05a392a
--- /dev/null
+++ b/keyboard/hhkb_rn42/rn42.c
@@ -0,0 +1,37 @@
+#include "host.h"
+#include "host_driver.h"
+#include "rn42.h"
+
+
+/* Host driver */
+static uint8_t keyboard_leds(void);
+static void send_keyboard(report_keyboard_t *report);
+static void send_mouse(report_mouse_t *report);
+static void send_system(uint16_t data);
+static void send_consumer(uint16_t data);
+
+host_driver_t rn42_driver = {
+ keyboard_leds,
+ send_keyboard,
+ send_mouse,
+ send_system,
+ send_consumer
+};
+
+static uint8_t keyboard_leds(void) { return 0; }
+
+static void send_keyboard(report_keyboard_t *report)
+{
+}
+
+static void send_mouse(report_mouse_t *report)
+{
+}
+
+static void send_system(uint16_t data)
+{
+}
+
+static void send_consumer(uint16_t data)
+{
+}