dcs-bios-api-mazeppa
Version:
DCS BIOS export parser that returns JSON data
420 lines (419 loc) • 1.23 MB
JSON
{
"AMPCD": {
"AMPCD_BRT_CTL": {
"category": "AMPCD",
"control_type": "limited_dial",
"description": "Brightness Control Knob",
"identifier": "AMPCD_BRT_CTL",
"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": 21704,
"description": "position of the potentiometer",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"AMPCD_CONT_SW": {
"category": "AMPCD",
"control_type": "selector",
"description": "Contrast Control Switch",
"identifier": "AMPCD_CONT_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": 21598,
"description": "selector position",
"mask": 3072,
"max_value": 2,
"shift_by": 10,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "limited_rotary"
},
"AMPCD_GAIN_SW": {
"category": "AMPCD",
"control_type": "selector",
"description": "Gain Control Switch",
"identifier": "AMPCD_GAIN_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": 21598,
"description": "selector position",
"mask": 12288,
"max_value": 2,
"shift_by": 12,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "limited_rotary"
},
"AMPCD_NIGHT_DAY": {
"category": "AMPCD",
"control_type": "selector",
"description": "Night/Day Brightness Selector",
"identifier": "AMPCD_NIGHT_DAY",
"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": 21592,
"description": "selector position",
"mask": 24576,
"max_value": 2,
"shift_by": 13,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "limited_rotary"
},
"AMPCD_PB_01": {
"api_variant": "momentary_last_position",
"category": "AMPCD",
"control_type": "selector",
"description": "Pushbutton 1",
"identifier": "AMPCD_PB_01",
"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": 21592,
"description": "selector position",
"mask": 32768,
"max_value": 1,
"shift_by": 15,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
},
"AMPCD_PB_02": {
"api_variant": "momentary_last_position",
"category": "AMPCD",
"control_type": "selector",
"description": "Pushbutton 2",
"identifier": "AMPCD_PB_02",
"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": 21598,
"description": "selector position",
"mask": 16384,
"max_value": 1,
"shift_by": 14,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
},
"AMPCD_PB_03": {
"api_variant": "momentary_last_position",
"category": "AMPCD",
"control_type": "selector",
"description": "Pushbutton 3",
"identifier": "AMPCD_PB_03",
"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": 21598,
"description": "selector position",
"mask": 32768,
"max_value": 1,
"shift_by": 15,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
},
"AMPCD_PB_04": {
"api_variant": "momentary_last_position",
"category": "AMPCD",
"control_type": "selector",
"description": "Pushbutton 4",
"identifier": "AMPCD_PB_04",
"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": 21612,
"description": "selector position",
"mask": 256,
"max_value": 1,
"shift_by": 8,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
},
"AMPCD_PB_05": {
"api_variant": "momentary_last_position",
"category": "AMPCD",
"control_type": "selector",
"description": "Pushbutton 5",
"identifier": "AMPCD_PB_05",
"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": 21612,
"description": "selector position",
"mask": 512,
"max_value": 1,
"shift_by": 9,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
},
"AMPCD_PB_06": {
"api_variant": "momentary_last_position",
"category": "AMPCD",
"control_type": "selector",
"description": "Pushbutton 6",
"identifier": "AMPCD_PB_06",
"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": 21612,
"description": "selector position",
"mask": 1024,
"max_value": 1,
"shift_by": 10,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
},
"AMPCD_PB_07": {
"api_variant": "momentary_last_position",
"category": "AMPCD",
"control_type": "selector",
"description": "Pushbutton 7",
"identifier": "AMPCD_PB_07",
"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": 21612,
"description": "selector position",
"mask": 2048,
"max_value": 1,
"shift_by": 11,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
},
"AMPCD_PB_08": {
"api_variant": "momentary_last_position",
"category": "AMPCD",
"control_type": "selector",
"description": "Pushbutton 8",
"identifier": "AMPCD_PB_08",
"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": 21612,
"description": "selector position",
"mask": 4096,
"max_value": 1,
"shift_by": 12,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
},
"AMPCD_PB_09": {
"api_variant": "momentary_last_position",
"category": "AMPCD",
"control_type": "selector",
"description": "Pushbutton 9",
"identifier": "AMPCD_PB_09",
"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": 21612,
"description": "selector position",
"mask": 8192,
"max_value": 1,
"shift_by": 13,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
},
"AMPCD_PB_10": {
"api_variant": "momentary_last_position",
"category": "AMPCD",
"control_type": "selector",
"description": "Pushbutton 10",
"identifier": "AMPCD_PB_10",
"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": 21612,
"description": "selector position",
"mask": 16384,
"max_value": 1,
"shift_by": 14,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
},
"AMPCD_PB_11": {
"api_variant": "momentary_last_position",
"category": "AMPCD",
"control_type": "selector",
"description": "Pushbutton 11",
"identifier": "AMPCD_PB_11",
"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"