More fixes

This commit is contained in:
dbalatoni13 2025-04-14 05:16:35 +02:00
parent 1a14121c97
commit 5917ea8509
18 changed files with 92 additions and 65 deletions

View file

@ -109,7 +109,7 @@ typedef struct _unkStruct6 {
m440Func6 unk38;
s16 unk3C;
s16 unk3E;
} unkStruct6; // sizeof 0x40
} unkStruct6; // sizeof 0x40 // TODO same as unkStruct14?
typedef struct _unkStruct7 {
GXColor unk0;
@ -178,7 +178,8 @@ typedef struct _unkStruct13 {
typedef struct _unkStruct14 {
s16 unk0;
s16 unk2;
char unk4[0x8];
char unk4[4];
s32 unk8;
void *unkC;
char unk10[0x4];
void *unk14;

View file

@ -84,8 +84,8 @@ PADSamplingCallback PADSetSamplingCallback(PADSamplingCallback);
#ifdef TARGET_PC
/* New API to facilitate controller interactions */
typedef struct PADDeadZones {
bool emulateTriggers;
bool useDeadzones;
BOOL emulateTriggers;
BOOL useDeadzones;
u16 stickDeadZone;
u16 substickDeadZone;
u16 leftTriggerActivationZone;
@ -118,7 +118,7 @@ const char* PADGetNativeButtonName(u32 button);
/* Returns any pressed native button */
s32 PADGetNativeButtonPressed(u32 port);
void PADRestoreDefaultMapping(u32 port);
void PADBlockInput(bool block);
void PADBlockInput(BOOL block);
#endif
#ifdef __cplusplus