UNPKG

dcs-bios-api-mazeppa

Version:

DCS BIOS export parser that returns JSON data

492 lines (491 loc) 566 kB
{ "Countermeasures": { "COUNTERMEASURE_CHAFF_FLARES_SELECTOR": { "category": "Countermeasures", "control_type": "selector", "description": "Countermeasure Chaff/Flares Selector", "identifier": "COUNTERMEASURE_CHAFF_FLARES_SELECTOR", "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": 17944, "description": "selector position", "mask": 192, "max_value": 2, "shift_by": 6, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "COUNTERMEASURE_MODE_SELECTOR": { "category": "Countermeasures", "control_type": "selector", "description": "Countermeasure Operation Mode Selector", "identifier": "COUNTERMEASURE_MODE_SELECTOR", "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": 17944, "description": "selector position", "mask": 56, "max_value": 4, "shift_by": 3, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "COUNTERMEASURE_RELEASE_MODE": { "category": "Countermeasures", "control_type": "selector", "description": "Countermeasure Release Mode", "identifier": "COUNTERMEASURE_RELEASE_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": 17944, "description": "selector position", "mask": 768, "max_value": 2, "shift_by": 8, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "COUNTERMEASURE_STREAK_MODE_SELECTOR": { "category": "Countermeasures", "control_type": "selector", "description": "Countermeasure Streak Mode Selector", "identifier": "COUNTERMEASURE_STREAK_MODE_SELECTOR", "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": 17942, "description": "selector position", "mask": 16384, "max_value": 1, "shift_by": 14, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "JAMMER_BAND_SELECTOR": { "category": "Countermeasures", "control_type": "selector", "description": "Jammer Band Selector", "identifier": "JAMMER_BAND_SELECTOR", "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": 17944, "description": "selector position", "mask": 7, "max_value": 4, "shift_by": 0, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "JAMMER_MODE_SELECTOR": { "category": "Countermeasures", "control_type": "selector", "description": "Jammer Mode Selector", "identifier": "JAMMER_MODE_SELECTOR", "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": 17942, "description": "selector position", "mask": 14336, "max_value": 4, "shift_by": 11, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" } }, "Doppler": { "DOPPLER_LAND_SEA_MODE": { "category": "Doppler", "control_type": "action", "description": "Doppler Land/Sea Mode", "identifier": "DOPPLER_LAND_SEA_MODE", "inputs": [ { "argument": "TOGGLE", "description": "toggle switch state", "interface": "action" } ], "momentary_positions": "none", "outputs": [ { "address": 17936, "description": "selector position", "mask": 2, "max_value": 1, "shift_by": 1, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" } }, "Electric System": { "BACKUP_GENERATOR": { "category": "Electric System", "control_type": "selector", "description": "Backup Generator", "identifier": "BACKUP_GENERATOR", "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": 17934, "description": "selector position", "mask": 32768, "max_value": 1, "shift_by": 15, "suffix": "", "type": "integer" } ], "physical_variant": "toggle_switch" }, "GENERATOR": { "category": "Electric System", "control_type": "selector", "description": "Generator", "identifier": "GENERATOR", "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": 17934, "description": "selector position", "mask": 8192, "max_value": 1, "shift_by": 13, "suffix": "", "type": "integer" } ], "physical_variant": "toggle_switch" }, "MAIN_ELECTRIC_POWER": { "category": "Electric System", "control_type": "selector", "description": "Main Electric Power", "identifier": "MAIN_ELECTRIC_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": 17934, "description": "selector position", "mask": 16384, "max_value": 1, "shift_by": 14, "suffix": "", "type": "integer" } ], "physical_variant": "toggle_switch" } }, "Engine Panel": { "AFK_LEVER": { "category": "Engine Panel", "control_type": "selector", "description": "AFK Lever", "identifier": "AFK_LEVER", "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": 17934, "description": "selector position", "mask": 1024, "max_value": 1, "shift_by": 10, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "CABIN_AIR_VALVE": { "category": "Engine Panel", "control_type": "selector", "description": "Cabin Air Valve", "identifier": "CABIN_AIR_VALVE", "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": 18060, "description": "selector position", "mask": 32768, "max_value": 1, "shift_by": 15, "suffix": "", "type": "integer" } ], "physical_variant": "toggle_switch" }, "CB_AUTOPILOT": { "category": "Engine Panel", "control_type": "selector", "description": "CB Autopilot SA", "identifier": "CB_AUTOPILOT", "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": 17926, "description": "selector position", "mask": 4096, "max_value": 1, "shift_by": 12, "suffix": "", "type": "integer" } ], "physical_variant": "toggle_switch" }, "CB_CI_SI": { "category": "Engine Panel", "control_type": "selector", "description": "CB CI/SI", "identifier": "CB_CI_SI", "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": 17926, "description": "selector position", "mask": 32768, "max_value": 1, "shift_by": 15, "suffix": "", "type": "integer" } ], "physical_variant": "toggle_switch" }, "CB_EJECTION_SYSTEM": { "category": "Engine Panel", "control_type": "selector", "description": "CB Ejection System", "identifier": "CB_EJECTION_SYSTEM", "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": 17934, "description": "selector position", "mask": 1, "max_value": 1, "shift_by": 0, "suffix": "", "type": "integer" } ], "physical_variant": "toggle_switch" }, "CB_ENGINE": { "category": "Engine Panel", "control_type": "selector", "description": "CB Engine", "identifier": "CB_ENGINE", "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": 17934, "description": "selector position", "mask": 2, "max_value": 1, "shift_by": 1, "suffix": "", "type": "integer" } ], "physical_variant": "toggle_switch" }, "CB_HIGH_ALPHA_WARN": { "category": "Engine Panel", "control_type": "selector", "description": "CB High Alpha Warning", "identifier": "CB_HIGH_ALPHA_WARN", "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": 17926, "description": "selector position", "mask": 8192, "max_value": 1, "shift_by": 13, "suffix": "", "type": "integer" } ], "physical_variant": "toggle_switch" }, "CB_TRIM_SYSTEM": { "category": "Engine Panel", "control_type": "selector", "description": "CB Trim System", "identifier": "CB_TRIM_SYSTEM", "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" } ],