Welcome, Guest
Username: Password: Remember me
20 Aug 2017
INDI development team is happy to announce the release of INDI Library v1.5.0. This new exciting release builds on the maturity of INDI Library and comes with many new supported devices and fixes for existing drivers.
Read More...
  • Page:
  • 1

TOPIC: Joystick configuration

Joystick configuration 8 months 1 week ago #15133

  • danoid
  • danoid's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 41
  • Thank you received: 0
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.

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

Joystick configuration 8 months 1 week ago #15135

  • danoid
  • danoid's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 41
  • Thank you received: 0
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?

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

Joystick configuration 8 months 1 week ago #15137

Thanks for the report, it's fixed in GIT.

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

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?

Joystick configuration 8 months 1 week ago #15151

  • danoid
  • danoid's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 41
  • Thank you received: 0
Awesome! Double Thank You.

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

  • Page:
  • 1
Time to create page: 0.079 seconds

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!


Gallery

Replica

Why INDI

Replica