blob: c43d60b7475bb8bc73a945d0a31000a83eefe71b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
//
// Application.m
// VKPC
//
// Created by Eugene on 11/29/13.
// Copyright (c) 2013-2014 Eugene Z. All rights reserved.
//
//#import <IOKit/hidsystem/ev_keymap.h>
#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
|