Hi, I have a simple(?) question about the file keyboard.xml:
I have a property named /instrumentation/comm/ptt where I will show if a PTT key for the communication radio is pressed. For this I use the key "y" and this works fine (1=pressed, 0=unpressed). Now I want to use this key in combination with Shift (= the upper key Y) or Ctrl-Y to represent the value 2 in /instrumentation/comm/ptt. I tried the following but I never get the value 2: <key n="121"> <name>y</name> <desc>Radio PTT</desc> <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">1</value> </binding> </mod-up> </key> <key n="89"> <name>Y</name> <desc>Radio PTT NAV1-Mode</desc> <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> </key> Does anyone know what I am doing wrong? Regards, Holger -- ##### #### ## ## Holger Wirtz Phone : (+49 30) 884299-40 ## ## ## ### ## DFN-Verein Fax : (+49 30) 884299-70 ## ## #### ###### Stresemannstr. 78 E-Mail: [EMAIL PROTECTED] ## ## ## ## ### 10963 Berlin ##### ## ## ## GERMANY WWW : http://www.dfn.de GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC 0C51 E961 79E2 6685 9BCF ------------------------------------------------------------------------- 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