Define kDeleteKeyCode for use in key handling.

This commit is contained in:
Brent Simmons 2017-10-21 10:54:59 -07:00
parent 6a5e668e9d
commit 702559cfb1
2 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,8 @@
NS_ASSUME_NONNULL_BEGIN
extern unichar kDeleteKeyCode;
@interface NSEvent (RSCore)
- (void)rs_getCommandKeyDown:(BOOL *)commandKeyDown optionKeyDown:(BOOL *)optionKeyDown controlKeyDown:(BOOL *)controlKeyDown shiftKeyDown:(BOOL *)shiftKeyDown;

View File

@ -10,6 +10,8 @@
#import "NSString+RSCore.h"
unichar kDeleteKeyCode = 127;
@implementation NSEvent (RSCore)