psxmem: Add support for Lightrec's custom mem init sequence
[pcsx_rearmed.git] / plugins / dfinput / main.h
CommitLineData
908e426c 1#ifndef __P_MAIN_H__
2#define __P_MAIN_H__
3
da710571 4#include "psemu_plugin_defs.h"
e4c83ca6 5#include "externals.h"
4c08b9e7 6
7extern unsigned char CurPad, CurByte, CurCmd, CmdLen;
8
9/* analog pad */
10unsigned char PADpoll_pad(unsigned char value);
11unsigned char PADstartPoll_pad(int pad);
12void pad_init(void);
13
14/* GunCon */
15unsigned char PADpoll_guncon(unsigned char value);
16unsigned char PADstartPoll_guncon(int pad);
17void guncon_init(void);
18
4c08b9e7 19/* get button state and pad type from main emu */
20extern long (*PAD1_readPort1)(PadDataS *pad);
21extern long (*PAD2_readPort2)(PadDataS *pad);
908e426c 22
23#endif /* __P_MAIN_H__ */