Merge pull request #243 from retro-wertz/unai_fixes
[pcsx_rearmed.git] / plugins / dfinput / externals.h
... / ...
CommitLineData
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 pad, int low, int high);