abstract fun wheel(direction: Int, steps: Int): Int
Spins the mouse wheel.
direction
- Direction to spin the mouse wheel in.
steps
- Number of steps the wheel is spinned.
Return
1 if possible, 0 otherwise.
abstract fun <PFRML : Any> wheel(target: PFRML, direction: Int, steps: Int): Int
Spins the mouse wheel at the given target
target
- Target to spin the wheel at.
direction
- Direction to spin the mouse wheel in.
steps
- Number of steps the wheel is spinned.
FindFailed
- If the find operation failed.
Return
1 if possible, 0 otherwise.
abstract fun <PFRML : Any> wheel(target: PFRML, direction: Int, steps: Int, stepDelay: Int): Int
Spins the mouse wheel at the given target
target
- Target to spin the wheel at.
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.
FindFailed
- If the find operation failed.
Return
1 if possible, 0 otherwise.