Library used for HID protocol communication with the PC.

Fork of USBDevice by mbed official

Revision:
62:3bd2176d49f6
Parent:
25:7c72828865f3
--- a/USBHID/USBMouse.h	Thu Feb 18 09:45:59 2016 +0000
+++ b/USBHID/USBMouse.h	Tue Apr 05 16:19:29 2016 +0000
@@ -117,7 +117,7 @@
         * @param product_release Your preoduct_release (default: 0x0001)
         *
         */
-        USBMouse(MOUSE_TYPE mouse_type = REL_MOUSE, uint16_t vendor_id = 0x1234, uint16_t product_id = 0x0001, uint16_t product_release = 0x0001):
+        USBMouse(MOUSE_TYPE mouse_type = ABS_MOUSE, uint16_t vendor_id = 0x1234, uint16_t product_id = 0x0001, uint16_t product_release = 0x0001):
             USBHID(0, 0, vendor_id, product_id, product_release, false)
             {
                 button = 0;