1
0
Fork 0
mirror of https://github.com/hawkeye-stan/msfs-popout-panel-manager.git synced 2024-11-23 14:20:10 +00:00
msfs-popout-panel-manager/ReactClient/public/config/profiles/kodiak/fuel/PopoutPanelDefinition.json
2022-07-23 15:23:32 -04:00

80 lines
No EOL
2.5 KiB
JSON

{
"id": "KODIAK_FUEL_DEF",
"value": {
"panelSize": {
"width": 440,
"height": 226
},
"backgroundImage": "background_fuel.png",
"controlSize": {
"fuelLever": {
"width": 158,
"height": 158
}
},
"panelControlDefinitions": [
{
"id": "btn_fuel_left",
"type": "bindableImageButton",
"left": 50,
"top": 45,
"controlSize": {
"$ref": "#value.controlSize.fuelLever"
},
"highlight": false,
"action": {
"touchActions": [
{
"action": "(L:SWS_Kodiak_TankSelector_1) ++ 2 % (>L:SWS_Kodiak_TankSelector_1)",
"actionType": "SimVarCode"
}
]
},
"binding": {
"variable": "KODIAK_FUEL_SHUTOFF_LEFT",
"images": [
{
"url": "fuel_lever_left_off.png",
"val": 0
},
{
"url": "fuel_lever_left_on.png",
"val": 1
}
]
}
},
{
"id": "btn_fuel_right",
"type": "bindableImageButton",
"left": 232,
"top": 45,
"controlSize": {
"$ref": "#value.controlSize.fuelLever"
},
"highlight": false,
"action": {
"touchActions": [
{
"action": "(L:SWS_Kodiak_TankSelector_2) ++ 2 % (>L:SWS_Kodiak_TankSelector_2)",
"actionType": "SimVarCode"
}
]
},
"binding": {
"variable": "KODIAK_FUEL_SHUTOFF_RIGHT",
"images": [
{
"url": "fuel_lever_right_off.png",
"val": 0
},
{
"url": "fuel_lever_right_on.png",
"val": 1
}
]
}
}
]
}
}