summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorder richter <der.richter@gmx.de>2024-03-12 22:48:01 +0100
committerder richter <der.richter@gmx.de>2024-03-14 23:33:15 +0100
commit474e213f528c5c9c72faabb83f75e441a212d591 (patch)
tree27b39ccfffcf73a891313c2f65a1cce07853442b
parent556cb7d6a4996a51bb58ecad5383eb8fdab0582a (diff)
downloadmpv-474e213f528c5c9c72faabb83f75e441a212d591.tar.bz2
mpv-474e213f528c5c9c72faabb83f75e441a212d591.tar.xz
mac/input: add missing special keys
-rw-r--r--osdep/mac/input_helper.swift2
1 files changed, 2 insertions, 0 deletions
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),