UNPKG

dcs-bios-api-mazeppa

Version:

DCS BIOS export parser that returns JSON data

523 lines 381 kB
{ "Accelerometer": { "ACCELEROMETER_MAIN": { "category": "Accelerometer", "control_type": "analog_gauge", "description": "Accelerometer Main", "identifier": "ACCELEROMETER_MAIN", "inputs": [ ], "outputs": [ { "address": 20588, "description": "gauge position", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "ACCELEROMETER_MAX": { "category": "Accelerometer", "control_type": "analog_gauge", "description": "Accelerometer Max", "identifier": "ACCELEROMETER_MAX", "inputs": [ ], "outputs": [ { "address": 20592, "description": "gauge position", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "ACCELEROMETER_MIN": { "category": "Accelerometer", "control_type": "analog_gauge", "description": "Accelerometer Min", "identifier": "ACCELEROMETER_MIN", "inputs": [ ], "outputs": [ { "address": 20590, "description": "gauge position", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "ACCELEROMETER_RST": { "api_variant": "momentary_last_position", "category": "Accelerometer", "control_type": "selector", "description": "G-meter Reset", "identifier": "ACCELEROMETER_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": 20586, "description": "selector position", "mask": 4096, "max_value": 1, "shift_by": 12, "suffix": "", "type": "integer" } ], "physical_variant": "push_button" } }, "Airspeed Indicator": { "AIRSPEED_NEEDLE": { "category": "Airspeed Indicator", "control_type": "analog_gauge", "description": "Airspeed Needle", "identifier": "AIRSPEED_NEEDLE", "inputs": [ ], "outputs": [ { "address": 20528, "description": "gauge position", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] } }, "Altimeter": { "ALTIMETER_10000_FOOT": { "category": "Altimeter", "control_type": "analog_gauge", "description": "Altimeter 10000 Foot", "identifier": "ALTIMETER_10000_FOOT", "inputs": [ ], "outputs": [ { "address": 20538, "description": "gauge position", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "ALTIMETER_1000_FOOT": { "category": "Altimeter", "control_type": "analog_gauge", "description": "Altimeter 1000 Foot", "identifier": "ALTIMETER_1000_FOOT", "inputs": [ ], "outputs": [ { "address": 20536, "description": "gauge position", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "ALTIMETER_100_FOOT": { "category": "Altimeter", "control_type": "analog_gauge", "description": "Altimeter 100 Foot", "identifier": "ALTIMETER_100_FOOT", "inputs": [ ], "outputs": [ { "address": 20534, "description": "gauge position", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "ALTIMETER_PRESSURE": { "category": "Altimeter", "control_type": "analog_gauge", "description": "Altimeter Pressure", "identifier": "ALTIMETER_PRESSURE", "inputs": [ ], "outputs": [ { "address": 20532, "description": "gauge position", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "SET_PRESSURE": { "api_variant": "multiturn", "category": "Altimeter", "control_type": "analog_dial", "description": "Set Pressure", "identifier": "SET_PRESSURE", "inputs": [ { "description": "turn the dial left or right", "interface": "variable_step", "max_value": 65535, "suggested_step": 3200 } ], "outputs": [ { "address": 20530, "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" } ] } }, "Artificial Horizon": { "AHORIZON_BANK": { "category": "Artificial Horizon", "control_type": "analog_gauge", "description": "Artificial Horizon - Bank", "identifier": "AHORIZON_BANK", "inputs": [ ], "outputs": [ { "address": 20542, "description": "gauge position", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "AHORIZON_CAGED": { "category": "Artificial Horizon", "control_type": "analog_gauge", "description": "Artificial Horizon - Caged", "identifier": "AHORIZON_CAGED", "inputs": [ ], "outputs": [ { "address": 20548, "description": "gauge position", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "AHORIZON_PITCH": { "category": "Artificial Horizon", "control_type": "analog_gauge", "description": "Artificial Horizon - Pitch", "identifier": "AHORIZON_PITCH", "inputs": [ ], "outputs": [ { "address": 20544, "description": "gauge position", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "AHORIZON_PITCH_SHIFT": { "category": "Artificial Horizon", "control_type": "analog_gauge", "description": "Artificial Horizon - Pitch Shift", "identifier": "AHORIZON_PITCH_SHIFT", "inputs": [ ], "outputs": [ { "address": 20546, "description": "gauge position", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "CAGE_BUTTON": { "api_variant": "momentary_last_position", "category": "Artificial Horizon", "control_type": "selector", "description": "Artificial Horizon Cage", "identifier": "CAGE_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": 20526, "description": "selector position", "mask": 512, "max_value": 1, "shift_by": 9, "suffix": "", "type": "integer" } ], "physical_variant": "push_button" }, "CAGE_ROTARY": { "category": "Artificial Horizon", "control_type": "limited_dial", "description": "Artificial Horizon Cage Rotary", "identifier": "CAGE_ROTARY", "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": 20552, "description": "position of the potentiometer", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "PITCH_ADJUST": { "api_variant": "multiturn", "category": "Artificial Horizon", "control_type": "analog_dial", "description": "Pitch Adjustment", "identifier": "PITCH_ADJUST", "inputs": [ { "description": "turn the dial left or right", "interface": "variable_step", "max_value": 65535, "suggested_step": 3200 } ], "outputs": [ { "address": 20550, "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": { "CLOCK_ADJUST": { "api_variant": "multiturn", "category": "Clock", "control_type": "analog_dial", "description": "Clock Adjust", "identifier": "CLOCK_ADJUST", "inputs": [ { "description": "turn the dial left or right", "interface": "variable_step", "max_value": 65535, "suggested_step": 3200 } ], "outputs": [ { "address": 20560, "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_ADJUST_BUTTON": { "category": "Clock", "control_type": "discrete_dial", "description": "Clock Adjust Button", "identifier": "CLOCK_ADJUST_BUTTON", "inputs": [ { "description": "switch to previous or next state", "interface": "fixed_step" } ], "momentary_positions": "none", "outputs": [ { "address": 20526, "description": "selector position", "mask": 2048, "max_value": 1, "shift_by": 11, "suffix": "", "type": "integer" } ], "physical_variant": "infinite_rotary" }, "CLOCK_HOURS": { "category": "Clock", "control_type": "analog_gauge", "description": "Clock Hours", "identifier": "CLOCK_HOURS", "inputs": [ ], "outputs": [ { "address": 20562, "description": "gauge position", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "CLOCK_MINUTES": { "category": "Clock", "control_type": "analog_gauge", "description": "Clock Minutes", "identifier": "CLOCK_MINUTES", "inputs": [ ], "outputs": [ { "address": 20564, "description": "gauge position", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "CLOCK_SECONDS": { "category": "Clock", "control_type": "analog_gauge", "description": "Clock Seconds", "identifier": "CLOCK_SECONDS", "inputs": [ ], "outputs": [ { "address": 20566, "description": "gauge position", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] } }, "Cockpit Mechanical": { "ARM_REST": { "category": "Cockpit Mechanical", "control_type": "selector", "description": "Arm rest", "identifier": "ARM_REST", "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": 20494, "description": "selector position", "mask": 8, "max_value": 1, "shift_by": 3, "suffix": "", "type": "integer" } ], "physical_variant": "toggle_switch" }, "CANOPY_EMERGENCY_RELEASE_HANDLE": { "category": "Cockpit Mechanical", "control_type": "selector", "description": "Canopy Emergency Release Handle", "identifier": "CANOPY_EMERGENCY_RELEASE_HANDLE", "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": 20494, "description": "selector position", "mask": 16, "max_value": 1, "shift_by": 4, "suffix": "", "type": "integer" } ], "physical_variant": "toggle_switch" }, "CANOPY_HAND_CRANK": { "category": "Cockpit Mechanical", "control_type": "limited_dial", "description": "Canopy Hand Crank", "identifier": "CANOPY_HAND_CRANK", "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": 20504, "description": "position of the potentiometer", "mask": 65535, "max_value": 65535, "shift_by": 0, "suffix": "", "type": "integer" } ] }, "MICROPHONE_ON": { "api_variant": "momentary_last_position", "category": "Cockpit Mechanical", "control_type": "selector", "description": "Microphone On", "identifier": "MICROPHONE_ON", "inputs": [ { "description": "switch to previous or next state", "interface": "fixed_step" }, { "description": "set position", "interface": "set_state", "max_value": 1 }, { "argument": "TOGGLE", "d