mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-01-23 21:45:00 +03:00
controller header
This commit is contained in:
parent
ce9b18d811
commit
b5e4837005
23
include/PR/controller.h
Normal file
23
include/PR/controller.h
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user