diff options
author | der richter <der.richter@gmx.de> | 2020-01-21 19:15:51 +0100 |
---|---|---|
committer | der richter <der.richter@gmx.de> | 2020-01-26 12:09:55 +0100 |
commit | 77d42d5532c2f411da1b1e054b1a867498c7187d (patch) | |
tree | 036e436e418b45ace9c5b058e4d0d6a9fc43fad2 /input/keycodes.h | |
parent | ae0520cafc6bb0487b2021aa51c36438b99689c3 (diff) | |
download | mpv-77d42d5532c2f411da1b1e054b1a867498c7187d.tar.bz2 mpv-77d42d5532c2f411da1b1e054b1a867498c7187d.tar.xz |
input: add new PLAYONLY and PAUSEONLY MP_KEY key codes
since the old PLAY and PAUSE key codes cycle through the pause property,
the new key codes only explicitly set the pause property.
Diffstat (limited to 'input/keycodes.h')
-rw-r--r-- | input/keycodes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/input/keycodes.h b/input/keycodes.h index a75099f2f2..3a33258031 100644 --- a/input/keycodes.h +++ b/input/keycodes.h @@ -80,6 +80,8 @@ #define MP_KEY_RECORD (MP_KEY_MM_BASE+20) #define MP_KEY_CHANNEL_UP (MP_KEY_MM_BASE+21) #define MP_KEY_CHANNEL_DOWN (MP_KEY_MM_BASE+22) +#define MP_KEY_PLAYONLY (MP_KEY_MM_BASE+23) +#define MP_KEY_PAUSEONLY (MP_KEY_MM_BASE+24) /* Function keys */ #define MP_KEY_F (MP_KEY_BASE+0x40) |