Skip to content
vanloadsPublic

About

Unofficial, non-commercial Steam Controller driver for Windows and Linux. Experimental, in active development.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

scpad

An open-source virtual controller driver for the 2026 Steam Controller, for Windows and Linux.

Warning

This is an experiment in active development, not a finished product. It has been tested by very few people on very little hardware. Expect bugs, missing features and breaking changes between revisions. Keep another way to control your PC within reach, and back up your settings before updating.

What this project is, and is not

  • An experiment. It exists to find out whether the idea would work at all.
  • Not a way to make money. Nothing here is sold, there are no paid features, and it is not a business.
  • Unfinished. This is the first public revision of code that is still changing.
  • Started by one person. Bug reports are welcome and bugs will be fixed as fast as possible, but there is no support team and no promised time. It is open source, so fixes from others are welcome too.
  • No warranty, as the licence says. You run it at your own risk.

Have an AI model check the code

Please don't take this code on trust. Before you install it, point an AI coding model at the source, and use one again if something misbehaves on your PC. Good things to ask:

  1. "Read this repository. What does it read, write, install and connect to on my PC?"
  2. "Review driver/windows (the C driver and its install scripts) and crates/scpad-client for bugs and security problems."
  3. "Here is my error and my Windows or Linux version. What is going wrong, and how do I undo it?"

An AI review is a useful second look, not a guarantee: models miss bugs and invent problems. Check what it says, and remove names, serial numbers and tokens from logs before pasting them anywhere.

What it does

