Commit 91c2e63a authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: handle the space key correctly for play/pause toggling

fixes #5508
parent 0c1f7a67
......@@ -1277,6 +1277,12 @@ unsigned int CocoaKeyToVLC( unichar i_key )
return NO;
}
if( key == 0x0020 ) // space key
{
[[VLCCoreInteraction sharedInstance] play];
return YES;
}
val.i_int |= CocoaKeyToVLC( key );
if( [o_usedHotkeys indexOfObject: tempString] != NSNotFound || [o_usedHotkeys indexOfObject: tempStringPlus] != NSNotFound )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment