Haskell-keymap: client library for the Keymapp API

Keymapp is a program for interacting with ZSA keyboards. It’s a GUI, but it also has the ability to run a gRPC server that a cilent can call to control the keyboard. The reference implemntation of the client Kontroll is written in Rust.

I’ve just released haskell-keymapp, a Haskell library for calling the Keymapp API. You can depend on it as a library and call it from your scripts (maybe from your XMonad config?), or there’s also a CLI executable that roughly mirrors the features of Kontroll.

There’s also 2 example scripts to demonstrate the ability to control the keyboard’s RGB lighting: one flashes a rainbow across the keyboard, the other uses the lights to display a (slightly jagged) seven-segment clock that updates every minute.

I’m not sure what the venn diagram of Haskellers and ZSA users looks like, but if there’s anyone else out there, give it a go and let me know what you think!

1 Like