* Holger Wirtz -- Wednesday 25 October 2006 11:27: > I want to set a property when pressing the key > and I want to reset the property when releasing the key.
<key n="67"> <name>C</name> <desc>PTT key</desc> <binding> <command>nasal</command> <script>print("C key pressed")</script> </binding> <mod-up> <binding> <command>nasal</command> <script>print("C key released")</script> </binding> </mod-up> </key> > If I need a new property: Where can I define this? Wherever you want. Command line: --prop:/foo/bar=1 Nasal: setprop("/foo/bar", 1); props.globals.getNode("/foo/bar", 1).setBoolValue(1); C++: fgSetBool("/foo/bar", true); ... m. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel