garyjohnson / opentx-ble-joystick

Use your Taranis QX7S or other OpenTX bluetooth trainer as a macOS joystick
14 stars 0 forks source link

Not showing up #1

Open reptil1990 opened 6 years ago

reptil1990 commented 6 years ago

Hey awsome work!

I can get my QX7S connected but then I cant see it in freerider. I run openTX 2.2.1RC1! Are there additional steps I have to make?

garyjohnson commented 6 years ago

Make sure you configure your model on the TX as described here: https://github.com/garyjohnson/opentx-ble-joystick#model-configuration

Then get Joystick Show and make sure a joystick appears and your TX is actually moving the joystick inputs: https://itunes.apple.com/us/app/joystick-show/id515886877?mt=12

Finally, if you use Liftoff, I'm having a hell of a time getting any joystick to work with it since they redid the input stack. FPV Freerider has been working great for me though.

garyjohnson commented 6 years ago

One more thing -- I'm not sure it's necessary yet, but if you just installed foohid, try giving your machine a reboot. I don't think it's needed but since it's a kernel extension I don't know if it loads right away.

reptil1990 commented 6 years ago

Perfect will try that and come back to you!

garyjohnson commented 6 years ago

Also just noticed that Joystick Show is $1 -- any app you can find to test the joystick inputs independently of the sim would be useful for troubleshooting.

reptil1990 commented 6 years ago

This 1$ is well spend! I appreciate your effort!

reptil1990 commented 6 years ago

OK restart done. The Joystick Show is giving me the inputs corresponding to my RC inputs. But I can´t get it working in freerider or velocydrone

garyjohnson commented 6 years ago

When you move the sticks they move in Joystick Show? That should be all you need to get it working in Freerider. Are you launching Freerider on it's own or through something like Steam?

reptil1990 commented 6 years ago

Yes they do... And i am launching FPV freerider as a standalone programm. not through steam or something else

reptil1990 commented 6 years ago

So I tested Liftoff, FPV Freerider and Velocydrone all not working The only one working was the Aerofly RC7 Sim!

garyjohnson commented 6 years ago

I'll have to try to reproduce. Any of this info you provide would be helpful:

macOS version FPV Freerider version (Recharged?) Are any other joysticks attached or show up in Joystick Show while you do this?

garyjohnson commented 6 years ago

Oh, and another thing -- do these games tell you there's no joystick attached, or does it appear but not accept input?

reptil1990 commented 6 years ago

Osx 10.13.2 Beta Latest version fpv freerider recharged No other joysticks attached! And the games say no input divination attached!

garyjohnson commented 6 years ago

Not quite sure what's going on yet. I'm going to play with making the HID descriptor match what OpenTX uses when you plug it in via USB and see if compatibility improves.

reptil1990 commented 6 years ago

Let me know if you make an update I am happy to test

garyjohnson commented 6 years ago

Thanks! I've been trying to find the common denominator -- the app appears to work fine against both GameController.framework and the Unity Input API. Going to try SDL2 and some other possible gamepad APIs and see if I can figure out what these games might be using.

reptil1990 commented 6 years ago

Anything new? Would be a waste if the project goes down the drain!