David Megginson wrote:
 > Please send me your bindings for your own device.  Under Linux, you
 > can find the device name with a command like.

This is a great feature.  Very cool.

Here are button and axis assignments for my Saitek X-45 under Linux.
My actually joystick.xml file is in a terribly hacked state, and
probably not useful to anyone. :)

Note weirdnesses: The first hat acts like a "normal" hat under linux
-- it maps to two axis values.  The other three hats look like buttons
to the HID driver.  Contrary to documentation, all four hats are fully
8-way capable (this is a good thing, obviously).  The axes are in a
bizarre order -- nothing at all like a normal joystick.  The
coordinate convention for the two rotary dials are different (this
actually isn't so strange, they are both "positive==forward" as your
fingers interpret them).

Name: "Saitek Saitek X45"

Axes:
  0 Roll (positive == right)
  1 Pitch (positive == down/back/nose-up)
  2 top "rotary dial" on the throttle (positive == CCW)
  3 Rocker switch ("rudder" control) on the throttle (positive == right)
  4 Throttle (positive == back/down/idle)
  5 Bottom "rotary dial" on the throttle (positive == CW)
  6 Lower right hat horizontal axis (positive == right)
  7 Lower right hat vertical axis (positive == down)

Buttons:
  0 Trigger
  1 Stick top "A" switch
  2 Stick top "B" switch
  3 Stick top "launch/fire" switch
  4 Throttle "D" switch
  5 Throttle "mouse" switch (tiny black thumb button)
  6 Stick "pinkie" switch
  7 Stick front "C" switch
  8 -+                                left position   ("M1")
  9  +- Throttle "mode" 3-way switch: middle position ("M2")
10 -+                                right position  ("M3")
11 -+                                left position
12  +- Throttle "Aux" 3-way switch:  middle position
13 -+                                right position
14 Upper left hat in "up" position
15 Upper left hat in "right" position
16 Upper left hat in "down" position
17 Upper left hat in "left" position
18 Throttle forefinger hat in "up/back" position
19 Throttle forefinger hat in "right" position
20 Throttle forefinger hat in "down/forward" position
21 Throttle forefinger hat in "left" position
22 Throttle thumb hat in "up" position
23 Throttle thumb hat in "right" position
24 Throttle thumb hat in "down" position
25 Throttle thumb hat in "left" position

-- 
Andrew J. Ross                NextBus Information Systems
Senior Software Engineer      Emeryville, CA
[EMAIL PROTECTED]              http://www.nextbus.com
"Men go crazy in conflagrations.  They only get better one by one."
  - Sting (misquoted)


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to