1
0
Fork 0
fgdata/Aircraft/Instruments-3d/FG1000/fg1000-multikey.xml
Stuart Buchanan c234f22daa FG1000: Quality of life improvements
- Pre-load nearest airports to remove significant freeze when the
NearestAirports page is accessed for the first time.
- Update multikey support to provide easy access to commonly used MFD
pages and access to softkeys.
2019-02-22 16:32:55 +00:00

445 lines
8.9 KiB
XML

<PropertyList>
<!-- FG1000 commands -->
<key n="112">
<name>p</name>
<desc>FG1000 PFD</desc>
<key n="49">
<name>1</name>
<desc>Softkey 1</desc>
<exit/>
<binding>
<command>FG1000SoftKeyPushed</command>
<device>1</device>
<offset>1</offset>
</binding>
</key>
<key n="50">
<name>2</name>
<desc>Softkey 2</desc>
<exit/>
<binding>
<command>FG1000SoftKeyPushed</command>
<device>1</device>
<offset>2</offset>
</binding>
</key>
<key n="51">
<name>3</name>
<desc>Softkey 3</desc>
<exit/>
<binding>
<command>FG1000SoftKeyPushed</command>
<device>1</device>
<offset>3</offset>
</binding>
</key>
<key n="52">
<name>4</name>
<desc>Softkey 4</desc>
<exit/>
<binding>
<command>FG1000SoftKeyPushed</command>
<device>1</device>
<offset>4</offset>
</binding>
</key>
<key n="53">
<name>5</name>
<desc>Softkey 5</desc>
<exit/>
<binding>
<command>FG1000SoftKeyPushed</command>
<device>1</device>
<offset>5</offset>
</binding>
</key>
<key n="54">
<name>6</name>
<desc>Softkey 6</desc>
<exit/>
<binding>
<command>FG1000SoftKeyPushed</command>
<device>1</device>
<offset>6</offset>
</binding>
</key>
<key n="55">
<name>7</name>
<desc>Softkey 7</desc>
<exit/>
<binding>
<command>FG1000SoftKeyPushed</command>
<device>1</device>
<offset>7</offset>
</binding>
</key>
<key n="56">
<name>8</name>
<desc>Softkey 8</desc>
<exit/>
<binding>
<command>FG1000SoftKeyPushed</command>
<device>1</device>
<offset>8</offset>
</binding>
</key>
<key n="57">
<name>9</name>
<desc>Softkey 9</desc>
<exit/>
<binding>
<command>FG1000SoftKeyPushed</command>
<device>1</device>
<offset>9</offset>
</binding>
</key>
<key n="58">
<name>10</name>
<desc>Softkey 10</desc>
<exit/>
<binding>
<command>FG1000SoftKeyPushed</command>
<device>1</device>
<offset>10</offset>
</binding>
</key>
<key n="59">
<name>11</name>
<desc>Softkey 11</desc>
<exit/>
<binding>
<command>FG1000SoftKeyPushed</command>
<device>1</device>
<offset>11</offset>
</binding>
</key>
<key n="60">
<name>12</name>
<desc>Softkey 12</desc>
<exit/>
<binding>
<command>FG1000SoftKeyPushed</command>
<device>1</device>
<offset>12</offset>
</binding>
</key>
<key n="115">
<name>s</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>
<key n="109">
<name>m</name>
<desc>FG1000 MFD</desc>
<key n="49">
<name>1</name>
<desc>Softkey 1</desc>
<exit/>
<binding>
<command>FG1000SoftKeyPushed</command>
<device>2</device>
<offset>1</offset>
</binding>
</key>
<key n="50">
<name>2</name>
<desc>Softkey 2</desc>
<exit/>
<binding>
<command>FG1000SoftKeyPushed</command>
<device>2</device>
<offset>2</offset>
</binding>
</key>
<key n="51">
<name>3</name>
<desc>Softkey 3</desc>
<exit/>
<binding>
<command>FG1000SoftKeyPushed</command>
<device>2</device>
<offset>3</offset>
</binding>
</key>
<key n="52">
<name>4</name>
<desc>Softkey 4</desc>
<exit/>
<binding>
<command>FG1000SoftKeyPushed</command>
<device>2</device>
<offset>4</offset>
</binding>
</key>
<key n="53">
<name>5</name>
<desc>Softkey 5</desc>
<exit/>
<binding>
<command>FG1000SoftKeyPushed</command>
<device>2</device>
<offset>5</offset>
</binding>
</key>
<key n="54">
<name>6</name>
<desc>Softkey 6</desc>
<exit/>
<binding>
<command>FG1000SoftKeyPushed</command>
<device>2</device>
<offset>6</offset>
</binding>
</key>
<key n="55">
<name>7</name>
<desc>Softkey 7</desc>
<exit/>
<binding>
<command>FG1000SoftKeyPushed</command>
<device>2</device>
<offset>7</offset>
</binding>
</key>
<key n="56">
<name>8</name>
<desc>Softkey 8</desc>
<exit/>
<binding>
<command>FG1000SoftKeyPushed</command>
<device>2</device>
<offset>8</offset>
</binding>
</key>
<key n="57">
<name>9</name>
<desc>Softkey 9</desc>
<exit/>
<binding>
<command>FG1000SoftKeyPushed</command>
<device>2</device>
<offset>9</offset>
</binding>
</key>
<key n="58">
<name>10</name>
<desc>Softkey 10</desc>
<exit/>
<binding>
<command>FG1000SoftKeyPushed</command>
<device>2</device>
<offset>10</offset>
</binding>
</key>
<key n="59">
<name>11</name>
<desc>Softkey 11</desc>
<exit/>
<binding>
<command>FG1000SoftKeyPushed</command>
<device>2</device>
<offset>11</offset>
</binding>
</key>
<key n="60">
<name>12</name>
<desc>Softkey 12</desc>
<exit/>
<binding>
<command>FG1000SoftKeyPushed</command>
<device>2</device>
<offset>12</offset>
</binding>
</key>
<key n="115">
<name>s</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 n="97">
<name>a</name>
<desc>Airport Information</desc>
<exit/>
<binding>
<command>nasal</command>
<script>
var args = {'device': 2,
'group': 'WPTPageGroup',
'page' : 'AirportInfo'};
fgcommand("FG1000SelectPage", props.Node.new(args));
</script>
</binding>
</key>
<key n="99">
<name>c</name>
<desc>Checklists</desc>
<exit/>
<binding>
<command>nasal</command>
<script>
var args = {'device': 2,
'group': 'LstPageGroup',
'page' : 'Checklist'};
fgcommand("FG1000SelectPage", props.Node.new(args));
</script>
</binding>
</key>
<key n="102">
<name>f</name>
<desc>Flightplan</desc>
<exit/>
<binding>
<command>nasal</command>
<script>
var args = {'device': 2,
'group': 'FPLPageGroup',
'page' : 'ActiveFlightPlanNarrow'};
fgcommand("FG1000SelectPage", props.Node.new(args));
</script>
</binding>
</key>
<key n="110">
<name>n</name>
<desc>Nearest Airport</desc>
<exit/>
<binding>
<command>nasal</command>
<script>
var args = {'device': 2,
'group': 'NrstPageGroup',
'page' : 'NearestAirports'};
fgcommand("FG1000SelectPage", props.Node.new(args));
</script>
</binding>
</key>
<key n="109">
<name>m</name>
<desc>Map</desc>
<exit/>
<binding>
<command>nasal</command>
<script>
var args = {'device': 2,
'group': 'MapPageGroup',
'page' : 'NavigationMap'};
fgcommand("FG1000SelectPage", props.Node.new(args));
</script>
</binding>
</key>
<key n="110">
<name>n</name>
<desc>Nearest Airport</desc>
<exit/>
<binding>
<command>nasal</command>
<script>
var args = {'device': 2,
'group': 'NrstPageGroup',
'page' : 'NearestAirports'};
fgcommand("FG1000SelectPage", props.Node.new(args));
</script>
</binding>
</key>
<key n="115">
<name>s</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 n="116">
<name>t</name>
<desc>Traffic Map</desc>
<exit/>
<binding>
<command>nasal</command>
<script>
var args = {'device': 2,
'group': 'MapPageGroup',
'page' : 'TrafficMap'};
fgcommand("FG1000SelectPage", props.Node.new(args));
</script>
</binding>
</key>
</key>
</PropertyList>