1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-05 22:49:58 +00:00

mac/input: add missing special keys

This commit is contained in:
der richter 2024-03-12 22:48:01 +01:00
parent 556cb7d6a4
commit 474e213f52

View File

@ -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),