Talk:Input device: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
No edit summary
Line 38: Line 38:
:: Andreas, please ask support at our forum: http://flightgear.org/forums We will be able to help you there. This wiki is only meant for documentation.
:: Andreas, please ask support at our forum: http://flightgear.org/forums We will be able to help you there. This wiki is only meant for documentation.
:: [[User:Gijs|Gijs]] 07:38, 7 August 2010 (UTC)
:: [[User:Gijs|Gijs]] 07:38, 7 August 2010 (UTC)
== Different configurations for the same stick depending on OS (Linux vs. Windows) ==
I'm using js_demo on Linux (here: Ubuntu Lucid x64 with joystick "SpeedLink Black Widow")
On Linux it's detected as "Mega World USB Game Controller", on Windows js_demo detects a "SL-6640 Black Widow Flightstick".
I define cooliehat left/right and up/down for view direction and view elevation. On Linux the numbering of the cooliehat axis differs from what is detected on Windows. This I can respect by using the number-tag in my XML. Additional view elevation is opposite in both OSs. Linux move up = axis 5 -> -1, move down = axis 5 -> +1; Windows move up = axis 7 -> +1, move down = axis 7 -> -1. How can I respect these differences in my config.xml?
Cheers<br>
--[[User:D-SKY1|D-SKY1]] 10:54, 7 August 2010 (UTC)

Revision as of 10:54, 7 August 2010

1.9.1 for Windows doesn't seem to include js_demo.exe at all. Does anyone know where I might find it?

Saitek x52 pro don't work under Ubuntu 9.10

Hello to everyone, I have an X52 pro flight control system.

I can't use it under ubuntu. I don't know why.
I have followed the FG getstartguide.pdf to check the device.

The commands that I've used to check:

1) andrea@andrea-IBM:~$ lsusb
Bus 004 Device 004: ID 06a3:0762 Saitek PLC

2) andrea@andrea-IBM:~$ dmesg | grep Joystick
[ 875.178360] generic-usb 0003:06A3:0762.0002: input,hidraw1: USB HID v1.11 Joystick [Saitek Saitek X52 Pro Flight Control System] on usb-0000:00:1a.1-1/input0
[ 983.266631] generic-usb 0003:06A3:0762.0003: input,hidraw1: USB HID v1.11 Joystick [Saitek Saitek X52 Pro Flight Control System] on usb-0000:00:1a.1-1/input0
[ 4743.317355] generic-usb 0003:06A3:0762.0004: input,hidraw1: USB HID v1.11 Joystick [Saitek Saitek X52 Pro Flight Control System] on usb-0000:00:1a.1-1/input0

3) Confirming that the driver recognizes your joystick
andrea@andrea-IBM:~$ js_demo
Joystick test program.

Joystick 0 not detected
Joystick 1 not detected
Joystick 2 not detected
Joystick 3 not detected
Joystick 4 not detected
Joystick 5 not detected
Joystick 6 not detected
Joystick 7 not detected


Can anyone help me? --Andreasantopietro 22:42, 6 August 2010 (UTC)

Andreas, please ask support at our forum: http://flightgear.org/forums We will be able to help you there. This wiki is only meant for documentation.
Gijs 07:38, 7 August 2010 (UTC)

Different configurations for the same stick depending on OS (Linux vs. Windows)

I'm using js_demo on Linux (here: Ubuntu Lucid x64 with joystick "SpeedLink Black Widow") On Linux it's detected as "Mega World USB Game Controller", on Windows js_demo detects a "SL-6640 Black Widow Flightstick". I define cooliehat left/right and up/down for view direction and view elevation. On Linux the numbering of the cooliehat axis differs from what is detected on Windows. This I can respect by using the number-tag in my XML. Additional view elevation is opposite in both OSs. Linux move up = axis 5 -> -1, move down = axis 5 -> +1; Windows move up = axis 7 -> +1, move down = axis 7 -> -1. How can I respect these differences in my config.xml? Cheers
--D-SKY1 10:54, 7 August 2010 (UTC)