added sonar enable to joystick source