Grah, stupid, annoying and more. Simple bugs should be forbidden :D
if( key == ' ')
val.i_int = config_GetInt( p_vout, "key-play-pause" );
else
if( key == ' ')
val.i_int = config_GetInt( p_vout, "key-play-pause" );
else
- val.i_int |= CocoaKeyToVLC( key );
+ val.i_int |= (int)CocoaKeyToVLC( key );
var_Set( p_vout->p_libvlc, "key-pressed", val );
}
else NSLog( @"Could not send keyevent to VLC core" );
}
else
var_Set( p_vout->p_libvlc, "key-pressed", val );
}
else NSLog( @"Could not send keyevent to VLC core" );
}
else
[super keyDown: o_event];
[super keyDown: o_event];
}
- (void)mouseDown:(NSEvent *)o_event
}
- (void)mouseDown:(NSEvent *)o_event