Removed a dead line that causes an error when disabling xtest.
Implemented scroll events for OS X.
Fixed an issue with the wheel amount reporting the wrong value and a related signed / unsigned conversion.