* Holger Wirtz -- Monday 18 June 2007:
> I tried the following but I never get the value 2:

>    <binding>
>      <command>property-assign</command>
>      <property>/instrumentation/comm/ptt</property>
>      <value type="int">0</value>
>    </binding>
>    <mod-up>
>      <binding>
>        <command>property-assign</command>
>        <property>/instrumentation/comm/ptt</property>
>        <value type="int">2</value>
>      </binding>
>    </mod-up>

You mixed up the normal (key-press) and the <mod-up> binding
(key-release). But even then you'd get a 2, whenever the key
is released.

m. 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to