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:
- 33:d832bcab089e
- Parent:
- 29:582472d0bc57
- Child:
- 35:e959ffba78fd
--- a/USBJoystick/USBJoystick.h Sat Sep 26 02:15:59 2015 +0000 +++ b/USBJoystick/USBJoystick.h Wed Oct 21 21:53:07 2015 +0000 @@ -124,6 +124,14 @@ * @param pix pixel array */ bool updateExposure(int &idx, int npix, const uint16_t *pix); + + /** + * Write a configuration report. + * + * @param numOutputs the number of configured output channels + * @param unitNo the device unit number + */ + bool reportConfig(int numOutputs, int unitNo); /** * Write a state of the mouse