Improved input with gamepad support