
Adjusts the great pinscape controller to work with a cheap linear potentiometer instead of the expensive CCD array
Fork of Pinscape_Controller by
Diff: USBJoystick.cpp
- Revision:
- 1:d913e0afb2ac
- Parent:
- 0:5acbbe3f4cf4
- Child:
- 2:c174f9ee414a
--- 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)