Library used for HID protocol communication with the PC.
Fork of USBDevice by
Revision 62:3bd2176d49f6, committed 2016-04-05
- Comitter:
- zork
- Date:
- Tue Apr 05 16:19:29 2016 +0000
- Parent:
- 61:d17693b10ae6
- Commit message:
- mouse changed to absolute
Changed in this revision
USBHID/USBMouse.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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;