Salavat’s Hobbies

Track Boy. TKL layout keeb with trackball

July 2025

I went with a Tenkeyless (TKL) layout for this one, removed 6 keys from the right cluster, and added a trackball in their place. I’m left-handed, but I put the trackball on the right since the idea was to use it alongside my main mouse (which sits on the left). The click and scroll buttons sit to the left of the left arrow key, so they land comfortably under your thumb.

Track Boy keyboard with trackball

Case

This is already the second version of the case. Compared to the first, I added two extra USB ports, like the old Apple keyboards, so you can plug in flash drives or other peripherals. I also gave the case a 5° tilt.

You can grab the print files from Printables, including the .STEP file.

Bill of materials

PartCount
Pi Pico (USB-C clone)1
USB Hub Module FE11SX4 (pic)1
USB-A female connector (pic)2
USB-C female connector (pic)1
USB-C male connector (pic)1
3D printed case1
PMW3389 module (pic)1
38mm billiard ball1
Bearings (6x2.5mm)3
M3 screws (8mm)3
M2 screws28
MX switches (Gateron Pro Milky Red)66
MX Hotswap Sockets (pic)66
1N4148 diodes66
Keycaps66
6.25u or 7u plate mount stabilizer1
Adhesive Bumper Pads (16mm)4
Wire (28AWG)
Heat shrink tubing

Build Log

7.00u spacebar variant (also available 6.25u variant)

Inside it’s total wire chaos, nothing to brag about aesthetically, but it all works. This time I tried hotswap sockets, so I can swap switches if I ever need to.

Firmware

I’m using QMK for the firmware. Repo’s on GitHub. Pre-compiled firmware.

Pin direction:

"matrix_pins": {
    "cols": ["GP27", "GP26", "GP22", "GP21", "GP20", "GP19", "GP28", "GP8", "GP7", "GP6", "GP5", "GP4", "GP3", "GP2", "GP1", "GP0"],
    "rows": ["GP18", "GP17", "GP16", "GP14", "GP15"]
}

PMW3389 module pins:

#define SPI_DRIVER SPID1
#define SPI_SCK_PIN GP10
#define SPI_MOSI_PIN GP11
#define SPI_MISO_PIN GP12
#define PMW33XX_CS_PIN GP13

Trackball Controls

Vial Layout Options

Resources

Mario Edition

Credits

This trackball housing and firmware were inspired by and initially prototyped from the HPD keyboard. Thanks to Ergohaven for publishing their work as open source.

Thank you for reading! Reply via email or Telegram.