X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fdfinput%2Fmain.h;h=8e2d5aeddb2cf2338c3f4f30f34e5a4c2a7d64f3;hp=ee3016565ba6370d445e986634c6e68d5c54461e;hb=aafcb4ddc257478d613611adcae7cb13fd716577;hpb=4c08b9e7dd350a48fc3e0515913d6ccc8b15e5ae diff --git a/plugins/dfinput/main.h b/plugins/dfinput/main.h index ee301656..8e2d5aed 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(int is_strong);