aboutsummaryrefslogtreecommitdiff
path: root/VKPC/Application.m
diff options
context:
space:
mode:
Diffstat (limited to 'VKPC/Application.m')
-rw-r--r--VKPC/Application.m27
1 files changed, 27 insertions, 0 deletions
diff --git a/VKPC/Application.m b/VKPC/Application.m
new file mode 100644
index 0000000..c43d60b
--- /dev/null
+++ b/VKPC/Application.m
@@ -0,0 +1,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 \ No newline at end of file