Skip to the content
2 layers81.1 × 53.5 mmGamepad, the printed circuit board in 3D

Custom UBS gamepad PCB with ATmega32U4-Kicad + XInput firmware

Size
81.1 × 53.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
23
Nets
50
Pads
137
Tracks, vias
239, 19
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
15 Oct 2026
Updated
15 Oct 2026

Overview

Gamepad is an open-source printed circuit board by Chinmaisoorya, from the Chinmaisoorya/gamepad-pcb repository on GitHub. It is a 2-layer board of 81.1 × 53.5 mm with 23 parts on 50 nets, routed with 239 tracks and 19 vias.

It is built around the ATMEGA32U4-AU. Its parts include 8 capacitors, 4 resistors, 4 switches, 3 connectors and 1 IC. It belongs with the keyboards and input boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

1

README

README.md

Custom USB Gamepad PCB

A 2-layer PCB gamepad built around the ATmega32U4 microcontroller. It enumerates as a standard Xbox 360 controller on Windows via XInput — no drivers needed.

Features

  • Native USB 2.0 HID via ATmega32U4
  • Dual analog joysticks (5-pin headers)
  • 4 tactile buttons (A / B / X / Y)
  • 16MHz external crystal for USB timing
  • 2-layer PCB — hand-routed
  • USB-C connector

Preview

3D Render

Tech Stack

LayerTool
SchematicKiCad 8
PCB LayoutKiCad 8
FirmwareArduino + XInput library
ManufacturingJLCPCB-compatible Gerbers

Repository Structure

gamepad-pcb/ ├── hardware/ KiCad project + Gerbers ├── firmware/ Arduino XInput code ├── images/ Renders and screenshots └── README.md

Hardware Details

  • MCU: ATmega32U4-AU (QFN-44)
  • Crystal: 16MHz HC49
  • USB: USB-C receptacle (USB 2.0)
  • Joysticks: 5-pin headers × 2
  • Buttons: 6mm tactile push buttons × 4
  • PCB: 2-layer, 1.6mm FR4

Building the Firmware

  1. Install the Arduino XInput library.
  2. Open firmware/gamepad.ino.
  3. Select Arduino Leonardo as the board (ATmega32U4).
  4. Upload via USB.

The gamepad will appear in Windows as "Xbox 360 Controller".

Manufacturing

Gerbers are in hardware/gamepad_gerbers.zip. Upload directly to JLCPCB or PCBWay.

License

MIT — free to use, modify, and build.

Author

Chinmai soorya P — [www.linkedin.com/in/chinmai-soorya-p-52184941a]

Parts

23
QtyValueFootprintReferences
4SW_PushButton_Switch_THT:SW_PUSH_6mm_H5mmSW1, SW2, SW3, SW4
2100nFCapacitor_SMD:C_0805_2012MetricC3, C4
210kResistor_SMD:R_0805_2012MetricR3, R4
222RResistor_SMD:R_0805_2012MetricR1, R2
222pFCapacitor_SMD:C_0805_2012MetricC7, C8
2C_SmallCapacitor_SMD:C_0805_2012MetricC2, C6
2Conn_01x05_PinConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ2, J3
110microfaradCapacitor_SMD:C_0805_2012MetricC5
116MHzCrystal:Crystal_HC49-4H_VerticalY1
11microfaradCapacitor_SMD:C_0805_2012MetricC1
1ATmega32U4-APackage_DFN_QFN:QFN-44-1EP_7x7mm_P0.5mm_EP5.2x5.2mmU1
1USB_C_Receptacle_USB2.0_14PConnector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J1

The 21 most common of 23 parts.

Similar boards

  • 2 layers243.2 × 106 mm3W6, the printed circuit board in 3D

    3W6

    weteor/3W6

    a small compact 3x5+3 split ortho keyboard

    113 parts488
  • 2 layers228.4 × 85 mmLeChiffre, the printed circuit board in 3D

    LeChiffre

    tominabox1/Le-Chiffre-Keyboard

    Great thanks goes to Jake at P3D for really making the case amazing and open sourcing his work. Check him out at P3Dstore.com

    105 parts183GPL-3.0
  • 2 layers228.6 × 76.8 mmSchwann Rev0.5b, the printed circuit board in 3D

    Schwann Rev0.5b

    The-Royal/The_Royal_Open-Source-Projects

    A Master Repository For All things Royal Made

    127 parts159MIT
  • 2 layers30 × 65 mmKeyboard mcu, the printed circuit board in 3D

    Keyboard mcu

    dpapavas/lagrange-keyboard

    A configurable, handwired, ergonomic keyboard

    26 parts137AGPL-3.0
  • 2 layers88.4 × 80 mmLHS Controller PCB, the printed circuit board in 3D

    LHS Controller PCB

    dmcke5/ZenDeck

    This is the second revision of my Mini PC based handheld Gaming PC! It is designed for a Beelink SER 5 Mini PC but could be adapted to other systems by changing the mounting brackets and outlet plate.

    76 parts133CERN-OHL-S-2.0
  • 2 layers259.5 × 89.1 mmSteno, the printed circuit board in 3D

    Steno

    crides/steno

    Embedded steno firmware + custom steno PCBs

    61 parts75MIT
  • 2 layers99.1 × 99.1 mmPower supply panelized, the printed circuit board in 3D

    Power supply panelized

    thebiguno/microcontroller-projects

    A home for a bunch of microcontroller projects which don't warrant their own repos.

    223 parts75
  • 2 layers323.9 × 95.1 mmUnSplit, the printed circuit board in 3D

    UnSplit

    swiftrax/UnSplit

    Ergo 40% mechanical keyboard with all components on the top with diodes arranged in an array

    110 parts68GPL-2.0

Questions

How big is the Gamepad PCB?

It measures 81.1 × 53.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Gamepad use?

23 parts, built around the ATMEGA32U4-AU. 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 Gamepad KiCad files?

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

Can I use the Gamepad design in my own project?

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