mirror of
https://github.com/hawkeye-stan/msfs-popout-panel-manager.git
synced 2024-11-27 08:10:10 +00:00
389 lines
No EOL
12 KiB
JSON
389 lines
No EOL
12 KiB
JSON
{
|
|
"id": "KODIAK_ELECTRICAL_DEF",
|
|
"value": {
|
|
"panelSize": {
|
|
"width": 812,
|
|
"height": 377
|
|
},
|
|
"backgroundImage": "background_electrical.png",
|
|
"controlSize": {
|
|
"buttonBase": {
|
|
"width": 57,
|
|
"height": 36
|
|
},
|
|
"toggleButtonBase": {
|
|
"width": 50,
|
|
"height": 98
|
|
},
|
|
"masterBase": {
|
|
"width": 80,
|
|
"height": 141
|
|
},
|
|
"rockerBase": {
|
|
"width": 55,
|
|
"height": 115
|
|
},
|
|
"buttonStatusIndicator": {
|
|
"width": 4,
|
|
"height": 32
|
|
}
|
|
},
|
|
"panelControlDefinitions": [
|
|
{
|
|
"id": "btn_yd",
|
|
"type": "imageButton",
|
|
"image": "button_yd.png",
|
|
"left": 46,
|
|
"top": 74,
|
|
"controlSize": {
|
|
"$ref": "#value.controlSize.buttonBase"
|
|
},
|
|
"highlight": false,
|
|
"action": {
|
|
"touchActions": [
|
|
{
|
|
"action": "YAW_DAMPER_TOGGLE",
|
|
"actionType": "SimEventId"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "btn_yd_indicator",
|
|
"type": "bindableImageButton",
|
|
"left": 105,
|
|
"top": 73,
|
|
"controlSize": {
|
|
"$ref": "#value.controlSize.buttonStatusIndicator"
|
|
},
|
|
"highlight": false,
|
|
"binding": {
|
|
"variable": "AP_YAW_DAMPER_ON",
|
|
"images": [
|
|
{
|
|
"url": "button_status_on.png",
|
|
"val": 0
|
|
},
|
|
{
|
|
"url": "button_status_on.png",
|
|
"val": 1
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "btn_lvl",
|
|
"type": "imageButton",
|
|
"image": "button_lvl.png",
|
|
"left": 46,
|
|
"top": 134,
|
|
"controlSize": {
|
|
"$ref": "#value.controlSize.buttonBase"
|
|
},
|
|
"highlight": false,
|
|
"action": {
|
|
"touchActions": [
|
|
{
|
|
"action": "NO_ACTION",
|
|
"actionType": "SimEventId"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "btn_bank",
|
|
"type": "imageButton",
|
|
"image": "button_bank.png",
|
|
"left": 46,
|
|
"top": 196,
|
|
"controlSize": {
|
|
"$ref": "#value.controlSize.buttonBase"
|
|
},
|
|
"highlight": false,
|
|
"action": {
|
|
"touchActions": [
|
|
{
|
|
"action": "NO_ACTION",
|
|
"actionType": "SimEventId"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "btn_spd",
|
|
"type": "imageButton",
|
|
"image": "button_spd.png",
|
|
"left": 46,
|
|
"top": 258,
|
|
"controlSize": {
|
|
"$ref": "#value.controlSize.buttonBase"
|
|
},
|
|
"highlight": false,
|
|
"action": {
|
|
"touchActions": [
|
|
{
|
|
"action": "AP_SPD_VAR_SET",
|
|
"actionType": "SimEventId"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "btn_master",
|
|
"type": "bindableImageButton",
|
|
"left": 155,
|
|
"top": 98,
|
|
"controlSize": {
|
|
"$ref": "#value.controlSize.masterBase"
|
|
},
|
|
"highlight": false,
|
|
"action": {
|
|
"touchActions": [
|
|
{
|
|
"action": "TOGGLE_MASTER_BATTERY",
|
|
"actionType": "SimEventId"
|
|
}
|
|
]
|
|
},
|
|
"binding": {
|
|
"variable": "BATTERY_MASTER_ON",
|
|
"images": [
|
|
{
|
|
"url": "master_off.png",
|
|
"val": 0
|
|
},
|
|
{
|
|
"url": "master_on.png",
|
|
"val": 1
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "btn_avn_bus",
|
|
"type": "bindableImageButton",
|
|
"left": 274,
|
|
"top": 106,
|
|
"controlSize": {
|
|
"$ref": "#value.controlSize.rockerBase"
|
|
},
|
|
"highlight": false,
|
|
"action": {
|
|
"touchActions": [
|
|
{
|
|
"action": "TOGGLE_AVIONICS_MASTER",
|
|
"actionType": "SimEventId"
|
|
}
|
|
]
|
|
},
|
|
"binding": {
|
|
"variable": "AVIONICS_MASTER_ON",
|
|
"images": [
|
|
{
|
|
"url": "rocker_off.png",
|
|
"val": 0
|
|
},
|
|
{
|
|
"url": "rocker_on.png",
|
|
"val": 1
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "btn_aux_bus",
|
|
"type": "bindableImageButton",
|
|
"left": 363,
|
|
"top": 106,
|
|
"controlSize": {
|
|
"$ref": "#value.controlSize.rockerBase"
|
|
},
|
|
"highlight": false,
|
|
"action": {
|
|
"touchActions": [
|
|
{
|
|
"action": "(L:XMLVAR_AUX_Bus_ON) ++ 2 % (>L:XMLVAR_AUX_Bus_ON)",
|
|
"actionType": "SimVarCode"
|
|
}
|
|
]
|
|
},
|
|
"binding": {
|
|
"variable": "KODIAK_AUX_BUS",
|
|
"images": [
|
|
{
|
|
"url": "rocker_off.png",
|
|
"val": 0
|
|
},
|
|
{
|
|
"url": "rocker_on.png",
|
|
"val": 1
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "btn_aux_fuel_pump",
|
|
"type": "bindableImageButton",
|
|
"left": 472,
|
|
"top": 47,
|
|
"controlSize": {
|
|
"$ref": "#value.controlSize.toggleButtonBase"
|
|
},
|
|
"highlight": false,
|
|
"action": {
|
|
"touchActions": [
|
|
{
|
|
"action": "(L:SWS_FUEL_Switch_Pump_1) ++ 3 % (>L:SWS_FUEL_Switch_Pump_1)",
|
|
"actionType": "SimVarCode"
|
|
}
|
|
]
|
|
},
|
|
"binding": {
|
|
"variable": "KODIAK_FUEL_PUMP",
|
|
"images": [
|
|
{
|
|
"url": "toggle_down.png",
|
|
"val": 0
|
|
},
|
|
{
|
|
"url": "toggle_mid.png",
|
|
"val": 1
|
|
},
|
|
{
|
|
"url": "toggle_up.png",
|
|
"val": 2
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "btn_ignition",
|
|
"type": "bindableImageButton",
|
|
"left": 569,
|
|
"top": 47,
|
|
"controlSize": {
|
|
"$ref": "#value.controlSize.toggleButtonBase"
|
|
},
|
|
"highlight": false,
|
|
"action": {
|
|
"touchActions": [
|
|
{
|
|
"action": "(L:SWS_ENGINE_Switch_Ignition_1) ++ 2 % (>L:SWS_ENGINE_Switch_Ignition_1)",
|
|
"actionType": "SimVarCode"
|
|
}
|
|
]
|
|
},
|
|
"binding": {
|
|
"variable": "KODIAK_IGNITION",
|
|
"images": [
|
|
{
|
|
"url": "toggle_down.png",
|
|
"val": 0
|
|
},
|
|
{
|
|
"url": "toggle_up.png",
|
|
"val": 1
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "btn_starter",
|
|
"type": "bindableImageButton",
|
|
"left": 666,
|
|
"top": 47,
|
|
"controlSize": {
|
|
"$ref": "#value.controlSize.toggleButtonBase"
|
|
},
|
|
"highlight": false,
|
|
"action": {
|
|
"touchActions": [
|
|
{
|
|
"action": "(L:SWS_ENGINE_Switch_Starter_ThreeState_1) ++ 3 % (>L:SWS_ENGINE_Switch_Starter_ThreeState_1)",
|
|
"actionType": "SimVarCode"
|
|
}
|
|
]
|
|
},
|
|
"binding": {
|
|
"variable": "KODIAK_STARTER",
|
|
"images": [
|
|
{
|
|
"url": "toggle_down.png",
|
|
"val": 0
|
|
},
|
|
{
|
|
"url": "toggle_mid.png",
|
|
"val": 1
|
|
},
|
|
{
|
|
"url": "toggle_up.png",
|
|
"val": 2
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "btn_generator",
|
|
"type": "bindableImageButton",
|
|
"left": 569,
|
|
"top": 225,
|
|
"controlSize": {
|
|
"$ref": "#value.controlSize.toggleButtonBase"
|
|
},
|
|
"highlight": false,
|
|
"action": {
|
|
"touchActions": [
|
|
{
|
|
"action": "TOGGLE_ALTERNATOR1",
|
|
"actionType": "SimEventId"
|
|
}
|
|
]
|
|
},
|
|
"binding": {
|
|
"variable": "ALTERNATOR_1_ON",
|
|
"images": [
|
|
{
|
|
"url": "toggle_down.png",
|
|
"val": 0
|
|
},
|
|
{
|
|
"url": "toggle_up.png",
|
|
"val": 1
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "btn_alternator",
|
|
"type": "bindableImageButton",
|
|
"left": 666,
|
|
"top": 225,
|
|
"controlSize": {
|
|
"$ref": "#value.controlSize.toggleButtonBase"
|
|
},
|
|
"highlight": false,
|
|
"action": {
|
|
"touchActions": [
|
|
{
|
|
"action": "TOGGLE_ALTERNATOR2",
|
|
"actionType": "SimEventId"
|
|
}
|
|
]
|
|
},
|
|
"binding": {
|
|
"variable": "ALTERNATOR_2_ON",
|
|
"images": [
|
|
{
|
|
"url": "toggle_down.png",
|
|
"val": 0
|
|
},
|
|
{
|
|
"url": "toggle_up.png",
|
|
"val": 1
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |