* 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. m. _______________________________________________ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d