Skip to content

About

Use any game controller in PC games as an Xbox controller, on Windows, Linux and Mac: extra buttons as keys and macros, gyro aiming, profiles per game and the light bar. Free and open source, made with Rust and SDL 3.

Topics

Resources

Stars

53 stars

Watchers

0 watching

Forks

Repository files navigation

OpenController

Any controller, in any game. OpenController turns every controller on your PC into an Xbox controller that games understand: a DualSense, a Switch Pro Controller, Joy-Cons and an 8BitDo, all at once, each as its own player. Back paddles and other extra buttons can press Xbox buttons, type keys or play macros, and a controller with a gyro can aim.

Download for Windows Download for Linux Download for macOS

OpenController showing a DualSense, Joy-Cons, a flight stick and a racing wheel, each drawn as it looks and moving with its live input

Features

  • Nothing to map. Plug in a controller and play. Buttons keep their place, rumble works, and each controller lights up with its player number.
  • Extra buttons. Back paddles, L4 and R4, Capture and the touchpad can press Xbox buttons, type a shortcut or play a macro.
  • Gyro aiming, Flick Stick, and deadzones and curves that fix a worn or drifting stick.
  • Profiles for each controller, switched by the game in front.
  • Light bar colours, battery levels and a low battery warning.
  • Native mode for games that know a controller on their own, like a DualSense with its adaptive triggers.
  • Light. The background process uses up to 4 MB of memory and adds under a millisecond of latency.

It reads hundreds of controllers: PlayStation, Nintendo, 8BitDo, Flydigi, Steam Deck, handheld PCs and generic pads.

A controller's page: the 8BitDo turned over to show L4, the back button being assigned, and its four back buttons, one pressing Xbox A, one typing Ctrl+Shift+M and one playing a macro

Install

Every download is on the latest release. The official website is opencontroller.com.br, and there is no other.

Windows 10 and 11. Run open-controller-<version>-windows-x64-setup.exe (arm64 on an ARM PC). It installs for your user, without administrator rights, and updates from inside the app. OpenController needs two free drivers, ViGEmBus and HidHide, which Settings, Requirements installs with one click. The installer is not code-signed, so SmartScreen warns the first time: More info, then Run anyway.

Linux. Extract open-controller-<version>-linux-x64.tar.gz (or arm64) and run ./install.sh. It asks for your password once, for the rule that lets it make virtual controllers. It needs glibc 2.35 or newer, as in Ubuntu 22.04, Debian 12 and Fedora 36.

macOS. Unzip open-controller-<version>-macos-universal.zip and move OpenController to Applications. It is not notarised, so open it once, then click Open Anyway in System Settings, Privacy & Security. Games on macOS already read most controllers, so there OpenController adds extra buttons, the light bar, battery levels and profiles.

Building

cargo build --release
cargo test --workspace

It needs Rust, CMake and a C compiler, since SDL is built from source. On Windows without the Windows SDK, use cargo build --profile local. On Linux, also the development files of libudev, xkbcommon, Wayland, fontconfig and Vulkan. How it works is in docs/design.md.

Reporting a problem

OpenController is in beta. Report a problem, on a controller's Information page, sends what it takes to fix it or add the controller. You can also open an issue or use the contact form.

License

MIT, see LICENSE. Third-party code in the release is listed in THIRD_PARTY_NOTICES.md.

OpenController is not affiliated with Sony, Microsoft, Nintendo, Valve, 8BitDo or any other controller maker. Some games, online ones with anti-cheat above all, forbid macros: check a game's rules first, as what happens to an account is the player's responsibility.

About

Use any game controller in PC games as an Xbox controller, on Windows, Linux and Mac: extra buttons as keys and macros, gyro aiming, profiles per game and the light bar. Free and open source, made with Rust and SDL 3.

Topics

Resources

Stars

53 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages