[haiku-bugs] [Haiku] #7647: [usb_hid] Joystick axes not working fully for several controllers

  • From: "umccullough" <trac@xxxxxxxxxxxx>
  • Date: Sun, 05 Jun 2011 23:11:49 -0000

#7647: [usb_hid] Joystick axes not working fully for several controllers
-----------------------------------+------------------------------
 Reporter:  umccullough            |        Owner:  mmlr
     Type:  bug                    |       Status:  new
 Priority:  normal                 |    Milestone:  R1
Component:  Drivers/USB            |      Version:  R1/Development
 Keywords:  usb_hid joystick axis  |   Blocked By:
 Blocking:                         |  Has a Patch:  0
 Platform:  All                    |
-----------------------------------+------------------------------
 I have tested 3 USB game devices on my haiku test machine using gcc4
 r41943 and the "stickit" app. mmlr asked me to attach the usb_hid
 descriptors for all of them to a single ticket.

 The first one is a Logitech Wingman Cordless gamepad with dual analog
 sticks, 11 buttons, a throttle slider, and a DPad. It also has rumble
 support.

 On Windows 7, the default mode for this gamepad shows the DPad as a hat,
 with the right-side analog stick being the X/Y axis. The lack of hat
 support in haiku still means this doesn't show up. If i switch modes,
 however, the DPad becomes the (non-analog) X/Y axis in Haiku. Everything
 else seems to work fine.

 The second is a Gravis XTerminator Force gamepad:

 This one has a single analog force-feedback floating DPad. WIthout the
 force-feedback "spring", it's dificult to center the DPad, but Windows 7
 suffers the same issue, unless I install a custom driver (or a game has
 built-in support for this feature).

 It also has 10 buttons (which all work), and two analog "flippers" or
 "rudders" which form a single axis on Windows 7 (each flipper moves the
 axis a different direction from center).

 The other problem I have with this gamepad on Haiku is that the DPad
 movement doesn't do much - it just moves a little bit in each direction.
 This gamepad has a "Precision" button which is supposed to reduce the
 distance of the DPad movement, but it seems regardless of the state of
 this mode, it only moves a little bit (as if the Precision mode is always
 enabled).

 The third controller is a Great Planes "RealFlight" R/C Flight Simulator
 controller - also known as an "Interlink Plus" controller:

 This looks like an R/C plane controller with two analog sticks, and an
 analog knob and several toggles/buttons.

 AFAICT, all 5 of the buttons work in Haiku, as do all of the axes on the
 controller. The only real issue with this controller is that an additional
 axis shows up on Haiku's stickit which doesn't show up in Windows 7. I
 can't figure out what this is for, as nothing makes it move (it's just
 stuck in the far left position on the slider).

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7647>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: