MIDI is a good option for this, there’s a project here in the community that already implements executing desired scripts based on MIDI input:
You can find the Pisound button scripts located at /usr/local/pisound/scripts
- you may simply trigger the desired scripts yourself.
1 Like