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)
35 lines
831 B
Objective-C
35 lines
831 B
Objective-C
//
|
|
// StreamConfiguration.h
|
|
// Moonlight
|
|
//
|
|
// Created by Diego Waxemberg on 10/20/14.
|
|
// Copyright (c) 2014 Moonlight Stream. All rights reserved.
|
|
//
|
|
|
|
@interface StreamConfiguration : NSObject
|
|
|
|
@property NSString* host;
|
|
@property NSString* appVersion;
|
|
@property NSString* gfeVersion;
|
|
@property NSString* appID;
|
|
@property NSString* appName;
|
|
@property NSString* rtspSessionUrl;
|
|
@property int width;
|
|
@property int height;
|
|
@property int frameRate;
|
|
@property int bitRate;
|
|
@property int riKeyId;
|
|
@property NSData* riKey;
|
|
@property int gamepadMask;
|
|
@property BOOL optimizeGameSettings;
|
|
@property BOOL playAudioOnPC;
|
|
@property BOOL swapABXYButtons;
|
|
@property int audioConfiguration;
|
|
@property BOOL enableHdr;
|
|
@property BOOL multiController;
|
|
@property BOOL allowHevc;
|
|
@property BOOL useFramePacing;
|
|
@property NSData* serverCert;
|
|
|
|
@end
|