Macropads can be as simple as a few buttons hooked up to a microcontroller to do the USB HID dance and talk to a PC. However, you can go a lot further, too. [CNCDan] demonstrates this well with ...
Python 3.8+ llama.cpp (already included in parent directory) Raspberry Pi 4/5 with 4GB RAM (or Mac/Linux for development) ...