1
0
Fork 0
mirror of https://github.com/hawkeye-stan/msfs-popout-panel-manager.git synced 2024-11-30 01:30:11 +00:00
msfs-popout-panel-manager/ReactClient/public/config/profiles/pmdg-737-700/radio/PopoutPanelDefinition.json
2022-07-23 15:23:32 -04:00

774 lines
No EOL
26 KiB
JSON

{
"id": "PMDG_737_700_RADIO_DEF",
"value": {
"panelSize": {
"width": 995,
"height": 485
},
"backgroundImage": "background_radio.png",
"controlSize": {
"radioDisplay": {
"width": 115,
"height": 49
},
"pushButton": {
"width": 50,
"height": 32
},
"pushButtonOff": {
"width": 45,
"height": 27
},
"pushButtonTransfer": {
"width": 48,
"height": 28
},
"comIndicator": {
"width": 29,
"height": 8
},
"knob1": {
"width": 63,
"height": 63
},
"knob2": {
"width": 92,
"height": 92
},
"test": {
"width": 40,
"height": 40
}
},
"panelControlDefinitions": [
{
"id": "display_active_com1",
"type": "digitDisplay",
"left": 69,
"top": 63,
"controlSize": {
"$ref": "#value.controlSize.radioDisplay"
},
"highlight": false,
"binding": {
"variable": "PMDG_B737_COM1_ACTIVE_FREQ",
"numberOfDisplayDigit": 7,
"decimalPlaces": 3,
"padZeroes": true,
"color": "rgb(255, 121, 10, 1)"
}
},
{
"id": "display_standby_com1",
"type": "digitDisplay",
"left": 303,
"top": 63,
"controlSize": {
"$ref": "#value.controlSize.radioDisplay"
},
"highlight": false,
"binding": {
"variable": "PMDG_B737_COM1_STANDBY_FREQ",
"numberOfDisplayDigit": 7,
"decimalPlaces": 3,
"padZeroes": true,
"color": "rgb(255, 121, 10, 1)"
}
},
{
"id": "display_active_com2",
"type": "digitDisplay",
"left": 569,
"top": 63,
"controlSize": {
"$ref": "#value.controlSize.radioDisplay"
},
"highlight": false,
"binding": {
"variable": "PMDG_B737_COM2_ACTIVE_FREQ",
"numberOfDisplayDigit": 7,
"decimalPlaces": 3,
"padZeroes": true,
"color": "rgb(255, 121, 10, 1)"
}
},
{
"id": "display_standby_com2",
"type": "digitDisplay",
"left": 802,
"top": 63,
"controlSize": {
"$ref": "#value.controlSize.radioDisplay"
},
"highlight": false,
"binding": {
"variable": "PMDG_B737_COM2_STANDBY_FREQ",
"numberOfDisplayDigit": 7,
"decimalPlaces": 3,
"padZeroes": true,
"color": "rgb(255, 121, 10, 1)"
}
},
{
"id": "display_active_nav1",
"type": "digitDisplay",
"left": 69,
"top": 306,
"controlSize": {
"$ref": "#value.controlSize.radioDisplay"
},
"highlight": false,
"binding": {
"variable": "PMDG_B737_NAV1_ACTIVE_FREQ",
"numberOfDisplayDigit": 6,
"decimalPlaces": 2,
"padZeroes": true,
"color": "rgb(255, 121, 10, 1)"
}
},
{
"id": "display_standby_nav1",
"type": "digitDisplay",
"left": 303,
"top": 306,
"controlSize": {
"$ref": "#value.controlSize.radioDisplay"
},
"highlight": false,
"binding": {
"variable": "PMDG_B737_NAV1_STANDBY_FREQ",
"numberOfDisplayDigit": 6,
"decimalPlaces": 2,
"padZeroes": true,
"color": "rgb(255, 121, 10, 1)"
}
},
{
"id": "display_active_nav2",
"type": "digitDisplay",
"left": 569,
"top": 306,
"controlSize": {
"$ref": "#value.controlSize.radioDisplay"
},
"highlight": false,
"binding": {
"variable": "PMDG_B737_NAV2_ACTIVE_FREQ",
"numberOfDisplayDigit": 6,
"decimalPlaces": 2,
"padZeroes": true,
"color": "rgb(255, 121, 10, 1)"
}
},
{
"id": "display_standby_nav2",
"type": "digitDisplay",
"left": 802,
"top": 306,
"controlSize": {
"$ref": "#value.controlSize.radioDisplay"
},
"highlight": false,
"binding": {
"variable": "PMDG_B737_NAV2_STANDBY_FREQ",
"numberOfDisplayDigit": 6,
"decimalPlaces": 2,
"padZeroes": true,
"color": "rgb(255, 121, 10, 1)"
}
},
{
"id": "hf_sens_1_knob",
"type": "imageButton",
"image": "knob.png",
"left": 58,
"top": 152,
"controlSize": {
"$ref": "#value.controlSize.knob1"
},
"highlight": true,
"action": {
"touchActions": [
{
"action": "None",
"actionType": "SimEventId"
}
],
"useEncoder": true,
"encoderAction": {
"encoderLowerCW": "None",
"encoderLowerCCW": "None",
"encoderUpperCW": "None",
"encoderUpperCCW": "None",
"actionType": "SimVarCode"
}
}
},
{
"id": "com_1_knob",
"type": "imageButton",
"image": "knob2.png",
"left": 384,
"top": 130,
"controlSize": {
"$ref": "#value.controlSize.knob2"
},
"highlight": true,
"action": {
"touchActions": [
{
"action": "PMDG_B737_COM1_RADIO_SELECT",
"actionType": "SimEventId"
}
],
"useDualEncoder": true,
"encoderAction": {
"encoderLowerCW": "COM_RADIO_WHOLE_INC",
"encoderLowerCCW": "COM_RADIO_WHOLE_DEC",
"encoderUpperCW": "COM_RADIO_FRACT_INC",
"encoderUpperCCW": "COM_RADIO_FRACT_DEC",
"actionType": "SimEventId"
}
}
},
{
"id": "com_1_transfer",
"type": "imageButton",
"image": "transfer.png",
"left": 223,
"top": 61,
"controlSize": {
"$ref": "#value.controlSize.pushButtonTransfer"
},
"highlight": false,
"action": {
"touchActions": [
{
"action": "COM_STBY_RADIO_SWAP",
"actionType": "SimEventId"
}
],
"encoderAction": {
"encoderLowerCW": "COM_RADIO_WHOLE_INC",
"encoderLowerCCW": "COM_RADIO_WHOLE_DEC",
"encoderUpperCW": "COM_RADIO_FRACT_INC",
"encoderUpperCCW": "COM_RADIO_FRACT_DEC",
"actionType": "SimEventId"
}
}
},
{
"id": "com_1_off",
"type": "imageButton",
"image": "button_off.png",
"left": 75,
"top": 116,
"controlSize": {
"$ref": "#value.controlSize.pushButtonOff"
},
"highlight": false,
"action": {
"touchActions": [
{
"action": "None",
"actionType": "SimVarCode"
}
]
}
},
{
"id": "com_1_indicatior",
"type": "image",
"image": "indicator.png",
"left": 163,
"top": 121,
"controlSize": {
"$ref": "#value.controlSize.comIndicator"
},
"highlight": false
},
{
"id": "com_1_vhf1",
"type": "imageButton",
"image": "button_vhf1.png",
"left": 152,
"top": 137,
"controlSize": {
"$ref": "#value.controlSize.pushButton"
},
"highlight": false,
"action": {
"touchActions": [
{
"action": "None",
"actionType": "SimVarCode"
}
]
}
},
{
"id": "com_1_vhf2",
"type": "imageButton",
"image": "button_vhf2.png",
"left": 222,
"top": 137,
"controlSize": {
"$ref": "#value.controlSize.pushButton"
},
"highlight": false,
"action": {
"touchActions": [
{
"action": "None",
"actionType": "SimVarCode"
}
]
}
},
{
"id": "com_1_vhf3",
"type": "imageButton",
"image": "button_vhf3.png",
"left": 292,
"top": 137,
"controlSize": {
"$ref": "#value.controlSize.pushButton"
},
"highlight": false,
"action": {
"touchActions": [
{
"action": "None",
"actionType": "SimVarCode"
}
]
}
},
{
"id": "com_1_hf1",
"type": "imageButton",
"image": "button_hf1.png",
"left": 152,
"top": 188,
"controlSize": {
"$ref": "#value.controlSize.pushButton"
},
"highlight": false,
"action": {
"touchActions": [
{
"action": "None",
"actionType": "SimVarCode"
}
]
}
},
{
"id": "com_1_am",
"type": "imageButton",
"image": "button_am.png",
"left": 222,
"top": 188,
"controlSize": {
"$ref": "#value.controlSize.pushButton"
},
"highlight": false,
"action": {
"touchActions": [
{
"action": "None",
"actionType": "SimVarCode"
}
]
}
},
{
"id": "com_1_hf2",
"type": "imageButton",
"image": "button_hf2.png",
"left": 292,
"top": 188,
"controlSize": {
"$ref": "#value.controlSize.pushButton"
},
"highlight": false,
"action": {
"touchActions": [
{
"action": "None",
"actionType": "SimVarCode"
}
]
}
},
{
"id": "hf_sens_2_knob",
"type": "imageButton",
"image": "knob.png",
"left": 557,
"top": 152,
"controlSize": {
"$ref": "#value.controlSize.knob1"
},
"highlight": true,
"action": {
"touchActions": [
{
"action": "None",
"actionType": "SimEventId"
}
],
"useEncoder": true,
"encoderAction": {
"encoderLowerCW": "None",
"encoderLowerCCW": "None",
"encoderUpperCW": "None",
"encoderUpperCCW": "None",
"actionType": "SimVarCode"
}
}
},
{
"id": "com_2_knob",
"type": "imageButton",
"image": "knob2.png",
"left": 883,
"top": 130,
"controlSize": {
"$ref": "#value.controlSize.knob2"
},
"highlight": true,
"action": {
"touchActions": [
{
"action": "PMDG_B737_COM2_RADIO_SELECT",
"actionType": "SimEventId"
}
],
"useDualEncoder": true,
"encoderAction": {
"encoderLowerCW": "COM2_RADIO_WHOLE_INC",
"encoderLowerCCW": "COM2_RADIO_WHOLE_DEC",
"encoderUpperCW": "COM2_RADIO_FRACT_INC",
"encoderUpperCCW": "COM2_RADIO_FRACT_DEC",
"actionType": "SimEventId"
}
}
},
{
"id": "com_2_transfer",
"type": "imageButton",
"image": "transfer.png",
"left": 723,
"top": 61,
"controlSize": {
"$ref": "#value.controlSize.pushButtonTransfer"
},
"highlight": false,
"action": {
"touchActions": [
{
"action": "COM2_RADIO_SWAP",
"actionType": "SimEventId"
}
],
"encoderAction": {
"encoderLowerCW": "COM2_RADIO_WHOLE_INC",
"encoderLowerCCW": "COM2_RADIO_WHOLE_DEC",
"encoderUpperCW": "COM2_RADIO_FRACT_INC",
"encoderUpperCCW": "COM2_RADIO_FRACT_DEC",
"actionType": "SimEventId"
}
}
},
{
"id": "com_2_off",
"type": "imageButton",
"image": "button_off.png",
"left": 574,
"top": 116,
"controlSize": {
"$ref": "#value.controlSize.pushButtonOff"
},
"highlight": false,
"action": {
"touchActions": [
{
"action": "None",
"actionType": "SimVarCode"
}
]
}
},
{
"id": "com_2_indicatior",
"type": "image",
"image": "indicator.png",
"left": 733,
"top": 121,
"controlSize": {
"$ref": "#value.controlSize.comIndicator"
},
"highlight": false
},
{
"id": "com_2_vhf1",
"type": "imageButton",
"image": "button_vhf1.png",
"left": 652,
"top": 137,
"controlSize": {
"$ref": "#value.controlSize.pushButton"
},
"highlight": false,
"action": {
"touchActions": [
{
"action": "None",
"actionType": "SimVarCode"
}
]
}
},
{
"id": "com_2_vhf2",
"type": "imageButton",
"image": "button_vhf2.png",
"left": 722,
"top": 137,
"controlSize": {
"$ref": "#value.controlSize.pushButton"
},
"highlight": false,
"action": {
"touchActions": [
{
"action": "None",
"actionType": "SimVarCode"
}
]
}
},
{
"id": "com_2_vhf3",
"type": "imageButton",
"image": "button_vhf3.png",
"left": 792,
"top": 137,
"controlSize": {
"$ref": "#value.controlSize.pushButton"
},
"highlight": false,
"action": {
"touchActions": [
{
"action": "None",
"actionType": "SimVarCode"
}
]
}
},
{
"id": "com_2_hf1",
"type": "imageButton",
"image": "button_hf1.png",
"left": 652,
"top": 188,
"controlSize": {
"$ref": "#value.controlSize.pushButton"
},
"highlight": false,
"action": {
"touchActions": [
{
"action": "None",
"actionType": "SimVarCode"
}
]
}
},
{
"id": "com_2_am",
"type": "imageButton",
"image": "button_am.png",
"left": 722,
"top": 188,
"controlSize": {
"$ref": "#value.controlSize.pushButton"
},
"highlight": false,
"action": {
"touchActions": [
{
"action": "None",
"actionType": "SimVarCode"
}
]
}
},
{
"id": "com_2_hf2",
"type": "imageButton",
"image": "button_hf2.png",
"left": 792,
"top": 188,
"controlSize": {
"$ref": "#value.controlSize.pushButton"
},
"highlight": false,
"action": {
"touchActions": [
{
"action": "None",
"actionType": "SimVarCode"
}
]
}
},
{
"id": "nav_1_test",
"type": "imageButton",
"image": "test.png",
"left": 110,
"top": 404,
"controlSize": {
"$ref": "#value.controlSize.test"
},
"highlight": false,
"action": {
"touchActions": [
{
"action": "None",
"actionType": "SimEventId"
}
]
}
},
{
"id": "nav_1_knob",
"type": "imageButton",
"image": "knob2.png",
"left": 384,
"top": 374,
"controlSize": {
"$ref": "#value.controlSize.knob2"
},
"highlight": true,
"action": {
"touchActions": [
{
"action": "PMDG_B737_NAV1_RADIO_SELECT",
"actionType": "SimEventId"
}
],
"useDualEncoder": true,
"encoderAction": {
"encoderLowerCW": "NAV1_RADIO_WHOLE_INC",
"encoderLowerCCW": "NAV1_RADIO_WHOLE_DEC",
"encoderUpperCW": "NAV1_RADIO_FRACT_INC",
"encoderUpperCCW": "NAV1_RADIO_FRACT_DEC",
"actionType": "SimEventId"
}
}
},
{
"id": "nav_1_transfer",
"type": "imageButton",
"image": "transfer.png",
"left": 223,
"top": 307,
"controlSize": {
"$ref": "#value.controlSize.pushButtonTransfer"
},
"highlight": false,
"action": {
"touchActions": [
{
"action": "NAV1_RADIO_SWAP",
"actionType": "SimEventId"
}
],
"encoderAction": {
"encoderLowerCW": "NAV1_RADIO_WHOLE_INC",
"encoderLowerCCW": "NAV1_RADIO_WHOLE_DEC",
"encoderUpperCW": "NAV1_RADIO_FRACT_INC",
"encoderUpperCCW": "NAV1_RADIO_FRACT_DEC",
"actionType": "SimEventId"
}
}
},
{
"id": "nav_2_test",
"type": "imageButton",
"image": "test.png",
"left": 610,
"top": 405,
"controlSize": {
"$ref": "#value.controlSize.test"
},
"highlight": false,
"action": {
"touchActions": [
{
"action": "None",
"actionType": "SimEventId"
}
]
}
},
{
"id": "nav_2_knob",
"type": "imageButton",
"image": "knob2.png",
"left": 883,
"top": 374,
"controlSize": {
"$ref": "#value.controlSize.knob2"
},
"highlight": true,
"action": {
"touchActions": [
{
"action": "PMDG_B737_NAV2_RADIO_SELECT",
"actionType": "SimEventId"
}
],
"useDualEncoder": true,
"encoderAction": {
"encoderLowerCW": "NAV2_RADIO_WHOLE_INC",
"encoderLowerCCW": "NAV2_RADIO_WHOLE_DEC",
"encoderUpperCW": "NAV2_RADIO_FRACT_INC",
"encoderUpperCCW": "NAV2_RADIO_FRACT_DEC",
"actionType": "SimEventId"
}
}
},
{
"id": "nav_2_transfer",
"type": "imageButton",
"image": "transfer.png",
"left": 723,
"top": 307,
"controlSize": {
"$ref": "#value.controlSize.pushButtonTransfer"
},
"highlight": false,
"action": {
"touchActions": [
{
"action": "NAV2_RADIO_SWAP",
"actionType": "SimEventId"
}
],
"encoderAction": {
"encoderLowerCW": "NAV2_RADIO_WHOLE_INC",
"encoderLowerCCW": "NAV2_RADIO_WHOLE_DEC",
"encoderUpperCW": "NAV2_RADIO_FRACT_INC",
"encoderUpperCCW": "NAV2_RADIO_FRACT_DEC",
"actionType": "SimEventId"
}
}
}
]
}
}