Table of Contents

Method Scroll

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

Scroll(int, int)

Appends a job for scroll action.

MaaJob Scroll(int dx, int dy)

Parameters

dx int

The horizontal scroll delta. Positive values scroll right, negative values scroll left.

dy int

The vertical scroll delta. Positive values scroll up, negative values scroll down.

Returns

MaaJob

A scroll MaaFramework.Binding.MaaJob.

Remarks

Not all controllers support scroll. If not supported, the action will fail.

The dx/dy values are sent directly as scroll increments. Using multiples of 120 (WHEEL_DELTA) is recommended for best compatibility.