Close

[C] Setting up KMK + pog

A project log for WK-50 Trackball Keyboard

Reverse-engineering a bat-shaped, hot-swappable keyboard with a 38mm trackball and RGB-backlit encoder.

kelvinakelvinA 08/28/2024 at 11:380 Comments

Learning about transistors

Sometime before the Circuitpython fiasco, I watched the below video about transistors to understand the mystery on this board:

The main frames I want to point out are diagrams of a diode and NPN transistor:

I noticed that the transistor looked like 2 diodes put together. I looked into it and found symbols like the below:
Since matrix scanners only scan one row/column at a time, it's likely safe to assume that they act like a per-key diode. As confirmed when I tried the KMK starter code, the keyboard matrix is configured as Row to Col.

Creating the layout in pog

Turns out pog can install/update KMK, which is nice.

Since I gave the board useful pinnames, it was barely an inconvenience to set up:

Then I got the ChordMap, moved the keys in the layout area to approximate the keyboard whilst still looking tidy and added the encoder pins:
I also needed to download the neopixel library and put it in the lib folder:

Discussions