debug for joystick