Commit | Line | Data |
---|---|---|
1 | ||
2 | void 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 */ | |
10 | extern void pl_update_gun(int *xn, int *yn, int *xres, int *yres, int *in); | |
11 | ||
12 | /* vibration trigger to frontend */ | |
13 | extern int in_enable_vibration; | |
14 | extern void plat_trigger_vibrate(int pad, int low, int high); |