dcs-bios-api-mazeppa
Version:
DCS BIOS export parser that returns JSON data
523 lines • 356 kB
JSON
{
"Accelerometer": {
"ACCELEROMETER_MAIN": {
"category": "Accelerometer",
"control_type": "analog_gauge",
"description": "Accelerometer Main",
"identifier": "ACCELEROMETER_MAIN",
"inputs": [ ],
"outputs": [ {
"address": 21096,
"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": 21100,
"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": 21098,
"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": 21094,
"description": "selector position",
"mask": 8,
"max_value": 1,
"shift_by": 3,
"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": 21034,
"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": 21044,
"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": 21042,
"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": 21040,
"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": 21038,
"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": 21036,
"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": 21048,
"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": 21054,
"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": 21050,
"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": 21052,
"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": 21058,
"description": "selector position",
"mask": 1,
"max_value": 1,
"shift_by": 0,
"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": 21060,
"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": 21056,
"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": 21068,
"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": 21058,
"description": "selector position",
"mask": 4,
"max_value": 1,
"shift_by": 2,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "infinite_rotary"
},
"CLOCK_HOURS": {
"category": "Clock",
"control_type": "analog_gauge",
"description": "Clock Hours",
"identifier": "CLOCK_HOURS",
"inputs": [ ],
"outputs": [ {
"address": 21070,
"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": 21072,
"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": 21074,
"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": 20996,
"description": "selector position",
"mask": 1024,
"max_value": 1,
"shift_by": 10,
"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": 20996,
"description": "selector position",
"mask": 2048,
"max_value": 1,
"shift_by": 11,
"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": 21010,
"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",
"desc