mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Fix #16562 support bluetooth keyboards on tvos
This commit is contained in:
parent
8935d9db1b
commit
83466994aa
@ -273,8 +273,10 @@ void cocoa_file_load_with_detect_core(const char *filename);
|
||||
/* If we're at the top it doesn't matter who pressed it, we want to leave */
|
||||
if (press.type == UIPressTypeMenu && [self menuIsAtTop])
|
||||
[super pressesBegan:presses withEvent:event];
|
||||
else if ([self didMicroGamepadPress:press.type])
|
||||
else if (!press.key && [self didMicroGamepadPress:press.type])
|
||||
[self sendKeyForPress:press.type down:true];
|
||||
else
|
||||
[super pressesBegan:[NSSet setWithObject:press] withEvent:event];
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user