keyboard->mbed->PC (mbed->SDcard)
Fork of USBHost by
Diff: USBHostHID/USBHostMouse.h
- Revision:
- 24:868cbfe611a7
- Parent:
- 8:93da8ea2708b
- Child:
- 37:f1e388e7b752
diff -r 759ec18ee1a7 -r 868cbfe611a7 USBHostHID/USBHostMouse.h --- a/USBHostHID/USBHostMouse.h Fri Mar 07 16:00:46 2014 +0000 +++ b/USBHostHID/USBHostMouse.h Tue Jun 03 11:30:38 2014 +0100 @@ -23,7 +23,7 @@ #include "USBHost.h" -/** +/** * A class to communicate a USB mouse */ class USBHostMouse : public IUSBEnumerator { @@ -58,7 +58,7 @@ onUpdate = ptr; } } - + /** * Attach a callback called when the button state changes * @@ -69,7 +69,7 @@ onButtonUpdate = ptr; } } - + /** * Attach a callback called when the X axis value changes * @@ -80,7 +80,7 @@ onXUpdate = ptr; } } - + /** * Attach a callback called when the Y axis value changes * @@ -91,7 +91,7 @@ onYUpdate = ptr; } } - + /** * Attach a callback called when the Z axis value changes (scrolling) * @@ -114,7 +114,7 @@ USBDeviceConnected * dev; USBEndpoint * int_in; uint8_t report[4]; - + bool dev_connected; bool mouse_device_found; int mouse_intf;