Map commands to buttons on a Novation Launchpad S MIDI controller.
For a powerful library to interact with the Launchpad S, check out my liblaunchpad.h!
With 0,0 bottom left, and 8, 8 top right:
0, 8: stop launcher
-
0, 7: ranger -
1, 7: kitty -
2, 7: nvidia-smi -l -
3, 7: btop
0, 6: vivaldi
go build -o launcher src/app-launcher.goAll the commands are configured for my personal linux configuration, but the code is easily customizable for your needs.
