Plumb multi-controller toggle

This commit is contained in:
Cameron Gutman
2018-06-02 13:52:58 -07:00
parent a28049a58c
commit d17f2f9dee
6 changed files with 32 additions and 14 deletions

View File

@@ -11,13 +11,14 @@
#if !TARGET_OS_IPHONE
#import "Gamepad.h"
#endif
#import "StreamConfiguration.h"
@class Controller;
@class OnScreenControls;
@interface ControllerSupport : NSObject
-(id) init;
-(id) initWithConfig:(StreamConfiguration*)streamConfig;
#if TARGET_OS_IPHONE
-(void) initAutoOnScreenControlMode:(OnScreenControls*)osc;
@@ -42,7 +43,7 @@
-(void) updateFinished:(Controller*)controller;
+(int) getConnectedGamepadMask;
+(int) getConnectedGamepadMask:(StreamConfiguration*)streamConfig;
@property (nonatomic, strong) id connectObserver;
@property (nonatomic, strong) id disconnectObserver;