[airstrike] State of the Airstrike in SVN?

Erik Auerswald auerswal at unix-ag.uni-kl.de
Sun Jul 23 16:23:14 EDT 2006


Hi,

On Sat, Jul 22, 2006 at 10:39:57PM +0300, Eero Tamminen wrote:
> On Saturday 22 July 2006 10:49, Erik Auerswald wrote:
> > > I just updated to latest SVN version of Airstrike and to my delight
> > > noticed that there were some updates.  However, when running the game,
> > > players biplane acts as somebody were constantly pressing up+left keys.
> > >  Is this a bug in the new code or just glitch at my end?  :-)
> >
> > This sounds to me like you have joysticks activated. Sometimes joysticks
> > on linux need to be moved once to get to the neutral state.
> 
> Thanks, that fixed it!   It's bit strange thought as the attached joystick
> is not an analog one, but a gamepad, so it should by default be in
> neutral state...

Well, I don't even know if this happens with analog sticks as well, I
normally see it with digital ones.

> It would be nice if one could define which player(s) have the joystick(s),
> it's a bit redundant to guide same sprite both with joystick and arrow
> keys. :-)

You can define this in the share/defaults.conf file.

player1_control {
  joy_no 2
  joy_threshold 32767
}
player2_control {
  joy_no 3
  joy_threshold 16000
}

You can use joy_no -1 to disable joystick control for a player. The
joy_threshold option is not needed for digital joysticks (and set to a
reasonable default value).

Erik



More information about the airstrike mailing list