mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 15:52:25 +00:00
win32: add mappings for some special keys
Untested.
This commit is contained in:
parent
47d69f366b
commit
fc9695e63b
@ -66,6 +66,15 @@ static const struct keymap vk_map[] = {
|
||||
{VK_RIGHT, MP_KEY_KP6}, {VK_HOME, MP_KEY_KP7}, {VK_UP, MP_KEY_KP8},
|
||||
{VK_PRIOR, MP_KEY_KP9}, {VK_DELETE, MP_KEY_KPDEL},
|
||||
|
||||
// multimedia and other special keys
|
||||
{VK_VOLUME_MUTE, MP_KEY_MUTE},
|
||||
{VK_VOLUME_DOWN, MP_KEY_VOLUME_DOWN},
|
||||
{VK_VOLUME_UP, MP_KEY_VOLUME_UP},
|
||||
{VK_MEDIA_NEXT_TRACK, MP_KEY_NEXT},
|
||||
{VK_MEDIA_PREV_TRACK, MP_KEY_PREV},
|
||||
{VK_MEDIA_STOP, MP_KEY_STOP},
|
||||
{VK_MEDIA_PLAY_PAUSE, MP_KEY_PLAYPAUSE},
|
||||
|
||||
{0, 0}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user