Enum ControllerOption
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.dll
Option keys for controller instance options. See MaaControllerSetOption().
public enum ControllerOptionFields
Invalid = 0ScreenshotTargetLongSide = 1-
Only one of long and short side can be set, and the other is automatically scaled according to the aspect ratio.
value: int, eg: 1280; val_size: sizeof(int)
ScreenshotTargetShortSide = 2-
Only one of long and short side can be set, and the other is automatically scaled according to the aspect ratio.
value: int, eg: 720; val_size: sizeof(int)
ScreenshotUseRawSize = 3-
Screenshot use raw size without scaling. Please note that this option may cause incorrect coordinates on user devices with different resolutions if scaling is not performed.
value: bool, eg: true; val_size: sizeof(bool)