|
wavelength 1.0.0
|
State of one controller. More...
#include <JoypadData.h>
Public Member Functions | |
| JoypadData () | |
| Clear the state and mark the controller as without a player. | |
Public Attributes | |
| int | mButtons |
| int | mReserved04 [4] |
| int | mReserved14 [24] |
| int | mPlayerNum |
| bool | mReserved78 |
| float | mThreshold |
State of one controller.
The object is 0x80 bytes. The name is inferred. This build does not poll the controllers, so only the player and the threshold are written after construction, and the held buttons stay clear.
| JoypadData::JoypadData | ( | ) |
Clear the state and mark the controller as without a player.
| int JoypadData::mButtons |
The held buttons, one bit each.
| int JoypadData::mReserved04[4] |
| int JoypadData::mReserved14[24] |
| int JoypadData::mPlayerNum |
The player of the controller, or -1.
| bool JoypadData::mReserved78 |
| float JoypadData::mThreshold |
Press threshold of the analog buttons, from the configuration.