mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-02-16 10:31:02 +00:00
* Added toggle for swapping A<->B and X<->Y buttons to enable proper button mapping for combined Joy-Cons in iOS16, where iOS level remapping is not supported and pushing Switch B (bottom face button) sends Xbox B (right face button) instead of Xbox A (bottom face button), etc. Allows user to select between current behavior (button letter matches output) and muscle-memory behavior (face button pressed matches location of face button output)
36 lines
1.1 KiB
Objective-C
36 lines
1.1 KiB
Objective-C
//
|
|
// TemporarySettings.h
|
|
// Moonlight
|
|
//
|
|
// Created by Cameron Gutman on 12/1/15.
|
|
// Copyright © 2015 Moonlight Stream. All rights reserved.
|
|
//
|
|
|
|
#import "Settings+CoreDataClass.h"
|
|
|
|
@interface TemporarySettings : NSObject
|
|
|
|
@property (nonatomic, retain) Settings * parent;
|
|
|
|
@property (nonatomic, retain) NSNumber * bitrate;
|
|
@property (nonatomic, retain) NSNumber * framerate;
|
|
@property (nonatomic, retain) NSNumber * height;
|
|
@property (nonatomic, retain) NSNumber * width;
|
|
@property (nonatomic, retain) NSNumber * audioConfig;
|
|
@property (nonatomic, retain) NSNumber * onscreenControls;
|
|
@property (nonatomic, retain) NSString * uniqueId;
|
|
@property (nonatomic) BOOL useHevc;
|
|
@property (nonatomic) BOOL useFramePacing;
|
|
@property (nonatomic) BOOL multiController;
|
|
@property (nonatomic) BOOL swapABXYButtons;
|
|
@property (nonatomic) BOOL playAudioOnPC;
|
|
@property (nonatomic) BOOL optimizeGames;
|
|
@property (nonatomic) BOOL enableHdr;
|
|
@property (nonatomic) BOOL btMouseSupport;
|
|
@property (nonatomic) BOOL absoluteTouchMode;
|
|
@property (nonatomic) BOOL statsOverlay;
|
|
|
|
- (id) initFromSettings:(Settings*)settings;
|
|
|
|
@end
|