From 474e213f528c5c9c72faabb83f75e441a212d591 Mon Sep 17 00:00:00 2001 From: der richter Date: Tue, 12 Mar 2024 22:48:01 +0100 Subject: [PATCH] mac/input: add missing special keys --- osdep/mac/input_helper.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/osdep/mac/input_helper.swift b/osdep/mac/input_helper.swift index 0af0ab159c..7f2272521a 100644 --- a/osdep/mac/input_helper.swift +++ b/osdep/mac/input_helper.swift @@ -26,6 +26,8 @@ class InputHelper: NSObject { // special keys .init(kVK_Return, MP_KEY_ENTER), .init(kVK_Escape, MP_KEY_ESC), .init(kVK_Delete, MP_KEY_BACKSPACE), .init(kVK_Tab, MP_KEY_TAB), + .init(kVK_VolumeUp, MP_KEY_VOLUME_UP), .init(kVK_VolumeDown, MP_KEY_VOLUME_DOWN), + .init(kVK_Mute, MP_KEY_MUTE), // cursor keys .init(kVK_UpArrow, MP_KEY_UP), .init(kVK_DownArrow, MP_KEY_DOWN),