67 lines
2.6 KiB
Objective-C
67 lines
2.6 KiB
Objective-C
//
|
|
// TemporarySettings.h
|
|
// Moonlight
|
|
//
|
|
// Created by Cameron Gutman on 12/1/15.
|
|
// Copyright © 2015 Moonlight Stream. All rights reserved.
|
|
//
|
|
// Modified by True砖家 since 2024.6.1
|
|
// Copyright © 2024 True砖家 @ Bilibili. All rights reserved.
|
|
//
|
|
|
|
#import "Settings+CoreDataClass.h"
|
|
#define OSC_TOOL_FINGERS 4
|
|
|
|
|
|
@interface TemporarySettings : NSObject
|
|
|
|
@property (nonatomic, retain) Settings * parent;
|
|
|
|
@property (nonatomic, retain) NSNumber * settingsMenuMode;
|
|
@property (nonatomic, retain) NSNumber * settingsMenuWidth;
|
|
@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) NSNumber * keyboardToggleFingers;
|
|
@property (nonatomic, retain) NSNumber * oscLayoutToolFingers;
|
|
@property (nonatomic, retain) NSNumber * slideToSettingsScreenEdge;
|
|
@property (nonatomic, retain) NSNumber * slideToSettingsDistance;
|
|
@property (nonatomic, retain) NSNumber * touchMoveEventInterval;
|
|
@property (nonatomic, retain) NSNumber * touchPointerVelocityFactor;
|
|
@property (nonatomic, retain) NSNumber * mousePointerVelocityFactor;
|
|
@property (nonatomic, retain) NSNumber * pointerVelocityModeDivider;
|
|
@property (nonatomic, retain) NSString * uniqueId;
|
|
@property (nonatomic, retain) NSNumber * resolutionSelected;
|
|
@property (nonatomic, retain) NSNumber * externalDisplayMode;
|
|
@property (nonatomic, retain) NSNumber * localMousePointerMode;
|
|
@property (nonatomic) enum {
|
|
CODEC_PREF_AUTO,
|
|
CODEC_PREF_H264,
|
|
CODEC_PREF_HEVC,
|
|
CODEC_PREF_AV1,
|
|
} preferredCodec;
|
|
@property (nonatomic) BOOL enableYUV444;
|
|
@property (nonatomic) BOOL reverseMouseWheelDirection;
|
|
@property (nonatomic, retain) NSNumber * asyncNativeTouchPriority;
|
|
@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, retain) NSNumber * touchMode;
|
|
@property (nonatomic, retain) NSNumber * statsOverlayLevel;
|
|
@property (nonatomic) BOOL statsOverlayEnabled;
|
|
@property (nonatomic) BOOL liftStreamViewForKeyboard;
|
|
@property (nonatomic) BOOL showKeyboardToolbar;
|
|
@property (nonatomic) BOOL unlockDisplayOrientation;
|
|
|
|
- (id) initFromSettings:(Settings*)settings;
|
|
|
|
@end
|