dcs-bios-api-mazeppa
Version:
DCS BIOS export parser that returns JSON data
488 lines • 665 kB
JSON
{
"ACNIP": {
"ACNIP_MODE": {
"category": "ACNIP",
"control_type": "selector",
"description": "ACNIP Mode Switch",
"identifier": "ACNIP_MODE",
"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": 30790,
"description": "selector position",
"mask": 2048,
"max_value": 1,
"shift_by": 11,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "toggle_switch"
},
"ACNIP_RADIO_SEL": {
"category": "ACNIP",
"control_type": "selector",
"description": "ACNIP Radio Selector Switch",
"identifier": "ACNIP_RADIO_SEL",
"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": 30796,
"description": "selector position",
"mask": 1,
"max_value": 1,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "toggle_switch"
},
"KY1_MODE": {
"category": "ACNIP",
"control_type": "selector",
"description": "KY-1 Code/Mode Switch",
"identifier": "KY1_MODE",
"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": 30790,
"description": "selector position",
"mask": 16384,
"max_value": 1,
"shift_by": 14,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "toggle_switch"
},
"KY1_TYPE": {
"category": "ACNIP",
"control_type": "selector",
"description": "KY-1 Cipher Type Selector Switch",
"identifier": "KY1_TYPE",
"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": 30790,
"description": "selector position",
"mask": 4096,
"max_value": 1,
"shift_by": 12,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "toggle_switch"
},
"KY2_MODE": {
"category": "ACNIP",
"control_type": "selector",
"description": "KY-2 Code/Mode Switch",
"identifier": "KY2_MODE",
"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": 30790,
"description": "selector position",
"mask": 32768,
"max_value": 1,
"shift_by": 15,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "toggle_switch"
},
"KY2_TYPE": {
"category": "ACNIP",
"control_type": "selector",
"description": "KY-2 Cipher Type Selector Switch",
"identifier": "KY2_TYPE",
"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": 30790,
"description": "selector position",
"mask": 8192,
"max_value": 1,
"shift_by": 13,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "toggle_switch"
},
"KY58_CODE_CLEAR": {
"category": "ACNIP",
"control_type": "selector",
"description": "KY-58 Codes Clear Switch",
"identifier": "KY58_CODE_CLEAR",
"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": 30796,
"description": "selector position",
"mask": 2,
"max_value": 1,
"shift_by": 1,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "toggle_switch"
},
"KY58_CODE_LOAD": {
"category": "ACNIP",
"control_type": "selector",
"description": "KY-58 Remote Codes Load Switch RV1/OPR/RV2",
"identifier": "KY58_CODE_LOAD",
"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": 30796,
"description": "selector position",
"mask": 12,
"max_value": 2,
"shift_by": 2,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "limited_rotary"
}
},
"ACP": {
"ARM_CONTROL": {
"category": "ACP",
"control_type": "selector",
"description": "Armament Mode Control",
"identifier": "ARM_CONTROL",
"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": 30754,
"description": "selector position",
"mask": 3072,
"max_value": 2,
"shift_by": 10,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "limited_rotary"
},
"FUZE_CONTROL": {
"category": "ACP",
"control_type": "selector",
"description": "Fuzing Control",
"identifier": "FUZE_CONTROL",
"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": 30754,
"description": "selector position",
"mask": 12288,
"max_value": 2,
"shift_by": 12,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "limited_rotary"
},
"GND_IR_COOL": {
"category": "ACP",
"control_type": "selector",
"description": "Ground IR Cool Switch",
"identifier": "GND_IR_COOL",
"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": 30760,
"description": "selector position",
"mask": 32,
"max_value": 1,
"shift_by": 5,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "toggle_switch"
},
"JETT_MODE": {
"category": "ACP",
"control_type": "selector",
"description": "Jettison Mode Selector STA/STOR/SAFE/CMBT/Fuel",
"identifier": "JETT_MODE",
"inputs": [ {
"description": "switch to previous or next state",
"interface": "fixed_step"
}, {
"description": "set position",
"interface": "set_state",
"max_value": 4
} ],
"momentary_positions": "none",
"outputs": [ {
"address": 30758,
"description": "selector position",
"mask": 7168,
"max_value": 4,
"shift_by": 10,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "toggle_switch"
},
"JETT_STATION_1": {
"api_variant": "momentary_last_position",
"category": "ACP",
"control_type": "selector",
"description": "Select Station 1 Toggle",
"identifier": "JETT_STATION_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": 30758,
"description": "selector position",
"mask": 16384,
"max_value": 1,
"shift_by": 14,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
},
"JETT_STATION_2": {
"api_variant": "momentary_last_position",
"category": "ACP",
"control_type": "selector",
"description": "Select Station 2 Toggle",
"identifier": "JETT_STATION_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": 30758,
"description": "selector position",
"mask": 32768,
"max_value": 1,
"shift_by": 15,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
},
"JETT_STATION_3": {
"api_variant": "momentary_last_position",
"category": "ACP",
"control_type": "selector",
"description": "Select Station 3 Toggle",
"identifier": "JETT_STATION_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": 30760,
"description": "selector position",
"mask": 1,
"max_value": 1,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
},
"JETT_STATION_4": {
"api_variant": "momentary_last_position",
"category": "ACP",
"control_type": "selector",
"description": "Select Station 4 Toggle",
"identifier": "JETT_STATION_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": 30760,
"description": "selector position",
"mask": 2,
"max_value": 1,
"shift_by": 1,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
},
"JETT_STATION_5": {
"api_variant": "momentary_last_position",
"category": "ACP",
"control_type": "selector",
"description": "Select Station 5 Toggle",
"identifier": "JETT_STATION_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": 30760,
"description": "selector position",
"mask": 4,
"max_value": 1,
"shift_by": 2,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
},
"JETT_STATION_6": {
"api_var