Files
moonlight-ios/Limelight/Input/KeyboardSupport.h
Sergio Alvarez-Napagao c2012fa195 Improve keyboard support
2018-08-30 21:06:36 +02:00

22 lines
450 B
Objective-C

//
// 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 withModifierFlags:(UIKeyModifierFlags)modifierFlags;
@end