cocoa: let the core handle key repeats

Report key down and key up modifiers to the core so that it can issue it's
own key repeats (instead of relying on Cocoa's ones).
This commit is contained in:
Stefano Pigozzi
2013-08-30 19:46:48 +02:00
parent c89b162462
commit 462e6f281a
3 changed files with 17 additions and 6 deletions

View File

@@ -22,7 +22,7 @@
@interface EventsResponder : NSObject <HIDRemoteDelegate>
- (BOOL)handleMediaKey:(NSEvent *)event;
- (NSEvent *)handleKeyDown:(NSEvent *)event;
- (NSEvent *)handleKey:(NSEvent *)event;
- (void)startAppleRemote;
- (void)stopAppleRemote;
- (void)startMediaKeys;