NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
WPADCB Struct Reference

Description

Definition at line 168 of file WPADInternal.h.

Public Attributes

WPADGameInfo gameInfo
 
s32 UNK_0x38 [2]
 
u8 rxBufMain [ROUND_UP(sizeof(WPADStatusEx), 32)]
 
u8 rxBufs [2][ROUND_UP(sizeof(WPADStatusEx), 32)]
 
WPADCommandQueue stdCmdQueue
 
WPADCommand stdCmdQueueList [24]
 
WPADCommandQueue extCmdQueue
 
WPADCommand extCmdQueueList [12]
 
WPADInfo wpInfo
 
WPADInfowpInfoOut
 
WPADDevConfig devConfig
 
WPADExtConfig extConfig
 
WPADCallback cmdBlkCB
 
WPADExtensionCallback extensionCB
 
WPADConnectCallback connectCB
 
WPADSamplingCallback samplingCB
 
union { 
 
   WPADStatus *   samplingBuf 
 
   WPADStatusEx *   samplingBufEx 
 
   WPADFSStatus *   samplingBufFS 
 
   WPADCLStatus *   samplingBufCL 
 
};  
 
u32 samplingBufIndex
 
u32 samplingBufSize
 
u32 dataFormat
 
s32 status
 
u8 statusReqBusy
 
u8 devType
 
u8 devMode
 
s8 devHandle
 
s32 UNK_0x8C4
 
u8 rxBufIndex
 
s8 UNK_0x8C9
 
u8 defaultDpdSize
 
u8 currentDpdCommand
 
u8 pendingDpdCommand
 
u8 radioQuality
 
u8 radioQualityOkMs
 
u8 audioFrames
 
u32 motorBusy
 
BOOL motorRunning
 
BOOL used
 
BOOL handshakeFinished
 
s32 configIndex
 
OSThreadQueue threadQueue
 
s64 lastControllerDataUpdate
 
u16 filterDiffDpd
 
u16 filterSameDpd
 
u16 filterDiffAcc
 
u16 filterSameAcc
 
u16 filterDiffExt
 
u16 filterSameExt
 
s64 lastReportSendTime
 
u8 UNK_0x910
 
u8 calibrated
 
u16 comboHeld
 
u8 encryptionKey [16]
 
u8 decryptAddTable [8]
 
u8 decryptXorTable [8]
 
u8 wmReadDataBuf [64]
 
u8 * wmReadDataPtr
 
u32 wmReadAddress
 
int wmReadHadError
 
u16 wmReadLength
 
s8 UNK_0x982
 
u8 radioSensitivity
 
u16 copyOutCount
 
u8 sleeping
 
u8 lastReportID
 
WPADCallback getInfoCB
 
u8 getInfoBusy
 
u8 UNK_0x98F [0x9A0 - 0x990]
 

Member Data Documentation

◆ gameInfo

WPADGameInfo WPADCB::gameInfo

Definition at line 169 of file WPADInternal.h.

◆ UNK_0x38

s32 WPADCB::UNK_0x38[2]

Definition at line 170 of file WPADInternal.h.

◆ rxBufMain

u8 WPADCB::rxBufMain[ROUND_UP(sizeof(WPADStatusEx), 32)]

Definition at line 171 of file WPADInternal.h.

◆ rxBufs

u8 WPADCB::rxBufs[2][ROUND_UP(sizeof(WPADStatusEx), 32)]

Definition at line 172 of file WPADInternal.h.

◆ stdCmdQueue

WPADCommandQueue WPADCB::stdCmdQueue

Definition at line 173 of file WPADInternal.h.

◆ stdCmdQueueList

WPADCommand WPADCB::stdCmdQueueList[24]

Definition at line 174 of file WPADInternal.h.

◆ extCmdQueue

WPADCommandQueue WPADCB::extCmdQueue

Definition at line 175 of file WPADInternal.h.

◆ extCmdQueueList

WPADCommand WPADCB::extCmdQueueList[12]

Definition at line 176 of file WPADInternal.h.

◆ wpInfo

WPADInfo WPADCB::wpInfo

Definition at line 177 of file WPADInternal.h.

◆ wpInfoOut

WPADInfo* WPADCB::wpInfoOut

Definition at line 178 of file WPADInternal.h.

◆ devConfig

WPADDevConfig WPADCB::devConfig

Definition at line 179 of file WPADInternal.h.

◆ extConfig

WPADExtConfig WPADCB::extConfig

Definition at line 180 of file WPADInternal.h.

◆ cmdBlkCB

WPADCallback WPADCB::cmdBlkCB

Definition at line 181 of file WPADInternal.h.

◆ extensionCB

WPADExtensionCallback WPADCB::extensionCB

Definition at line 182 of file WPADInternal.h.

◆ connectCB

WPADConnectCallback WPADCB::connectCB

Definition at line 183 of file WPADInternal.h.

◆ samplingCB

WPADSamplingCallback WPADCB::samplingCB

Definition at line 184 of file WPADInternal.h.

◆ samplingBuf

WPADStatus* WPADCB::samplingBuf

Definition at line 186 of file WPADInternal.h.

◆ samplingBufEx

WPADStatusEx* WPADCB::samplingBufEx

Definition at line 187 of file WPADInternal.h.

◆ samplingBufFS

WPADFSStatus* WPADCB::samplingBufFS

Definition at line 188 of file WPADInternal.h.

◆ samplingBufCL

WPADCLStatus* WPADCB::samplingBufCL

Definition at line 189 of file WPADInternal.h.

◆ samplingBufIndex

u32 WPADCB::samplingBufIndex

Definition at line 191 of file WPADInternal.h.

◆ samplingBufSize

u32 WPADCB::samplingBufSize

