youpy/mac-robot — pull request #2 by kimuraw (2012-09-17 15:05:24+00:00)
Title: Add scroll wheel support

Add the following methods to support scroll wheel.

- Mac::Robot#scroll_wheel_line()
- Mac::Robot#scroll_wheel_pixel()
- Mac::Robot#scroll_wheel() - alias of scroll_wheel_line

robot = Mac::Robot.new
robot.scroll_wheel_line(:right => 10) # 10 lines scroll to right
robot.scroll_wheel_pixel(:down => 10) # 10 pixels scroll to down