diff options
author | tmk <nobody@nowhere> | 2014-06-18 02:22:59 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2014-07-30 14:07:43 +0900 |
commit | 80c3ff5fa03429f1e4ea15032f665ceb88c9b8c3 (patch) | |
tree | 803fe5b419419607146b6ba1db69d24486b1494e /keyboard/mbed_onekey/mbed_driver.cpp | |
parent | e81c70149ecf73256f8bb7d77cefc07f2b91d2be (diff) | |
download | firmware-80c3ff5fa03429f1e4ea15032f665ceb88c9b8c3.tar.gz firmware-80c3ff5fa03429f1e4ea15032f665ceb88c9b8c3.tar.bz2 firmware-80c3ff5fa03429f1e4ea15032f665ceb88c9b8c3.zip |
Fix build files for mbed
Diffstat (limited to 'keyboard/mbed_onekey/mbed_driver.cpp')
-rw-r--r-- | keyboard/mbed_onekey/mbed_driver.cpp | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/keyboard/mbed_onekey/mbed_driver.cpp b/keyboard/mbed_onekey/mbed_driver.cpp deleted file mode 100644 index 333f8e378..000000000 --- a/keyboard/mbed_onekey/mbed_driver.cpp +++ /dev/null @@ -1,41 +0,0 @@ -#include "HIDKeyboard.h" -#include "host.h" -#include "host_driver.h" -#include "mbed_driver.h" - -HIDKeyboard keyboard; - - -/* 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 mbed_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) -{ - keyboard.sendReport(*report); -} -static void send_mouse(report_mouse_t *report) -{ -} -static void send_system(uint16_t data) -{ -} -static void send_consumer(uint16_t data) -{ -} |