X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=plugins%2Fdfinput%2Fmain.h;h=34921704eead2fc0f8c79d5336f515afc28d891e;hb=e86b6fecb5f0db18b29900a1af82d455c38fcb1e;hp=ee3016565ba6370d445e986634c6e68d5c54461e;hpb=4c08b9e7dd350a48fc3e0515913d6ccc8b15e5ae;p=pcsx_rearmed.git diff --git a/plugins/dfinput/main.h b/plugins/dfinput/main.h index ee301656..34921704 100644 --- a/plugins/dfinput/main.h +++ b/plugins/dfinput/main.h @@ -24,3 +24,7 @@ extern long (*PAD2_readPort2)(PadDataS *pad); #define GUNIN_BTNB (1<<2) #define GUNIN_TRIGGER2 (1<<3) /* offscreen trigger */ extern void pl_update_gun(int *xn, int *xres, int *y, int *in); + +/* vibration trigger to frontend */ +extern int in_enable_vibration; +extern void plat_trigger_vibrate(void);