Improved HID input scaling. Still a work in progress...