[Plib-devel] joystick jungle
Brought to you by:
sjbaker
From: Bram S. <br...@sa...> - 2005-03-09 17:47:32
|
sgHello() I'm struggling with the lack of joystick/gamepad/wheel standardization. There does not seem to be a manner by which I can get to know more about an axis for a linux joystick. Maybe this kind of stuff is in directx, but I want this kind of info on joystick axes: - Is axis part of a 2DOF joystick? - Is axis an accelerator pedal? - Is axis a brake padel? - Is axis combined brake/accel? - If axis is up/down joystick, is up positive or negative? - Is the axis analog? (Strangely enough, digital pads are treated as axes, not buttons) I assume no API exists for getting this info. And if this is the case, I think a 'joystick database' indexed by the USB device name would be a valuable asset for many projects. Does anyone on this list know whether such a db exists? And if not, I think I want to start one. I dont care if at first it will only contain a handful of the 1000s of current gamepads. The alternative is probably to burden the user by configuring his joystick which seems ugly to me. Bram |