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.
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.
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.
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"?
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:
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
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
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
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.