node-simconnect icon indicating copy to clipboard operation
node-simconnect copied to clipboard

MSFS: Things I've tested so far

Open BarryCarlyon opened this issue 1 year ago • 0 comments

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.

BarryCarlyon avatar Sep 25 '22 20:09 BarryCarlyon