* 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).


Flightgear-devel mailing list

Reply via email to