mirror of https://github.com/mpv-player/mpv
c39efb96d1
Media keys are pretty handy if you use mpv as a music player (yes I'm one of those people that do). These are the bindings (which lead to the same behaviour as iTunes): * NX_KEYTYPE_PLAY -> MP_KEY_PLAY * NX_KEYTYPE_FAST -> MP_KEY_NEXT * NX_KEYTYPE_REWIND -> MP_KEY_PREV I just handled these ones as the volume one would be pretty invasive. I could maybe change it to increase the application's volume instead of system volume only when mpv is frontmost (iTunes does this), but some users would probably hate it. |
||
---|---|---|
.. | ||
getch2-win.c | ||
getch2.c | ||
getch2.h | ||
glob-win.c | ||
glob.h | ||
io.c | ||
io.h | ||
macosx_application.h | ||
macosx_application.m | ||
macosx_application_objc.h | ||
macosx_bundle.h | ||
macosx_bundle.m | ||
macosx_events.h | ||
macosx_events.m | ||
mmap.h | ||
mmap_anon.c | ||
mmap_anon.h | ||
mpv.exe.manifest | ||
mpv.rc | ||
numcores.c | ||
numcores.h | ||
priority.c | ||
priority.h | ||
shmem.c | ||
shmem.h | ||
timer-darwin.c | ||
timer-linux.c | ||
timer-win2.c | ||
timer.c | ||
timer.h |