dcs-bios-api-mazeppa
Version:
DCS BIOS export parser that returns JSON data
473 lines (472 loc) • 1.73 MB
JSON
{
"AAP": {
"AAP_CDUPWR": {
"category": "AAP",
"control_type": "selector",
"description": "CDU Power",
"identifier": "AAP_CDUPWR",
"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": 4346,
"description": "selector position",
"mask": 16384,
"max_value": 1,
"shift_by": 14,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "toggle_switch"
},
"AAP_EGIPWR": {
"category": "AAP",
"control_type": "selector",
"description": "EGI Power",
"identifier": "AAP_EGIPWR",
"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": 4346,
"description": "selector position",
"mask": 32768,
"max_value": 1,
"shift_by": 15,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "toggle_switch"
},
"AAP_PAGE": {
"category": "AAP",
"control_type": "selector",
"description": "PAGE OTHER - POSITION - STEER - WAYPT",
"identifier": "AAP_PAGE",
"inputs": [ {
"description": "switch to previous or next state",
"interface": "fixed_step"
}, {
"description": "set position",
"interface": "set_state",
"max_value": 3
} ],
"momentary_positions": "none",
"outputs": [ {
"address": 4346,
"description": "selector position",
"mask": 12288,
"max_value": 3,
"shift_by": 12,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "limited_rotary"
},
"AAP_STEER": {
"category": "AAP",
"control_type": "selector",
"description": "Toggle Steerpoint",
"identifier": "AAP_STEER",
"inputs": [ {
"description": "set the switch position -- 0 = held left/down, 1 = centered, 2 = held right/up",
"interface": "set_state",
"max_value": 2
} ],
"momentary_positions": "first_and_last",
"outputs": [ {
"address": 4346,
"description": "selector position",
"mask": 3072,
"max_value": 2,
"shift_by": 10,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "rocker_switch"
},
"AAP_STEERPT": {
"category": "AAP",
"control_type": "selector",
"description": "STEERPT FLTPLAN - MARK - MISSION",
"identifier": "AAP_STEERPT",
"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": 4346,
"description": "selector position",
"mask": 768,
"max_value": 2,
"shift_by": 8,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "limited_rotary"
}
},
"ADI": {
"ADI_ATTWARN_FLAG": {
"category": "ADI",
"control_type": "analog_gauge",
"description": "ADI Attitude Warning Flag",
"identifier": "ADI_ATTWARN_FLAG",
"inputs": [ ],
"outputs": [ {
"address": 4154,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ADI_BANK": {
"category": "ADI",
"control_type": "analog_gauge",
"description": "ADI Bank",
"identifier": "ADI_BANK",
"inputs": [ ],
"outputs": [ {
"address": 4148,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ADI_CRSWARN_FLAG": {
"category": "ADI",
"control_type": "analog_gauge",
"description": "ADI Course Warning Flag",
"identifier": "ADI_CRSWARN_FLAG",
"inputs": [ ],
"outputs": [ {
"address": 4156,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ADI_GS": {
"category": "ADI",
"control_type": "analog_gauge",
"description": "ADI Glide Slope Indicator",
"identifier": "ADI_GS",
"inputs": [ ],
"outputs": [ {
"address": 4164,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ADI_GSWARN_FLAG": {
"category": "ADI",
"control_type": "analog_gauge",
"description": "ADI Glide Slope Warning Flag",
"identifier": "ADI_GSWARN_FLAG",
"inputs": [ ],
"outputs": [ {
"address": 4158,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ADI_PITCH": {
"category": "ADI",
"control_type": "analog_gauge",
"description": "ADI Pitch",
"identifier": "ADI_PITCH",
"inputs": [ ],
"outputs": [ {
"address": 4146,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ADI_PITCH_TRIM": {
"category": "ADI",
"control_type": "limited_dial",
"description": "ADI Pitch Trim",
"identifier": "ADI_PITCH_TRIM",
"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": 4446,
"description": "position of the potentiometer",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ADI_SLIP": {
"category": "ADI",
"control_type": "analog_gauge",
"description": "ADI Slipball Position",
"identifier": "ADI_SLIP",
"inputs": [ ],
"outputs": [ {
"address": 4150,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ADI_STEER_BANK": {
"category": "ADI",
"control_type": "analog_gauge",
"description": "ADI Bank Steering Bar",
"identifier": "ADI_STEER_BANK",
"inputs": [ ],
"outputs": [ {
"address": 4160,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ADI_STEER_PITCH": {
"category": "ADI",
"control_type": "analog_gauge",
"description": "ADI Pitch Steering Bar",
"identifier": "ADI_STEER_PITCH",
"inputs": [ ],
"outputs": [ {
"address": 4162,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
},
"ADI_TURN": {
"category": "ADI",
"control_type": "analog_gauge",
"description": "ADI Turn Needle",
"identifier": "ADI_TURN",
"inputs": [ ],
"outputs": [ {
"address": 4152,
"description": "gauge position",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
}
},
"AHCP": {
"AHCP_ALT_SCE": {
"category": "AHCP",
"control_type": "selector",
"description": "Altimeter Source RADAR - DELTA - BARO",
"identifier": "AHCP_ALT_SCE",
"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": 4328,
"description": "selector position",
"mask": 1536,
"max_value": 2,
"shift_by": 9,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "limited_rotary"
},
"AHCP_CICU": {
"category": "AHCP",
"control_type": "selector",
"description": "CICU OFF - ON",
"identifier": "AHCP_CICU",
"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": 4328,
"description": "selector position",
"mask": 8192,
"max_value": 1,
"shift_by": 13,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "toggle_switch"
},
"AHCP_GUNPAC": {
"category": "AHCP",
"control_type": "selector",
"description": "GUN/PAC GUNARM - SAFE - ARM",
"identifier": "AHCP_GUNPAC",
"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": 4328,
"description": "selector position",
"mask": 48,
"max_value": 2,
"shift_by": 4,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "limited_rotary"
},
"AHCP_HUD_DAYNIGHT": {
"category": "AHCP",
"control_type": "selector",
"description": "Hud Mode NIGHT - DAY",
"identifier": "AHCP_HUD_DAYNIGHT",
"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": 4328,
"description": "selector position",
"mask": 2048,
"max_value": 1,
"shift_by": 11,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "toggle_switch"
},
"AHCP_HUD_MODE": {
"category": "AHCP",
"control_type": "selector",
"description": "Hud Mode STBY - NORM",
"identifier": "AHCP_HUD_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": 4328,
"description": "selector position",
"mask": 4096,
"max_value": 1,
"shift_by": 12,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "toggle_switch"
},
"AHCP_IFFCC": {
"category": "AHCP",
"control_type": "selector",
"description": "IFFCC OFF - TEST - ON",
"identifier": "AHCP_IFFCC",
"inputs": [ {
"description": "switch to previous or next state",
"interface": "fixed_step"
}, {
"description": "set position",
"interface": "set_state",
"max_value": 2
} ],
"momentary_positions": "none",