Testing 6DOF USB HID joystick device.

Dependencies:   USBDevice USBJoystick mbed

Files at this revision

API Documentation at this revision

Comitter:
smartsystemdesign
Date:
Fri Jan 13 08:22:21 2017 +0000
Parent:
3:9b51b991e5d6
Child:
5:fafa409d2913
Commit message:
Nevermind last commit message, I am standing at 11 bytes for the report descriptor (was thinking 64 bits).

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Jan 13 08:16:37 2017 +0000
+++ b/main.cpp	Fri Jan 13 08:22:21 2017 +0000
@@ -134,7 +134,7 @@
 
         pc.printf(" %d %d %d %d %d %d\r\n", x, y, z, rx, ry, rz);
 
-//        joystick.update(x, y, z, rx, ry, rz, buttons, hat);
+        joystick.update(x, y, z, rx, ry, rz, buttons, hat);
         wait(0.005);
     }
 }
\ No newline at end of file