Skip to the content
2 layers77.5 × 71.5 mmBrawlStarsGamepad, the printed circuit board in 3D

I play Brawl Stars in an emulator on my PC, and mashing WASD on a laptop keyboard always felt bad. So I built a little four-key pad for it.

Size
77.5 × 71.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
15
Nets
19
Pads
61
Tracks, vias
53, 10
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
9 Aug 2026
Updated
13 Aug 2026

Overview

BrawlStarsGamepad is an open-source printed circuit board by arnavaggarwal-dev, from the arnavaggarwal-dev/BrawlStarsGamePadSubmit repository on GitHub. It is a 2-layer board of 77.5 × 71.5 mm with 15 parts on 19 nets, routed with 53 tracks and 10 vias.

It is built around the SK6812MINI-E. Its parts include 4 diodes, 4 switches and 2 ICs.

Main components

1

README

README.md

Brawl Stars Gamepad

I play Brawl Stars in an emulator on my PC, and mashing WASD on a laptop keyboard always felt bad. So I built a little four-key pad for it.

The buttons send W A S D over USB, which is exactly what the emulator maps movement to. The 0.91" OLED shows two things at once: a small compass wheel for the direction you're holding, and three bars with the PC's live CPU, RAM and GPU load. There's a strip of RGB LEDs along the bottom edge because why not.

It runs on a Seeed XIAO RP2040 on a board I laid out in KiCad.

Assembled gamepad

How it works

The XIAO shows up as a plain USB keyboard. Top switch holds W, left one A, and so on. Hold two keys and the wheel reads it as a diagonal. Hold three and it takes the last two you pressed, which is what your thumbs actually mean when you roll from one diagonal into another.

The stats are the only part the pad can't do by itself. It has no way to know what the PC is up to. So a small PowerShell script on the PC reads the load counters and ships one line down a second USB serial port twice a second. No script running? Each stat row shows a pulsing warning triangle instead of a number.

Bill of materials

Just the parts this build uses. Full list in BOM.csv.

QtyPartRefNotes
1Seeed XIAO RP2040U114-pin RP2040 board
4Cherry MX switch (PCB mount)SW1-SW4
4SK6812 MINI-E RGB LEDD1-D4reverse mount, on the back
10.91" OLED, SSD1306 128×32, I2CU2pin order GND-VCC-SCL-SDA
4DSA keycap, 1u blank
4M3 heat-set insertone per case boss
4M3×16 screw
1Custom PCB (2-layer)in /PCB
13D-printed casein /CAD

Pinout

XIAOGPIOConnected toFunction
D0GP26LED data inSK6812 chain (D1→D2→D3→D4)
D10GP3SW1 (top)W
D4GP6SW2 (left)A
D5GP7SW3 (centre)S
D6GP0SW4 (right)D
D9GP4OLED SDAI2C0
D7GP1OLED SCLI2C0

The switches go straight to ground with no external pull-ups, so the firmware turns on the internal ones. JP1 is a solder jumper for the LED supply: bridge 1-2 for 5 V (the default, USB powered) or 2-3 for 3.3 V.

Watch out for the I2C pins. They're on GP4/GP1, not the XIAO's default pair, so the firmware opens the bus by hand. board.I2C() will just come up empty.

Schematic

Schematic

PCB

Two layers, 77.5 × 71.5 mm. There's a notch cut in the left edge so the USB-C connector clears the FR4. The LEDs are reverse-mount, so they sit on the back and shine up through cutouts. Solder those from underneath.

PCB front and back

PCB 3D view

KiCad 10 project lives in PCB/.

Firmware

Flash CircuitPython for the XIAO RP2040, then drop these on the CIRCUITPY drive:

  • Firmware/main.py
  • Firmware/boot.py (turns on the second serial port for the stats)

and into CIRCUITPY/lib/:

text
adafruit_hid/
neopixel.mpy
adafruit_displayio_ssd1306.mpy
adafruit_display_text/

Those all come from the Adafruit CircuitPython library bundle. The board reboots once the files land and comes back up as a keyboard.

Before you have hardware, simulate.py runs main.py against fake CircuitPython modules so you can sanity-check the key mapping, the wheel and the stat rows on a PC. Just python simulate.py.

PC stats (optional)

