working on windows gamepad logic