Re: [AD] Problems with gamepad on MacOS X and general thoughts

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Upon investigating this, my joystick reports GD_X, GD_Y, GD_Z, GD_Rz. I
guess there's not much we can do about it then.


That was my experience too, whenever my gamepad is switched to DirectInput mode in any OS

When I check the USB HID standard, joysticks seem much better
described there

The Mac OS X code already does read the HID device directly and still gets
it wrong (as with my joystick reporting Z's for the second stick...)

From what I saw, gamepad support in HID is somewhat of a mess. For example, it simply does not have support for two thumbsticks. The fact that device reports second axis of the second thumbstick as Rx, Ry or Rz is actually a violation of HID specification, because R* axes should be reported for "rotational axes". But there is no other way to report the second thumbstick, as there is no Usage reserved for it. Maybe I'm misreading something here, but I don't think directly reading HID is a solution to all our problems, unfortunately :(





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/