diff options
Diffstat (limited to 'osdep/macosx_events.m')
-rw-r--r-- | osdep/macosx_events.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/osdep/macosx_events.m b/osdep/macosx_events.m index e09dc0af93..2edcba57ac 100644 --- a/osdep/macosx_events.m +++ b/osdep/macosx_events.m @@ -242,9 +242,9 @@ void cocoa_put_key_with_modifiers(int keycode, int modifiers) - (BOOL)handleMediaKey:(NSEvent *)event { NSDictionary *keymap = @{ - @(NX_KEYTYPE_PLAY): @(MP_MK_PLAY), - @(NX_KEYTYPE_REWIND): @(MP_MK_PREV), - @(NX_KEYTYPE_FAST): @(MP_MK_NEXT), + @(NX_KEYTYPE_PLAY): @(MP_KEY_PLAY), + @(NX_KEYTYPE_REWIND): @(MP_KEY_PREV), + @(NX_KEYTYPE_FAST): @(MP_KEY_NEXT), }; return [self handleKey:mk_code(event) |