Merge pull request #462 from justinweiss/threaded-rendering
[pcsx_rearmed.git] / plugins / dfinput / main.h
... / ...
CommitLineData
1#ifndef __P_MAIN_H__
2#define __P_MAIN_H__
3
4#include "psemu_plugin_defs.h"
5#include "externals.h"
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
19/* get button state and pad type from main emu */
20extern long (*PAD1_readPort1)(PadDataS *pad);
21extern long (*PAD2_readPort2)(PadDataS *pad);
22
23#endif /* __P_MAIN_H__ */