Board index FlightGear Support Hardware

X56 Rhino throttle support?

Joysticks, pedals, monitors.

X56 Rhino throttle support?

Postby Wingnutt270 » Tue Mar 28, 2017 1:51 am

The game isn't detecting it, how do I add it manually?
Wingnutt270
 
Posts: 5
Joined: Wed Mar 08, 2017 3:03 am
OS: Windows 10 64

Re: X56 Rhino throttle support?

Postby wkitty42 » Fri Mar 31, 2017 8:43 pm

does your OS recognize it?

a sim is not a game ;)
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9148
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: X56 Rhino throttle support?

Postby shdashley » Sun Nov 19, 2017 6:59 am

Help,
So I to am a New'bie with Flight gear. I have a windows 10 system with a Saitek X-56 Stick and Throttle and are having problems getting them to work.
The Wiki for input_device does not seem to have any detail on how to / where to find the correct info to use. ie Should I look/use the name that DEVICE MANAGER show ? Or what the 'Derives & Printers" tab shows for the game controls found there.
Image
or
Image

I've Loaded Saitek/ Logitech drivers. They all function from OS perspective, Both 'Devices & Printers" and Device Mgr report A-Ok functional status, and tests work fine for axes controls and buttons.

I've spent much time trying to decipher how FGFS detects peripherals like joysticks under Win OS. It does not seem to use the Micro$oft game controller interface. But interrogates the OS device list to search for these controllers.

The 2017.3.1 version of FGFS did not come with a js_demo.exe program. I downloaded one (size on disk is reported as 57,344 bytes, and the MD5 hash value is - ff5bed9219b54629795a680b8c005d2e )

Ive 'massaged' the /data/joystick.xml see below:-
<?xml version="1.0" encoding="utf-8"?>
<!--
To override or add "named" joystick drivers list them in
<js-named> entries with paths relative to the directory where
the joysticks.xml file resides (first example). Such "named"
drivers are only picked up if one of their <name>s matches
the joystick hardware (see output of the js_demo application).
These drivers have precedence over already existing drivers
with the same <name>. (You can also add a <name>default</name>
entry to the driver to make it the default choice.)

The second example shows how to load a driver directly to
position 0. This will then be used for the first joystick on
your system and FlightGear will not overwrite it.
-->
<PropertyList js="">
<!--
<js-named include="Input/Joysticks/Local/X45-modified.xml"/>

<js n="0" include="Input/Joysticks/Local/joystick_0.xml"/>
-->
<js n="0" include="Input/Joysticks/Saitek/X56-Rhino-Stick.xml" />
<js n="1" include="Input/Joysticks/Saitek/X56-Rhino-Throttle.xml" />
</PropertyList>


And the description files, To do this I copied the X52 file and Intend to modify this file for each Joystick. At this stage I'm just trying to get the correct description/ Device name so that FGFS 'sees' or can use the joysticks. Below is the what I've change in the <PropertyList> sections. And these files are located in the [ \FlightGear 2017.3.1\data\Input\Joysticks\Saitek ] directory :-
X56-Rhino-Stick.xml
-->
<PropertyList>
<name>Saitek Pro Flight X-56 Rhino Stick</name>
<name>Saitek X56 H.O.T.A.S. Stick (HID)</name>
<name>Saitek Pro Flight Space Series H.O.T.A.S.</name>

AND
X56-Rhino-Throttle.xml
<PropertyList>
<name>Saitek Pro Flight X-56 Rhino Throttle</name>
<name>Saitek X56 H.O.T.A.S. Throttle (HID)</name>
<name>Saitek Pro Flight Space Series H.O.T.A.S.</name>

this version of js_demo reports no js 0 but does see js1 (the throttle is seen as JS 1).
D:\Program Files\FlightGear 2017.3.1\bin>js_demo
WARNING: JS: Failed to read joystick name from registry
Joystick test program.
~~~~~~~~~~~~~~~~~~~~~~
Joystick 0 not detected
Joystick 1 is "Microsoft PC-joystick driver"
+---------------JS.0-----------------+---------------JS.1-----------------+
| ~~~ Not Detected ~~~ | Btns Ax:0 Ax:1 Ax:2 Ax:3 Ax:4 Ax:5 |
+------------------------------------+------------------------------------+
| . . . . . . . . . | 0000 +0.9 +0.9 ^C.4 +0.0 -0.0 -0.0 |

With the above config FGFS.exe does not detect any joysticks.
Image

But If I change the joystick.xml file entries from 'js' to 'js_name'. FGFS then does find the throttle, but no the stick. And js_demo is the same.
Image

Anyone with any X56 help or experience ?
Also I've seen some older posts saying to remove the Saitek (or Logitech) drivers. But why I would want to load and unload drive for each game or sim is bull shit. It should work or it's broken I figure.
Further If I remove the joystick.xml file (ie rename it) FGFS finds the throttle. And also if swap the 'preferred' device in the advance section of the "game controller' item in 'Devices and Printers' section. I can swap the throttle over to Js0 as seen by js_demo.
shdashley
 
Posts: 2
Joined: Sat Nov 11, 2017 7:43 am

Re: X56 Rhino throttle support?

Postby shdashley » Mon Nov 20, 2017 11:53 am

As a test, I installed FGFS onto my Ubuntu Laptop. And plugged both these controllers in, and reboot.
Yep all see via the FGFS joystick config tool. And they work.

So the issue is that FGFS doesn't integrate with the Windows game controller interface.
shdashley
 
Posts: 2
Joined: Sat Nov 11, 2017 7:43 am

Re: X56 Rhino throttle support?

Postby Johan G » Mon Jun 04, 2018 8:38 pm

This is a very late reply, and I use a Joystick from another brand, but I have experienced that installing the Windows driver and software not only changed the device name as seen by FlightGear but also rearranged the buttons. Unfortunately this was after I had carefully crafted three configuration xml files (one each for joystick, throttle and pedals).
Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Some YouTube videos
Johan G
Moderator
 
Posts: 6629
Joined: Fri Aug 06, 2010 6:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 2020.3.4
OS: Windows 10, 64 bit


Return to Hardware

Who is online

Users browsing this forum: No registered users and 3 guests