Don't use pointer lock if the mouse isn't compatible with GCMouse

This commit is contained in:
Cameron Gutman
2020-09-18 18:48:35 -05:00
parent 5043fadace
commit 88c18ad397
4 changed files with 25 additions and 7 deletions

View File

@@ -11,15 +11,16 @@
@class OnScreenControls;
@protocol GamepadPresenceDelegate <NSObject>
@protocol InputPresenceDelegate <NSObject>
- (void) gamepadPresenceChanged;
- (void) mousePresenceChanged;
@end
@interface ControllerSupport : NSObject
-(id) initWithConfig:(StreamConfiguration*)streamConfig presenceDelegate:(id<GamepadPresenceDelegate>)delegate;
-(id) initWithConfig:(StreamConfiguration*)streamConfig presenceDelegate:(id<InputPresenceDelegate>)delegate;
-(void) initAutoOnScreenControlMode:(OnScreenControls*)osc;
-(void) cleanup;