UNPKG

dcs-bios-api-mazeppa

Version:

DCS BIOS export parser that returns JSON data

503 lines (502 loc) 991 kB
{ "ARC": { "ARC_CHAN": { "category": "ARC", "control_type": "selector", "description": "ARC Channel", "identifier": "ARC_CHAN", "inputs": [ { "description": "switch to previous or next state", "interface": "fixed_step" }, { "description": "set position", "interface": "set_state", "max_value": 8 } ], "momentary_positions": "none", "outputs": [ { "address": 8724, "description": "selector position", "mask": 3840, "max_value": 8, "shift_by": 8, "suffix": "", "type": "integer" } ], "physical_variant": "infinite_rotary" }, "ARC_CHG": { "api_variant": "momentary_last_position", "category": "ARC", "control_type": "selector", "description": "ARC Change", "identifier": "ARC_CHG", "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": 8724, "description": "selector position", "mask": 128, "max_value": 1, "shift_by": 7, "suffix": "", "type": "integer" } ], "physical_variant": "push_button" } }, "ARU/Nosecone Panel": { "ARU_ND": { "category": "ARU/Nosecone Panel", "control_type": "analog_gauge", "description": "ARU Needle", "identifier": "ARU_ND", "inputs": [ ], "outputs": [ { "address": 8890, "description": "gauge position", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "CAN_ANTI_ICE": { "api_variant": "momentary_last_position", "category": "ARU/Nosecone Panel", "control_type": "selector", "description": "Canopy Anti Ice", "identifier": "CAN_ANTI_ICE", "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": 8758, "description": "selector position", "mask": 16, "max_value": 1, "shift_by": 4, "suffix": "", "type": "integer" } ], "physical_variant": "push_button" }, "CONE_ADJ": { "category": "ARU/Nosecone Panel", "control_type": "limited_dial", "description": "Nosecone Manual Adjust", "identifier": "CONE_ADJ", "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": 8750, "description": "position of the potentiometer", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "CONE_ND": { "category": "ARU/Nosecone Panel", "control_type": "analog_gauge", "description": "Nosecone Position Needle", "identifier": "CONE_ND", "inputs": [ ], "outputs": [ { "address": 8892, "description": "gauge position", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "NW_BRK": { "category": "ARU/Nosecone Panel", "control_type": "selector", "description": "Nosegear Brake On/Off", "identifier": "NW_BRK", "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": 8744, "description": "selector position", "mask": 1, "max_value": 1, "shift_by": 0, "suffix": "", "type": "integer" } ], "physical_variant": "toggle_switch" }, "RSBN_MODE": { "category": "ARU/Nosecone Panel", "control_type": "selector", "description": "RSBN Mode", "identifier": "RSBN_MODE", "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": 8728, "description": "selector position", "mask": 12, "max_value": 2, "shift_by": 2, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" } }, "ASP Gunsight": { "ASP_BRK": { "category": "ASP Gunsight", "control_type": "led", "description": "ASP Break Attack Light", "identifier": "ASP_BRK", "inputs": [ ], "outputs": [ { "address": 8880, "description": "0 if light is off, 1 if light is on", "mask": 16384, "max_value": 1, "shift_by": 14, "suffix": "", "type": "integer" } ] }, "ASP_DIST": { "category": "ASP Gunsight", "control_type": "analog_gauge", "description": "ASP Target Distance Gauge", "identifier": "ASP_DIST", "inputs": [ ], "outputs": [ { "address": 8882, "description": "gauge position", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "ASP_LNCH": { "category": "ASP Gunsight", "control_type": "led", "description": "ASP Launch Light", "identifier": "ASP_LNCH", "inputs": [ ], "outputs": [ { "address": 8880, "description": "0 if light is off, 1 if light is on", "mask": 8192, "max_value": 1, "shift_by": 13, "suffix": "", "type": "integer" } ] }, "ASP_LOCK_LIGHT": { "category": "ASP Gunsight", "control_type": "led", "description": "ASP Lock Light", "identifier": "ASP_LOCK_LIGHT", "inputs": [ ], "outputs": [ { "address": 8880, "description": "0 if light is off, 1 if light is on", "mask": 4096, "max_value": 1, "shift_by": 12, "suffix": "", "type": "integer" } ] }, "ASP_MSL_DIST": { "category": "ASP Gunsight", "control_type": "analog_gauge", "description": "ASP Missile Target Distance Needle", "identifier": "ASP_MSL_DIST", "inputs": [ ], "outputs": [ { "address": 8884, "description": "gauge position", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "FIX_NET_BRT": { "category": "ASP Gunsight", "control_type": "limited_dial", "description": "Gunsight Fixed Net Brightness", "identifier": "FIX_NET_BRT", "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": 8770, "description": "position of the potentiometer", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "INT_ANGLE": { "category": "ASP Gunsight", "control_type": "limited_dial", "description": "Gunsight Intercept Angle", "identifier": "INT_ANGLE", "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": 8764, "description": "position of the potentiometer", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "PPR_BRT": { "category": "ASP Gunsight", "control_type": "limited_dial", "description": "Gunsight Pipper Brightness", "identifier": "PPR_BRT", "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": 8768, "description": "position of the potentiometer", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "SCL_BRT": { "category": "ASP Gunsight", "control_type": "limited_dial", "description": "Gunsight Scale Brightness", "identifier": "SCL_BRT", "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": 8766, "description": "position of the potentiometer", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "SIGHT_FIX_NET": { "category": "ASP Gunsight", "control_type": "selector", "description": "Gunsight Fixed Net On/Off", "identifier": "SIGHT_FIX_NET", "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": 8758, "description": "selector position", "mask": 4096, "max_value": 1, "shift_by": 12, "suffix": "", "type": "integer" } ], "physical_variant": "toggle_switch" }, "SIGHT_GYRO_MSL": { "category": "ASP Gunsight", "control_type": "selector", "description": "Gunsight Gyro/Missile Select", "identifier": "SIGHT_GYRO_MSL", "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": 8758, "description": "selector position", "mask": 1024, "max_value": 1, "shift_by": 10, "suffix": "", "type": "integer" } ], "physical_variant": "toggle_switch" }, "SIGHT_MAN_AUTO": { "category": "ASP Gunsight", "control_type": "selector", "description": "Gunsight Auto/Manual", "identifier": "SIGHT_MAN_AUTO", "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": 8758, "description": "selector position", "mask": 128, "max_value": 1, "shift_by": 7, "suffix": "", "type": "integer" } ], "physical_variant": "toggle_switch" }, "SIGHT_MSL_GUN": { "category": "ASP Gunsight", "control_type": "selector", "description": "Gunsight Gun/Missile Select", "identifier": "SIGHT_MSL_GUN", "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": 8758, "description": "selector position", "mask": 512, "max_value": 1, "shift_by": 9, "suffix": "", "type": "integer" } ], "physical_variant": "toggle_switch" }, "SIGHT_PPR": { "category": "ASP Gunsight", "control_type": "selector", "description": "Gunsight Pipper On/Off",