UNPKG

dcs-bios-api-mazeppa

Version:

DCS BIOS export parser that returns JSON data

536 lines (535 loc) 689 kB
{ "ADF": { "ADF1_ADF2_SELECT": { "category": "ADF", "control_type": "selector", "description": "ADF1/ADF2 Select", "identifier": "ADF1_ADF2_SELECT", "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": 28718, "description": "selector position", "mask": 4096, "max_value": 1, "shift_by": 12, "suffix": "", "type": "integer" } ], "physical_variant": "toggle_switch" }, "ADF_GAIN": { "api_variant": "multiturn", "category": "ADF", "control_type": "analog_dial", "description": "ADF Gain", "identifier": "ADF_GAIN", "inputs": [ { "description": "turn the dial left or right", "interface": "variable_step", "max_value": 65535, "suggested_step": 3200 } ], "outputs": [ { "address": 28730, "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" } ] }, "ADF_MODE": { "category": "ADF", "control_type": "selector", "description": "ADF Mode", "identifier": "ADF_MODE", "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": 28718, "description": "selector position", "mask": 49152, "max_value": 3, "shift_by": 14, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "ADF_NAV1_1": { "api_variant": "multiturn", "category": "ADF", "control_type": "analog_dial", "description": "ADF NAV1 1s", "identifier": "ADF_NAV1_1", "inputs": [ { "description": "turn the dial left or right", "interface": "variable_step", "max_value": 65535, "suggested_step": 3200 } ], "outputs": [ { "address": 28736, "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" } ] }, "ADF_NAV1_10": { "api_variant": "multiturn", "category": "ADF", "control_type": "analog_dial", "description": "ADF NAV1 10s", "identifier": "ADF_NAV1_10", "inputs": [ { "description": "turn the dial left or right", "interface": "variable_step", "max_value": 65535, "suggested_step": 3200 } ], "outputs": [ { "address": 28734, "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" } ] }, "ADF_NAV1_100": { "api_variant": "multiturn", "category": "ADF", "control_type": "analog_dial", "description": "ADF NAV1 100s", "identifier": "ADF_NAV1_100", "inputs": [ { "description": "turn the dial left or right", "interface": "variable_step", "max_value": 65535, "suggested_step": 3200 } ], "outputs": [ { "address": 28732, "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" } ] }, "ADF_NAV2_1": { "api_variant": "multiturn", "category": "ADF", "control_type": "analog_dial", "description": "ADF NAV2 1s", "identifier": "ADF_NAV2_1", "inputs": [ { "description": "turn the dial left or right", "interface": "variable_step", "max_value": 65535, "suggested_step": 3200 } ], "outputs": [ { "address": 28742, "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" } ] }, "ADF_NAV2_10": { "api_variant": "multiturn", "category": "ADF", "control_type": "analog_dial", "description": "ADF NAV2 10s", "identifier": "ADF_NAV2_10", "inputs": [ { "description": "turn the dial left or right", "interface": "variable_step", "max_value": 65535, "suggested_step": 3200 } ], "outputs": [ { "address": 28740, "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" } ] }, "ADF_NAV2_100": { "api_variant": "multiturn", "category": "ADF", "control_type": "analog_dial", "description": "ADF NAV2 100s", "identifier": "ADF_NAV2_100", "inputs": [ { "description": "turn the dial left or right", "interface": "variable_step", "max_value": 65535, "suggested_step": 3200 } ], "outputs": [ { "address": 28738, "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" } ] }, "ADF_TONE_ON_OFF": { "category": "ADF", "control_type": "selector", "description": "ADF Tone On/Off", "identifier": "ADF_TONE_ON_OFF", "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": 28718, "description": "selector position", "mask": 8192, "max_value": 1, "shift_by": 13, "suffix": "", "type": "integer" } ], "physical_variant": "toggle_switch" } }, "AM Radio": { "AM_FREQUENCY_SELECTOR": { "category": "AM Radio", "control_type": "selector", "description": "AM Radio 25/50kHz Selector", "identifier": "AM_FREQUENCY_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": 28674, "description": "selector position", "mask": 128, "max_value": 1, "shift_by": 7, "suffix": "", "type": "integer" } ], "physical_variant": "toggle_switch" }, "AM_RADIO_FREQUENCY_DIAL_LEFT": { "api_variant": "multiturn", "category": "AM Radio", "control_type": "analog_dial", "description": "AM Radio Frequency Dial Left", "identifier": "AM_RADIO_FREQUENCY_DIAL_LEFT", "inputs": [ { "description": "turn the dial left or right", "interface": "variable_step", "max_value": 65535, "suggested_step": 3200 } ], "outputs": [ { "address": 28690, "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" } ] }, "AM_RADIO_FREQUENCY_DIAL_RIGHT": { "api_variant": "multiturn", "category": "AM Radio", "control_type": "analog_dial", "description": "AM Radio Frequency Dial Right", "identifier": "AM_RADIO_FREQUENCY_DIAL_RIGHT", "inputs": [ { "description": "turn the dial left or right", "interface": "variable_step", "max_value": 65535, "suggested_step": 3200 } ], "outputs": [ { "address": 28688, "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" } ] }, "AM_RADIO_SELECTOR": { "category": "AM Radio", "control_type": "selector", "description": "AM Radio Selector", "identifier": "AM_RADIO_SELECTOR", "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": 28674, "description": "selector position", "mask": 96, "max_value": 3, "shift_by": 5, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" } }, "Autopilot": { "AUTOPILOT_BUTTON": { "api_variant": "momentary_last_position", "category": "Autopilot", "control_type": "selector", "description": "Autopilot Button", "identifier": "AUTOPILOT_BUTTON", "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": 28674, "description": "selector position", "mask": 256, "max_value": 1, "shift_by": 8, "suffix": "", "type": "integer" } ], "physical_variant": "push_button" }, "AUTOPILOT_MODE": { "category": "Autopilot", "control_type": "selector", "description": "Autopilot Mode Speed/Off/Altitude", "identifier": "AUTOPILOT_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": 28692, "description": "selector position", "mask": 192, "max_value": 2, "shift_by": 6, "suffix": "", "type": "integer" } ], "physical_variant": "limited_rotary" }, "AUTOPILOT_ON_OFF": { "category": "Autopilot", "control_type": "selector", "description": "Autopilot On/Off", "identifier": "AUTOPILOT_ON_OFF", "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": 28674, "description": "selector position", "mask": 32768, "max_value": 1, "shift_by": 15, "suffix": "", "type": "integer" } ], "physical_variant": "toggle_switch" }, "AUTOPILOT_PITCH": { "category": "Autopilot", "control_type": "selector", "description": "Autopilot Pitch", "identifier": "AUTOPILOT_PITCH", "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": 28692, "description": "selector position", "mask": 8, "max_value": 1, "shift_by": 3, "suffix": "", "type": "integer" } ], "physical_variant": "toggle_switch" }, "AUTOPILOT_ROLL": { "category": "Autopilot", "control_type": "selector", "description": "Autopilot Roll", "identifier": "AUTOPILOT_ROLL", "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": 28692, "description": "selector position", "mask": 16, "max_value": 1, "shift_by": 4, "suffix": "", "type": "integer" } ], "physical_variant": "toggle_switch" }, "AUTOPILOT_SLAVE": { "api_variant": "momentary_last_position", "category": "Autopilot", "control_type": "selector", "description": "Autopilot Slave", "identifier": "AUTOPILOT_SLAVE", "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": 28674, "description": "selector position", "mask": 512, "max_value": 1, "shift_by": 9, "suffix": "", "type": "integer" } ], "physical_variant": "push_button" }, "AUTOPILOT_TRIM": { "category": "Autopilot", "control_type": "selector", "description": "Autopilot Trim", "identifier": "AUTOPILOT_TRIM", "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": 28692, "description": "selector position", "mask": 256,