testing for joystick