-
-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Description
First of all, thank you for your help here. However, now I'm facing another issue. It's quite easy to interact with switches like landing lights because they only take a value of 1 or 0. But buttons don't work like that. When I press a button, its value becomes 100, and when I release it, it becomes 0. I can do this with my node app, but it only creates a pressing animation. There's no change on the screen.
const enum DefinitionID {
CDU_A,
LIVE_DATA
}
const dataToSet = new RawBuffer(0);
dataToSet.clear();
dataToSet.writeInt32(100);
handle.setDataOnSimObject(DefinitionID.CDU_A, SimConnectConstants.OBJECT_ID_USER, {
buffer: dataToSet,
arrayCount: 0,
tagged: false
});Metadata
Metadata
Assignees
Labels
No labels