On Thu, Jul 12, 2007 at 11:35:10PM +0200, Melchior FRANZ wrote: > I would like to redefine two keys: > > now then > ---------------------------------------------- > SPACE starter/prop browser PTT > s-key toggle 2D panels starter > S-key -- toggle 2D panels [...]
That redefinition would be great (because there is not need for me patching the keyboard.xml for the PTT key anymore :-) ). If you create a patch, could you do it something like this: --- cut here --- <key n="32"> <name>SPACE</name> <desc>PTT Key for COM</desc> <binding> <command>property-assign</command> <property>/instrumentation/comm/ptt</property> <value type="int">1</value> </binding> <mod-up> <binding> <command>property-assign</command> <property>/instrumentation/comm/ptt</property> <value type="int">0</value> </binding> </mod-up> <mod-shift> <binding> <command>property-assign</command> <property>/instrumentation/comm/ptt</property> <value type="int">2</value> </binding> <mod-up> <binding> <command>property-assign</command> <property>/instrumentation/comm/ptt</property> <value type="int">0</value> </binding> </mod-up> </mod-shift> </key> --- cut here --- This makes it possible for fgcom to switch through the COMs and NAVs - something like a switchboard simulation. I am currently implementing the code for this feature in fgcom. After finishing you can switch through COM1, NAV1, COM2 and NAV2 (if you select the NAVs with a VOR-frequency you get the morsecode of the NAV name) if they are serviceable. BTW: Is there is any code that uses the "serviceable" property from the COMs and NAVs? And a little bit of this topic: Is there an easy way to show the selected COM/NAV (e.rgb. printing the selected COM/NAV for 5 seconds on the screen)? 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