Don't use pointer lock if the mouse isn't compatible with GCMouse
This commit is contained in:
parent
5043fadace
commit
88c18ad397
4 changed files with 25 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue