Improved gamepad keyboard support