skip to content

a desk control surface for agents.

the row keypad: a small soft slab in matte silicone with a 4 by 4 grid of glowing keys, some white, green, orange and red, and a raised head at the far end.

a row for every session, a key for every tab. press and you are there.

65.3 × 106.6 mm. a 14.5 mm key deck rising to a 22.6 mm head over the board

16 keys: four sessions, the first four tabs of each, an rgb led under every key

rp2040 on circuitpython 10.3.2. two small files, no libraries

one port, usb-c, bus powered. unplug it any time; it reconnects by itself

how it works

a row is a rex session: one project, such as web, api, ios or docs. four rows.

a key is one of the first four tabs in that session, in tab order, lit with what its agent is doing.

press a key and rex jumps to that session and tab. states come from rex program status records (osc 7501), which claude code already reports.

set key docs 2 to

several panes in a tab: blocked > error > working > done > idle.

key
none pressed yet
device sends
K<index> 1
rowd runs
rex -C client do session.select session_id=… window_id=…

a case for it

a two-part case around the board. the key deck replaces the kit's faceplate, and a raised head covers the rp2040 board.

printed first, in nylon (mjf pa12) from jlc3dp or on a home printer. then a vacuum-cast silicone sleeve over a rigid frame.

parametric cad in cad/keypad.py, step files in cad/out_keypad, ready to upload for a quote.

the keypad in printed nylon
printed nylon. mjf pa12, dyed black. about £10–20 for a one-off, plus shipping. est.
the keypad in machined aluminium
machined aluminium. cnc 6061, bead-blast and clear anodise. about £70–130 for a one-off. est.
the keypad in silicone sleeve
silicone sleeve. soft matte silicone over a rigid printed frame. the favourite so far.
exploded view. from the top: housing, silicone keymat, rp2040 board, keypad base, case base, screws and feet.
close-up of the keys: rounded squares of milky silicone glowing in a soft matte case
the side of the case: the usb-c opening sits a little above the keys
plan view, lit: a 4 by 4 grid of keys below the raised head
the keypad glowing in a dark room
plan view with every light off
65.3106.615.110.315.1
22.614.5
22.614.5

millimetres. 15.1, measured, is the pitch of the pimoroni base itself; each cross is a key centre and an led. 14.5 mm at the key deck, 22.6 at the head, 24.8 with feet.

1 housing

the key deck and the raised head in one part. the deck takes the place of the kit's faceplate and clamps the silicone onto the board. a usb-c slot in the left side.

2 keymat

the silicone pad that comes with the base, unchanged: a 3.1 mm web, and 10.3 mm keys on a 15.1 mm pitch, each with a light pipe. they stand 2 mm proud of the deck.

3 boards

the keypad base, 59.9 × 101.2 mm, with the rp2040 board on its sockets. the kit's chrome feet stay on, in pockets in the base.

4 base

four countersunk m2 × 12 screws run up through the base, the board and the silicone into the deck, where the faceplate's screws went.

measure before ordering

the cad is measured from photographs of the real parts, to about ±0.3 mm across and ±0.5 mm in height. two numbers matter most for the fit; check them with calipers.

11.0 mm
from the top of the keypad base to the top face of the rp2040 board, once seated. the photos put it at 10.1–11.0; the cad takes 11.0, with the top of the usb-c about 3 mm above the key tops
2.9 mm
how far the tip of the usb-c socket sits inside the left edge of the board, 49.5 mm from the centre of the key grid

the parts

two boards off the shelf, both with published schematics, running open source firmware. nothing to solder.

the rp2040 board pushes into sockets already fitted to the keypad base. one usb-c cable to the mac.

it is 4 × 4, not the 4 × 8 of row proper: four sessions, four tabs each. enough to live with it on a desk.

