// // Application.m // VKPC // // Created by Eugene on 11/29/13. // Copyright (c) 2013-2014 Eugene Z. All rights reserved. // //#import #import "Application.h" //#import "SPMediaKeyTap.h" @implementation Application { } //- (void)sendEvent:(NSEvent *)event { // [super sendEvent:event]; // If event tap is not installed, handle events that reach the app instead // BOOL shouldHandleMediaKeyEventLocally = ![SPMediaKeyTap usesGlobalMediaKeyTap]; // if (shouldHandleMediaKeyEventLocally && event.type == NSSystemDefined && event.subtype == SPSystemDefinedEventMediaKeys) { // [(id)[self delegate] mediaKeyTap:nil receivedMediaKeyEvent:event]; // } //} @end