To: djgpp AT delorie DOT com Subject: Re: Allegro joystick questions Message-ID: <19970210.173501.4967.0.chambersb@juno.com> References: <5dlf2r$sh4 AT organ DOT cs DOT indiana DOT edu> From: chambersb AT juno DOT com (Benjamin D Chambers) Date: Mon, 10 Feb 1997 20:32:51 EST On 9 Feb 1997 16:20:27 -0500 jestandi AT cs DOT indiana DOT edu (Jeff Standish) writes: >I know that Allegro has some extra functions which work with the CH >FS-Pro >joystick. But will these work with any of the multi-function >joystick, or >only the FS-Pro? I ask because I've been checking out the local >stores, >non of which have the FS-Pro, but lots of other of the more elaborate >joysticks (like MS's Sidewinder). The only difference between one joystick and another is what they return for the different button states - ie, some use the the hihat as joystick 2 x & y axis, some use extra firing buttons by using joystick 2 button 1 and 2, et cetera... They'll all work, but you'll have to experiment to figure out which buttons return what. > >Alternatively, is it possible to get Allegro to work with two >joysticks? >I mainly ask because I've been writing a small space-flight >simulation, >which means 6 degrees of freedom, and overloading things with keysyms >and >the mouse gets awkward. Just out of curiosity, what are the 6 degrees of freedom? I know 5 (north/south, east/west, up/down, ana/kata, foreward/backward {the last two are time, but people seem to like to think of time as a geometric dimension }), but it's VERY hard to real-time more than 3 (at least the way I'm thinking). > >And a final question, is it common to get noise from the joystick? I >can >leave the joystick in the neutral position, not even touching it, and >every now and again the joystick position will jump to non-zero values >for >one update, and then return to zero. I'm assuming it's just noise >from >joystick, but I can't be certain. The same thing happens to me (so badly I can't use the joystick with some games {even with Allegro}), I wonder what it is? ...Chambers