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
Input Struct Reference
#include <Game.h>
Data Fields | |
| float | x |
| The x axis of the joystick. | |
| bool | yButton |
| Whether the y button is pressed. | |
| bool | aButton |
| Whether the a button is pressed. | |
| bool | bButton |
| Whether the b button is pressed. | |
| bool | yCooldown |
| Whether 0.2 seconds has elapsed since the y button was pressed. | |
| bool | aCooldown |
| Whether 0.2 seconds has elapsed since the a button was pressed. | |
| bool | bCooldown |
| Whether 0.2 seconds has elapsed since the b button was pressed. | |
Detailed Description
Input struct.
A struct for holding the infomation regarding the joystick x axis position, a, b, and y buttons and whether the buttons have been pressed within the last 0.2 seconds
Definition at line 16 of file Game.h.
Field Documentation
| bool aCooldown |
| bool bCooldown |
Generated on Fri Jul 15 2022 03:54:57 by
1.7.2