Fix motion range, don't dispatch repeating button events for gamepads