×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Joystick configuration

  • Posts: 45
  • Thank you received: 1
I've had issues with my Logitech Gamepad being bound to either dev/input/js0 or dev/input/js1. So I made a udev rule to bind it to /dev/gamepad.

I started the INDI device manager, started the Joystick service, and the control panel came up with a Joystick tab. In the Options tab I change Port to /dev/gamepad, Set it, go to Main Control, hit Connect and boom it's there. Now I save the profile, close the control panel, stop the Joystick service in device manager, restart the service, look at options in the control panel, and...

The port is back to /dev/input/js0.

I load the configuration and it's still /dev/input/js0.

Saving the configuration appears to have no effect.
7 years 1 month ago #15133

Please Log in or Create an account to join the conversation.

  • Posts: 45
  • Thank you received: 1

Replied by Dana Tousley on topic Joystick configuration

Found the file manually, and there is no reference to Port. The only thing it appears to be saving is debug info.

contents of /home/.indi/Joystick_config.xml:
<INDIDriver><newSwitchVector device="Joystick" name="DEBUG"><oneSwitch name="ENABLE">
      Off
  </oneSwitch><oneSwitch name="DISABLE">
      On
  </oneSwitch></newSwitchVector><newSwitchVector device="Joystick" name="DEBUG_LEVEL"><oneSwitch name="DBG_ERROR">
      On
  </oneSwitch><oneSwitch name="DBG_WARNING">
      On
  </oneSwitch><oneSwitch name="DBG_SESSION">
      On
  </oneSwitch><oneSwitch name="DBG_DEBUG">
      Off
  </oneSwitch></newSwitchVector><newSwitchVector device="Joystick" name="LOGGING_LEVEL"><oneSwitch name="LOG_ERROR">
      On
  </oneSwitch><oneSwitch name="LOG_WARNING">
      On
  </oneSwitch><oneSwitch name="LOG_SESSION">
      On
  </oneSwitch><oneSwitch name="LOG_DEBUG">
      Off
  </oneSwitch></newSwitchVector><newSwitchVector device="Joystick" name="LOG_OUTPUT"><oneSwitch name="CLIENT_DEBUG">
      On
  </oneSwitch><oneSwitch name="FILE_DEBUG">
      Off
  </oneSwitch></newSwitchVector></INDIDriver>

Any way to include Port information in this so it can be persistent also?
7 years 1 month ago #15135

Please Log in or Create an account to join the conversation.

Replied by Jasem Mutlaq on topic Joystick configuration

Thanks for the report, it's fixed in GIT.
7 years 1 month ago #15137

Please Log in or Create an account to join the conversation.

  • Posts: 45
  • Thank you received: 1

Replied by Dana Tousley on topic Joystick configuration

Awesome! Double Thank You.
7 years 1 month ago #15151

Please Log in or Create an account to join the conversation.

Time to create page: 0.478 seconds