diff options
| author | tmk <hasu@tmk-kbd.com> | 2015-04-10 01:25:48 +0900 |
|---|---|---|
| committer | tmk <hasu@tmk-kbd.com> | 2015-04-10 01:25:48 +0900 |
| commit | 6746e37088ce8ba03529c1226bd216705edb2b1f (patch) | |
| tree | a256db88ec3e9e8b1b70839fcd9459d972ce26e0 /protocol/mbed/mbed_driver.cpp | |
| parent | b4e2d325f355a4d083106476393775e75e11f284 (diff) | |
| download | qmk_firmware-6746e37088ce8ba03529c1226bd216705edb2b1f.tar.gz qmk_firmware-6746e37088ce8ba03529c1226bd216705edb2b1f.zip | |
Remove core library and build files
Diffstat (limited to 'protocol/mbed/mbed_driver.cpp')
| -rw-r--r-- | protocol/mbed/mbed_driver.cpp | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/protocol/mbed/mbed_driver.cpp b/protocol/mbed/mbed_driver.cpp deleted file mode 100644 index 6c7b16e23..000000000 --- a/protocol/mbed/mbed_driver.cpp +++ /dev/null | |||
| @@ -1,41 +0,0 @@ | |||
| 1 | #include "HIDKeyboard.h" | ||
| 2 | #include "host.h" | ||
| 3 | #include "host_driver.h" | ||
| 4 | #include "mbed_driver.h" | ||
| 5 | |||
| 6 | HIDKeyboard keyboard; | ||
| 7 | |||
| 8 | |||
| 9 | /* Host driver */ | ||
| 10 | static uint8_t keyboard_leds(void); | ||
| 11 | static void send_keyboard(report_keyboard_t *report); | ||
| 12 | static void send_mouse(report_mouse_t *report); | ||
| 13 | static void send_system(uint16_t data); | ||
| 14 | static void send_consumer(uint16_t data); | ||
| 15 | |||
| 16 | host_driver_t mbed_driver = { | ||
| 17 | keyboard_leds, | ||
| 18 | send_keyboard, | ||
| 19 | send_mouse, | ||
| 20 | send_system, | ||
| 21 | send_consumer | ||
| 22 | }; | ||
| 23 | |||
| 24 | |||
| 25 | static uint8_t keyboard_leds(void) | ||
| 26 | { | ||
| 27 | return keyboard.leds(); | ||
| 28 | } | ||
| 29 | static void send_keyboard(report_keyboard_t *report) | ||
| 30 | { | ||
| 31 | keyboard.sendReport(*report); | ||
| 32 | } | ||
| 33 | static void send_mouse(report_mouse_t *report) | ||
| 34 | { | ||
| 35 | } | ||
| 36 | static void send_system(uint16_t data) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | static void send_consumer(uint16_t data) | ||
| 40 | { | ||
| 41 | } | ||
