X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fdfinput%2Fpad.c;fp=plugins%2Fdfinput%2Fpad.c;h=ab55db0f2ee289f53b1cd34f1dde35776a99dd95;hp=90fde88dbb0b0aeaed3ae34596debafc2f407eea;hb=b944a30eda75c36c94ef71e7768497801887612b;hpb=8aea5f5ac9382379622991974bded6b08f328ddc diff --git a/plugins/dfinput/pad.c b/plugins/dfinput/pad.c index 90fde88d..ab55db0f 100644 --- a/plugins/dfinput/pad.c +++ b/plugins/dfinput/pad.c @@ -203,6 +203,11 @@ static void do_cmd2(unsigned char value) break; } break; + + case CMD_READ_DATA_AND_VIBRATE: + if (value == 1 && CurPad == 0 && in_enable_vibration) + plat_trigger_vibrate(); + break; } }