I bought one of these Macro Keypads a few years ago and finally put it to use. I used https://github.com/kriomant/ch57x-keyboard-tool to flash the firmware and assign key presses for each button. Super+Alt+1 and so on executes various bash scripts. A hotkey listener that I wrote in python starts on boot and executes things when a key press combination is detected. Tonight I printed and stuck on some labels. Mic mute toggle, WiFi on/off, Bluetooth on/off, toggle between headphones and speakers. The top knob controls the volume and the bottom knob controls zoom. Pushing the volume knob toggle mutes audio and pushing the zoom knob resets zoom level. Anyone have suggestions for other functions that I could add? #keyboard #linux #bash
Update: I added more functions to the keypad. Reboot, Restart, Logoff each launch in a terminal with a count down so that I can cancel the action in case I accidentally pressed the buttons. I use QMMP as my mp3 player and set the global hotkeys there for next, previous, pause, show/hide player.