×

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

Bi-monthly release with minor bug fixes and improvements

Patch: Change slewpreset with gamepad buttons

  • Posts: 210
  • Thank you received: 104
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 10 months ago #8500
Attachments:

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

Applied, thanks!
The following user(s) said Thank You: Patrick Chevalley
7 years 10 months ago #8503

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

Time to create page: 0.187 seconds