NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
Remocon Class Reference
Inheritance diagram for Remocon:
[legend]

Description

Definition at line 4 of file d_game_key.hpp.

Public Types

enum  EXTENSION_TYPE_e {
  EXTENSION_NONE = 0 ,
  EXTENSION_NUNCHUK ,
  EXTENSION_UNKNOWN = 3
}
 

Public Attributes

int mIndex
 
EXTENSION_TYPE_e mAttachedExtension
 
char mPad1 [8]
 
int mDownButtons
 The buttons currently pressed down.
 
char mPad2 [4]
 
int mTriggeredButtons
 The buttons newly pressed down.
 
char mPad3 [0x6c]
 
bool mIsShaking
 

Member Enumeration Documentation

◆ EXTENSION_TYPE_e

Enumerator
EXTENSION_NONE 

No Wii remote extension is connected.

EXTENSION_NUNCHUK 

The nunchuck controller is connected.

EXTENSION_UNKNOWN 

It has not been checked yet whether an extension is connected.

Definition at line 7 of file d_game_key.hpp.

Member Data Documentation

◆ mIndex

int Remocon::mIndex

Definition at line 15 of file d_game_key.hpp.

◆ mAttachedExtension

EXTENSION_TYPE_e Remocon::mAttachedExtension

Definition at line 16 of file d_game_key.hpp.

◆ mPad1

char Remocon::mPad1[8]

Definition at line 17 of file d_game_key.hpp.

◆ mDownButtons

int Remocon::mDownButtons

The buttons currently pressed down.

Definition at line 18 of file d_game_key.hpp.

◆ mPad2

char Remocon::mPad2[4]

Definition at line 19 of file d_game_key.hpp.

◆ mTriggeredButtons

int Remocon::mTriggeredButtons

The buttons newly pressed down.

Definition at line 20 of file d_game_key.hpp.

◆ mPad3

char Remocon::mPad3[0x6c]

Definition at line 21 of file d_game_key.hpp.

◆ mIsShaking

bool Remocon::mIsShaking

Definition at line 22 of file d_game_key.hpp.