The pad plays fine without any of this. The stats pane just sits there empty. If you want it lit:

  • One-off: double-click Firmware/run-stats.cmd.
  • Every login: double-click Firmware/install.cmd. It copies the script into your local app data and adds a Startup entry (no admin, and it shows up in Task Manager's Startup tab). uninstall.cmd takes it back out.

CPU and RAM come from the normal Windows counters. GPU load comes from the WDDM GPU Engine counters, the ones Task Manager uses, so it reads correctly on NVIDIA, AMD and Intel, integrated GPUs included. Nothing to install either way, it only touches PowerShell, which Windows already has.

Case

The 3D model is in CAD/. GitHub can spin the STL right in the browser, so open CAD/brawlstars_gamepad.stl and drag it around. That one's a lightweight web preview. The full-detail file for your slicer is CAD/brawlstars_gamepad.3mf.

Layout

text
CAD/        3D-printable case (.3mf source + .stl web preview)
Firmware/   CircuitPython firmware + the PC stat scripts
PCB/        KiCad schematic and board
images/     figures used in this readme

Notes

  • WASD is keyboard output. The emulator turns it into on-screen movement. A real phone or tablet ignores keyboard input in Brawl Stars, so this only makes sense on PC.
  • The SK6812s run at 5 V but the RP2040 drives data at 3.3 V, a hair under the datasheet's high threshold. Every RP2040 keyboard does this and it works. If it ever bothers you, the JP1 jumper drops the LEDs to 3.3 V and puts you back in spec.
  • No decoupling caps on the board, since the kit didn't come with any. Fine at this size. If the first LED ever misbehaves, a 100 nF across it sorts it out.

Parts

15
QtyValueFootprintReferences
4MountingHole_3.2mm_M3MountingHole:MountingHole_3.2mm_M3MH1, MH2, MH3, MH4
4SK6812MINI-ELED_SMD:LED_SK6812MINI-E_3.2x2.8mm_P1.5mm_ReverseMountD1, D2, D3, D4
4SW_PushButton_Switch_Keyboard:SW_Cherry_MX_1.00u_PCBSW1, SW2, SW3, SW4
15V/3V3Jumper:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mmJP1
1ER_OLEDM0.91_1x-I2CDisplay:ER_OLEDM0.91_1x-I2CU2
1MOUDLE-SEEEDUINO-XIAOfootprints:XIAO-Generic-Hybrid-14P-2.54-21X17.8MMU1

Similar boards

  • 4 layers234 × 84 mmMain panel, the printed circuit board in 3D

    Main panel

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    234 parts3kApache-2.0
  • 4 layers180.8 × 300.3 mmDilemma, the printed circuit board in 3D

    Dilemma

    Bastardkb/Dilemma

    The Dilemma is a vertical stagger low-profile keyboard with mods.

    383 parts590
  • 4 layers48 × 32 mmFlatSat, the printed circuit board in 3D

    FlatSat

    Pwnsat/FlatSat

    Flatsat v1.0 is a hardware based platform for aerospace cybersecurity research

    106 parts575GPL-2.0
  • 2 layersDemo, the printed circuit board in 3D

    Demo

    adamws/kicad-kbplacer

    KiCad plugin for automatic keyboard's key placement and routing

    48 parts547GPL-3.0
  • 2 layers97 × 78.5 mmDumbpad, the printed circuit board in 3D

    Dumbpad

    imchipwood/dumbpad

    Simple 4x4 numpad with rotary encoder. Powered by QMK via ATmega32u4 Pro Micro

    62 parts517GPL-2.0
  • 4 layers82.5 × 39.4 mmV4head, the printed circuit board in 3D

    V4head

    makerforgetech/modular-biped

    An open source framework for creating a bipedal modular companion robot.

    26 parts493GPL-3.0
  • 2 layers115.7 × 95.7 mmFifi split keeb, the printed circuit board in 3D

    Fifi split keeb

    raychengy/fifi_split_keeb

    Fifi Keyboard 🐶 ⌨️

    66 parts334
  • 4 layers70 × 54 mmPicoLab, the printed circuit board in 3D

    PicoLab

    CoretechR/PicoLab

    Web-GUI Embedded Multitool

    285 parts327GPL-3.0

Questions

How big is the BrawlStarsGamepad PCB?

It measures 77.5 × 71.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the BrawlStarsGamepad use?

15 parts, built around the SK6812MINI-E. 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.

Where can I download the BrawlStarsGamepad KiCad files?

From the arnavaggarwal-dev/BrawlStarsGamePadSubmit repository on GitHub, at the commit this page was made from: the board is PCB/BrawlStarsGamepad.kicad_pcb and its schematic PCB/BrawlStarsGamepad.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the BrawlStarsGamepad design in my own project?

Its repository states no licence, so its author keeps all rights: ask arnavaggarwal-dev before reusing the design.