summaryrefslogtreecommitdiffstats
path: root/osdep/macosx_events.m
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/macosx_events.m')
-rw-r--r--osdep/macosx_events.m8
1 files changed, 5 insertions, 3 deletions
diff --git a/osdep/macosx_events.m b/osdep/macosx_events.m
index 494c9aa88c..cd1d9df9d8 100644
--- a/osdep/macosx_events.m
+++ b/osdep/macosx_events.m
@@ -358,9 +358,11 @@ void cocoa_set_input_context(struct input_ctx *input_context)
- (BOOL)handleMediaKey:(NSEvent *)event
{
NSDictionary *keymapd = @{
- @(NX_KEYTYPE_PLAY): @(MP_KEY_PLAY),
- @(NX_KEYTYPE_REWIND): @(MP_KEY_PREV),
- @(NX_KEYTYPE_FAST): @(MP_KEY_NEXT),
+ @(NX_KEYTYPE_PLAY): @(MP_KEY_PLAY),
+ @(NX_KEYTYPE_REWIND): @(MP_KEY_PREV),
+ @(NX_KEYTYPE_FAST): @(MP_KEY_NEXT),
+ @(NX_KEYTYPE_PREVIOUS): @(MP_KEY_REWIND),
+ @(NX_KEYTYPE_NEXT): @(MP_KEY_FORWARD),
};
return [self handleKey:mk_code(event)