UNPKG

dcs-bios-api-mazeppa

Version:

DCS BIOS export parser that returns JSON data

555 lines (554 loc) 301 kB
{ "Cockpit": { "ALT_PRESS_SET": { "api_variant": "multiturn", "category": "Cockpit", "control_type": "analog_dial", "description": "Altimeter Pressure Set", "identifier": "ALT_PRESS_SET", "inputs": [ { "description": "turn the dial left or right", "interface": "variable_step", "max_value": 65535, "suggested_step": 3200 } ], "outputs": [ { "address": 13318, "description": "the rotation of the knob in the cockpit (not the value that is controlled by this knob!)", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "_KNOB_POS", "type": "integer" } ] }, "CANOPY_EMG_REL": { "category": "Cockpit", "control_type": "selector", "description": "Canopy Emergency Release Handle", "identifier": "CANOPY_EMG_REL", "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": 13314, "description": "selector position", "mask": 32, "max_value": 1, "shift_by": 5, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "CANOPY_HAND_CRK": { "api_variant": "multiturn", "category": "Cockpit", "control_type": "analog_dial", "description": "Canopy Hand Crank", "identifier": "CANOPY_HAND_CRK", "inputs": [ { "description": "turn the dial left or right", "interface": "variable_step", "max_value": 65535, "suggested_step": 3200 } ], "outputs": [ { "address": 13316, "description": "the rotation of the knob in the cockpit (not the value that is controlled by this knob!)", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "_KNOB_POS", "type": "integer" } ] }, "CIRC_BR_CVR": { "category": "Cockpit", "control_type": "selector", "description": "Circuit Breakers Cover", "identifier": "CIRC_BR_CVR", "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": 13314, "description": "selector position", "mask": 16, "max_value": 1, "shift_by": 4, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "EL_KILL": { "category": "Cockpit", "control_type": "selector", "description": "Electric Kill-switch", "identifier": "EL_KILL", "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": 13314, "description": "selector position", "mask": 4, "max_value": 1, "shift_by": 2, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "EMG_EQ_DEST": { "category": "Cockpit", "control_type": "selector", "description": "Emergency Equipment Destruction", "identifier": "EMG_EQ_DEST", "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": 13314, "description": "selector position", "mask": 8, "max_value": 1, "shift_by": 3, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "EMG_LG_REL": { "category": "Cockpit", "control_type": "selector", "description": "Landing Gear Emergency Release Handle", "identifier": "EMG_LG_REL", "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": 13358, "description": "selector position", "mask": 1, "max_value": 1, "shift_by": 0, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "FLAPS_LAND": { "category": "Cockpit", "control_type": "selector", "description": "Flaps Landing", "identifier": "FLAPS_LAND", "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": 13314, "description": "selector position", "mask": 512, "max_value": 1, "shift_by": 9, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "FLAPS_TO": { "category": "Cockpit", "control_type": "selector", "description": "Flaps Take Off", "identifier": "FLAPS_TO", "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": 13314, "description": "selector position", "mask": 256, "max_value": 1, "shift_by": 8, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "FLAPS_UP_TOGGLE": { "category": "Cockpit", "control_type": "selector", "description": "Flaps Up", "identifier": "FLAPS_UP_TOGGLE", "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": 13314, "description": "selector position", "mask": 128, "max_value": 1, "shift_by": 7, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "FUEL_GAUGE_SEL": { "category": "Cockpit", "control_type": "selector", "description": "Fuel Gauge Selector (FORWARD/NONE/AFT)", "identifier": "FUEL_GAUGE_SEL", "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": 13352, "description": "selector position", "mask": 3, "max_value": 3, "shift_by": 0, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "FUEL_MWB4_SEL": { "category": "Cockpit", "control_type": "selector", "description": "MW-B4 Selector (Not Functional)", "identifier": "FUEL_MWB4_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": 13352, "description": "selector position", "mask": 4, "max_value": 1, "shift_by": 2, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "FUEL_PRIM_PMPL": { "category": "Cockpit", "control_type": "selector", "description": "Primer Pump", "identifier": "FUEL_PRIM_PMPL", "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": 13352, "description": "selector position", "mask": 8, "max_value": 1, "shift_by": 3, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "FUEL_TNK_SEL": { "category": "Cockpit", "control_type": "selector", "description": "Fuel Tank Selector Valve (CLOSE/FORWARD/AFT/BOTH)", "identifier": "FUEL_TNK_SEL", "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": 13332, "description": "selector position", "mask": 49152, "max_value": 3, "shift_by": 14, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "HOR_CAGE": { "category": "Cockpit", "control_type": "limited_dial", "description": "Horizon Cage", "identifier": "HOR_CAGE", "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": 13348, "description": "position of the potentiometer", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "HOR_STAB_TRIM": { "category": "Cockpit", "control_type": "selector", "description": "Stabilizer Trimmer Up/Down", "identifier": "HOR_STAB_TRIM", "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": 13354, "description": "selector position", "mask": 49152, "max_value": 2, "shift_by": 14, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "INSTR_LGHT_CTRL": { "api_variant": "multiturn", "category": "Cockpit", "control_type": "analog_dial", "description": "Instrument Lights Brightness", "identifier": "INSTR_LGHT_CTRL", "inputs": [ { "description": "turn the dial left or right", "interface": "variable_step", "max_value": 65535, "suggested_step": 3200 } ], "outputs": [ { "address": 13342, "description": "the rotation of the knob in the cockpit (not the value that is controlled by this knob!)", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "_KNOB_POS", "type": "integer" } ] }, "JETT_FUS_STORES": { "category": "Cockpit", "control_type": "selector", "description": "Jettison Fuselage Stores", "identifier": "JETT_FUS_STORES", "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": 13332, "description": "selector position", "mask": 8, "max_value": 1, "shift_by": 3, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "LG_EXT": { "category": "Cockpit", "control_type": "selector", "description": "Landing Gears Extending", "identifier": "LG_EXT", "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": 13314, "description": "selector position", "mask": 4096, "max_value": 1, "shift_by": 12, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "LG_RET": { "category": "Cockpit", "control_type": "selector", "description": "Landing Gears Retraction", "identifier": "LG_RET", "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": 13314, "description": "selector position", "mask": 1024, "max_value": 1, "shift_by": 10, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "LG_RET_CVR": { "category": "Cockpit", "control_type": "selector", "description": "Landing Gears Retraction Cover", "identifier": "LG_RET_CVR", "inputs": [ { "description": "switch to previous or next state", "interface": "fixed_step" }, {