Liftoff

Liftoff

View Stats:
ivesklein Sep 10, 2016 @ 7:06pm
Joystick(radio) problem
I have a futaba radio connected to a ppm2usb. I can see the joystick data with jstest-gtk (values from -32767 to 32767) , but in liftoff i don't see any movement in the controller configuration, i tried all the combinations inside the game but it still does not work.

What can i do to get my radio working with liftoff?

ubuntu 14.04lts
liftoff v0.6.7

jstest-gtk info:
HID 0402:0402
Device: /dev/input/js2

liftoff relevant log:
Using libudev for joystick management
< >
Showing 1-4 of 4 comments
fission23 Dec 28, 2016 @ 1:57pm 
When do you plug in your radio? When I plugin mine before I start the game, it will not be recognized, I need to plug it in once the game ist started. I do not have a futaba, so your mileage may vary...
ndrez Feb 3, 2017 @ 4:00pm 
Can confirm this problem. Not working if starting while plugged in nor if plugging it in after starting the application. My Controller is a Turnigy9X with a DIY Arduino Leonardo PPM 2 USB connection. It is working fine in jstest-gtk.

It also works perfectly in Windows with the exact same setup so it can't be my controller. Something permissions related maybe?
fission23 Feb 5, 2017 @ 1:09pm 
Maybe you can get more information by starting liftoff from the shell and looking at its output?
luk4s Feb 6, 2017 @ 7:11am 
Also, you can try to leave the control connected and restart the game.

I have installed only the joystick package, not jstest-gtk nor the xboxdrv packages because one of them makes 4 static devices in /dev/input. So, when I plug my controller it creates /dev/input/js0

With cat /dev/input/js0 you can see is working. With jscal from a terminal (or jstest-gtk) you can calibrate the joystic and then with jscal-store save the settings. Running jscal-restore next time reload calibration.

jscal -c /dev/input/js0
sudo jscal-store /dev/input/js0
jscal-restore /dev/input/js0

This is faster than calibrating every time with jstest-gtk. In Liftoff you have to calibrate at least once. However, Liftoff does funny things some times:

case 1: I start the game and the movements are very, very subtle as if the range is wrong. Restart.
case 2: I did calibrated it in LIftoff and saved the preset but the values are wrong in range (this may happen in many different ways). Restart.
case 3: I start the game with throttle on a different position than zero and its range is wrong. Restart.
< >
Showing 1-4 of 4 comments
Per page: 1530 50