I converted an old gamepad controller into a USB peripheral that can be used to scroll websites and pdf documents for more relaxed ergonomic reading. Feel free to read my external blog post for more information and to download the script: http://biocinematics.blogspot.ca/2014/10/hack-usb-game-controller-for-browser.html
You can see it in action in this short youtube video: