iTranslated by AI
Joined TinyGo Keeb and Built a Keyboard
Introduction
I participated in a workshop event called TinyGo Keeb Tour 2025 in Osaka and built a keyboard.

Personally, I own a few Raspberry Pi Pico, Raspberry Pi Zero 2 W, Raspberry Pi, etc., but honestly, I wasn't interested in custom keyboards and joined just to see what it was all about.
Morning Session
The event was divided into a morning session and an afternoon session. In the morning session, we soldered diodes, resistors, a microcontroller, and key switches onto a printed circuit board.

This board has a Gopher illustration on it and is very cute. It's a pity that the illustration becomes invisible once the board is fully assembled.

It had been so long since I last soldered, and with presbyopia, my hands were unsteady, but I managed with some help.

This is the finished product.

The upper left is a joystick, the upper right is a rotary switch, and there are 12 keys. At the top center, there is a display that can show 128x64 pixels in monochrome.
Afternoon Session
In the afternoon session, we programmed the board. The microcontroller is an rp2040, which can also be used with TinyGo.
The workshop already had several samples prepared, providing everything needed to control the hardware we built.
The most straightforward example is 80_checker, which can monitor the status of the joystick, rotary switch, and keys.
Time passed at a fairly relaxed pace, and since it seemed unlikely that there would be enough time to write code in the afternoon session, I decided to go for a gag of displaying something random on the display.

I spent time rummaging through the workshop repository for examples to reference, which consumed my coding time.
The actual code is as rough as this.
After that, during the social gathering, I was able to hear various stories and share some too. It was fun. Thank you to the organizers for all the hard work.
At Home
The microcontroller rp2040 on this keyboard is the same as the Raspberry Pi Pico that I also own. sago35, the organizer of this TinyGo Keeb event, has developed a game engine called koebiten that works on the rp2040. koebiten is an adaptation of Ebitenjin (formerly Ebiten) developed by hajimehoshi, made to work with TinyGo.
The sample code includes some playable games.
tinygo flash --target ./targets/zero-kb02.json --size short ./games/flappygopher

Let's Make Something
Since creating a game from scratch would take too much time, I first made a simple HID keyboard and mouse to learn about this hardware and test basic control.
The joystick can be used to move the mouse cursor. Moving it while pressing the joystick doubles the speed. Pressing the rotary switch performs a mouse click, and twisting it acts as a mouse wheel.
Cursor key movements, modifier keys (Ctrl/Shift/Alt), and other keys (C/V/Tab/Enter) are assigned to the keys, so simple copy-paste operations can be done with this keyboard.
*Tab is assigned for window switching using Alt-Tab on Windows.

For simple web browsing, this hardware alone should suffice.
Conclusion
As I mentioned earlier, I wasn't particularly interested in custom keyboards, but I realized that a joystick, rotary switch, and keys that light up when pressed have a certain charm that draws people in.
If another event like this comes up and the timing is right, I would like to participate again. I'll read the TinyGo Keebook I received as a gift thoroughly.

By the way, there seems to be an event called TinyGo Conf 2025 to make TinyGo more widely known. If you're interested, why not consider joining?
Discussion