feat(overlay): forward mpv mouse and wheel bindings through overlay

- Accept WHEEL_UP/DOWN/LEFT/RIGHT (with modifiers) in keybindings, the plugin, and the settings key editor
- Forward mpv's MBTN_* and WHEEL_* bindings from the overlay so double-click fullscreen, wheel volume, and similar inputs work on Hyprland; SubMiner bindings and right-click pause still win
- Notify the overlay via mpv-input-bindings:changed when mpv's key set changes, fixing dead imported keys when the overlay loads before mpv connects
- Sync README requirements/quick start with the installation guide and fix the Arch MeCab install command (AUR mecab-git)
This commit is contained in:
sudacode committed 2026-10-01 01:16:44 -07:00
commit a6df21bdc2
29 files changed
+643 -157

No files matched your search

+3
View File
@@ -662,6 +662,9 @@ const electronAPI: ElectronAPI = {
(_event, bindings: import('./types').CompiledSessionBinding[]) => callback(bindings),
);
},
onMpvInputBindingsChanged: (callback: () => void) => {
ipcRenderer.on(IPC_CHANNELS.event.mpvInputBindingsChanged, () => callback());
},
onConfigHotReload: (callback: (payload: ConfigHotReloadPayload) => void) => {
ipcRenderer.on(
IPC_CHANNELS.event.configHotReload,