

Gamepad
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
1README
README.mdCustom 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

Tech Stack
| Layer | Tool |
|---|---|
| Schematic | KiCad 8 |
| PCB Layout | KiCad 8 |
| Firmware | Arduino + XInput library |
| Manufacturing | JLCPCB-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
- Install the Arduino XInput library.
- Open
firmware/gamepad.ino. - Select Arduino Leonardo as the board (ATmega32U4).
- 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| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | SW_Push | Button_Switch_THT:SW_PUSH_6mm_H5mm | SW1, SW2, SW3, SW4 |
| 2 | 100nF | Capacitor_SMD:C_0805_2012Metric | C3, C4 |
| 2 | 10k | Resistor_SMD:R_0805_2012Metric | R3, R4 |
| 2 | 22R | Resistor_SMD:R_0805_2012Metric | R1, R2 |
| 2 | 22pF | Capacitor_SMD:C_0805_2012Metric | C7, C8 |
| 2 | C_Small | Capacitor_SMD:C_0805_2012Metric | C2, C6 |
| 2 | Conn_01x05_Pin | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J2, J3 |
| 1 | 10microfarad | Capacitor_SMD:C_0805_2012Metric | C5 |
| 1 | 16MHz | Crystal:Crystal_HC49-4H_Vertical | Y1 |
| 1 | 1microfarad | Capacitor_SMD:C_0805_2012Metric | C1 |
| 1 | ATmega32U4-A | Package_DFN_QFN:QFN-44-1EP_7x7mm_P0.5mm_EP5.2x5.2mm | U1 |
| 1 | USB_C_Receptacle_USB2.0_14P | Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J1 |
The 21 most common of 23 parts.
Similar boards
- 2 layers243.2 × 106 mm

- 2 layers228.4 × 85 mm

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 mm

Schwann Rev0.5b
The-Royal/The_Royal_Open-Source-Projects
A Master Repository For All things Royal Made
127 parts159MIT - 2 layers30 × 65 mm

Keyboard mcu
dpapavas/lagrange-keyboard
A configurable, handwired, ergonomic keyboard
26 parts137AGPL-3.0 - 2 layers88.4 × 80 mm

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 mm

- 2 layers99.1 × 99.1 mm

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 mm

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.