apple: better mfi controller disconnect handling

This commit is contained in:
Eric Warmenhoven 2025-06-23 22:45:08 -04:00
parent 6e1597970b
commit 5e578f9fc4
1 changed files with 0 additions and 8 deletions

View File

@ -351,14 +351,6 @@ static void mfi_joypad_autodetect_add(unsigned autoconf_pad, const char *display
[self.engines addObject:engine];
__weak MFIRumbleController *weakSelf = self;
engine.stoppedHandler = ^(CHHapticEngineStoppedReason stoppedReason)
{
MFIRumbleController *strongSelf = weakSelf;
if (!strongSelf)
return;
[strongSelf shutdown];
};
engine.resetHandler = ^{
MFIRumbleController *strongSelf = weakSelf;
if (!strongSelf)