From 8bb49ada1139b0811942079e833da16826fd4807 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 27 May 2019 10:12:02 -0700 Subject: [PATCH] Disable vibration for expedited review --- Limelight/Input/ControllerSupport.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Limelight/Input/ControllerSupport.m b/Limelight/Input/ControllerSupport.m index cd330cd..e174168 100644 --- a/Limelight/Input/ControllerSupport.m +++ b/Limelight/Input/ControllerSupport.m @@ -46,6 +46,7 @@ -(void) rumbleController: (Controller*)controller { +#if 0 // Only vibrate if the amplitude is large enough if (controller.lowFreqMotor > 0x5000 || controller.highFreqMotor > 0x5000) { // If the gamepad is nil (on-screen controls) or it's attached to the device, @@ -54,6 +55,7 @@ AudioServicesPlayAlertSound(kSystemSoundID_Vibrate); } } +#endif } -(void) rumble:(unsigned short)controllerNumber lowFreqMotor:(unsigned short)lowFreqMotor highFreqMotor:(unsigned short)highFreqMotor