Yes. If you can figure out how to identify that it is a CGX, then add the buttons to the UI in the celestron-aux driver, that would be ideal.

Read More...

If you'd like to add a PR to add the functionality to indi_celestron_cgx, I'd be happy to merge it. I'm in the process of upgrading my mount away from the CGX, and I don't have the Celestron Focuser, so I can't really give it a good test.

Read More...

Hansli, I haven't updated this code in a while, now that the celestron aux driver is more mature I'd definitely recommend using that one over this one.

Read More...

Rick Bassham replied to the topic 'Joystick' in the forum. 4 months ago

Hey Rob. I've only tested it with a Logitech F310 gamepad. Do you see "found gamecontroller at index" in the log after "joysticks count"?

Read More...

Rick Bassham replied to the topic 'Joystick' in the forum. 4 months ago

You do not need to use xcode (but you do need to install it). If you have some programming experience (or are comfortable on the command line), you might be able to get it going pretty easily.

First, you'll need to install homebrew:

brew.sh/

Then install the dependencies needed to build all the things (I think this is comprehensive, but may not be):

brew install sdl2 cfitsio libnova gsl zlib libusb jpeg libtiff fftw cmake

Then you'll need to build libindi to provide the libraries we need to link against:
mkdir -p ~/indi_projects
cd ~/indi_projects
git clone https://github.com/indilib/indi.git
cd indi
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=RelWithDebInfo ../
make
sudo make install

Now that libindi is installed, we can build indi_gamepad and install it.
cd ~/indi_projects
git clone https://github.com/rickbassham/indi_gamepad.git
cd indi_gamepad
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=RelWithDebInfo ../
make
sudo make install

Then you should be able to restart KStars and see the gamepad (hopefully).

Read More...

Rick Bassham replied to the topic 'Joystick' in the forum. 4 months ago

Hey pdmogg, unfortunately, if you're not comfortable building C++ projects on mac, it's not quite ready for you. I'll see if I can create an easy way to install it for non-software engineers.

Read More...