Open trevor-coleman opened 1 year ago
Ah looks like this might be part of it -- most of the actions have "Show player tiles" as the action. Which is why it's prompting to change to the player tiles.
Speedometer.onKeyUp(({ action, context, device, event, payload }) => {
showPlayerTiles(device, action, payload);
});
I noticed a couple places you are comparing to empty objects and arrays like this:
if (x === {} || x === [])
both of those conditions will always be false -- javascript ===
compares objects and arrays by reference -- so you are comparing to a new empty object and a new empty array each time.
Release 1.0.3 (coming soon) might fix some if not all of this as it had a significant overlap with #14.
Awesome sauce! Thanks for the update!
Using a Streamdeck XL. I tried installing the plugin from the store (1.0.0) and from the releases page (1.0.1) and both were the same. Watching FP1 at silverstone.
Summary
The plugin connects to multiviewer and loads the driver pictures, but none of the buttons work. Seems to be an issue with the context object.
System Info
General
StreamDeck
Multiviewer
Custom profile:
Errors
When I first switch to the custom profile I get this is the console:
Then when I press a driver button:
Actions in default profile
Errors
and then