-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
I wanted a button to turn off/on HUD on my joystick so I took a look at the
keyboard binding for it:
<key n="104">
<name>h</name>
<desc>HUD Master Switch</desc>
<binding>
<command>nasal</command>
<script>aircraft.HUD.cycle_color()</script>
</binding>
</key>
Now I tried to insert that in my joystick config:
<!-- Button "B" -->
<button n="3">
<desc>HUD Master Switch</desc>
<binding>
<command>nasal</command>
<script>aircraft.HUD.cycle_color()</script>
</binding>
</button>
Yet I get this for button:
Nasal runtime error: No such member: HUD
at /input/joysticks/js/button[3]/binding, line 1
While the keyboard binding works fine.
Any idea what could cause this?
By the way this problem happens in both osg and plib and it worked just 2 days
ago in both.
Regards,
AnMaster
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFHWdA8WmK6ng/aMNkRCqo0AKCLajQ1xFzFY/6Gv9TZ+ESPUeNXUQCeOQGK
UsJr2pxbk8ftufQT2/BvHM4=
=Vfp4
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel