ResKnife/Cocoa/Categories/NSEvent-ModifierKeys.h
2010-08-31 10:28:19 +00:00

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