Implement ABXY swap for on-screen controls

This commit is contained in:
Cameron Gutman committed 2022-07-21 20:54:57 -05:00
1 parent a80fa5cfbb
commit 6678488edc
3 files changed
+20 -11

No files matched your search

+2 -1
View File
@@ -9,6 +9,7 @@
#import <Foundation/Foundation.h>
@class ControllerSupport;
@class StreamConfiguration;
@interface OnScreenControls : NSObject
@@ -24,7 +25,7 @@ typedef NS_ENUM(NSInteger, OnScreenControlsLevel) {
OnScreenControlsLevelAutoGCExtendedGamepadWithStickButtons
};
- (id) initWithView:(UIView*)view controllerSup:(ControllerSupport*)controllerSupport;
- (id) initWithView:(UIView*)view controllerSup:(ControllerSupport*)controllerSupport streamConfig:(StreamConfiguration*)streamConfig;
- (BOOL) handleTouchDownEvent:(NSSet*)touches;
- (BOOL) handleTouchUpEvent:(NSSet*)touches;
- (BOOL) handleTouchMovedEvent:(NSSet*)touches;