Rumble should only work with 'dualshock' device type
authorbslenul <33353403+bslenul@users.noreply.github.com>
Sun, 5 Jun 2022 09:41:55 +0000 (11:41 +0200)
committerbslenul <33353403+bslenul@users.noreply.github.com>
Sun, 5 Jun 2022 10:49:43 +0000 (12:49 +0200)
libpcsxcore/plugins.c

index 8538064..87b574d 100644 (file)
@@ -793,8 +793,7 @@ unsigned char _PADpoll(int port, unsigned char value) {
                                //mem the vibration value for Large motor;
                                pad[port].Vib[1] = value;
 
-                               if (in_type[port] == PSE_PAD_TYPE_STANDARD &&
-                                       in_type[port] == PSE_PAD_TYPE_NEGCON)
+                               if (in_type[port] != PSE_PAD_TYPE_ANALOGPAD)
                                        break;
 
                                //vibration