|
coastline 0.0.4
|
The presses of a controller that act on a menu, each true on the frame it starts. More...
#include <menuscreen.h>

Public Attributes | |
| bool | left = false |
| bool | right = false |
| bool | up = false |
| bool | down = false |
| bool | choose = false |
| bool | start = false |
| bool | back = false |
| bool | held = false |
| bool | cDown = false |
| std::uint16_t | heldButtons = 0 |
| The ControllerButton bits held, without the directions the stick pushes, which the car select screen paints the car with. | |
| std::int8_t | stickY = 0 |
The presses of a controller that act on a menu, each true on the frame it starts.
| bool coastline::MenuButtons::left = false |
Left on the pad or the stick, to move to the item before.
| bool coastline::MenuButtons::right = false |
Right on the pad or the stick, to move to the item after.
| bool coastline::MenuButtons::up = false |
Up on the pad or the stick, to raise an adjustable item.
| bool coastline::MenuButtons::down = false |
Down on the pad or the stick, to lower an adjustable item.
| bool coastline::MenuButtons::choose = false |
A, Start, or Z, to choose the item.
| bool coastline::MenuButtons::start = false |
Start, read by itself on the car select screen too.
| bool coastline::MenuButtons::back = false |
B, to exit the screen.
| bool coastline::MenuButtons::held = false |
Whether any button is down, restarting the wait of the timeout.
| bool coastline::MenuButtons::cDown = false |
C down, to switch the look of a car on the car select screen.
| std::uint16_t coastline::MenuButtons::heldButtons = 0 |
The ControllerButton bits held, without the directions the stick pushes, which the car select screen paints the car with.
| std::int8_t coastline::MenuButtons::stickY = 0 |
The stick, up positive, about -80 to 80.