added trimming to joystick, removed keyboard support