mirror of
https://github.com/hawkeye-stan/msfs-popout-panel-manager.git
synced 2024-11-24 06:40:09 +00:00
80 lines
No EOL
2.5 KiB
JSON
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
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |