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:
- 53:9b2611964afc
- Parent:
- 52:8298b2a73eb2
- Child:
- 54:fd77a6b2f76c
--- a/USBJoystick/USBJoystick.h Sat Mar 05 00:16:52 2016 +0000 +++ b/USBJoystick/USBJoystick.h Fri Apr 22 17:58:35 2016 +0000 @@ -259,7 +259,14 @@ /** * Write a device ID report. */ - bool reportID(); + bool reportID(int index); + + /** + * Write a build data report + * + * @param date build date plus time, in __DATE__ " " __TIME__ macro format ("Mon dd, yyyy hh:mm:ss") + */ + bool reportBuildInfo(const char *date); /** * Send a joystick report to the host