UNPKG

dcs-bios-api-mazeppa

Version:

DCS BIOS export parser that returns JSON data

483 lines (482 loc) 120 kB
{ "NS430": { "NS430_BIG_LEFT_BTN": { "api_variant": "multiturn", "category": "NS430", "control_type": "analog_dial", "description": "NS430_BIG_LEFT_BTN", "identifier": "NS430_BIG_LEFT_BTN", "inputs": [ { "description": "turn the dial left or right", "interface": "variable_step", "max_value": 65535, "suggested_step": 3200 } ], "outputs": [ { "address": 32774, "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" } ] }, "NS430_BIG_RIGHT_BTN": { "api_variant": "multiturn", "category": "NS430", "control_type": "analog_dial", "description": "BIG_RIGHT_BTN", "identifier": "NS430_BIG_RIGHT_BTN", "inputs": [ { "description": "turn the dial left or right", "interface": "variable_step", "max_value": 65535, "suggested_step": 3200 } ], "outputs": [ { "address": 32778, "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" } ] }, "NS430_CDI": { "api_variant": "momentary_last_position", "category": "NS430", "control_type": "selector", "description": "CDI", "identifier": "NS430_CDI", "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": 32768, "description": "selector position", "mask": 32, "max_value": 1, "shift_by": 5, "suffix": "", "type": "integer" } ], "physical_variant": "push_button" }, "NS430_CDI_STOP_ACTION": { "api_variant": "momentary_last_position", "category": "NS430", "control_type": "selector", "description": "CDI stop action command", "identifier": "NS430_CDI_STOP_ACTION", "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": 32780, "description": "selector position", "mask": 64, "max_value": 1, "shift_by": 6, "suffix": "", "type": "integer" } ], "physical_variant": "push_button" }, "NS430_CLR": { "api_variant": "momentary_last_position", "category": "NS430", "control_type": "selector", "description": "CLR", "identifier": "NS430_CLR", "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": 32768, "description": "selector position", "mask": 16384, "max_value": 1, "shift_by": 14, "suffix": "", "type": "integer" } ], "physical_variant": "push_button" }, "NS430_CLR_STOP_ACTION": { "api_variant": "momentary_last_position", "category": "NS430", "control_type": "selector", "description": "CLR stop action command", "identifier": "NS430_CLR_STOP_ACTION", "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": 32780, "description": "selector position", "mask": 32768, "max_value": 1, "shift_by": 15, "suffix": "", "type": "integer" } ], "physical_variant": "push_button" }, "NS430_COM_FLIP_FLOP": { "api_variant": "momentary_last_position", "category": "NS430", "control_type": "selector", "description": "COM flip-flop", "identifier": "NS430_COM_FLIP_FLOP", "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": 32768, "description": "selector position", "mask": 8, "max_value": 1, "shift_by": 3, "suffix": "", "type": "integer" } ], "physical_variant": "push_button" }, "NS430_COM_FLIP_FLOP_STOP_ACTION": { "api_variant": "momentary_last_position", "category": "NS430", "control_type": "selector", "description": "COM flip-flop stop action command", "identifier": "NS430_COM_FLIP_FLOP_STOP_ACTION", "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": 32780, "description": "selector position", "mask": 16, "max_value": 1, "shift_by": 4, "suffix": "", "type": "integer" } ], "physical_variant": "push_button" }, "NS430_DIRECT-TO": { "api_variant": "momentary_last_position", "category": "NS430", "control_type": "selector", "description": "DIRECT-TO", "identifier": "NS430_DIRECT-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": 32768, "description": "selector position", "mask": 4096, "max_value": 1, "shift_by": 12, "suffix": "", "type": "integer" } ], "physical_variant": "push_button" }, "NS430_DIRECT-TO_STOP_ACTION": { "api_variant": "momentary_last_position", "category": "NS430", "control_type": "selector", "description": "DIRECT-TO stop action command", "identifier": "NS430_DIRECT-TO_STOP_ACTION", "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": 32780, "description": "selector position", "mask": 8192, "max_value": 1, "shift_by": 13, "suffix": "", "type": "integer" } ], "physical_variant": "push_button" }, "NS430_ENT": { "api_variant": "momentary_last_position", "category": "NS430", "control_type": "selector", "description": "ENT", "identifier": "NS430_ENT", "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": 32768, "description": "selector position", "mask": 32768, "max_value": 1, "shift_by": 15, "suffix": "", "type": "integer" } ], "physical_variant": "push_button" }, "NS430_ENT_STOP_ACTION": { "api_variant": "momentary_last_position", "category": "NS430", "control_type": "selector", "description": "ENT stop action command", "identifier": "NS430_ENT_STOP_ACTION", "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": 32784, "description": "selector position", "mask": 1, "max_value": 1, "shift_by": 0, "suffix": "", "type": "integer" } ], "physical_variant": "push_button" }, "NS430_FPL": { "api_variant": "momentary_last_position", "category": "NS430", "control_type": "selector", "description": "FPL", "identifier": "NS430_FPL", "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": 32768, "description": "selector position", "mask": 256, "max_value": 1, "shift_by": 8, "suffix": "", "type": "integer" } ], "physical_variant": "push_button" }, "NS430_FPL_STOP_ACTION": { "api_variant": "momentary_last_position", "category": "NS430", "control_type": "selector", "description": "FPL stop action command", "identifier": "NS430_FPL_STOP_ACTION", "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": 32780, "description": "selector position", "mask": 512, "max_value": 1, "shift_by": 9, "suffix": "", "type": "integer" } ], "physical_variant": "push_button" }, "NS430_MENU": { "api_variant": "momentary_last_position", "category": "NS430", "control_type": "selector", "description": "MENU", "identifier": "NS430_MENU", "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": 32768, "description": "selector position", "mask": 8192, "max_value": 1, "shift_by": 13, "suffix": "", "type": "integer" } ], "physical_variant": "push_button" }, "NS430_MENU_STOP_ACTION": { "api_variant": "momentary_last_position", "category": "NS430", "control_type": "selector", "description": "MENU stop action command", "identifier": "NS430_MENU_STOP_ACTION", "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": 32780, "description": "selector position", "mask": 16384, "max_value": 1, "shift_by": 14, "suffix": "", "type": "integer" } ], "physical_variant": "push_button" }, "NS430_MSG": { "api_variant": "momentary_last_position", "category": "NS430", "control_type": "selector", "description": "MSG", "identifier": "NS430_MSG", "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",