Skip to content

catalogue: add two rotary plugins#11

Open
babs wants to merge 1 commit intoOpenActionAPI:mainfrom
babs:add-rotary-plugins
Open

catalogue: add two rotary plugins#11
babs wants to merge 1 commit intoOpenActionAPI:mainfrom
babs:add-rotary-plugins

Conversation

@babs
Copy link
Copy Markdown

@babs babs commented Mar 23, 2026

Summary

  • Add info.degois.damien.opendeck.plugins.rotary-command: run custom shell commands on rotary encoder actions (CW, CCW, press, long press)
  • Add info.degois.damien.opendeck.plugins.rotary-volume: control audio volume and mute via rotary encoder using PipeWire/PulseAudio

Note

Both icons are currently identical (same rotary knob SVG). The volume plugin icon will be updated in a follow-up.

… info.degois.damien.opendeck.plugins.rotary-volume
@nekename
Copy link
Copy Markdown
Member

Thanks for the PR @babs. Could you explain what features the rotary command plugin provides over OpenDeck's built-in support for rotation in the Run Command action, and what features the rotary volume plugin provides over the existing https://marketplace.tacto.live/plugin/com.sfgrimes.pipewire-audio plugin?

@babs
Copy link
Copy Markdown
Author

babs commented Mar 31, 2026

I started with the later to customize the on press action (long press).
Then I generalized thus the first one (it separates CW and CCW, there is also the long press it but can be considered overkill)

Might be interesting to have indicators for rotary compatible actions ?

[there is also a pinch of curiosity on how to make plugins :)]

@babs
Copy link
Copy Markdown
Author

babs commented Apr 1, 2026

And the why about audio rotary is that on my machine, the node's com.sfgrimes.pipewire-audio version consume 20-30% of a core.

@nekename
Copy link
Copy Markdown
Member

nekename commented Apr 1, 2026

I see, thanks. @Terrorwolf01 could you give these plugins a try on your SD+ so we can test they work on multiple systems?

@Terrorwolf01
Copy link
Copy Markdown

Hi,
Will test it sometime this week.
Just to give my mind to this, the pipwire Plugin CPU Utilisation is beeing worked on afaik.
For the Rotary compatible actions, I would suggest going the Route of the Elgato software, with its own menu, so Actions with only Key or only Rotary Compatibility are just shown there. It would be easier to navigate the list.

@nekename
Copy link
Copy Markdown
Member

nekename commented Apr 1, 2026

Yeah, actually, that's right - @sfgrimes had pushed v1.1.0 of the audio plugin that dramatically reduced the CPU usage when using the knobs to change volume, so maybe this rotary audio plugin isn't necessary?

@babs
Copy link
Copy Markdown
Author

babs commented Apr 1, 2026

It was not only when using the knob it was constant :/
I'll check the v1.1.0

@babs
Copy link
Copy Markdown
Author

babs commented Apr 1, 2026

Seems to be waaaay better

@Terrorwolf01
Copy link
Copy Markdown

Hi,
I tested the rotary-command Plugin now.
2 things I would add/change:
Please add the Action into its own Category so its easier to find in the Action list.
And for the Long-Press: Maybe consider starting the thing on long press as soon as its determined a long press, so People know when to release.
Also I often accidentially used the Long-Press action when wanting to use the normal. So, the Long-Press triggers pretty fast atleast in my Testing.
Otherwise works perfectly from my end.

@nekename
Copy link
Copy Markdown
Member

nekename commented Apr 4, 2026

Seems to be waaaay better

If the rotary volume plugin is no longer necessary, please drop it from the PR :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants