File tree Expand file tree Collapse file tree 2 files changed +0
-17
lines changed Expand file tree Collapse file tree 2 files changed +0
-17
lines changed Original file line number Diff line number Diff line change 8
8
9
9
#if TARGET_OS_OSX // [macOS
10
10
11
- @interface RCTHandledKeyboardEvent : NSObject
12
-
13
- @property (nonatomic , copy ) NSString *key;
14
- @property (nonatomic , assign ) BOOL capsLockKey;
15
- @property (nonatomic , assign ) BOOL shiftKey;
16
- @property (nonatomic , assign ) BOOL ctrlKey;
17
- @property (nonatomic , assign ) BOOL altKey;
18
- @property (nonatomic , assign ) BOOL metaKey;
19
- @property (nonatomic , assign ) BOOL numericPadKey;
20
- @property (nonatomic , assign ) BOOL helpKey;
21
- @property (nonatomic , assign ) BOOL functionKey;
22
-
23
- @end
24
-
25
11
@interface RCTViewKeyboardEvent : RCTComponentEvent
26
12
27
13
+ (instancetype )keyEventFromEvent : (NSEvent *)event reactTag : (NSNumber *)reactTag ;
Original file line number Diff line number Diff line change 13
13
14
14
#if TARGET_OS_OSX
15
15
16
- @implementation RCTHandledKeyboardEvent
17
- @end
18
-
19
16
@implementation RCTViewKeyboardEvent
20
17
21
18
+ (NSString *)keyFromEvent : (NSEvent *)event
You can’t perform that action at this time.
0 commit comments