Fix Stream Deck Plus Swipe Event Detection#496
Conversation
This is actually intended. The swipe events can be used by adding actions to the screen itself. The idea behind it is, that in most cases the swipes will probably be used to switch pages (I believe this is also how it works in the official Elgato app). And it therefore doesn't really make sense to send the events to the dials. But if you see a use-case for receiving the events on the dials, let me know. Edit: Just noticed that you mention the events now get send to both the dials and the touchscreen. This way users could still have page switch actions on the touchscreen itself. But for what do you need the swipe events on the dials? |
I'm building a plugin for pipeweaver, I planned on adding some left/right swiping so I could add some per dial screen paging instead of full screen paging. I think both can co-exist, the current swipes can be executed on a single dial screen, there could be a longer swipe for full page changes. |
|
I just realized this could be odd if you don't have a stream deck plus, while you can use the entire screen and that's how stream controller handles it, each dial is also a quarter of the screen. This PR gives you the ability to swipe on the quadrants rather than the whole screen. Edit: the idea of the co-existing, require the swipe for changing pages to be at least X number of pixels or make contact with at least 3 of the of the quadrants to trigger it. That would allow small swipes on each quadrant and long swipes for page changes. |
|
I don't have a SD+ for testing: Does the StreamDeck registers the swipe if it is only one 1/4 of the screen? Didn't look at the code in detail yet, just to confirm: you made it so that every swipe gets send to the actions on the Screen, but also to the actions of the dial that matches the swipe position? |
I could help. I habe a new sd+ 3 weeks old. And i have done a lot with it. |
Sounds very interesting! And thanks for the offer of testing, but let's wait a couple of days for @designgears as he already has the dev environment set up. |
|
Also interested and happy to test as needed. |
|
I canned my features that were going to use this, but I can whip up a small plugin to demonstrate and let others test it out as well. |
Fix Stream Deck Plus Swipe Event Detection
Problem
Swipe gestures on the Stream Deck Plus touchscreen were not being detected.
Root Causes
Solution
Result
✅ Swipe gestures now work correctly on Stream Deck Plus touchscreen
✅ Events are routed to both touchscreen and dial inputs
✅ Actions can be configured to respond to
DRAG_LEFT/DRAG_RIGHTevents