Untested, but added aux function to check gamepad for input