A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
System::KPadGhostDirectionButtonsStream Struct Reference

#include <KPadController.hh>

Description

A specialized stream for the analog stick. Direction tuples take the following form:

Bitmask Description
0x0F Up/Down (0xE = Up, 0x0 = Down, 0x7 = Neutral)
0xF0 Left/Right (0xE0 = Right, 0x00 = Left, 0x70 = Neutral)

Definition at line 148 of file KPadController.hh.

Inheritance diagram for System::KPadGhostDirectionButtonsStream:

Additional Inherited Members

- Public Member Functions inherited from System::KPadGhostButtonsStream
virtual u8 readFrame ()
 Reads the data from the corresponding tuple in the buffer.
 
virtual bool readIsNewSequence () const
 
virtual u8 readVal () const
 
- Public Attributes inherited from System::KPadGhostButtonsStream
EGG::RamStream buffer
 
u32 currentSequence
 
u16 readSequenceFrames
 
u32 state