Hide the home bar when a gamepad is connected and no on-screen controls are visible
Fixes #386
This commit is contained in:
parent
967ddd7d68
commit
5faa8a0b85
4 changed files with 50 additions and 5 deletions
|
|
@ -11,9 +11,15 @@
|
|||
|
||||
@class OnScreenControls;
|
||||
|
||||
@protocol GamepadPresenceDelegate <NSObject>
|
||||
|
||||
- (void) gamepadPresenceChanged;
|
||||
|
||||
@end
|
||||
|
||||
@interface ControllerSupport : NSObject
|
||||
|
||||
-(id) initWithConfig:(StreamConfiguration*)streamConfig;
|
||||
-(id) initWithConfig:(StreamConfiguration*)streamConfig presenceDelegate:(id<GamepadPresenceDelegate>)delegate;
|
||||
|
||||
-(void) initAutoOnScreenControlMode:(OnScreenControls*)osc;
|
||||
-(void) cleanup;
|
||||
|
|
@ -36,6 +42,8 @@
|
|||
|
||||
+(int) getConnectedGamepadMask:(StreamConfiguration*)streamConfig;
|
||||
|
||||
-(NSUInteger) getConnectedGamepadCount;
|
||||
|
||||
@property (nonatomic, strong) id connectObserver;
|
||||
@property (nonatomic, strong) id disconnectObserver;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue