Adjustable Linux userland keyboard clicker with automatic and hot keyboard detection. It listens to Linux input events and plays a short click sound for key presses, with separate volume and pitch settings for regular and modifier keys.
- Linux
- Go 1.26+
- Access to
/dev/input/*keyboard devices, usually viasudo - A working desktop audio session
go buildStart in the background with default settings:
sudo ./keyklikStop a background instance:
sudo ./keyklik --stopRun in the foreground:
sudo ./keyklik --foregroundSet volume and pitch:
sudo ./keyklik --volume 0.20 --pitch 4Set modifier-key click settings:
sudo ./keyklik --modifier-volume 0.35 --modifier-pitch 2Use a specific keyboard device:
sudo ./keyklik /dev/input/event3--volume 0.0-1.0: regular key volume, default0.08--pitch 1-5: regular key pitch, default1--modifier-volume 0.0-1.0: modifier key volume, default0.07--modifier-pitch 1-5: modifier key pitch, default2--foreground: do not detach--pidfile PATH: custom pid file--debug: verbose output--development: append raw key-down scan values to/tmp/keyklik_info--stop: stop a running background instance
Without an explicit device path, keyklik scans /dev/input/by-path and listens to entries containing kbd. It rescans while running, so hot-plugged keyboards can be picked up.
go test ./...