Pinscape Controller version 1 fork. This is a fork to allow for ongoing bug fixes to the original controller version, from before the major changes for the expansion board project.
Dependencies: FastIO FastPWM SimpleDMA mbed
Fork of Pinscape_Controller by
Diff: USBJoystick/USBJoystick.h
- Revision:
- 21:5048e16cc9ef
- Parent:
- 11:bd9da7088e6e
- Child:
- 29:582472d0bc57
--- a/USBJoystick/USBJoystick.h Sat Feb 28 00:32:57 2015 +0000 +++ b/USBJoystick/USBJoystick.h Sat Mar 28 07:59:47 2015 +0000 @@ -109,6 +109,11 @@ bool update(int16_t x, int16_t y, int16_t z, uint32_t buttons, uint16_t status); /** + * Update just the status + */ + bool updateStatus(uint32_t stat); + + /** * Write an exposure report. We'll fill out a report with as many pixels as * will fit in the packet, send the report, and update the index to the next * pixel to send. The caller should call this repeatedly to send reports for