UNPKG

dcs-bios-api-mazeppa

Version:

DCS BIOS export parser that returns JSON data

510 lines (509 loc) 610 kB
{ "Attitude Indicator": { "J8_ATT_CAGE": { "category": "Attitude Indicator", "control_type": "selector", "description": "J-8 Attitude Indicator Cage Knob - Pull to cage", "identifier": "J8_ATT_CAGE", "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": 12298, "description": "selector position", "mask": 32768, "max_value": 1, "shift_by": 15, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "J8_ATT_PTC_TRIM": { "category": "Attitude Indicator", "control_type": "limited_dial", "description": "J-8 Attitude Indicator Pitch Trim Knob", "identifier": "J8_ATT_PTC_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": 12316, "description": "position of the potentiometer", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] } }, "Cockpit": { "A4_RDR_TRG_SEL": { "category": "Cockpit", "control_type": "selector", "description": "A-4 Sight Radar Target Selector Button", "identifier": "A4_RDR_TRG_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": 12300, "description": "selector position", "mask": 32768, "max_value": 1, "shift_by": 15, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "A4_SIGHT_CAGE": { "category": "Cockpit", "control_type": "selector", "description": "A-4 Sight Electrical Caging Button", "identifier": "A4_SIGHT_CAGE", "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": 12300, "description": "selector position", "mask": 2, "max_value": 1, "shift_by": 1, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "A4_SIGHT_FIL_SEL": { "category": "Cockpit", "control_type": "selector", "description": "A-4 Sight Filament Selector Switch, SECONDARY/PRIMARY", "identifier": "A4_SIGHT_FIL_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": 12300, "description": "selector position", "mask": 4, "max_value": 1, "shift_by": 2, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "ACC_RST": { "category": "Cockpit", "control_type": "selector", "description": "Accelerometer Reset Button - Push to reset", "identifier": "ACC_RST", "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": 12300, "description": "selector position", "mask": 1, "max_value": 1, "shift_by": 0, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "AIR_OUTLET_SEL": { "category": "Cockpit", "control_type": "selector", "description": "Air Outlet Selector Lever, FLOOR/BOTH/DEFROST", "identifier": "AIR_OUTLET_SEL", "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": 12326, "description": "selector position", "mask": 49152, "max_value": 2, "shift_by": 14, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "ALT_MET_REF_PRESS": { "api_variant": "multiturn", "category": "Cockpit", "control_type": "analog_dial", "description": "Altimeter reference pressure adjusting knob", "identifier": "ALT_MET_REF_PRESS", "inputs": [ { "description": "turn the dial left or right", "interface": "variable_step", "max_value": 65535, "suggested_step": 3200 } ], "outputs": [ { "address": 12322, "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" } ] }, "BMB_RKT_REL": { "category": "Cockpit", "control_type": "selector", "description": "Bomb-Rocket Release Button - Push to release", "identifier": "BMB_RKT_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": 12300, "description": "selector position", "mask": 16384, "max_value": 1, "shift_by": 14, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "BMB_RKT_TANK_JETT": { "category": "Cockpit", "control_type": "selector", "description": "Bomb-Rocket-Tank Jettison Button", "identifier": "BMB_RKT_TANK_JETT", "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": 12300, "description": "selector position", "mask": 2048, "max_value": 1, "shift_by": 11, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "CANOPY": { "category": "Cockpit", "control_type": "selector", "description": "Canopy Switch, OPEN/OFF/CLOSE", "identifier": "CANOPY", "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": 12326, "description": "selector position", "mask": 3, "max_value": 2, "shift_by": 0, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "CANOPY_DECLUTCH": { "category": "Cockpit", "control_type": "selector", "description": "Canopy Declutch Handle, IN/OUT", "identifier": "CANOPY_DECLUTCH", "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": 12326, "description": "selector position", "mask": 32, "max_value": 1, "shift_by": 5, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "CLOCK_SET": { "api_variant": "multiturn", "category": "Cockpit", "control_type": "analog_dial", "description": "Set Clock Knob", "identifier": "CLOCK_SET", "inputs": [ { "description": "turn the dial left or right", "interface": "variable_step", "max_value": 65535, "suggested_step": 3200 } ], "outputs": [ { "address": 12334, "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" } ] }, "CLOCK_SET_ENABLE": { "api_variant": "momentary_last_position", "category": "Cockpit", "control_type": "selector", "description": "Press to set clock", "identifier": "CLOCK_SET_ENABLE", "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": 12328, "description": "selector position", "mask": 32768, "max_value": 1, "shift_by": 15, "suffix": "", "type": "integer" } ], "physical_variant": "push_button" }, "CLOCK_TIMER": { "api_variant": "momentary_last_position", "category": "Cockpit", "control_type": "selector", "description": "Elapsed Time Mechanism Button", "identifier": "CLOCK_TIMER", "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": 12330, "description": "selector position", "mask": 32768, "max_value": 1, "shift_by": 15, "suffix": "", "type": "integer" } ], "physical_variant": "push_button" }, "CPIT_HEAT_MODE": { "category": "Cockpit", "control_type": "selector", "description": "Cockpit Air Temperature Control Switch, AUTO/OFF/HOT/COLD", "identifier": "CPIT_HEAT_MODE", "inputs": [ { "description": "switch to previous or next state", "interface": "fixed_step" }, { "description": "set position", "interface": "set_state", "max_value": 5 } ], "momentary_positions": "none", "outputs": [ { "address": 12326, "description": "selector position", "mask": 14336, "max_value": 5, "shift_by": 11, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "DEM_BMB_REL_SEL": { "category": "Cockpit", "control_type": "selector", "description": "Demolition Bomb Release Selector Switch, AUTO RELEASE/MANUAL RELEASE", "identifier": "DEM_BMB_REL_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": 12300, "description": "selector position", "mask": 8, "max_value": 1, "shift_by": 3, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "DEM_BMB_SEQ_SEL": { "category": "Cockpit", "control_type": "selector", "description": "Demolition Bomb Sequence Selector Switch, ALL/OFF/LEFT/RIGHT", "identifier": "DEM_BMB_SEQ_SEL", "inputs": [ { "description": "switch to previous or next state", "interface": "fixed_step" }, { "description": "set position", "interface": "set_state", "max_value": 5 } ], "momentary_positions": "none", "outputs": [ { "address": 12300, "description": "selector position", "mask": 112, "max_value": 5, "shift_by": 4, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "DRP_TANK_SEL": { "category": "Cockpit", "control_type": "selector", "description": "Drop Tank Selector Switch", "identifier": "DRP_TANK_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",