FG1000 - multikey support.
This commit is contained in:
parent
a7f6e2ecc4
commit
7da1fd08d3
1 changed files with 44 additions and 0 deletions
44
Aircraft/Instruments-3d/FG1000/fg1000-multikey.xml
Normal file
44
Aircraft/Instruments-3d/FG1000/fg1000-multikey.xml
Normal file
|
@ -0,0 +1,44 @@
|
|||
<PropertyList>
|
||||
<!-- FG1000 commands -->
|
||||
<key n="71">
|
||||
<name>G</name>
|
||||
<desc>FG1000</desc>
|
||||
<key n="901">
|
||||
<name>P</name>
|
||||
<desc>PFD String Input</desc>
|
||||
<key n="903">
|
||||
<name>%s</name>
|
||||
<desc>PFD String input : %s</desc>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
var args = {'device': 1,
|
||||
'notification': fg1000.FASCIA.STRING_INPUT,
|
||||
'offset' : arg[0]};
|
||||
|
||||
fgcommand("FG1000HardKeyPushed", props.Node.new(args));
|
||||
</script>
|
||||
</binding>
|
||||
</key>
|
||||
</key>
|
||||
<key n="902">
|
||||
<name>M</name>
|
||||
<desc>MFD String Input</desc>
|
||||
<key n="903">
|
||||
<name>%s</name>
|
||||
<desc>MFD String input : %s</desc>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
var args = {'device': 2,
|
||||
'notification': fg1000.FASCIA.STRING_INPUT,
|
||||
'offset' : arg[0]};
|
||||
|
||||
fgcommand("FG1000HardKeyPushed", props.Node.new(args));
|
||||
</script>
|
||||
</binding>
|
||||
</key>
|
||||
</key>
|
||||
</key>
|
||||
|
||||
</PropertyList>
|
Loading…
Add table
Reference in a new issue