Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed FastIO FastPWM USBDevice
Fork of Pinscape_Controller by
Diff: USBJoystick.cpp
- Revision:
- 1:d913e0afb2ac
- Parent:
- 0:5acbbe3f4cf4
- Child:
- 2:c174f9ee414a
diff -r 5acbbe3f4cf4 -r d913e0afb2ac USBJoystick.cpp
--- a/USBJoystick.cpp Fri Jul 11 03:26:11 2014 +0000
+++ b/USBJoystick.cpp Wed Jul 16 23:33:12 2014 +0000
@@ -99,9 +99,9 @@
LOGICAL_MINIMUM(1), 0x81, // each value ranges -127...
LOGICAL_MAXIMUM(1), 0x7f, // ...to 127
REPORT_SIZE(1), 0x08, // 8 bits per report
- REPORT_COUNT(1), 0x03, // 3 reports
+ REPORT_COUNT(1), 0x03, // 2 reports
INPUT(1), 0x02, // Data, Variable, Absolute
-
+
REPORT_COUNT(1), 0x08, // input report count (LEDWiz messages)
0x09, 0x01, // usage
0x91, 0x01, // Output (array)
