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
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@ class InputHelper: NSObject {
// special keys // special keys
.init(kVK_Return, MP_KEY_ENTER), .init(kVK_Escape, MP_KEY_ESC), .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_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 // cursor keys
.init(kVK_UpArrow, MP_KEY_UP), .init(kVK_DownArrow, MP_KEY_DOWN), .init(kVK_UpArrow, MP_KEY_UP), .init(kVK_DownArrow, MP_KEY_DOWN),