skrypton-api / com.waicool20.skrypton.sikulix.input / SKryptonMouse / spinWheel

spinWheel

@Synchronized fun spinWheel(location: Location?, direction: Int, steps: Int, stepDelay: Int): Unit

Spins the mouse wheel.

Parameters

location - Location to spin the mouse wheel at, may be null to just spin the wheel directly.

direction - Direction to spin the mouse wheel in.

steps - Number of steps the wheel is spinned.

stepDelay - The delay in milliseconds between each wheel step.