Enhance Big Picture Mode OSK and webview input support
Adds native input event injection for webviews via IPC, improves the on-screen keyboard (OSK) UI with a blinking cursor and label, and enables seamless text entry into webview input fields. Also refines virtual cursor click handling for better compatibility with complex sites and video players.
This commit is contained in:
+4
-1
@@ -127,7 +127,10 @@ contextBridge.exposeInMainWorld('bigPictureAPI', {
|
||||
// Exit Big Picture Mode
|
||||
exit: () => ipcRenderer.invoke('exit-bigpicture'),
|
||||
// Navigate to URL (from Big Picture Mode)
|
||||
navigate: (url) => ipcRenderer.send('bigpicture-navigate', url)
|
||||
navigate: (url) => ipcRenderer.send('bigpicture-navigate', url),
|
||||
// Send input event to a webview (for virtual cursor clicks)
|
||||
sendInputEvent: (webContentsId, inputEvent) =>
|
||||
ipcRenderer.invoke('webview-send-input-event', { webContentsId, inputEvent })
|
||||
});
|
||||
|
||||
// Relay context-menu commands from main to active renderer context (open new tabs etc.)
|
||||
|
||||
Reference in New Issue
Block a user