0.7.3 • Published 1 year ago
fsuipc-wasm v0.7.3
fsuipc-wasm
Node bindings to the FSUIPC WASM interface for Windows x64.
To use this package, you must be using Microsoft Flight Simulator and the FSUIPC WASM module must be installed.
Installation
npm install --save fsuipc-wasmOr
yarn add fsuipc-wasmUsage 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);
});