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
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