Source

BWToolkit / NSEvent+BWAdditions.h

Full commit
Brandon Walkin 19a97e7 











Brandon Walkin 100e138 




Brandon Walkin 19a97e7 
//
//  NSEvent+BWAdditions.h
//  BWToolkit
//
//  Created by Brandon Walkin (www.brandonwalkin.com)
//  All code is provided under the New BSD license.
//

#import <Cocoa/Cocoa.h>

@interface NSEvent (BWAdditions)

+ (BOOL)bwShiftKeyIsDown;
+ (BOOL)bwCommandKeyIsDown;
+ (BOOL)bwOptionKeyIsDown;
+ (BOOL)bwControlKeyIsDown;
+ (BOOL)bwCapsLockKeyIsDown;

@end