diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-09-01 20:36:57 +0200 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-09-01 20:57:40 +0200 |
commit | 134c3e148cbe2f21608e6d67431f23c3fcbbda8f (patch) | |
tree | 7ea14eb6d738ed2b5ffcf14f0d3c50fc62a7ab09 /mpvcore/input | |
parent | 6a55fa679373e65d4be838c1cb0724c0d1ed2d20 (diff) | |
download | mpv-134c3e148cbe2f21608e6d67431f23c3fcbbda8f.tar.bz2 mpv-134c3e148cbe2f21608e6d67431f23c3fcbbda8f.tar.xz |
osx: use MP_KEY_* instead of MK_* for media keys
In 213ad5d6c I added `MK_*` key bindings overlooking the fact that mpv already
has `MP_KEY_*` for media keys.
Diffstat (limited to 'mpvcore/input')
-rw-r--r-- | mpvcore/input/input.c | 4 | ||||
-rw-r--r-- | mpvcore/input/keycodes.h | 6 |
2 files changed, 0 insertions, 10 deletions
diff --git a/mpvcore/input/input.c b/mpvcore/input/input.c index f977fd9e9d..41df0af855 100644 --- a/mpvcore/input/input.c +++ b/mpvcore/input/input.c @@ -429,10 +429,6 @@ static const struct key_name key_names[] = { { MP_AR_VDOWN, "AR_VDOWN" }, { MP_AR_VDOWN_HOLD, "AR_VDOWN_HOLD" }, - { MP_MK_PLAY, "MK_PLAY" }, - { MP_MK_PREV, "MK_PREV" }, - { MP_MK_NEXT, "MK_NEXT" }, - { MP_AXIS_UP, "AXIS_UP" }, { MP_AXIS_DOWN, "AXIS_DOWN" }, { MP_AXIS_LEFT, "AXIS_LEFT" }, diff --git a/mpvcore/input/keycodes.h b/mpvcore/input/keycodes.h index ade5091695..23aa634b5e 100644 --- a/mpvcore/input/keycodes.h +++ b/mpvcore/input/keycodes.h @@ -201,12 +201,6 @@ #define MP_AR_VDOWN (MP_AR_BASE + 12) #define MP_AR_VDOWN_HOLD (MP_AR_BASE + 13) -// Apple Media Keys input module -#define MP_MK_BASE (MP_KEY_BASE+0xF0) -#define MP_MK_PLAY (MP_MK_BASE + 0) -#define MP_MK_PREV (MP_MK_BASE + 1) -#define MP_MK_NEXT (MP_MK_BASE + 2) - // Mouse wheels or touchpad input #define MP_AXIS_BASE (MP_KEY_BASE+0x100) #define MP_AXIS_UP (MP_AXIS_BASE+0) |