summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-06-24 15:14:38 +0200
committerwm4 <wm4@nowhere>2015-06-24 15:14:38 +0200
commit1b7ce759b1f4e7efda1f3d1bbe3722879392ea8a (patch)
tree334b1800c4c071318d36c50b92789365825bdbb0 /osdep
parenta70c8105fc791518b84c2cf4e7e7b41cf34b0ca2 (diff)
downloadmpv-1b7ce759b1f4e7efda1f3d1bbe3722879392ea8a.tar.bz2
mpv-1b7ce759b1f4e7efda1f3d1bbe3722879392ea8a.tar.xz
Revert "win32: add mappings for some special keys"
This reverts commit fc9695e63b5baa1a478acb8e79c038571ee0e9b3. Users were complaining that both mpv and something else (what? I don't know) respond to some multimedia keys, such as volume change.
Diffstat (limited to 'osdep')
-rw-r--r--osdep/w32_keyboard.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/osdep/w32_keyboard.c b/osdep/w32_keyboard.c
index e9bbd785a4..4614722aae 100644
--- a/osdep/w32_keyboard.c
+++ b/osdep/w32_keyboard.c
@@ -66,15 +66,6 @@ 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}
};