USB Joystick library, modified to work as a 6 DOF joystick.
Fork of USBJoystick by
Diff: USBJoystick.h
- Revision:
- 3:f8be03f31e6c
- Parent:
- 2:1549541d3b4b
- Child:
- 4:0ffbedd2cb73
diff -r 1549541d3b4b -r f8be03f31e6c USBJoystick.h --- a/USBJoystick.h Fri Jan 13 07:09:28 2017 +0000 +++ b/USBJoystick.h Fri Jan 13 08:15:48 2017 +0000 @@ -92,7 +92,7 @@ */ // USBJoystick(uint16_t vendor_id = 0x1234, uint16_t product_id = 0x0100, uint16_t product_release = 0x0001, int waitForConnect = true): // 4 buttons, no padding on buttons // USBJoystick(uint16_t vendor_id = 0x1234, uint16_t product_id = 0x0500, uint16_t product_release = 0x0001, int waitForConnect = true): // 8 buttons, no padding on buttons - USBJoystick(uint16_t vendor_id = 0x1234, uint16_t product_id = 0x0600, uint16_t product_release = 0x0001, int waitForConnect = true): // 32 buttons, no padding on buttons + USBJoystick(uint16_t vendor_id = 0x1234, uint16_t product_id = 0x0700, uint16_t product_release = 0x0001, int waitForConnect = true): // 32 buttons, no padding on buttons USBHID(0, 0, vendor_id, product_id, product_release, false) { _init(); connect(waitForConnect);