mirror of
https://github.com/nickshanks/ResKnife.git
synced 2024-12-22 17:30:15 +00:00
11 lines
197 B
Objective-C
11 lines
197 B
Objective-C
#import <Carbon/Carbon.h>
|
|
#import <AppKit/AppKit.h>
|
|
|
|
@interface NSEvent (NGSModifierKeys)
|
|
|
|
+ (BOOL)isControlKeyDown;
|
|
+ (BOOL)isOptionKeyDown;
|
|
+ (BOOL)isCommandKeyDown;
|
|
+ (BOOL)isShiftKeyDown;
|
|
|
|
@end |