Really nicely done!<p>Can recalibration help when the controller is connected to a Playstation? Does it store the calibration somehow in the controller? Or is this only useful on a PC?<p>I'd love to somehow restore my PS5 DualSense that's fallen victim to stick drift. I looked once in Steam's debug info and instead of the stick reading 0 at center it was reading about 20,000. Given the max is 32,767 I've lost 2/3 of the useful range, so maybe there's no fixing it with software.
This is amazing!! Thank you! I don't even have a PS controller and I'm grateful this exists.<p>I hope you'll do one for Xbox Elite controllers and button remapping next :) It sucks having to boot into a Windows VM to remap them.
"I noticed that many repair technicians were using my scripts to recalibrate controllers, which significantly reduced repair times and costs. However, many of them were also having a tough time setting up the environment to run the scripts: Python, libusb, Windows drivers, and all that complicated stuff: the user experience was completely off.<p>This led me to the idea of creating a multiplatform web UI that could simplify everything. I developed a prototype and shared the link on a Facebook group for repair technicians, where it was warmly (..really warmly!) received."<p>That's so wholesome. Other people would have seen their software being used and decided they should be turning a profit from it.
> It is available only for Google Chrome, Chromium or compatiable browsers (e.g. Edge) because it uses WebHID, a javascript extension that can be used to send commands to a HID device.<p>I didn’t know about WebHID, but it’s interesting Firefox doesn’t support it. According to Mozilla’s position[0]:<p>> This API, like WebUSB, provides access to generic devices. Though this API is limited to human interface devices (HID), the same concerns apply as WebUSB, namely that devices are generally not designed with access from arbitrary websites in their threat model.<p>[0]: <a href="https://mozilla.github.io/standards-positions/#webhid" rel="nofollow">https://mozilla.github.io/standards-positions/#webhid</a>
JFC, is there any host functionality that Chrome will not try and implement in the browser. No wonder it is so bloated and leaks your fingerprint in a million different ways.<p>Apple says they will not implement WebHID and 15 other "features" in WebKit...<p>>Here are some examples of features we have decided to not yet implement due to fingerprinting, security, and other concerns, and where we do not yet see a path to resolving those concerns:<p><pre><code> Web Bluetooth
Web MIDI API
Magnetometer API
Web NFC API
Device Memory API
Network Information API
Battery Status API
Web Bluetooth Scanning
Ambient Light Sensor
HDCP Policy Check extension for EME
Proximity Sensor
WebHID
Serial API
Web USB
Geolocation Sensor (background geolocation)
User Idle Detection</code></pre>
Chrome is doing amazing work with these WebAPIs. Here's a quick list of things enabled by Chrome being open-minded and allowing WebHID and WebUSB APIs to exist:<p>- Turn your Stadia controllers into bluetooth controllers: <a href="https://stadia.google.com/controller/index_en_GB.html" rel="nofollow">https://stadia.google.com/controller/index_en_GB.html</a><p>- Android Flash Tool: <a href="https://flash.android.com/welcome" rel="nofollow">https://flash.android.com/welcome</a><p>- fastboot.js - FastBoot API but entirely though the web: <a href="https://kdrag0n.github.io/fastboot.js/demo/" rel="nofollow">https://kdrag0n.github.io/fastboot.js/demo/</a><p>- WebADB - Android debugging interface through the web: <a href="https://app.webadb.com/" rel="nofollow">https://app.webadb.com/</a><p>and here's my favorite (because I used it in my RX-8)<p>- Node-Carplay - Carplay interface through a USB dongle in your browser with no external dependencies!!1! (<a href="https://github.com/rhysmorgan134/node-CarPlay">https://github.com/rhysmorgan134/node-CarPlay</a>)
Hey - total tangent, but... I'm playing through Horizon Forbidden West. It's the first game on PC I've played that supports the DualSense (PS5 controller)'s haptic motors and adaptive triggers. They are something else when integrated properly with game events and sounds. It would be cool if this were integrated into more games!