From 855f48b4559156318aef884829658b10383c3a65 Mon Sep 17 00:00:00 2001 From: Marc Davis Date: Mon, 12 Feb 2024 17:52:44 -0500 Subject: [PATCH] mapped the Globe/Language key to Escape --- Limelight/Input/KeyboardSupport.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Limelight/Input/KeyboardSupport.m b/Limelight/Input/KeyboardSupport.m index ebf3bd8a..8cbf7a33 100644 --- a/Limelight/Input/KeyboardSupport.m +++ b/Limelight/Input/KeyboardSupport.m @@ -248,6 +248,9 @@ case UIKeyboardHIDUsageKeyboardRightAlt: keyCode = 0xA5; break; + case 669: // This value corresponds to the "Globe" or "Language" key on most Apple branded iPad keyboards. + keyCode = 0x1B; // This value corresponds to "Escape", which is missing from most Apple branded iPad keyboards. + break; default: NSLog(@"Unhandled HID usage: %lu", (unsigned long)key.keyCode); assert(0);