feat(keybindings): add mouse button support for mpv keybindings (#103)

This commit is contained in:
sudacode authored and GitHub committed 2026-05-31 22:22:38 -07:00
1 parent e6a004ab8b
commit 487143802a
14 files changed
+281 -5

No files matched your search

@@ -57,6 +57,11 @@ const KEY_NAME_MAP: Record<string, string> = {
Super: 'Meta',
Meta: 'Meta',
Backspace: 'Backspace',
MBTN_LEFT: 'Mouse Left',
MBTN_MID: 'Mouse Middle',
MBTN_RIGHT: 'Mouse Right',
MBTN_BACK: 'Mouse Back',
MBTN_FORWARD: 'Mouse Forward',
};
function normalizeKeyToken(token: string): string {