mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-03 00:06:31 +00:00
Disable Guide button emulation on gamepads with physical Guide buttons
This commit is contained in:
parent
e4534fd4af
commit
ecad1bea38
@ -500,6 +500,14 @@ static const double MOUSE_SPEED_DIVISOR = 2.5;
|
||||
}
|
||||
}
|
||||
|
||||
if (@available(iOS 14.0, tvOS 14.0, *)) {
|
||||
if (controller.extendedGamepad != nil &&
|
||||
controller.extendedGamepad.buttonHome != nil) {
|
||||
// Disable special button emulation since we have a physical special button
|
||||
limeController.supportedEmulationFlags &= ~EMULATING_SPECIAL;
|
||||
}
|
||||
}
|
||||
|
||||
// Prepare controller haptics for use
|
||||
[self initializeControllerHaptics:limeController];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user