mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-06-17 22:23:52 +00:00
Disable vibration for expedited review
This commit is contained in:
@@ -46,6 +46,7 @@
|
|||||||
|
|
||||||
-(void) rumbleController: (Controller*)controller
|
-(void) rumbleController: (Controller*)controller
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
// Only vibrate if the amplitude is large enough
|
// Only vibrate if the amplitude is large enough
|
||||||
if (controller.lowFreqMotor > 0x5000 || controller.highFreqMotor > 0x5000) {
|
if (controller.lowFreqMotor > 0x5000 || controller.highFreqMotor > 0x5000) {
|
||||||
// If the gamepad is nil (on-screen controls) or it's attached to the device,
|
// If the gamepad is nil (on-screen controls) or it's attached to the device,
|
||||||
@@ -54,6 +55,7 @@
|
|||||||
AudioServicesPlayAlertSound(kSystemSoundID_Vibrate);
|
AudioServicesPlayAlertSound(kSystemSoundID_Vibrate);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
-(void) rumble:(unsigned short)controllerNumber lowFreqMotor:(unsigned short)lowFreqMotor highFreqMotor:(unsigned short)highFreqMotor
|
-(void) rumble:(unsigned short)controllerNumber lowFreqMotor:(unsigned short)lowFreqMotor highFreqMotor:(unsigned short)highFreqMotor
|
||||||
|
|||||||
Reference in New Issue
Block a user