dcs-bios-api-mazeppa
Version:
DCS BIOS export parser that returns JSON data
561 lines • 332 kB
JSON
{
"Canopy": {
"CANOPY_OPEN": {
"category": "Canopy",
"control_type": "selector",
"description": "Canopy Open/Close",
"identifier": "CANOPY_OPEN",
"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": 16928,
"description": "selector position",
"mask": 2,
"max_value": 1,
"shift_by": 1,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "limited_rotary"
},
"JETTISON_CANOPY": {
"api_variant": "momentary_last_position",
"category": "Canopy",
"control_type": "selector",
"description": "Jettison Canopy",
"identifier": "JETTISON_CANOPY",
"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": 16928,
"description": "selector position",
"mask": 4,
"max_value": 1,
"shift_by": 2,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
}
},
"Cockpit": {
"ALT_PRESS_SET": {
"api_variant": "multiturn",
"category": "Cockpit",
"control_type": "analog_dial",
"description": "Altimeter Pressure Set",
"identifier": "ALT_PRESS_SET",
"inputs": [ {
"description": "turn the dial left or right",
"interface": "variable_step",
"max_value": 65535,
"suggested_step": 3200
} ],
"outputs": [ {
"address": 16912,
"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_SCALE": {
"api_variant": "multiturn",
"category": "Cockpit",
"control_type": "analog_dial",
"description": "Clock Scale Set",
"identifier": "CLOCK_SCALE",
"inputs": [ {
"description": "turn the dial left or right",
"interface": "variable_step",
"max_value": 65535,
"suggested_step": 3200
} ],
"outputs": [ {
"address": 16918,
"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": {
"api_variant": "multiturn",
"category": "Cockpit",
"control_type": "analog_dial",
"description": "Clock Adjusting Knob",
"identifier": "CLOCK_SET",
"inputs": [ {
"description": "turn the dial left or right",
"interface": "variable_step",
"max_value": 65535,
"suggested_step": 3200
} ],
"outputs": [ {
"address": 16920,
"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_TIMER": {
"category": "Cockpit",
"control_type": "selector",
"description": "Start/Stop/Reset Chronometer",
"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": 16910,
"description": "selector position",
"mask": 256,
"max_value": 1,
"shift_by": 8,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "limited_rotary"
},
"CLOCK_TIME_LEVER": {
"category": "Cockpit",
"control_type": "selector",
"description": "Time Setting Lever",
"identifier": "CLOCK_TIME_LEVER",
"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": 16910,
"description": "selector position",
"mask": 128,
"max_value": 1,
"shift_by": 7,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "limited_rotary"
},
"COURSE_SET": {
"api_variant": "multiturn",
"category": "Cockpit",
"control_type": "analog_dial",
"description": "Course Set",
"identifier": "COURSE_SET",
"inputs": [ {
"description": "turn the dial left or right",
"interface": "variable_step",
"max_value": 65535,
"suggested_step": 3200
} ],
"outputs": [ {
"address": 16916,
"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"
} ]
},
"HORIZON_CAGE": {
"category": "Cockpit",
"control_type": "limited_dial",
"description": "Horizon Cage",
"identifier": "HORIZON_CAGE",
"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": 16914,
"description": "position of the potentiometer",
"mask": 65535,
"max_value": 65535,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ]
}
},
"Engine": {
"BAT_OFF": {
"category": "Engine",
"control_type": "selector",
"description": "Battery Off",
"identifier": "BAT_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": 16896,
"description": "selector position",
"mask": 8192,
"max_value": 1,
"shift_by": 13,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "limited_rotary"
},
"BAT_ON": {
"category": "Engine",
"control_type": "selector",
"description": "Battery On",
"identifier": "BAT_ON",
"inputs": [ {
"description": "switch to previous or next state",
"interface": "fixed_step"
}, {
"description": "set position",
"interface": "set_state",
"max_value": 0
} ],
"momentary_positions": "none",
"outputs": [ {
"address": 16896,
"description": "selector position",
"mask": 0,
"max_value": 0,
"shift_by": 13,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "limited_rotary"
},
"BAT_ON_OFF": {
"category": "Engine",
"control_type": "selector",
"description": "Battery On/Off",
"identifier": "BAT_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": 16896,
"description": "selector position",
"mask": 4096,
"max_value": 1,
"shift_by": 12,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "limited_rotary"
},
"BOOSTER_PUMPS": {
"category": "Engine",
"control_type": "selector",
"description": "Booster Pumps",
"identifier": "BOOSTER_PUMPS",
"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": 16910,
"description": "selector position",
"mask": 6,
"max_value": 3,
"shift_by": 1,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "limited_rotary"
},
"COLD_START": {
"api_variant": "momentary_last_position",
"category": "Engine",
"control_type": "selector",
"description": "Cold Weather Start",
"identifier": "COLD_START",
"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": 16928,
"description": "selector position",
"mask": 32768,
"max_value": 1,
"shift_by": 15,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
},
"DEC_RPM": {
"category": "Engine",
"control_type": "selector",
"description": "Decrease RPM",
"identifier": "DEC_RPM",
"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": 16928,
"description": "selector position",
"mask": 1536,
"max_value": 2,
"shift_by": 9,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "limited_rotary"
},
"ENGINE_STOP": {
"api_variant": "momentary_last_position",
"category": "Engine",
"control_type": "selector",
"description": "Engine Stop",
"identifier": "ENGINE_STOP",
"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": 16910,
"description": "selector position",
"mask": 1,
"max_value": 1,
"shift_by": 0,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
},
"FUEL_JETTISON": {
"api_variant": "momentary_last_position",
"category": "Engine",
"control_type": "selector",
"description": "MW / Fuel Jettison",
"identifier": "FUEL_JETTISON",
"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": 16900,
"description": "selector position",
"mask": 16384,
"max_value": 1,
"shift_by": 14,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
},
"FUEL_MW_VALVE": {
"api_variant": "momentary_last_position",
"category": "Engine",
"control_type": "selector",
"description": "MW / Fuel",
"identifier": "FUEL_MW_VALVE",
"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": 16900,
"description": "selector position",
"mask": 8192,
"max_value": 1,
"shift_by": 13,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "push_button"
},
"FUEL_OFF": {
"category": "Engine",
"control_type": "selector",
"description": "Fuel Pump Off",
"identifier": "FUEL_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": 16898,
"description": "selector position",
"mask": 8,
"max_value": 1,
"shift_by": 3,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "limited_rotary"
},
"FUEL_ON": {
"category": "Engine",
"control_type": "selector",
"description": "Fuel Pump On",
"identifier": "FUEL_ON",
"inputs": [ {
"description": "switch to previous or next state",
"interface": "fixed_step"
}, {
"description": "set position",
"interface": "set_state",
"max_value": 0
} ],
"momentary_positions": "none",
"outputs": [ {
"address": 16896,
"description": "selector position",
"mask": 0,
"max_value": 0,
"shift_by": 16,
"suffix": "",
"type": "integer"
} ],
"physical_variant": "limited_rotary"
},
"FUEL_ON_OFF": {
"category": "Engine",
"control_type": "selector",
"description": "Fuel Pump On/Off",
"identifier": "FUEL_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"
} ],
"mome