partially working menu
[fceu.git] / input.h
CommitLineData
c62d2810 1typedef struct {
2 uint8 FP_FASTAPASS(1) (*Read)(int w);
3 void FP_FASTAPASS(1) (*Write)(uint8 v);
4 void FP_FASTAPASS(1) (*Strobe)(int w);
5 void FP_FASTAPASS(3) (*Update)(int w, void *data, int arg);
6 void FP_FASTAPASS(3) (*SLHook)(int w, uint8 *buf, int line);
7 void FP_FASTAPASS(3) (*Draw)(int w, uint8 *buf, int arg);
8} INPUTC;
9
10typedef struct {
11 uint8 FP_FASTAPASS(2) (*Read)(int w, uint8 ret);
12 void FP_FASTAPASS(1) (*Write)(uint8 v);
13 void (*Strobe)(void);
14 void FP_FASTAPASS(2) (*Update)(void *data, int arg);
15 void FP_FASTAPASS(2) (*SLHook)(uint8 *buf, int line);
16 void FP_FASTAPASS(2) (*Draw)(uint8 *buf, int arg);
17} INPUTCFC;
18
19void DrawInput(uint8 *buf);
20void UpdateInput(void);
21void InitializeInput(void);
22extern void (*PStrobe[2])(void);
23extern void (*InputScanlineHook)(uint8 *buf, int line);
890e37ba 24
25void FCEU_DoSimpleCommand(int cmd);
26
d97315ac 27void FCEUI_FDSSelect(void);
28int FCEUI_FDSInsert(void);
29void FCEUI_VSUniToggleDIP(int w);
30void FCEUI_VSUniCoin(void);
31void FCEUI_ResetNES(void);
32void FCEUI_PowerNES(void);
33