* Melchior FRANZ -- Monday 25 April 2005 08:47:
> The problem is that in joystick files I don't have the possibility to 
> initialize bit fields or define bit operations. Bindings in joystick
> files are executed in "random" order. None is guaranteed to be triggered
> at the very beginning. (Although, maybe the <mod-up> part of the first
> button binding could be used for that. I'll look into that ...)

Yes, this seems to work. Initialize joystick xml variables in the <mod-up>
part of button 0 and store them in, for instance, the "controls" namespace
(because bindings in joystick files don't even seem to have a common
namespace by themselves).

m.

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to