added USB host
Dependencies: FATFileSystem mbed-rtos
Fork of USBHost by
Diff: USBHostHID/USBHostKeyboard.h
- Revision:
- 24:868cbfe611a7
- Parent:
- 8:93da8ea2708b
--- a/USBHostHID/USBHostKeyboard.h Fri Mar 07 16:00:46 2014 +0000 +++ b/USBHostHID/USBHostKeyboard.h Tue Jun 03 11:30:38 2014 +0100 @@ -23,12 +23,12 @@ #include "USBHost.h" -/** +/** * A class to communicate a USB keyboard */ class USBHostKeyboard : public IUSBEnumerator { public: - + /** * Constructor */ @@ -83,7 +83,7 @@ uint8_t report[9]; int keyboard_intf; bool keyboard_device_found; - + bool dev_connected; void rxHandler(); @@ -92,7 +92,7 @@ void (*onKeyCode)(uint8_t key, uint8_t modifier); int report_id; - + void init(); };