OpenMacroBoard / StreamDeckSharp

A simple .NET wrapper for Stream Deck
MIT License
351 stars 47 forks source link

StreamDeck XL Button Rows 1-3 not trigger KeyStateChanged #38

Closed patrick-dmxc closed 2 years ago

patrick-dmxc commented 2 years ago

Hi, i found some strange behavior. In this smal Test-Program, the StreamDeck XL not tigger the KeyStateChanged event on the Rows 1,2, and 3, only the 4th row triggers the event. StreamDeck.zip

wischi-chr commented 2 years ago

Hi @patrick-dmxc

I've tested it on my stream deck xl and all buttons trigger the state change as expected. Do you still have this issue? Could you please try to connect with the uncached StreamDeckClient like so and test if this fixes the issue.

var streamDeckReference = StreamDeck.EnumerateDevices(Hardware.StreamDeckXL).First();
streamDeckReference.UseWriteCache = false;

using (var board = streamDeckReference.Open())
{
    // do stuff with the board, register eventhandler etx.
}

You should also try to connect the StreamDeckXL directly to your PC (without a hub). I experienced issues and glitches with the Stream Deck XL in the past as well with my usb hub.

patrick-dmxc commented 2 years ago

Apparently it was due to a bridged firmware. But can you please publish a new version for the two projects on NuGet