Skip to content

Releases

v0.2.0

Choose a tag to compare

@ajz811 ajz811 released this 06 Nov 23:36

OpenSC2 makes an nRF52840 board act as a Steam Controller 2. Steam pairs it with Valve's puck over a
USB-C cable, like a real controller, and it then connects through the puck. It is a library (a
Zephyr module for nRF Connect SDK v3.4.0), a ready-to-build firmware for the SuperMini nRF52840, a
template for your own project, seven samples and an automated hardware test suite.

Unofficial: not affiliated with or endorsed by Valve. Steam and Steam Controller are trademarks of
Valve Corporation. So that Steam recognises it, the firmware uses Valve's USB IDs (28DE:1302)
and the real controller's USB strings, for personal interoperability and research use. It
contains no Valve code or binaries. See NOTICE.md.

What works

This release's .uf2 (the default app/ build: Bluetooth LE, the haptics synthesiser and pad
clicks by pressure in it, test hooks on) was tested on a SuperMini nRF52840 with nothing wired to
it, with Valve's puck on its October 2026 firmware and Steam on a Windows PC.

  • It enumerates over USB like a real Steam Controller 2 (28DE:1302), in the October 2026 form
    (the July 2026 form is a build option).
  • Steam pairs it with Valve's puck over the USB-C cable, like a real controller.
  • It then reboots into wireless mode and connects through the puck.
  • Steam shows no "needs an update" prompt: the board reports this release's pinned build time,
    newer than Steam's current controller firmware.
  • Bluetooth LE to Windows: Windows pairs it, it connects again by itself after a reboot, and Steam
    recognises it over Bluetooth and drives it.
  • The automated hardware test suite, on the cable and through the puck with every opt-in on
    (--through-puck --flash --lizard --dock --with-steam --steam-control): 264 of 264 tests passed (only the optional soak test, off by default, skipped). Over Bluetooth
    (--bluetooth --lizard --flash --steam-control): 102 of 102 tests passed (only the optional soak test skipped). With inputs and events
    injected through the test hooks, it covers the inputs and the rules on every state report,
    battery, rumble and the haptic reports, the haptics synthesiser's handling of them, LEDs,
    settings, all vendor commands Steam sends, calibration's processing of injected raw inputs,
    lizard mode and its processing with nothing reaching the PC, the system state machine (power,
    chords, keylock, idle timeout, low battery, shutdowns, the status LED's mode, cues), the dock's
    protocol through the test hooks, reboots, mode switches, reconnects, the Bluetooth link, and a
    run with Steam open.

Not proven yet

  • Built, not yet tried with real parts: buttons, sticks, trackpads, IMU, rumble motor, haptic
    actuators and amplifiers, RGB LED, LiPo battery and charger, the I2C port expander and the
    capacitive sensor (the drivers in app/ and the samples have never run on such parts). The
    haptics synthesiser's sound has never been heard, and calibration has never been recorded.
  • Built, not run on hardware: the samples and the template; the other builds of app/
    (battery.conf, sensors.conf, imu-stream.conf, expander.conf, dock.conf,
    watchdog.conf, all.conf); the dock's wire and a real dock (nothing has been connected to the
    puck's pads).
  • Built, untested with Steam: pairing over the air (the puck's pairing window).
  • Not tested: Bluetooth to other hosts (phones, SDL) and Valve's vendor GATT service; other boards;
    Linux and macOS as the PC (the PC side was tested with Steam on Windows).
  • Not implemented, or different from the real controller: docs/protocol.md lists every gap.

What you need

  • The SuperMini nRF52840, a Pro Micro-sized nRF52840 board with the nice!nano pinout and the
    Adafruit nRF52 UF2 bootloader. Nothing needs to be wired to try it. It has three analog-capable
    pins, so the default firmware carries one analog stick.
  • Valve's puck (tested with its October 2026 firmware), a Windows PC with Steam, and a USB-C data
    cable. For Bluetooth, a PC with Bluetooth LE (tested with Windows 11).

Flash it

Short RST to GND twice quickly: a USB drive appears. Copy opensc2-supermini-nrf52840-v0.2.0.uf2
onto it; the board restarts with the new firmware. Check the download first: on Windows,
Get-FileHash -Algorithm SHA256 opensc2-supermini-nrf52840-v0.2.0.uf2 must print the hash in
SHA256SUMS.txt; on Linux, sha256sum -c --ignore-missing SHA256SUMS.txt must say OK.

Add it in Steam

  1. Plug the puck into the PC and start Steam. Switch a real Steam Controller 2 off and keep it
    unplugged while you add the board.
  2. In Steam, start adding a controller. Steam asks you to connect it with a USB-C cable.
  3. Plug the board in with a USB-C data cable (not a charge-only cable). It comes up wired: the LED
    turns on once the PC has set the board up.
  4. Steam pairs the board with the puck over the cable and reboots it into wireless mode: the LED
    goes dark, blinks slowly while the board looks for the puck, then stays on. The board is now
    connected through the puck.
  5. From then on the board connects through the puck by itself whenever it starts wireless. Plugged
    into a PC again it comes up wired; hold the pairing button (on a bare board: P0.31 against GND)
    while plugging in to keep it wireless.

The test hooks

The default app/ build has the hardware test hooks on (CONFIG_OPENSC2_TEST_HOOKS=y), so the test
suite checks the very image you run. They do nothing until the suite arms them; arming lives in RAM
and ends at every reboot, or 15 s after the PC goes quiet. The one exception is a boot-time
injection of the system state machine the armed suite stored for the next boot: a reset before
the arming ends makes that boot run on the injected power source, unarmed (SECURITY.md). The key
that arms them is published with the code: it prevents accidents, it is not a lock. For a board you
give to someone else, build with CONFIG_OPENSC2_TEST_HOOKS=n.

Steam's update prompt

This image reports its own build time. If Steam later ships a newer controller firmware and offers
the board an update, declining is always safe; tools/match_steam_version.py gives the board
Steam's value (docs/troubleshooting.md, "Steam asks to update the controller").

Problems and reports

Use the issue forms: a bug, a hardware report, or a new board. Mask serials before you post
(docs/troubleshooting.md, "What can I share in an issue?").