dcs-bios-api-mazeppa
Version:
DCS BIOS export parser that returns JSON data
568 lines (567 loc) • 992 kB
JSON
{
"ADI": {
"ADI_BILLE": {
"category": "ADI",
"control_type": "analog_gauge",
"description": "O - ADI - Bille",
"identifier": "ADI_BILLE",
"inputs": [ ],
"outputs": [ {
"address": 29200,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ADI_BKL_SW": {
"category": "ADI",
"control_type": "selector",
"description": "I - ADI - Backlight Switch",
"identifier": "ADI_BKL_SW",
"inputs": [ {
"description": "switch to previous or next state",
"interface": "fixed_step"
}, {
"description": "set position",
"interface": "set_state",
"max_value": 1
}, {
"argument": "TOGGLE",
"description": "Toggle switch state",
"interface": "action"
} ],
"momentary_positions": "none",
"outputs": [ {
"address": 29184,
"description": "selector position",
"mask": 2,
"max_value": 1,
"shift_by": 1,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "toggle_switch"
},
"ADI_CAGE_LEV": {
"category": "ADI",
"control_type": "selector",
"description": "I - ADI - Cage Lever",
"identifier": "ADI_CAGE_LEV",
"inputs": [ {
"description": "switch to previous or next state",
"interface": "fixed_step"
}, {
"description": "set position",
"interface": "set_state",
"max_value": 1
}, {
"argument": "TOGGLE",
"description": "Toggle switch state",
"interface": "action"
} ],
"momentary_positions": "none",
"outputs": [ {
"address": 29184,
"description": "selector position",
"mask": 1,
"max_value": 1,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "toggle_switch"
},
"ADI_COMPAS": {
"category": "ADI",
"control_type": "analog_gauge",
"description": "O - ADI - Compass Position",
"identifier": "ADI_COMPAS",
"inputs": [ ],
"outputs": [ {
"address": 29190,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ADI_FLAG": {
"category": "ADI",
"control_type": "analog_gauge",
"description": "O - ADI - Flag",
"identifier": "ADI_FLAG",
"inputs": [ ],
"outputs": [ {
"address": 29192,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ADI_ILS_H": {
"category": "ADI",
"control_type": "analog_gauge",
"description": "O - ADI - Horizontal ILS Needle",
"identifier": "ADI_ILS_H",
"inputs": [ ],
"outputs": [ {
"address": 29198,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ADI_ILS_V": {
"category": "ADI",
"control_type": "analog_gauge",
"description": "O - ADI - Vertical ILS Needle",
"identifier": "ADI_ILS_V",
"inputs": [ ],
"outputs": [ {
"address": 29196,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ADI_LIGHT": {
"category": "ADI",
"control_type": "analog_gauge",
"description": "O - ADI - Voyant Ambre sous",
"identifier": "ADI_LIGHT",
"inputs": [ ],
"outputs": [ {
"address": 29194,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ADI_PITCH": {
"category": "ADI",
"control_type": "analog_gauge",
"description": "O - ADI - Pitch Position",
"identifier": "ADI_PITCH",
"inputs": [ ],
"outputs": [ {
"address": 29186,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ADI_ROLL": {
"category": "ADI",
"control_type": "analog_gauge",
"description": "O - ADI - Roll Position",
"identifier": "ADI_ROLL",
"inputs": [ ],
"outputs": [ {
"address": 29188,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
}
},
"AIR FLOW PANEL": {
"CONES_OP_SW": {
"category": "AIR FLOW PANEL",
"control_type": "selector",
"description": "I - Intake Cones Operation Switch (SOURIS)",
"identifier": "CONES_OP_SW",
"inputs": [ {
"description": "switch to previous or next state",
"interface": "fixed_step"
}, {
"description": "set position",
"interface": "set_state",
"max_value": 1
}, {
"argument": "TOGGLE",
"description": "Toggle switch state",
"interface": "action"
} ],
"momentary_positions": "none",
"outputs": [ {
"address": 29184,
"description": "selector position",
"mask": 8,
"max_value": 1,
"shift_by": 3,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "toggle_switch"
},
"INTAKE_SLATS_OP_SW": {
"category": "AIR FLOW PANEL",
"control_type": "selector",
"description": "I - Intake Slats Operation Switch (PELLES)",
"identifier": "INTAKE_SLATS_OP_SW",
"inputs": [ {
"description": "switch to previous or next state",
"interface": "fixed_step"
}, {
"description": "set position",
"interface": "set_state",
"max_value": 1
}, {
"argument": "TOGGLE",
"description": "Toggle switch state",
"interface": "action"
} ],
"momentary_positions": "none",
"outputs": [ {
"address": 29184,
"description": "selector position",
"mask": 4,
"max_value": 1,
"shift_by": 2,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "toggle_switch"
},
"SLATS_OP_SW": {
"category": "AIR FLOW PANEL",
"control_type": "selector",
"description": "I - Slats Operation Switch (BECS)",
"identifier": "SLATS_OP_SW",
"inputs": [ {
"description": "switch to previous or next state",
"interface": "fixed_step"
}, {
"description": "set position",
"interface": "set_state",
"max_value": 2
} ],
"momentary_positions": "none",
"outputs": [ {
"address": 29184,
"description": "selector position",
"mask": 48,
"max_value": 2,
"shift_by": 4,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "limited_rotary"
}
},
"ALTIMETER": {
"ALT_BARO_CENTS": {
"category": "ALTIMETER",
"control_type": "analog_gauge",
"description": "O - ALT - x100 Baro Press display",
"identifier": "ALT_BARO_CENTS",
"inputs": [ ],
"outputs": [ {
"address": 29214,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ALT_BARO_ONES": {
"category": "ALTIMETER",
"control_type": "analog_gauge",
"description": "O - ALT - x1 Baro Press display",
"identifier": "ALT_BARO_ONES",
"inputs": [ ],
"outputs": [ {
"address": 29218,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ALT_BARO_TENS": {
"category": "ALTIMETER",
"control_type": "analog_gauge",
"description": "O - ALT - x10 Baro Press display",
"identifier": "ALT_BARO_TENS",
"inputs": [ ],
"outputs": [ {
"address": 29216,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ALT_BARO_THOUS": {
"category": "ALTIMETER",
"control_type": "analog_gauge",
"description": "O - ALT - x1000 Baro Press display",
"identifier": "ALT_BARO_THOUS",
"inputs": [ ],
"outputs": [ {
"address": 29212,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ALT_CENTS": {
"category": "ALTIMETER",
"control_type": "analog_gauge",
"description": "O - ALT - x100 ft display",
"identifier": "ALT_CENTS",
"inputs": [ ],
"outputs": [ {
"address": 29210,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ALT_KCENTS": {
"category": "ALTIMETER",
"control_type": "analog_gauge",
"description": "O - ALT - x10 000 ft display",
"identifier": "ALT_KCENTS",
"inputs": [ ],
"outputs": [ {
"address": 29206,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ALT_NEEDLE": {
"category": "ALTIMETER",
"control_type": "analog_gauge",
"description": "O - ALT - Needle",
"identifier": "ALT_NEEDLE",
"inputs": [ ],
"outputs": [ {
"address": 29204,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ALT_THOUS": {
"category": "ALTIMETER",
"control_type": "analog_gauge",
"description": "O - ALT - x1000 ft display",
"identifier": "ALT_THOUS",
"inputs": [ ],
"outputs": [ {
"address": 29208,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"BARO_PRESS_CALIB": {
"api_variant": "multiturn",
"category": "ALTIMETER",
"control_type": "analog_dial",
"description": "I - ALT - Barometric Pressure Calibration",
"identifier": "BARO_PRESS_CALIB",
"inputs": [ {
"description": "turn the dial left or right",
"interface": "variable_step",
"max_value": 65535,
"suggested_step": 3200
} ],
"outputs": [ {
"address": 29202,
"description": "the rotation of the knob in the cockpit (not the value that is controlled by this knob!)",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "_KNOB_POS",
"type": "integer"
} ]
}
},
"AOA": {
"AOA_FLAG": {
"category": "AOA",
"control_type": "analog_gauge",
"description": "O - AOA - Flag",
"identifier": "AOA_FLAG",
"inputs": [ ],
"outputs": [ {
"address": 29222,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"AOA_POS": {
"category": "AOA",
"control_type": "analog_gauge",
"description": "O - AOA - Indicator",
"identifier": "AOA_POS",
"inputs": [ ],
"outputs": [ {
"address": 29220,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
}
},
"AUDIO PANEL": {
"AMPLIS_SEL_KNOB": {
"category": "AUDIO PANEL",
"control_type": "selector",
"description": "I - AMPLIS Selector Knob",
"identifier": "AMPLIS_SEL_KNOB",
"inputs": [ {
"description": "switch to previous or next state",
"interface": "fixed_step"
}, {
"description": "set position",
"interface": "set_state",
"max_value": 1
}, {
"argument": "TOGGLE",
"description": "Toggle switch state",
"interface": "action"
} ],
"momentary_positions": "none",
"outputs": [ {
"address": 29184,
"description": "selector position",
"mask": 64,
"max_value": 1,
"shift_by": 6,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "toggle_switch"
},
"MAGIC_TONE_VOL_KNOB": {
"category": "AUDIO PANEL",
"control_type": "limited_dial",
"description": "I - MAGIC Tone Volume Knob",
"identifier": "MAGIC_TONE_VOL_KNOB",
"inputs": [ {
"description": "set the position of the dial",
"interface": "set_state",
"max_value": 65535
}, {
"description": "turn the dial left or right",
"interface": "variable_step",
"max_value": 65535,
"suggested_step": 3200
} ],
"outputs": [ {
"address": 29228,
"description": "position of the potentiometer",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"MRK_SIG_VOL_KNOB": {
"category": "AUDIO PANEL",
"control_type": "limited_dial",
"description": "I - Marker Signal Volume Knob",
"identifier": "MRK_SIG_VOL_KNOB",
"inputs": [ {
"description": "set the position of the dial",
"interface": "set_state",
"max_value": 65535
}, {
"description": "turn the dial left or right",
"interface": "variable_step",
"max_value": 65535,
"suggested_step": 3200
} ],
"outputs": [ {
"address": 29232,
"description": "position of the potentiometer",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"TAC_VOL_KNOB": {
"category": "AUDIO PANEL",
"control_type": "limited_dial",
"description": "I - TACAN Volume Knob",
"identifier": "TAC_VOL_KNOB",
"inputs": [ {
"description": "set the position of the dial",
"interface": "set_state",
"max_value": 65535
}, {
"description": "turn the dial left or right",
"interface": "variable_step",
"max_value": 65535,
"suggested_step": 3200
} ],
"outputs": [ {
"address": 29226,
"description": "position of the potentiometer",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"TB_APP_VOL_KNOB": {
"category": "AUDIO PANEL",