Fixed compile warning in GamepadTest.