Repository navigation
Releases
Open Web Controller 2.1.0
Up to 8 players, alongside the controllers already on your PC. Got 3 Xbox controllers plugged in and 3 friends with phones? Everyone plays.
Get it
- Windows: download
OpenWebController.exebelow and double-click it. Install the ViGEmBus driver once. The exe isn't signed, so SmartScreen may warn you: choose More info → Run anyway. - Linux or Windows from source: run
scripts/start.shorscripts\start-windows.bat. - pipx:
pipx install git+https://github.com/ToTt0G/open-web-controller, then runowc.
Which games see which controllers
On Windows the first virtual pads are Xbox 360 pads. Windows' Xbox controller API only sees 4 controllers in total, counting the ones plugged into the PC. Extra phones become PlayStation-style pads automatically. Steam (with Steam Input for PlayStation controllers), SDL-based games and most emulators see all of them, while older Xbox-only games see 4. Linux supports 8 Xbox-style pads with no cap. More in the README.
Eight players, and phones that play next to the controllers already plugged into the PC.
Added
- Up to eight phone players, up from four.
--max-players(envOWC_MAX_PLAYERS) sets the number of slots, from 1 to 8. - PlayStation-style pads on Windows. Windows' Xbox controller API (XInput) only sees four controllers in total. Once those four are taken, the next phone becomes a virtual DualShock 4 instead of an Xbox 360 pad, so it stays visible. Steam (with PlayStation controller support turned on), SDL-based games and most emulators see every pad. Games that only speak XInput still see four. Rumble works on both pad types.
--pad-type auto|xbox|ds4(envOWC_PAD_TYPE) to force one kind of pad on Windows. The default,auto, picks per phone as described above.- Controllers on the PC are counted. The server detects controllers plugged into the host (Xbox-type controllers through XInput on Windows, gamepads through evdev on Linux). On Windows they take up Xbox slots, so phones switch to PlayStation-style pads that much sooner.
--pc-controllers N(envOWC_PC_CONTROLLERS) overrides the detected number. - Lobby and phone show player numbers from the server. PC controllers appear first in the lobby as "PC" tiles and phones are usually numbered after them, so with three controllers on the PC the first phone is player 4. On Windows an Xbox pad shows the number Windows gave it, which is what Xbox-controller games use; for PlayStation-style pads and on Linux the number is a best guess. A phone keeps its number while it stays on its slot, even when a PC controller comes or goes. PlayStation-style pads carry a small "PS" mark.
- Eight player colours, one per slot.
- Protocol: new
host_infoevent with the player limit, the PC controllers (0 to 8), the pad type and the player number (display) of every slot.controller_assignednow includespad_typeanddisplay, and/statusreports the same fields. Seedocs/protocol.md. - README sections "Mixing PC controllers and phones" and "Game compatibility", with a worked example.
Changed
- Linux creates up to eight Xbox-style pads, with no cap from the system.
- Player numbers in the lobby and on the phone now count PC controllers first. Slot numbers in the protocol are unchanged.
- Moving to another slot in Settings unplugs the old Xbox pad before the new one is made, so the phone keeps an Xbox pad and its Xbox slot instead of turning into a PlayStation-style pad.
- Invalid
OWC_PAD_TYPE,OWC_MAX_PLAYERSorOWC_PC_CONTROLLERSvalues now stop the server with a clear message instead of being ignored or falling back to demo mode. - Linux no longer counts Steam Input's virtual gamepads as controllers on the PC.
- The slot picker in the phone's settings shows eight slots.
Full changelog: v2.0.0...v2.1.0 · PR #5 · Backlog: #2 #3 #4
Open Web Controller 2.0.0
Every phone is a controller. Scan the QR code on your TV and up to four phones become Xbox-style gamepads for your PC. There's no app to install and no certificates to set up.
Get it
- Windows: download
OpenWebController.exebelow and double-click it. Install the ViGEmBus driver once so games can see the controller. The exe isn't signed, so SmartScreen may warn you: choose More info → Run anyway. - Linux or Windows from source: clone the repo and run
scripts/start.shorscripts\start-windows.bat. - pipx:
pipx install git+https://github.com/ToTt0G/open-web-controller, then runowc.
The modernization release. Open Web Controller grows from a Windows-only D-pad and one stick into a full Xbox-style gamepad that installs like an app with no certificate setup, runs on Linux too, and starts with one double-click.
Added
- Zero-certificate HTTPS. Phones open a trusted
https://<ip-with-dashes>.local-ip.shaddress backed by the public local-ip.sh wildcard certificate. No browser warning and no certificate to install, so home-screen install, wake lock and gyro work straight from the QR code. The certificate is cached for offline starts. - Automatic HTTP fallback. If the trusted name does not resolve on the network (DNS rebinding protection, no internet), the server switches to plain HTTP by itself. In trusted mode a plain-HTTP copy of the app also runs on the next port, shown in the lobby as a "Not loading?" link with its own QR code.
- Linux support through a new
uinputbackend (python-evdev). It creates an Xbox 360-style gamepad that SDL and Steam recognise. - Demo backend that needs no driver, for trying the UI on any system, for CI and for development. With
--verboseit logs button changes. - Full controller layout: right analog stick, LB/RB bumpers, analog LT/RT triggers, and L3/R3 stick clicks, in addition to the left stick, D-pad, A/B/X/Y, Start, Back and Guide.
- Rumble. Force feedback from the game is forwarded to the phones on that player slot (Windows backend, phones that support vibration).
- Gyro aim. Tilt the phone to move the right stick.
- Latency badge on the controller, measured with a
pinground trip to the server. - Command-line options:
--host,--port,--backend auto|vigem|uinput|demo,--tls auto|trusted|http|selfsigned|custom,--cert,--key,--no-https,--open/--no-open,--no-qr,--verboseand--version, plus the environment variablesOWC_BACKEND,OWC_PORT,OWC_HOST,OWC_TLS,OWC_CERTandOWC_KEY. - Effortless start: the server opens the lobby in the browser, prints a scannable QR code in the terminal, picks the next free port when 5000 is busy, and prints the Windows Firewall command on first start.
- One-click launchers
scripts/start-windows.batandscripts/start.shthat create a virtual environment, install dependencies and start the server. owccommand. The project is now an installable Python package:pipx install git+https://github.com/ToTt0G/open-web-controlleroruvx --from git+https://github.com/ToTt0G/open-web-controller owc. On Linux, add thelinuxextra for real gamepads:pipx install "open-web-controller[linux] @ git+https://github.com/ToTt0G/open-web-controller".- Windows
.exebuilt by a release workflow and attached to GitHub Releases. - Tests and CI: a pytest suite for the protocol, input validation and TLS planning, linting with ruff, and a GitHub Actions matrix on Windows and Linux.
- Docs: rewritten README, protocol reference (
docs/protocol.md), brand guide (docs/brand.md), CONTRIBUTING, SECURITY, Code of Conduct, issue and pull request templates, and aLICENSEfile (MIT). - Promo video rendered from code in
promo/with Remotion. - Protocol: batched input (
{type: "batch", inputs: [...]}, one gamepad update per message) and optional connect auth{device, slot}so a phone that reconnects gets its slot back. Seedocs/protocol.md. server_infoSocket.IO event with the server version, backend and player limit./statusnow also reports version, backend, per-slot players and the connection mode.
Changed
- New look. The controller, lobby, setup and offline pages are redesigned around the new brand: a graphite gamepad lit in your player colour, with one colour per player slot. Fonts and Socket.IO are bundled, so the pages no longer load anything from the internet.
- The default connection is trusted HTTPS instead of a self-signed certificate. Self-signed and mkcert certificates are still available with
--tls selfsigned, and your own with--tls custom. - The app always starts. If ViGEmBus (Windows) or
/dev/uinputaccess (Linux) is missing, it falls back to demo mode and prints the exact steps to fix it instead of exiting with an error. - The server code moved from a single
app.pyinto theowc/package.python app.pystill works. - Several phones on one player slot are now merged cleanly: a button stays held while any phone holds it, and a phone that disconnects releases only its own inputs, so buttons no longer get stuck.
- New players get the emptiest slot instead of always falling back to slot 1 when all four are taken.
- Self-signed certificates are regenerated automatically when the PC's IP address changes or the certificate is about to expire, and mkcert is used automatically when it is installed.
- The server uses the threading mode of Flask-SocketIO with
simple-websocket. Theeventletdependency is gone. vgamepadis only installed on Windows.evdev(Linux) is an optional extra,open-web-controller[linux], because it has to be compiled. Without it Linux starts in demo mode and says how to add it.- Minimum Python version is 3.9.
Fixed
- Malformed or malicious input messages can no longer crash the server. Every payload is validated, numbers are clamped, and unknown keys are ignored.
/statusno longer fails with an error (it referenced a variable that did not exist).- Certificate generation no longer fails when the server is imported instead of run directly.
- The lobby and QR codes show the port the server is really using instead of a hard-coded 5000.
- Console output no longer crashes on Windows terminals that are not UTF-8.
Security
POST /shutdownis still only accepted from the PC itself.- See SECURITY.md for what Open Web Controller does and does not protect against.
Before 2.0.0
Development from December 2025 to April 2026 was not versioned. In short:
- Virtual Xbox 360 controller for Windows through ViGEmBus and vgamepad.
- Phone controller with D-pad or floating left thumbstick, A/B/X/Y, Start, Back and Guide.
- Lobby dashboard with QR codes, up to four controllers with automatic slot assignment.
- HTTPS with an auto-generated self-signed certificate, optional mkcert setup page.
- Installable PWA with offline page, wake lock and haptic feedback.
Full changelog: 4bb5ba3...v2.0.0 · PR #1

