pub unsafe extern "C" fn MaaControllerPostScroll(
ctrl: *mut MaaController,
dx: i32,
dy: i32,
) -> MaaCtrlIdExpand description
@brief Post a scroll action to the controller.
@param ctrl The controller handle. @param dx The horizontal scroll delta. Positive values scroll right, negative values scroll left. @param dy The vertical scroll delta. Positive values scroll up, negative values scroll down. @return The control id of the scroll action.
@note Not all controllers support scroll. If not supported, the action will fail. @note The dx/dy values are sent directly as scroll increments. Using multiples of 120 (WHEEL_DELTA) is recommended for best compatibility.