Fixed robot control logic. Added gamepad support (not tested).