Definition at line 192 of file WPADInternal.h.

◆ dataFormat

u32 WPADCB::dataFormat

Definition at line 193 of file WPADInternal.h.

◆ status

s32 WPADCB::status

Definition at line 194 of file WPADInternal.h.

◆ statusReqBusy

u8 WPADCB::statusReqBusy

Definition at line 195 of file WPADInternal.h.

◆ devType

u8 WPADCB::devType

Definition at line 196 of file WPADInternal.h.

◆ devMode

u8 WPADCB::devMode

Definition at line 197 of file WPADInternal.h.

◆ devHandle

s8 WPADCB::devHandle

Definition at line 198 of file WPADInternal.h.

◆ UNK_0x8C4

s32 WPADCB::UNK_0x8C4

Definition at line 199 of file WPADInternal.h.

◆ rxBufIndex

u8 WPADCB::rxBufIndex

Definition at line 200 of file WPADInternal.h.

◆ UNK_0x8C9

s8 WPADCB::UNK_0x8C9

Definition at line 201 of file WPADInternal.h.

◆ defaultDpdSize

u8 WPADCB::defaultDpdSize

Definition at line 202 of file WPADInternal.h.

◆ currentDpdCommand

u8 WPADCB::currentDpdCommand

Definition at line 203 of file WPADInternal.h.

◆ pendingDpdCommand

u8 WPADCB::pendingDpdCommand

Definition at line 204 of file WPADInternal.h.

◆ radioQuality

u8 WPADCB::radioQuality

Definition at line 205 of file WPADInternal.h.

◆ radioQualityOkMs

u8 WPADCB::radioQualityOkMs

Definition at line 206 of file WPADInternal.h.

◆ audioFrames

u8 WPADCB::audioFrames

Definition at line 207 of file WPADInternal.h.

◆ motorBusy

u32 WPADCB::motorBusy

Definition at line 208 of file WPADInternal.h.

◆ motorRunning

BOOL WPADCB::motorRunning

Definition at line 209 of file WPADInternal.h.

◆ used

BOOL WPADCB::used

Definition at line 210 of file WPADInternal.h.

◆ handshakeFinished

BOOL WPADCB::handshakeFinished

Definition at line 211 of file WPADInternal.h.

◆ configIndex

s32 WPADCB::configIndex

Definition at line 212 of file WPADInternal.h.

◆ threadQueue

OSThreadQueue WPADCB::threadQueue

Definition at line 213 of file WPADInternal.h.

◆ lastControllerDataUpdate

s64 WPADCB::lastControllerDataUpdate

Definition at line 214 of file WPADInternal.h.

◆ filterDiffDpd

u16 WPADCB::filterDiffDpd

Definition at line 215 of file WPADInternal.h.

◆ filterSameDpd

u16 WPADCB::filterSameDpd

Definition at line 216 of file WPADInternal.h.

◆ filterDiffAcc

u16 WPADCB::filterDiffAcc

Definition at line 217 of file WPADInternal.h.

◆ filterSameAcc

u16 WPADCB::filterSameAcc

Definition at line 218 of file WPADInternal.h.

◆ filterDiffExt

u16 WPADCB::filterDiffExt

Definition at line 219 of file WPADInternal.h.

◆ filterSameExt

u16 WPADCB::filterSameExt

Definition at line 220 of file WPADInternal.h.

◆ lastReportSendTime

s64 WPADCB::lastReportSendTime

Definition at line 221 of file WPADInternal.h.

◆ UNK_0x910

u8 WPADCB::UNK_0x910

Definition at line 222 of file WPADInternal.h.

◆ calibrated

u8 WPADCB::calibrated

Definition at line 223 of file WPADInternal.h.

◆ comboHeld

u16 WPADCB::comboHeld

Definition at line 224 of file WPADInternal.h.

◆ encryptionKey

u8 WPADCB::encryptionKey[16]

Definition at line 225 of file WPADInternal.h.

◆ decryptAddTable

u8 WPADCB::decryptAddTable[8]

Definition at line 226 of file WPADInternal.h.

◆ decryptXorTable

u8 WPADCB::decryptXorTable[8]

Definition at line 227 of file WPADInternal.h.

◆ wmReadDataBuf

u8 WPADCB::wmReadDataBuf[64]

Definition at line 228 of file WPADInternal.h.

◆ wmReadDataPtr

u8* WPADCB::wmReadDataPtr

Definition at line 229 of file WPADInternal.h.

◆ wmReadAddress

u32 WPADCB::wmReadAddress

Definition at line 230 of file WPADInternal.h.

◆ wmReadHadError

int WPADCB::wmReadHadError

Definition at line 231 of file WPADInternal.h.

◆ wmReadLength

u16 WPADCB::wmReadLength

Definition at line 232 of file WPADInternal.h.

◆ UNK_0x982

s8 WPADCB::UNK_0x982

Definition at line 233 of file WPADInternal.h.

◆ radioSensitivity

u8 WPADCB::radioSensitivity

Definition at line 234 of file WPADInternal.h.

◆ copyOutCount

u16 WPADCB::copyOutCount

Definition at line 235 of file WPADInternal.h.

◆ sleeping

u8 WPADCB::sleeping

Definition at line 236 of file WPADInternal.h.

◆ lastReportID

u8 WPADCB::lastReportID

Definition at line 237 of file WPADInternal.h.

◆ getInfoCB

WPADCallback WPADCB::getInfoCB

Definition at line 238 of file WPADInternal.h.

◆ getInfoBusy

u8 WPADCB::getInfoBusy

Definition at line 239 of file WPADInternal.h.

◆ UNK_0x98F

u8 WPADCB::UNK_0x98F[0x9A0 - 0x990]

Definition at line 240 of file WPADInternal.h.