mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-10-26 22:10:11 +00:00
Adding keyboard support
This commit is contained in:
1 parent
8afcdc92d4
commit
76ab786e94
7 files changed
+289
-15
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user