×

INDI Library v2.0.4 Released (01 Oct 2023)

Bi-monthly release with minor bug fixes and improvements

Patch: Change slewpreset with gamepad buttons

  • Posts: 208
  • Thank you received: 103
Hi,

I am using indi_eqmod on a Rpi2 to control my HEQ5 and I occasionally connect a gamepad to move the telescope.

I find it very difficult to change the slewpreset with a joystick, despite a careful calibration it always jump around in a random way and it is almost impossible to get the desired value.
So I make a simple patch for inditelescope.cpp to add the capability to change the slewpreset up or down with two gamepad button. By default I set them to the gamepad front buttons and this is very convenient.

The patch is attached here, is it possible to apply it in trunk?

File Attachment:

File Name: slewpreset.txt
File Size:1 KB


Patrick
The following user(s) said Thank You: Jasem Mutlaq
7 years 6 months ago #8500
Attachments:

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

Applied, thanks!
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
The following user(s) said Thank You: Patrick Chevalley
7 years 6 months ago #8503

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

Time to create page: 0.339 seconds