diff options
Diffstat (limited to 'tmk_core/protocol/mbed/HIDKeyboard.h')
-rw-r--r-- | tmk_core/protocol/mbed/HIDKeyboard.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/tmk_core/protocol/mbed/HIDKeyboard.h b/tmk_core/protocol/mbed/HIDKeyboard.h deleted file mode 100644 index e8ff10869..000000000 --- a/tmk_core/protocol/mbed/HIDKeyboard.h +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | #ifndef HIDKEYBOARD_H | ||
2 | |||
3 | # include "stdint.h" | ||
4 | # include "stdbool.h" | ||
5 | # include "USBHID.h" | ||
6 | # include "report.h" | ||
7 | |||
8 | class HIDKeyboard : public USBDevice { | ||
9 | public: | ||
10 | HIDKeyboard(uint16_t vendor_id = 0xFEED, uint16_t product_id = 0xabed, uint16_t product_release = 0x0001); | ||
11 | |||
12 | bool sendReport(report_keyboard_t report); | ||
13 | uint8_t leds(void); | ||
14 | |||
15 | protected: | ||
16 | uint16_t reportLength; | ||
17 | virtual bool USBCallback_setConfiguration(uint8_t configuration); | ||
18 | virtual uint8_t* stringImanufacturerDesc(); | ||
19 | virtual uint8_t* stringIproductDesc(); | ||
20 | virtual uint8_t* stringIserialDesc(); | ||
21 | virtual uint16_t reportDescLength(); | ||
22 | virtual uint8_t* reportDesc(); | ||
23 | virtual uint8_t* configurationDesc(); | ||
24 | // virtual uint8_t * deviceDesc(); | ||
25 | virtual bool USBCallback_request(); | ||
26 | virtual void USBCallback_requestCompleted(uint8_t* buf, uint32_t length); | ||
27 | |||
28 | private: | ||
29 | uint8_t led_state; | ||
30 | }; | ||
31 | |||
32 | #endif | ||