A controller app (for example a remapper) reads the real controller and feeds scpad. Games then see one virtual Steam Controller with everything on it: all buttons including the 4 back grips, analog triggers, both sticks, both trackpads (position, touch, click, pressure), gyro and accelerometer, rumble, battery, and several pads at once.

  • Games see it through SDL. The pad speaks SDL's SInput protocol on SInput's generic USB id (2E8A:10C6), which stock SDL 3.4 and later recognise, so SDL games, emulators and launchers get the full pad, gyro and trackpads included. Everything else sees a standard HID gamepad; for SDL2 and older SDL3 games, scpad provides an SDL mapping. On Windows the installer also maps the pad for Windows.Gaming.Input and GameInput, so games that use those APIs (for example Unity's default input backend) see an Xbox-layout gamepad. Never Valve's ids.
  • Not an Xbox controller by default. Games that only read Xbox controllers (XInput) don't see the Steam Controller pad unless they run through Steam Input. For those games an app can opt in, per pad, to an XInput mode (Windows, experimental): the same driver then presents that pad to XInput instead, with our own ids, and only sticks, triggers, the Xbox buttons and rumble.
  • Linux: /dev/uhid, no kernel module. Windows 11, or 10 version 2004 and later, x64 only (Windows 10 is untested, and so is Smart App Control): a small user-mode (UMDF2) driver on Microsoft's Virtual HID Framework, no kernel code.
  • No background service: the app links scpad-client and owns its pads; they unplug when it exits.
  • Status: beta. Linux works end to end. The Windows driver works and is tested on every CI run, but is not signed yet, so its installer trusts a certificate made on your PC only.
  • Licence: GPL-3.0-or-later.

How it works

real controller --HID--> controller app --PadState--> scpad-client
                              ^                            |
                              |              Windows: IOCTLs to \\.\ScpadControl
                           rumble            Linux:   /dev/uhid
                              |                            v
                         poll_output() <-- virtual pad <--> game
  1. probe() reports whether a pad can be created: available, not installed, no permission, or a driver that speaks another protocol version.
  2. Pad::create opens its own handle. On Windows the UMDF2 driver receives CREATE_PAD and asks Microsoft's Virtual HID Framework for a HID gamepad with one fixed descriptor. The app cannot supply a descriptor, and only two USB ids are accepted. On Linux the kernel's uhid creates the device.
  3. send turns a PadState into a 64-byte SInput report (buttons, sticks, triggers, motion, both trackpads, battery), which the driver submits with SUBMIT.
  4. Rumble comes back through a pending GET_OUTPUT request. The app reads it with poll_output and plays it on the real controller.
  5. Dropping the pad, or the app crashing, closes the handle and unplugs the pad. There is no service to clean up.
  6. XInput mode (opt-in, per pad, Windows) creates no HID device. The driver answers the requests of the XInput DLLs on an XUSB interface, which is enabled only while such a pad exists.

On Windows, programs that read the HID product string see Microsoft's generic VHF name, not "Virtual Steam Controller" (docs/DESIGN.md says why). scpad does no remapping, never opens the real controller and makes no network connections. The optional scpad-dsu library listens on 127.0.0.1:26760 only when an app starts it. docs/DESIGN.md has the full reasoning.

Games

These lists describe the code in this revision. "Tested" means one person, on one Windows 11 PC, with one controller. Please open an issue with your own results, good or bad.

Tested by hand

Game Setup Result
Rocket League (Steam) XInput mode on, Steam Input off Works
Counter-Strike 2 Steam Input off The virtual pad does not work as a controller. It was set up with a keyboard and mouse layout made in the controller app instead
Clair Obscur: Expedition 33 (UE5) XInput mode on Works with XInput mode (after the WM_DEVICECHANGE fix). Before it, a pad turned on while the game ran was not seen. Checked by hand by sending the same Windows notice manually, not yet with a build containing the fix. To turn the pad on while the game runs as administrator, the controller app must run as administrator too
Aksun Demo (Unity 6) Steam pad and XInput mode, Steam Input off Does not work. The game uses Windows.Gaming.Input, which does not see the XInput-mode pad

Automated checks also cover the pad through SDL3, Windows.Gaming.Input, the XInput DLLs and Linux uhid. They are not games.

Should work, not tested

Expected from how each engine reads controllers. Nobody has confirmed these games yet.

Kind of game Mode Examples
Programs that ship SDL 3.4 or newer Steam pad (default), with gyro and trackpads Recent DuckStation builds
Unreal Engine games on classic XInput XInput Bright Memory
GameMaker games XInput Undertale
XNA games XInput Terraria
Godot 4 games XInput Buckshot Roulette
Other games that call the XInput DLLs directly XInput Trackmania

XInput mode is Windows only and carries only what an Xbox pad has: no gyro, trackpads or separate back buttons.

Does not work, or is not expected to

  • XInput mode in games that find pads through Windows.Gaming.Input or GameInput (many recent Unity games, Xbox app / Game Pass PC titles). They don't see the XInput-mode pad. Use the Steam pad (the default) there: the installer maps it for them as an Xbox-style gamepad.
  • Many SDL2 games and older SDL3 games. The Steam pad needs an SDL mapping there, and SDL2's default settings can miss the XInput-mode pad.
  • DirectInput-only games in XInput mode. They may see the Steam pad as a generic, unmapped joystick.
  • Browser and cloud gaming (for example Xbox Cloud Gaming). Not expected to work.
  • Keyboard and mouse games with no controller support. Use key and mouse remaps instead.
  • Games that force Steam Input on. Steam may take over the virtual pad.

Anti-cheat warning

Do not use a virtual controller or remapper in a game whose rules forbid it. You use this at your own risk, and your account is your responsibility.

  • Battlefield 6 and other EA Javelin games, and Call of Duty (Ricochet): do not use it. EA's policy bans remappers that use virtual devices, and Ricochet targets input devices of this kind.
  • Other anti-cheats (Easy Anti-Cheat, BattlEye, Vanguard, FACEIT, Roblox Hyperion): no promise of any kind. One game working for one person does not mean it is allowed.
  • The driver never needs Windows test signing. Leave that off: several anti-cheats refuse to start with it on.
  • This project will not add anti-recoil, aim assistance or any way around anti-cheat.

Repository

Path For What
driver/windows users The Windows driver; install/ holds the install and uninstall scripts.
driver/linux users No driver on Linux: a udev rule and a module-load file for /dev/uhid.
crates/scpad-client app developers The library an app uses to create and feed pads, and the demo_pad example.
crates/scpad-dsu app developers Optional DSU (cemuhook UDP) server for emulators that read touch and motion over DSU (Eden, Dolphin, Cemu, Ryujinx). An app runs it only when its user opts in; it listens on 127.0.0.1:26760 only.
crates/scpad-proto contributors Device model, SInput reports, HID descriptor, Windows IOCTL contract (pure data).
tools/sdl-check contributors Builds SDL3 and checks what a real SDL game sees of a pad.
docs/DESIGN.md everyone How it works and why.

For users

You need an app that drives scpad; scpad itself only provides the virtual controller. Read the games list first.

Linux: nothing to install. Give desktop users access to /dev/uhid once, then log out and back in:

sudo cp driver/linux/70-scpad.rules /etc/udev/rules.d/
sudo cp driver/linux/scpad-uhid.conf /etc/modules-load.d/
sudo modprobe uhid && sudo udevadm control --reload && sudo udevadm trigger

To undo, delete those two files. Know what this allows: any program you run can then create virtual input devices, keyboards included.

Windows: build the driver package (needs Visual Studio 2022 or later with the C++ desktop workload), or take the scpad-driver-unsigned-x64 artifact from a CI run. Then install it from an Administrator PowerShell:

powershell -ExecutionPolicy Bypass -File driver\windows\build.ps1
powershell -ExecutionPolicy Bypass -File target\driver\package\install-beta.ps1

target\driver\package\uninstall.ps1 removes everything again. Details: driver/windows/README.md.

Check that it works (needs Rust): cargo run -p scpad-client --example demo_pad says whether pads can be created here, then shows a pad for 4 seconds that presses A, moves the left stick and touches the right trackpad.

For app developers

Add scpad-client as a git dependency. probe() says whether pads can be created here and, if not, why, in words you can show the user.

use scpad_client::{probe, Pad, PadConfig, PadState, Probe};

match probe() {
    Probe::Available { .. } => {
        let mut pad = Pad::create(&PadConfig::default())?;
        pad.send(&PadState::default())?;               // up to 1 kHz
        while let Some(cmd) = pad.poll_output() { /* rumble -> controller haptics */ }
    } // dropping the pad unplugs it
    other => eprintln!("{}", other.explain()),
}

Give each physical controller its own stable PadConfig::serial, so games keep player slots. Hiding the real controller from games is the app's job (see docs/DESIGN.md). crates/scpad-client/examples/demo_pad.rs is a complete example; demo_pad sdl-config prints the SDL mapping for older SDL games.

For contributors

cargo fmt --check && cargo clippy --all-targets -- -D warnings
cargo test                                   # unit and golden tests; device tests skip without access
  • Linux device test: needs read/write on /dev/uhid and the new hidraw node (root, or driver/linux/70-scpad.rules): cargo test -p scpad-client --test uhid_roundtrip -- --nocapture --test-threads=1
  • Windows driver: build, install and test as in driver/windows/README.md.
  • Real SDL3 check (both OSes): tools/sdl-check/README.md.
  • CI (.github/workflows/ci.yml, free GitHub runners) runs all of these: fmt, clippy and tests on both OSes; the uhid test and SDL check as root on Linux; on Windows a driver build, install, device tests, SDL check and a clean uninstall.
  • The HID descriptor is defined once in scpad-proto; driver/windows/scpad_descriptor.h is generated from it (SCPAD_BLESS=1 cargo test -p scpad-proto, and a test fails when it is stale).

Unofficial

scpad is an unofficial fan project. It is not affiliated with or endorsed by Valve Corporation or Microsoft. Steam and Steam Controller are trademarks of Valve Corporation; Xbox and XInput belong to Microsoft. The names only describe compatibility.

About

Unofficial, non-commercial Steam Controller driver for Windows and Linux. Experimental, in active development.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages