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

This commit is contained in:
2026-05-31 22:22:38 -07:00
committed by GitHub
parent e6a004ab8b
commit 487143802a
14 changed files with 281 additions and 5 deletions
@@ -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 {