Table of Contents

Enum ControllerFeatures

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

Controller feature flags returned by get_features().

These flags indicate which input methods the controller supports/prefers.

[Flags]
public enum ControllerFeatures : ulong

Fields

NoScalingTouchPoints = 4

CController does not scale touch points automatically.

When set, ControllerAgent will skip coordinate scaling for touch operations.

None = 0

No special features, controller supports click/swipe/click_key directly.

UseKeyboardDownAndUpInsteadOfClick = 2

Controller prefers key_down/key_up instead of click_key.

When set, ControllerAgent will use key_down + key_up to simulate click_key.

UseMouseDownAndUpInsteadOfClick = 1

Controller prefers touch_down/touch_move/touch_up instead of click/swipe.

When set, ControllerAgent will use touch_down/touch_up to simulate click,

and touch_down/touch_move/touch_up to simulate swipe.