fix some issues and warnings seen on ctr build
[pcsx_rearmed.git] / plugins / dfinput / externals.h
CommitLineData
908e426c 1#ifndef __P_EXTERNALS_H__
2#define __P_EXTERNALS_H__
e4c83ca6 3
4void dfinput_activate(void);
5
6/* get gunstate from emu frontend,
7 * xn, yn - layer position normalized to 0..1023 */
8#define GUNIN_TRIGGER (1<<0)
9#define GUNIN_BTNA (1<<1)
10#define GUNIN_BTNB (1<<2)
11#define GUNIN_TRIGGER2 (1<<3) /* offscreen trigger */
12extern void pl_update_gun(int *xn, int *yn, int *xres, int *yres, int *in);
13
14/* vibration trigger to frontend */
15extern int in_enable_vibration;
d71c7095 16extern void plat_trigger_vibrate(int pad, int low, int high);
908e426c 17
18#endif /* __P_EXTERNALS_H__ */