Adding keyboard support

This commit is contained in:
Diego Waxemberg
2018-08-25 15:22:32 -07:00
parent 8afcdc92d4
commit 76ab786e94
7 changed files with 289 additions and 15 deletions
+21
View File
@@ -0,0 +1,21 @@
//
// KeyboardSupport.h
// Moonlight
//
// Created by Diego Waxemberg on 8/25/18.
// Copyright © 2018 Moonlight Game Streaming Project. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface KeyboardSupport : NSObject
struct KeyEvent {
u_short keycode;
u_short modifierKeycode;
u_char modifier;
};
+ (struct KeyEvent) translateKeyEvent:(unichar) inputChar;
@end