mirror of
https://github.com/nickshanks/ResKnife.git
synced 2025-01-06 23:30:09 +00:00
11 lines
198 B
C
11 lines
198 B
C
|
#import <Carbon/Carbon.h>
|
||
|
#import <AppKit/AppKit.h>
|
||
|
|
||
|
@interface NSEvent (ModifierKeys)
|
||
|
|
||
|
+ (BOOL) isControlKeyDown;
|
||
|
+ (BOOL) isOptionKeyDown;
|
||
|
+ (BOOL) isCommandKeyDown;
|
||
|
+ (BOOL) isShiftKeyDown;
|
||
|
|
||
|
@end
|