Setting up specialized shortcuts isn't exactly rocket science, but many users prefer having dedicated keys with the help of stream decks and other secondary devices. Even the extra buttons on a mouse can take on that role, but today we'll follow the DIY route with a three-key USB mini keyboard. Its design is based on a relatively affordable Seeed Studio XIAO SAMD21 controller that's easy to program.

Build Your Own Mini Keyboard with Three Programmable Keys
Build your own mini keyboard with three programmable keys

Sooner or later, every user wants to customize their environment. Whether it's simple desktop shortcuts or advanced key combinations, that flexibility is essential, and complaints multiply when it's not available (cough, Windows 11, cough).

Obviously, hardware also plays a fundamental role. Adding a second screen is quite common these days (in fact, it would be very hard for me to go back to a single panel), but many users swear by the virtues of stream decks and secondary keyboards. Of course, prices don't always help, and that's when we turn to DIY to discover projects like gokux's programmable mini keyboard on Instructables.

(Editor's note: Vertical video, and I recommend turning down the volume. These kids with TikTok...)

How to Build a Mini Keyboard

The design is very simple, and I'd venture to say each of its components can be replaced without any trouble. The controller is a Seeed Studio XIAO SAMD21, Arduino-compatible, but I imagine the code could be adapted to use something like a generic Pro Micro. The switches are classic Omron 12x12mm with four contacts (only two are used), and the rest is a red LED with its resistor, plus 3D printed case and keys.

Build Your Own Mini Keyboard with Three Programmable Keys
Three pins, shared GND... even the LED is optional

The example code programs the keys for DaVinci Resolve (Ctrl+B, Backspace, and the letter A), but nothing stops us from adding other combinations or modifying the key design. All connections are simple, though they require soldering on the switches and controller. Now, gokux has access to a resin printer, but I figure there won't be big problems using a traditional 3D printer. What's more, I think the entire printing phase is optional (anything is a case if we're brave enough).

Build Your Own Mini Keyboard with Three Programmable Keys
All the necessary parts

In summary, the weekend is approaching at full speed, and this mini keyboard is a great candidate to occupy our time. Files and code, at the link below.

Source: Instructables