the parts as bought, no case: the pimoroni keypad base with its silicone keys lit, and the small rp2040 board seated in its sockets.
what to buy
pico rgb keypad base, pimoroni pim551a 4 × 4 pad of squishy translucent silicone keys. an apa102 rgb led sits under each key on spi; the keys are read through a tca9555 i/o expander on i2c. a black faceplate holds the silicone down with four screws, and sockets for a pico are already fitted.£21.90
waveshare rp2040-plus, 4 mb, headers fittedthe raspberry pi rp2040 on a pico-shaped board with a usb-c socket. it pushes straight into the base. a raspberry pi pico h also fits, with micro-usb.£6.80
usb-c data cablea data cable, not a charge-only one, or the mac never sees the board.one you own
case, optionalprinted from jlc3dp or on a home printer. see the case, above.£10–20 est.

about £29 before delivery, at the prices listed by pimoroni and the pi hut in november 2026.

build one

five steps, a usb cable and a mac running rex.

steps
  1. 1seat the board. match the usb end of the rp2040 board to the outline printed on the base, and check every pin is in a socket.
  2. 2flash circuitpython. hold bootsel, plug in, and drop the circuitpython 10.3.2 uf2 for the waveshare rp2040-plus onto the drive that appears.
  3. 3copy the firmware. copy firmware/boot.py and firmware/code.py onto circuitpy. the pad restarts and plays a slow warm wave until the mac speaks to it.
  4. 4run the daemon. in a rex tab: python3 -u rowd.py keypad. it finds the pad on its own and lights the first four tabs of your first four sessions.
  5. 5press a key. rex jumps to that tab. the key stays bright so you know where you are.

firmware

two small files on circuitpython 10.3.2, no libraries. the pad is dumb on purpose: it shows frames and reports keys. all meaning lives on the mac.

motion runs on the pad: breathing, pulsing and 180 ms fades between states, so the mac only speaks when something changes.

with no word from the mac for 8 s it shows a slow warm wave, so a stale grid never pretends to be live.

protocol. one line per message over usb serial.
firmware/code.py
mac -> pad   F<16 × rrggbba>   whole grid. a = animation: 0 solid, 1 breathe (2.4 s), 2 pulse (0.8 s)
             B<0-31>           global led brightness
             ?                 identify -> "row-keypad 4x4 1"
pad -> mac   K<index> <1|0>    key down / up

the base has no pull-up resistors on its i2c lines, and circuitpython refuses to start i2c without them. so the keys are read over a small bit-banged i2c on the internal pull-ups of the rp2040, as pimoroni do in their own code.

usb keyboard and midi are switched off. a usb keyboard makes macos open its keyboard setup assistant. the pad talks over a second usb serial channel instead.

every led gets its own 5-bit current setting as well as its 8-bit colour, so the dim states fade smoothly instead of stepping.

the circuitpy drive is hidden, so pulling the cable never corrupts it or warns that a disk was not ejected. hold any key while plugging in to bring it back for an update.

host

rowd.py keypad: stdlib python, running in a rex tab. it asks rex for every tab's state about once a second, and sends the pad a new frame when anything changes.

it finds the pad by asking each usb serial port who it is, so any port works, and if the cable comes out it keeps looking until it is back.

the full api and the planned local api for other tools are on the aluminium page.

commands
daemon/
python3 -u rowd.py keypad       # four sessions × their first four tabs
python3 -u rowd.py keypad 1     # the same, with the pad turned a quarter (0–3)
open http://localhost:7502      # colours, levels, and how long done stays fresh

rex ls --json                                           # sessions -> rows
rex window ls -s session --json                         # tabs -> keys
rex block call -s session -b block program_status       # idle | working | done | blocked | error
rex -C client do session.select session_id=… window_id=…   # key press -> jump to the tab

done or old

done
rex keeps a finished tab marked done until something new happens in it, sometimes for days.
old
so the daemon remembers when you last switched to or away from each tab, or pressed its key. a done you have seen since it finished drops to old.
15 min
after which any done counts as old anyway. the slider for it is on the tweak page.

identity

the o is one key: 14 square, 2.5 corner. the space to the w is the 5 mm gap between keys. strokes 4, counters 6.

aba