Skip to content

Latest commit

 

History

History

fsuipc-wasm

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

fsuipc-wasm

Node bindings to the FSUIPC WASM interface for Windows x64.

NPM Version Downloads Stats

To use this package, you must be using Microsoft Flight Simulator and the FSUIPC WASM module must be installed.

Installation

npm install --save fsuipc-wasm

Or

yarn add fsuipc-wasm

Usage example

const fsuipcWasm = require('fsuipc-wasm');

const obj = new fsuipcWasm.FSUIPCWASM();

await obj.start();

console.log(obj.lvarValues);

obj.flagLvarForUpdate("A32NX_IS_STATIONARY");

obj.setLvarUpdateCallback((newLvars) => {
  console.log(newLvars);
});