mirror of
https://github.com/HarbourMasters/Starship
synced 2026-07-07 06:14:52 -04:00
controller header
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#ifndef PR_CONTROLLER_H
|
||||
#define PR_CONTROLLER_H
|
||||
|
||||
#include "global.h"
|
||||
#include "PR/os.h"
|
||||
|
||||
#define UNK(n) 500000 * (u64)(n) / 1000000
|
||||
#define CONT_CMD_REQUEST_STATUS 0
|
||||
|
||||
typedef struct
|
||||
{
|
||||
u32 ramarray[15];
|
||||
u32 pifstatus;
|
||||
} OSPifRam;
|
||||
|
||||
extern u32 __osContinitialized;
|
||||
extern u8 __osMaxControllers;
|
||||
extern u8 __osContLastCmd;
|
||||
extern OSPifRam __osContPifRam;
|
||||
extern OSMesgQueue __osEepromTimerQ;
|
||||
extern OSMesg __osEepromTimerMsg;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user