Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dcs-bios-api-mazeppa

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dcs-bios-api-mazeppa

DCS BIOS export parser that returns JSON data

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

DCS BIOS API

DCS BIOS API is a library that converts the binary export format from DCS BIOS into JavaScript objects.

const DcsBiosApi = require('dcs-bios-api');

var api = new DcsBiosApi({ logLevel: 'INFO' });

api.on('SC_MASTER_CAUTION_LED', (value) => {
  console.log('Master caution LED is', value ? 'on' : 'off');
});

api.on('ML_MASTER_ARM:1', () => {
  console.log('Master arm light is on');
});

api.on('ML_MASTER_ARM:0', () => {
  console.log('Master arm light is off');
});

api.sendMessage('WEAPONS_MASTER_ARM 1').then(() => {
  console.log('Master arm switch turned on');
});

Controls Browser

To see a list of controls that DCS BIOS can interact with, checkout the controls browser here: https://danieltian.github.io/dcs-bios-api. Some controls are not available in DCS BIOS. For example, closing the cockpit door is not, and neither are the throttle levers on the Ka-50.

API

More in-depth guide is WIP, but you can take a look at the jsdoc here: https://doclets.io/danieltian/dcs-bios-api/master

Keywords

FAQs

Package last updated on 10 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc