Merge git://github.com/notaz/pcsx_rearmed
[pcsx_rearmed.git] / plugins / dfinput / externals.h
CommitLineData
e4c83ca6 1
2void dfinput_activate(void);
3
4/* get gunstate from emu frontend,
5 * xn, yn - layer position normalized to 0..1023 */
6#define GUNIN_TRIGGER (1<<0)
7#define GUNIN_BTNA (1<<1)
8#define GUNIN_BTNB (1<<2)
9#define GUNIN_TRIGGER2 (1<<3) /* offscreen trigger */
10extern void pl_update_gun(int *xn, int *yn, int *xres, int *yres, int *in);
11
12/* vibration trigger to frontend */
13extern int in_enable_vibration;
14extern void plat_trigger_vibrate(int is_strong);