This works by mapping gamepad keys to keyboard keys, just like PojavLauncher Android.
9 lines
172 B
Objective-C
9 lines
172 B
Objective-C
#import <UIKit/UIKit.h>
|
|
|
|
@interface KeyboardInput : NSObject
|
|
|
|
+ (void)initKeycodeTable;
|
|
+ (BOOL)sendKeyEvent:(UIKey *)key down:(BOOL)isDown API_AVAILABLE(ios(13.4));
|
|
|
|
@end
|