Keyboard Builders' Digest
Save 5% at Lume Keebs! Code: KBDNEWS
Keyboard Builders' Digest / Tips & Tricks

Pimoroni trackball support in ZMK

Coded, built and tested by cdc_mkb on a Zephirum, Pimoroni PIM447 trackball is now supported in ZMK firmware.

KBD.news
Published October 4, 2021
Creators! Feel free to tip me off about your keyboard related projects to bring them to 150K readers.

I wrote a Zephyr driver for the famous Pimoroni PIM447 trackball and added the necessary glue on top of the "mouse" development branch – cdc_mkb.

Code: https://github.com/cdc-mkb/zmk/commits/mouse-pim447

Thanks to a neat trick, small displacements are very precise whereas large displacements are quite fast; it never feels choppy at all.

It probably won't be merged until the ZMK "mouse emulation" dev. branch is stabilized. Technically the support for this trackball could be independent from this dev. branch, but it would mean to duplicate a lot of code.

I only use the USB HID for the moment, so I have no idea on the battery impact. However there is a concern in this regard since the driver is in polling-mode so I contacted Pimoroni to get more information in order to write a new driver in interrupt-mode.
Do you like this post? Share, donate, subscribe, tip me off!

Published on Mon 4th Oct 2021. Featured in KBD #46 (source).


Related

Dactyl TypeSafe

This wireless vertical Dactyl TypeSafe was designed and shared by u/tewtham.

UniChunky

The UniChunky by u/tenstaana is basically two Chunkys fused together.

Corne thumb trackball

An updated Corne PCB which integrates a thumb trackball – shared by idank.

AWKB - A Weird Keyboard

AWKB by wj-zhe is a 36-key split keyboard with trackball, driven by a Xiao RP2040.

Cornball

The Cornball by Protieusz is a heavily modified Cornelius – with an integrated trackball and some LEDs.

StarShip-Centurion

The SS Centurion, a 39-key monoblock split with a trackball, is the latest keyboard by Protieusz.

×
top