#include <KPadController.hh>
A specialized stream for D-Pad inputs for tricking and wheeling. Trick tuples take the following form:
| Bitmask | Description |
|---|---|
| 0x0F | The upper four bits of the tuple's duration, forming a 12-bit integer. |
| 0x70 | 0x00 = No trick, 0x10 = Up/Wheelie, 0x20 = Down, 0x30 = Left, 0x40 = Right |
Definition at line 159 of file KPadController.hh.
Public Member Functions | |
| bool | readIsNewSequence () const override |
| u8 | readVal () const override |
Public Member Functions inherited from System::KPadGhostButtonsStream | |
| virtual u8 | readFrame () |
| Reads the data from the corresponding tuple in the buffer. | |
Additional Inherited Members | |
Public Attributes inherited from System::KPadGhostButtonsStream | |
| EGG::RamStream | buffer |
| u32 | currentSequence |
| u16 | readSequenceFrames |
| u32 | state |
|
inlinenodiscardoverridevirtual0x805250A8 |
Reimplemented from System::KPadGhostButtonsStream.
Definition at line 164 of file KPadController.hh.
|
inlinenodiscardoverridevirtual0x8052509C |
Reimplemented from System::KPadGhostButtonsStream.
Definition at line 171 of file KPadController.hh.