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:
- 40:cc0d9814522b
- Parent:
- 39:b3815a1c3802
- Child:
- 47:df7a88cd249c
--- a/USBJoystick/USBJoystick.h Mon Jan 11 21:08:36 2016 +0000 +++ b/USBJoystick/USBJoystick.h Wed Feb 03 22:57:25 2016 +0000 @@ -229,8 +229,16 @@ * * @param numOutputs the number of configured output channels * @param unitNo the device unit number + * @param plungerZero plunger zero calibration point + * @param plungerMax plunger max calibration point + * @param configured true if a configuration has been saved to flash from the host */ - bool reportConfig(int numOutputs, int unitNo, int plungerZero, int plungerMax); + bool reportConfig(int numOutputs, int unitNo, int plungerZero, int plungerMax, bool configured); + + /** + * Write a device ID report. + */ + bool reportID(); /** * Send a joystick report to the host