
Base promicro
google/mozc-devices
Circuit diagrams and firmware source code for Gboard DIY keyboards

A custom 9-key macropad with an EC11 rotary encoder, 0.91-inch OLED display, and a custom KiCad PCB Built for Productivity.
Royalpad is an open-source printed circuit board by Royal-Ibu, from the Royal-Ibu/Royalpad repository on GitHub, published under the MIT licence. It is a 2-layer board of 74.5 × 100 mm with 30 parts on 23 nets, routed with 135 tracks and 10 vias.
Its parts include 10 switches, 9 diodes, 1 IC and 1 connector. It belongs with the keyboards and input and lEDs and displays boards of this library.
A Custom 9-key Macropad with an EC11 Rotary Encoder, 0.91-inch OLED Display, and Custom KiCad PCB Built for Productivity. Royalpad was made as a submission for Hackpad V5 through the Stardance challenge.
Royalpad is a custom macropad that uses the Seeed Studio XIAO RP2040, QMK firmware, and brings nine mechanical MX switches, a clickable rotary encoder, and a small OLED display. Whether you're coding, CADding, trying to be productive, or doomscrolling optimally, this macropad is the tool for the job.
| Component | Quantity | Specifications | Source / Notes |
|---|---|---|---|
| Seeed XIAO RP2040 | 1 | Unsoldered microcontroller board | Seeed Studio Documentation |
| 1N4148 Diodes | 9 | Through-hole diodes, one per switch | Vishay Datasheet |
| MX-Style Switches | 9 | Mechanical keyboard switches | Switch Datasheet |
| EC11E Rotary Encoder | 1 | Incremental rotary encoder with integrated push button | Encoder Datasheet |
| 0.91-inch OLED Display | 1 | Compact display module | Provided by Hack Club |
| White Blank DSA Keycaps | 9 | Blank DSA-profile keycaps compatible with the selected switches | White, unlabelled keycaps - Provided by Hack Club |
| M3 × 16 mm Screws | 4 | Enclosure mounting fasteners | Provided by Hack Club |
| Custom PCB | 1 | Custom-designed Royalpad circuit board | Designed in KiCad |
| 3D-Printed Top Case | 1 | Upper enclosure for the macropad | Designed in SolidWorks |
| 3D-Printed Bottom Case | 1 | Lower enclosure housing the PCB and electronics | Designed in SolidWorks |
| Rotary Encoder Knob | 1 | Knob compatible with the EC11E encoder shaft | Provided by Hack Club |
RoyalPad uses QMK firmware to turn its nine-key macropad into five different shortcut layers. The active layer determines what each key and the rotary encoder do. The OLED displays the active mode and provides an on-screen menu for switching between modes. Main firmware features
| Key | Function |
|---|---|
| K1 | Copy |
| K2 | Paste |
| K3 | Undo |
| K4 | Cut |
| K5 | Save |
| K6 | Select All |
| K7 | Previous Track |
| K8 | Play/Pause |
| K9 | Next Track |
Rotary Encoder: Turn to control system volume. Short press to mute or unmute.
| Key | Function |
|---|---|
| K1 | Open Notion |
| K2 | Open ChatGPT |
| K3 | Open Gmail |
| K4 | Screenshot |
| K5 | Open Study Focus Pomodoro |
| K6 | Clipboard |
| K7 | Calendar |
| K8 | New Tab |
| K9 | Task View |
Rotary Encoder: Page Up / Page Down navigation.
Note: The first eight commands use custom Ctrl + Alt + 1 through Ctrl + Alt + 8 shortcuts configured in SOLIDWORKS. Zoom to Fit uses the standard F shortcut.
| Key | Function |
|---|---|
| K1 | Start Sketch |
| K2 | Smart Dimension |
| K3 | Line |
| K4 | Corner Rectangle |
| K5 | Sketch Fillet |
| K6 | Trim Entities |
| K7 | Linear Sketch Pattern |
| K8 | Exit Sketch |
| K9 | Zoom to Fit |
Rotary Encoder: Mouse-wheel viewport zoom.
| Key | Function |
|---|---|
| K1 | Open GitHub |
| K2 | Open Visual Studio Code |
| K3 | Open Terminal |
| K4 | Copy |
| K5 | Paste |
| K6 | Cut |
| K7 | Undo |
| K8 | Redo |
| K9 | Save |
Rotary Encoder: Page Up / Page Down navigation.
| Key | Function |
|---|---|
| K1 | Add Footprint |
| K2 | Route Tracks |
| K3 | Properties |
| K4 | Move |
| K5 | Rotate |
| K6 | Flip Footprint |
| K7 | Save |
| K8 | Refill Zones |
| K9 | Open 3D Viewer |
Rotary Encoder: Switch between the B.Cu and F.Cu copper layers.
A huge thank you to Stardance and Hack Club for providing such an awesome opportunity to design, build, and share a custom hardware project through the Hackpad Challenge!
Royalpad was my first time designing a custom PCB and building a custom hardware project. Throughout the process, I learned how to design and lay out a PCB using KiCad, including working with components such as MX-style switches, diodes, and a rotary encoder. I also used SOLIDWORKS to design a custom two-piece enclosure that fits the PCB and other components nicely. Beyond the hardware itself, this project gave me the opportunity to explore firmware and learn more about how software interacts with custom electronics. It was a great introduction to QMK firmware, as it was definitely a challenge to compile and code everything my Royalpad needed, especially for the various mode layers. I took inspiration from ReuTheCoder's Stratum in terms of how it utilizes different layers where each key performs a different function.
Most importantly, Royalpad gave me the confidence to take on a project that was completely new to me, work through unfamiliar tools and challenges, and develop skills that I can carry into future electronics, CAD, and engineering projects. I'm really grateful to Hack Club and Stardance for making this experience possible!
| Qty | Value | Footprint | References |
|---|---|---|---|
| 9 | D | Diode_THT:D_DO-35_SOD27_P7.62mm_Horizontal | D1, D2, D3, D4, D5, D6, D7, D8, D9 |
| 9 | SW_Push | Button_Switch_Keyboard:SW_Cherry_MX_1.00u_PCB | SW1, SW2, SW3, SW4, SW5, SW6, SW7, SW8, SW9 |
| 5 | LOGO | LOGO | G***, G***, G***, G***, G*** |
| 1 | Conn_01x04_Pin | OLED Display:SSD1306-0.91-OLED-4pin-128x32 | J1 |
| 1 | MOUDLE-SEEEDUINO-XIAO | Library:XIAO-Generic-Hybrid-14P-2.54-21X17.8MM | U1 |
| 1 | RotaryEncoder_Switch | Rotary_Encoder:RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mm | SW10 |
The 26 most common of 30 parts.

google/mozc-devices
Circuit diagrams and firmware source code for Gboard DIY keyboards


VoronDesign/Voron-Hardware
Cool Hardware designed by the Voron Design group

hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

tenderlove/initial-v
It's a BMW shifter converted to a Bluetooth Keyboard that you use with Vim

hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!


It measures 74.5 × 100 mm and has 2 copper layers, 1.6 mm thick.
30 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the Royal-Ibu/Royalpad repository on GitHub, at the commit this page was made from: the board is PCB/libraries/Royalpad.kicad_pcb and its schematic PCB/libraries/Royalpad.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).