Re: [Plib-devel] joystick jungle
Brought to you by:
sjbaker
From: Bram S. <br...@sa...> - 2005-03-11 19:44:02
|
People, Thanks for the feedback on the joystick issues. To clarify one thing: I'm not addressing the issue of how to map functionality onto switches. At first, I only want to address the issue on retreiving joystick specifics. Function mapping is app-specific. The flightgear xml merely covers the mapping bit, (which is based on implicit knowledge on the device specifics, and is flightsim oriented). Steve's suggestion about wiki sounds reasonable, and I agree very much on the problem on nomenclature. I've come up with this scenario: Users are asked to run a tool. The tool queries the joystick name, and sends it to a server. The server checks if the name is known, if it is, and at least two identical reports are submitted for it, thank the user for participating. If the joystick is unknown, or has a single unconfirmed report, Ask the user: - turn wheel if present. - move joysticks up-right, going from leftmost js to rightmost js. - press pedals, going from leftmost pedal to rightmost pedal. - pull shoulder-buttons going from left to right, - etc... The util will be able to check axis-polarity and axis-resolution (if only -32768 0 and 32767 are seen, its digital). Each month or so, the db content could be made available in a plib header or something. Bram |