diff --git a/Packages/VNCCore/Sources/VNCCore/Session/SessionController.swift b/Packages/VNCCore/Sources/VNCCore/Session/SessionController.swift index f8ad548..1d62528 100644 --- a/Packages/VNCCore/Sources/VNCCore/Session/SessionController.swift +++ b/Packages/VNCCore/Sources/VNCCore/Session/SessionController.swift @@ -331,7 +331,11 @@ public final class SessionController { isShared: true, isScalingEnabled: false, useDisplayLink: false, - inputMode: .none, + // Any value other than .none, otherwise RoyalVNCKit drops every + // enqueued PointerEvent/KeyEvent. On iOS we don't have local + // keyboard shortcuts to worry about, so pick the most permissive + // forwarding mode. + inputMode: .forwardKeyboardShortcutsEvenIfInUseLocally, isClipboardRedirectionEnabled: clipboardSyncEnabled, colorDepth: .depth24Bit, frameEncodings: preferredEncodings