0017 unified keyboard and gamepad input