mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-04-19 23:10:18 +00:00
Rewrote a bunch of controller support. Added auto on-screen controls layouts (GCGamepad not finished). Added LB+Start and RB+Start shortcuts for select and special (same as Android).
This commit is contained in:
@@ -8,12 +8,27 @@
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@class OnScreenControls;
|
||||
|
||||
@interface ControllerSupport : NSObject
|
||||
|
||||
-(id) init;
|
||||
|
||||
-(void) initAutoOnScreenControlMode:(OnScreenControls*)osc;
|
||||
-(void) cleanup;
|
||||
|
||||
-(void) updateLeftStick:(short)x y:(short)y;
|
||||
-(void) updateRightStick:(short)x y:(short)y;
|
||||
|
||||
-(void) updateLeftTrigger:(char)left;
|
||||
-(void) updateRightTrigger:(char)right;
|
||||
-(void) updateTriggers:(char)left right:(char)right;
|
||||
|
||||
-(void) updateButtonFlags:(int)flags;
|
||||
-(void) setButtonFlag:(int)flags;
|
||||
-(void) clearButtonFlag:(int)flags;
|
||||
|
||||
-(void) updateFinished;
|
||||
|
||||
@property (nonatomic, strong) id connectObserver;
|
||||
@property (nonatomic, strong) id disconnectObserver;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user