node-simconnect
node-simconnect copied to clipboard
MSFS: Things I've tested so far
Starting on converting my stuff to use v3 so filing thigns I've tested so far.
I did note the following:
The value recvEvent.eventID
handle.on('event', function (recvEvent) {
switch (recvEvent.eventID) {
case EVENT_ID_PAUSE:
console.log(
recvEvent.data === 1 ? 'Sim paused' : 'Sim unpaused'
);
break;
}
});
was recvEvent.clientEventId
for me
handle.on('event', function (recvEvent) {
switch (recvEvent.clientEventId) {
case EVENT_ID_PAUSE:
console.log(
recvEvent.data === 1 ? 'Sim paused' : 'Sim unpaused'
);
break;
}
});
Will add additional notes to this PR as I go. and will add a comment when I'm done testing on the things I'm interested in.