Personal / Completed
Fightstick
Designed, developed, and built my own Arcade Controller based on Raspberry Pi Pico 2
Dec 2024 — Aug 2026
Overview
My custom arcade controller - or fight stick - is a project that sits somewhere between software engineering, electronics, product design, and fabrication.
The goal was to design and build a fully functional arcade controller from scratch using genuine Japanese Sanwa components, Raspberry Pi Pico hardware, and custom firmware.
The finished controller connects over USB and behaves like a conventional game controller, providing the familiar joystick and large arcade-button layout used for fighting games such as Tekken and Street Fighter.
While the final product looks relatively simple from the outside, getting there involved considerably more than wiring some buttons to a microcontroller.
I designed the enclosure, experimented with different arcade layouts, researched materials, prototyped component positioning, planned the internal wiring, soldered the electronics, and experimented with several different approaches to the controller firmware.
The original prototype was quite literally a cardboard box.
It then remained a cardboard box for considerably longer than I would like to admit.
After almost two years of experimentation, redesigns, and physical prototypes, that cardboard box eventually became a precision-cut sheet-metal controller weighing almost 3kg and capable of taking considerably more punishment than my desk.
The problem
A fight stick is mechanically simple: a joystick, several buttons, and something capable of translating those inputs into signals a computer understands.
Designing a good one is considerably more complicated.
The controller needed to satisfy several competing requirements.
It had to be strong enough to withstand aggressive use, comfortable enough for long sessions, large enough to provide the correct spacing between the joystick and buttons, and light enough that it could still realistically be transported or used on a lap.
Internally, every component also needed a sensible location.
The microcontroller, joystick, buttons, USB connection, wiring, and mounting points all had to fit inside an enclosure without interfering with one another. Components also needed to remain accessible enough that the controller could be maintained or modified later.
Then there was the choice of material.
3D-printed plastic was attractive because it was lightweight and easy to prototype, but the fight stick was wider than the build area of most consumer printers. Printing the enclosure in multiple pieces would introduce seams and structural weak points exactly where I wanted rigidity.
Wood offered significantly more strength, but added weight and introduced its own problems. Repeated screws, precise button holes, and press-fit components could damage or weaken the material over time.
Metal was the heaviest option, but ultimately provided the properties that mattered most: rigidity, durability, precision, and a relatively thin enclosure.
The electronics introduced another problem: latency.
My first firmware implementation used MicroPython. It was excellent for quickly proving that the hardware worked, experimenting with GPIO mappings, and developing the basic controller logic, but some of my Python implementation introduced noticeable input latency.
That is inconvenient in most applications. In a fighting game, where individual frames can matter, it becomes a significant problem.
The solution
The final enclosure uses two precision-cut and bent sheet-metal panels that connect together to form the controller.
The upper panel contains precisely sized openings for the Sanwa joystick and arcade buttons. The buttons use their intended press-fit mounting mechanism, while dedicated mounting points secure the joystick and electronics internally.
Using sheet metal solved several of the problems encountered during prototyping.
The enclosure could be manufactured as large continuous pieces without the structural joins that a 3D-printed design would require. It is extremely rigid, resistant to damage, and thin enough that the internal volume remains usable without creating an excessively bulky controller.
The trade-off is weight.
At almost 3kg, the finished controller certainly isn't lightweight, but the weight also gives it stability. It remains comfortable on a desk or lap while being significantly less likely to move during aggressive inputs.
The firmware went through its own iterative development process.
I initially built the controller logic myself using MicroPython. This was extremely useful for prototyping, but the latency of my implementation eventually became noticeable enough that I wanted more direct control over the hardware.
I therefore rewrote the firmware in C++.
The improvement was substantial. Input handling became considerably faster and more responsive, and moving closer to the hardware gave me much greater control over polling, USB communication, and timing.
However, while the C++ implementation solved much of the performance problem, it still lacked many of the features and refinements available on dedicated commercial fight-stick controller boards.
That led to another important engineering decision: stop rebuilding something that an existing project already solves extremely well.
I ultimately moved the controller to RP2040-CE, an open-source fight-stick firmware project built specifically around RP2040 hardware such as the original Raspberry Pi Pico.
Rather than continuing to maintain my own increasingly complex controller firmware, I could use a mature community project focused entirely on the exact problem I was trying to solve.
The result was a better controller — and a useful reminder that good engineering is not always about writing everything yourself.
Architecture & technical approach
The fight stick uses a deliberately simple embedded hardware architecture.
At the input layer are genuine Sanwa arcade buttons and joystick switches. Each represents a digital input connected directly to GPIO pins on the microcontroller.
The controller board reads those states and translates them into gamepad inputs before exposing the device to the host machine over USB.
The physical input pipeline is therefore straightforward:
Sanwa Controls → GPIO → Raspberry Pi Pico → Fight-stick Firmware → USB → Host Device
What changed significantly throughout development was the firmware sitting in the middle.
The first version used MicroPython, providing a very fast development environment for experimenting with hardware mappings and validating the overall design.
Performance limitations then led to a custom C++ implementation, which dramatically reduced input latency and provided more direct control over the controller hardware.
The final iteration moved to RP2040-CE on RP2040-based Pico hardware. This replaced my custom firmware with a specialised open-source solution designed specifically for low-latency arcade controllers.
The physical architecture evolved alongside the firmware.
Two bent sheet-metal panels form the enclosure, with precision-cut openings for each control and dedicated internal mounting locations for the joystick and electronics. Wiring connects each component back to the controller board while keeping individual components replaceable.
Unlike a normal software project, every architectural decision had a physical consequence.
Moving a button meant changing a manufactured hole. Changing the enclosure dimensions affected ergonomics, wiring length, component positioning, weight, and fabrication requirements.
That made prototyping particularly important. Cardboard and temporary layouts allowed those decisions to be tested cheaply before permanently committing them to metal.
Key features
- Genuine Sanwa arcade joystick and buttons
- Custom precision-cut and bent sheet-metal enclosure
- USB game-controller compatibility
- Replaceable and serviceable internal components
- Firmware evolved through MicroPython, C++, and RP2040-CE
- Designed for both desk and lap use
Technical highlights
- Raspberry Pi Pico / RP2040 embedded platform
- Direct GPIO integration with arcade switches
- MicroPython prototype identified real-world latency limitations
- Custom C++ rewrite delivered significantly faster input handling
- Final adoption of open-source RP2040-CE firmware
- Custom wiring, soldering, and component layout
- Iterative mechanical prototyping before precision metal fabrication
- End-to-end work spanning embedded software, electronics, fabrication, ergonomics, and testing