An Elgato Stream Deck but for general purposes https://www.elgato.com/en/stream-deck-mk2 Basically imagine having 15 physical buttons to use with any kind of actions, shortcuts, macros etc. but you have a visual feedback too. It’s pretty great! I know there are alternatives like the Adafruit RP2040 https://www.adafruit.com/product/5128 but the visual knobs make the Stream Deck much better imo.
I bought one of these a couple of years ago with plans to use it for macros, shortcuts etc, but gave up using it because I found the system for writing your own plugins and generally configuring it was beyond awful, it felt like a designed-by-committee horror show. The complexity to just just set the button image and make it run a bash script when pressed was insane. But I really wanted it to work, I can think of ton…
But under Linux I used this
https://timothycrosley.github.io/streamdeck-ui/
Works pretty well by my experience under Debian. There are some edge cases like Wayland (see the issues) though.