Testing 6DOF USB HID joystick device.
Dependencies: USBDevice USBJoystick mbed
Diff: main.cpp
- Revision:
- 4:dae441214ba4
- Parent:
- 3:9b51b991e5d6
- Child:
- 6:17b57fe0bc2e
--- 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