Webcam Steers a Steam Controller Into Its Charging Puck

webcam-guided Steam – A new open-source web setup uses a webcam, Steam Controller wireless connection, and computer vision to slide the controller across a desk and dock it onto its magnetic charging puck—buzzing the haptics to move, then slowing down for precision near the target.
The Steam Controller never has to meet its charging puck by hand again—at least in this clever demo. Instead, you fire up a web interface, point a webcam at the charging dock and the controller, and let software guide the whole thing from one side of your desktop to the other.
The project is an open-source web application built for one job: taking the “manual” part out of setting the controller onto its magnetic charging puck. You start by launching the web interface and making sure your webcam has a clear top-down view that includes both the puck and the controller. Then you connect wirelessly to the controller from the setup.
From there. the process is oddly simple—click a few points on the camera view to show the system where things are. Once configured, the computer gives the controller a series of haptic buzzes. Those pulses kick the controller into motion across the desk, using slip-stick friction by asymmetrically pulsing the feedback motors. As it moves. the system uses guidance from the camera and runs obstacle avoidance so the controller can skitter its way to the dock.
The closer it gets to the magnetic charging puck, the behavior changes. The software automatically reduces the pulse frequency to make smaller movements. aiming for finer control rather than the bigger. more forceful pushes used earlier. When the controller finally reaches the puck, docking success is confirmed by watching messages that indicate charging has begun.
The project leans on browser-side tools too. WebHID handles communication with the controller inside the browser. And to keep the computer-vision part from becoming a chore, the system also ignores anything in expected cable locations, removing the need to deal with those elements algorithmically.
It’s not practical in the “save you real time every day” sense—and it does carry a bit of Rube Goldberg charm. But it’s hard not to smile at what it demonstrates: moving a controller with carefully timed haptic pulses. then tightening control as docking gets close. while relying on computer vision rather than hand placement.
There’s also a lineage to the idea. The project was inspired by the work of Very Lazy Pixels, previously covered elsewhere.
Steam Controller docking webcam control computer vision WebHID open-source haptic motors slip-stick friction automation