aboutsummaryrefslogtreecommitdiff
path: root/plugins/dfinput/main.h
blob: e83306a622f29f084e00e8e4adb6f422cac4a8a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "psemu_plugin_defs.h"
#include "externals.h"

extern unsigned char CurPad, CurByte, CurCmd, CmdLen;

/* analog pad */
unsigned char PADpoll_pad(unsigned char value);
unsigned char PADstartPoll_pad(int pad);
void pad_init(void);

/* GunCon */
unsigned char PADpoll_guncon(unsigned char value);
unsigned char PADstartPoll_guncon(int pad);
void guncon_init(void);

/* get button state and pad type from main emu */
extern long (*PAD1_readPort1)(PadDataS *pad);
extern long (*PAD2_readPort2)(PadDataS *pad);