dcs-bios-api-mazeppa
Version:
DCS BIOS export parser that returns JSON data
426 lines • 1.5 MB
JSON
{
"ABRIS Display": {
"ABRIS_BRIGHTNESS": {
"category": "ABRIS Display",
"control_type": "limited_dial",
"description": "Brightness knob",
"identifier": "ABRIS_BRIGHTNESS",
"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": 6410,
"description": "position of the potentiometer",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ABRIS_BTN_1": {
"api_variant": "momentary_last_position",
"category": "ABRIS Display",
"control_type": "selector",
"description": "Button 1",
"identifier": "ABRIS_BTN_1",
"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": 6294,
"description": "selector position",
"mask": 32768,
"max_value": 1,
"shift_by": 15,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
},
"ABRIS_BTN_2": {
"api_variant": "momentary_last_position",
"category": "ABRIS Display",
"control_type": "selector",
"description": "Button 2",
"identifier": "ABRIS_BTN_2",
"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": 6298,
"description": "selector position",
"mask": 256,
"max_value": 1,
"shift_by": 8,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
},
"ABRIS_BTN_3": {
"api_variant": "momentary_last_position",
"category": "ABRIS Display",
"control_type": "selector",
"description": "Button 3",
"identifier": "ABRIS_BTN_3",
"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": 6298,
"description": "selector position",
"mask": 512,
"max_value": 1,
"shift_by": 9,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
},
"ABRIS_BTN_4": {
"api_variant": "momentary_last_position",
"category": "ABRIS Display",
"control_type": "selector",
"description": "Button 4",
"identifier": "ABRIS_BTN_4",
"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": 6298,
"description": "selector position",
"mask": 1024,
"max_value": 1,
"shift_by": 10,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
},
"ABRIS_BTN_5": {
"api_variant": "momentary_last_position",
"category": "ABRIS Display",
"control_type": "selector",
"description": "Button 5",
"identifier": "ABRIS_BTN_5",
"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": 6298,
"description": "selector position",
"mask": 2048,
"max_value": 1,
"shift_by": 11,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
},
"ABRIS_CURSOR_BTN": {
"api_variant": "momentary_last_position",
"category": "ABRIS Display",
"control_type": "selector",
"description": "Cursor button",
"identifier": "ABRIS_CURSOR_BTN",
"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": 6298,
"description": "selector position",
"mask": 4096,
"max_value": 1,
"shift_by": 12,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
},
"ABRIS_CURSOR_ROT": {
"category": "ABRIS Display",
"control_type": "variable_step_dial",
"description": "Cursor rotary",
"identifier": "ABRIS_CURSOR_ROT",
"inputs": [ {
"description": "rotate the knob",
"interface": "variable_step",
"max_value": 65535,
"suggested_step": 3200
} ],
"outputs": [ {
"address": 6408,
"description": "rotation of the knob (not the value being manipulated!)",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ABRIS_POWER": {
"category": "ABRIS Display",
"control_type": "selector",
"description": "Power switch",
"identifier": "ABRIS_POWER",
"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": 6298,
"description": "selector position",
"mask": 8192,
"max_value": 1,
"shift_by": 13,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "toggle_switch"
}
},
"ADF": {
"ADF_CHANNEL": {
"category": "ADF",
"control_type": "selector",
"description": "Channel selector",
"identifier": "ADF_CHANNEL",
"inputs": [ {
"description": "switch to previous or next state",
"interface": "fixed_step"
}, {
"description": "set position",
"interface": "set_state",
"max_value": 9
} ],
"momentary_positions": "none",
"outputs": [ {
"address": 6458,
"description": "selector position",
"mask": 30720,
"max_value": 9,
"shift_by": 11,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "infinite_rotary"
},
"ADF_CMPS_ANT": {
"category": "ADF",
"control_type": "selector",
"description": "COMPASS-ANTENNA modes switch",
"identifier": "ADF_CMPS_ANT",
"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": 6458,
"description": "selector position",
"mask": 32768,
"max_value": 1,
"shift_by": 15,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "toggle_switch"
},
"ADF_TEST": {
"api_variant": "momentary_last_position",
"category": "ADF",
"control_type": "selector",
"description": "Self-test button",
"identifier": "ADF_TEST",
"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": 6474,
"description": "selector position",
"mask": 2,
"max_value": 1,
"shift_by": 1,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
},
"ADF_TLF_TLG": {
"category": "ADF",
"control_type": "selector",
"description": "TLF-TLG modes switch",
"identifier": "ADF_TLF_TLG",
"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": 6474,
"description": "selector position",
"mask": 1,
"max_value": 1,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "toggle_switch"
},
"ADF_VOLUME": {
"category": "ADF",
"control_type": "limited_dial",
"description": "Volume knob",
"identifier": "ADF_VOLUME",
"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": 6476,
"description": "position of the potentiometer",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
}
},
"ADI": {
"ADI_AIRSPEED_DEV": {
"category": "ADI",
"control_type": "analog_gauge",
"description": "Airspeed deviation",
"identifier": "ADI_AIRSPEED_DEV",
"inputs": [ ],
"outputs": [ {
"address": 6182,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ADI_ALT_DEV": {
"category": "ADI",
"control_type": "analog_gauge",
"description": "Altitude deviation",
"identifier": "ADI_ALT_DEV",
"inputs": [ ],
"outputs": [ {
"address": 6186,
"description": "gauge position",
"mask": 65535,
"max