Imported dolphin/demo except for one function

This commit is contained in:
dbalatoni13 2024-11-12 01:40:59 +01:00
parent ae3ebb8331
commit 36a05264a5
11 changed files with 1866 additions and 0 deletions

View file

@ -0,0 +1,26 @@
#ifndef _DOLPHIN_DEMOPAD
#define _DOLPHIN_DEMOPAD
#include <dolphin/pad.h>
typedef struct {
/* 0x00 */ struct PADStatus pst;
/* 0x0C */ u16 buttonDown;
/* 0x0E */ u16 buttonUp;
/* 0x10 */ u16 dirs;
/* 0x12 */ u16 dirsNew;
/* 0x14 */ u16 dirsReleased;
/* 0x16 */ s16 stickDeltaX;
/* 0x18 */ s16 stickDeltaY;
/* 0x1A */ s16 substickDeltaX;
/* 0x1C */ s16 substickDeltaY;
} DEMODMPad;
extern DEMODMPad DemoPad[4];
extern u32 DemoNumValidPads;
void DEMOPadRead();
void DEMOPadInit();
#endif