USB Joystick library, modified to work as a 6 DOF joystick.
Fork of USBJoystick by
Revision 3:f8be03f31e6c, committed 2017-01-13
- Comitter:
- smartsystemdesign
- Date:
- Fri Jan 13 08:15:48 2017 +0000
- Parent:
- 2:1549541d3b4b
- Child:
- 4:0ffbedd2cb73
- Commit message:
- Changed ID to allow computer to install it fresh.
Changed in this revision
| USBJoystick.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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);
