* Andy Ross -- Monday 25 April 2005 16:01:
> setprop(name, setbit(getprop(name), 2));
> Look more elegant than bit twiddling to my eyes...
I found a better solution already. Thanks.
> > The problem is that in joystick files I don't have the
> > possibility to initialize bit fields or define bit operations.
> Stick the bit stuff (which clearly isn't joystick-dependent) in
> globals.nas. Problem solved.
Sure. I just thought it would be appropriate to mention this on the
developers list, before I stuff anything anywhere. If this was off
topic, then I apologize.
Flightgear-devel mailing list