Added the wpad sampling callback

This commit is contained in:
Maschell 2017-04-23 15:21:47 +02:00
parent ecc0823a5d
commit 64f225382a

View File

@ -150,8 +150,8 @@ typedef struct _KPADData
f32 lstick_y;
f32 rstick_x;
f32 rstick_y;
int charging;
int wired;
s32 charging;
s32 wired;
} pro;
u32 unused_6[20];
@ -178,6 +178,7 @@ typedef WPADReadData KPADUnifiedWpadData;
void InitPadScoreFunctionPointers(void);
void InitAcquirePadScore(void);
typedef void (* wpad_sampling_callback_t)(s32 chan);
typedef void (* wpad_extension_callback_t)(s32 chan, s32 status);
typedef void (* wpad_connect_callback_t)(s32 chan, s32 status);