[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-110383":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":14,"stars30d":15,"stars90d":14,"forks30d":14,"starsTrendScore":14,"compositeScore":16,"rankGlobal":9,"rankLanguage":9,"license":17,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":18,"hasPages":18,"topics":20,"createdAt":9,"pushedAt":29,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":14,"starSnapshotCount":14,"syncStatus":33,"lastSyncTime":34,"discoverSource":35},110383,"drift-doctor","ToneProtectorSolve48\u002Fdrift-doctor","ToneProtectorSolve48","Stick drift test and fix for Windows: gamepad tester, deadzone finder",null,"Rust",63,12,51,0,19,45.24,"MIT License",false,"main",[21,22,23,24,25,26,27,28],"controller-drift-test","deadzone-calculator","dualsense","gamepad-tester","joystick-drift","stick-drift","xbox-controller","xinput","2026-11-08 04:19:00","2026-11-19 16:34:59","\u003Cdiv align=\"center\">\n\n\u003Cimg src=\"assets\u002Fbanner.png\" alt=\"Drift Doctor - controller drift test, gamepad tester and stick drift fix for Windows showing a rest-test scatter cloud with a 4.1% drift toward 37 degrees\" width=\"100%\">\n\n**Stick drift test, deadzone calculator and drift fix for Xbox, PS5 DualSense, PS4, Switch Pro and 8BitDo controllers on Windows.**\n\n[![Windows 10\u002F11](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FWindows-10%20%7C%2011-2A2B2F?style=flat-square&logo=windows&logoColor=E8E9EC)](#quick-start)\n[![Rust](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FRust-2024-2A2B2F?style=flat-square&logo=rust&logoColor=E8E9EC)](#build-from-source)\n[![License MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-2A2B2F?style=flat-square)](LICENSE)\n[![Portable](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fportable-no%20installer-3CCB7F?style=flat-square)](#quick-start)\n[![Single exe](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fsingle-exe-2A2B2F?style=flat-square)](#quick-start)\n[![No telemetry](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ftelemetry-none-3CCB7F?style=flat-square)](#faq)\n\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FToneProtectorSolve48\u002Fdrift-doctor\u002Freleases\u002Fdownload\u002Fv1.0.0\u002FDriftDoctor-v1.0.0-win-x64.zip\" class=\"download-btn-action\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDownload-DriftDoctor--v1.0.0--win--x64.zip-3CCB7F?style=for-the-badge&logo=windows&logoColor=082014&labelColor=3CCB7F&color=2A2B2F\" alt=\"Download Drift Doctor for Windows\">\u003C\u002Fa>\n\n\u003C\u002Fdiv>\n\nDrift Doctor is a free **controller drift test** and **gamepad tester** for Windows that measures **stick drift** instead of guessing it. Put your controller down for ten seconds and it tells you how far each stick drifts, in which direction, how noisy it is, and the exact **deadzone** that hides it, then it can fix the drift for every game with a deadzone shaped to your stick.\n\n\u003Cp align=\"center\">\u003Cimg src=\"assets\u002Fdemo-monitor.gif\" alt=\"Gamepad tester live view: polar stick plots, live input lanes and drift score for an Xbox Wireless Controller\" width=\"100%\">\u003C\u002Fp>\n\n## Why Drift Doctor\n\nMost joystick testers show a dot moving in a circle and leave the diagnosis to you. Drift Doctor treats your controller like a patient: it records, measures and writes a diagnosis such as **\"Mild drift, left stick, 4.1% toward 37°\"**.\n\n### Drift Score and a real diagnosis\n\nEvery stick gets a **Drift Score from 0 to 100** (100 is healthy) built from the center offset and the rest noise, plus a severity band: No drift, Trace, Mild, Moderate or Severe. The sidebar badge tells you at a glance which stick is getting worse.\n\n### 10-second Rest Test and deadzone calculator\n\nThe rest test captures thousands of raw XInput reports per stick with no deadzone applied, plots the **scatter cloud**, and computes the 99th-percentile noise radius, the center offset and its angle. From that it recommends the smallest **inner deadzone** that hides the drift, per stick, with a safety margin you control.\n\n\u003Cp align=\"center\">\u003Cimg src=\"assets\u002Fdemo-rest-test.gif\" alt=\"Rest test: scatter cloud of resting stick reports, center offset, noise radius and recommended deadzone for each stick\" width=\"100%\">\u003C\u002Fp>\n\n### Shaped anti-drift correction\n\nA round deadzone must be as big as the worst direction of the drift, so it also swallows small aim moves in every other direction. Drift Doctor builds a **per-angle deadzone** (72 directions, 5° each) from the measured drift cloud and feeds corrected input to games through a **ViGEmBus virtual Xbox 360 controller**, with HidHide hiding the physical pad. On the example controller this frees 79% of the dead area compared with a 7% circle.\n\n\u003Cp align=\"center\">\u003Cimg src=\"assets\u002Fdemo-correction.gif\" alt=\"Anti-drift correction: circular deadzone morphing into a shaped deadzone that follows the drift cloud, with raw and corrected output\" width=\"100%\">\u003C\u002Fp>\n\n### Gate circularity, trigger linearity and polling rate\n\nRoll the stick around its gate to get the **circularity error per 10° sector** and a suggested outer deadzone. Pull the triggers to see their rest floor, travel and how many of the 256 steps they really report. Wiggle a stick to measure the **real polling rate in Hz** from XInput packet numbers, plus the median report interval.\n\n\u003Cp align=\"center\">\u003Cimg src=\"assets\u002Fdemo-gate.gif\" alt=\"Circularity test with per-sector error bars, trigger linearity curve and polling rate histogram\" width=\"100%\">\u003C\u002Fp>\n\n### Drift history and warranty report\n\nEvery rest test lands in a history chart, so you can watch a stick degrade over weeks and catch it while it is still under warranty. One click exports a **diagnosis report image** with the scatter plot, measurements and trend to attach to a support or RMA ticket.\n\n### Compared with the usual tools\n\n| | Drift Doctor | Vendor apps (Xbox Accessories, DualSense tools) | Web gamepad testers | Steam Input |\n|---|:---:|:---:|:---:|:---:|\n| Live stick and trigger view | Yes | Yes | Yes | Yes |\n| Measured drift (offset, angle, noise r99) | Yes | No | No | No |\n| Drift Score and written diagnosis | Yes | No | No | No |\n| Deadzone recommendation per stick | Yes | No | No | No |\n| Per-angle shaped deadzone | Yes | No | No | No |\n| Works in every game (virtual controller) | Yes | Partly | No | Steam games |\n| Circularity error per sector | Yes | No | Some | No |\n| Real polling rate in Hz | Yes | No | Some | No |\n| Drift history over weeks | Yes | No | No | No |\n| Warranty report image | Yes | No | No | No |\n| Offline, portable, no account | Yes | No | Browser | No |\n\n## Screenshots\n\n| | |\n|---|---|\n| \u003Cimg src=\"assets\u002Fscreenshot-monitor.png\" alt=\"Drift Doctor monitor page with polar stick plots and live input\" width=\"100%\"> | \u003Cimg src=\"assets\u002Fscreenshot-rest-test.png\" alt=\"Rest test results with drift score, center offset and recommended deadzone\" width=\"100%\"> |\n| Monitor | Rest test |\n| \u003Cimg src=\"assets\u002Fscreenshot-correction.png\" alt=\"Correction settings with shaped deadzone preview and virtual controller toggle\" width=\"100%\"> | \u003Cimg src=\"assets\u002Fscreenshot-history.png\" alt=\"Drift history chart showing the left stick drift score falling over twelve weeks\" width=\"100%\"> |\n| Correction | History |\n| \u003Cimg src=\"assets\u002Fscreenshot-report.png\" alt=\"Controller diagnosis report for a warranty or RMA request\" width=\"100%\"> | |\n| Report | |\n\n## Quick start\n\n1. Download `DriftDoctor-v1.0.0-win-x64.zip` from the \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FToneProtectorSolve48\u002Fdrift-doctor\u002Freleases\u002Fdownload\u002Fv1.0.0\u002FDriftDoctor-v1.0.0-win-x64.zip\" class=\"download-btn-action\">latest release\u003C\u002Fa>.\n2. Unzip anywhere and run `DriftDoctor.exe`. It is portable: no installer, no admin rights, no account.\n3. Connect your controller over USB or Bluetooth. Open **Rest test**, put the controller on a table and press **Start test**.\n4. Optional: to apply the correction in games, install [ViGEmBus](https:\u002F\u002Fgithub.com\u002Fnefarius\u002FViGEmBus) and [HidHide](https:\u002F\u002Fgithub.com\u002Fnefarius\u002FHidHide) yourself (these drivers need admin rights once), then switch on **Anti-drift correction**.\n\nSettings and history are stored as JSON in `%APPDATA%\\DriftDoctor\\`.\n\n## Supported controllers\n\nAnything that shows up as an XInput device works directly. Other pads work through the usual XInput layers (Steam Input, DS4Windows, BetterJoy, or the controller's own XInput mode):\n\n- **Microsoft**: Xbox Series X|S Wireless Controller, Xbox One controller, Xbox Elite Series 2, Xbox 360 controller\n- **Sony**: PS5 DualSense, DualSense Edge, PS4 DualShock 4 (via Steam Input or DS4Windows)\n- **Nintendo**: Switch Pro Controller (via Steam Input or BetterJoy)\n- **8BitDo**: Pro 2, Ultimate, SN30 Pro, Lite 2 in X-input mode\n- **Others**: GameSir, PowerA, PDP, Logitech F310\u002FF710, Thrustmaster, generic XInput gamepads\n\nA native HID reader for DualSense and Switch Pro is on the roadmap.\n\n## FAQ\n\n**How do I test my controller for stick drift on PC?**\nOpen Drift Doctor, go to Rest test, put the controller on a flat surface and press Start test. After 10 seconds you get the center offset, direction, rest noise and a Drift Score for each stick. Anything below 90 means measurable drift.\n\n**How do I fix stick drift on a PS5 DualSense controller on PC?**\nRun the rest test with the DualSense connected through Steam Input or DS4Windows, then use the suggested deadzone in your game, or turn on Anti-drift correction so every game reads a virtual Xbox controller with the drift removed. Cleaning or replacing the stick module is the only permanent hardware fix.\n\n**What deadzone should I use for stick drift?**\nThe smallest one that covers your measured drift. Drift Doctor computes it as center offset plus 99th-percentile noise radius, plus a 15% margin, rounded up to 0.5%. A typical healthy stick needs 2 to 3%; a drifting one often needs 6 to 10%.\n\n**Is the Xbox controller drift test accurate?**\nIt reads the raw values the game would see, at up to 1000 samples per second, with no deadzone applied. Leave the controller untouched during the test; any touch shows up as an outlier cloud.\n\n**What is a shaped (anisotropic) deadzone?**\nA deadzone whose radius changes with direction. Drift pushes the stick one way, so the dead area only needs to be large in that direction. Small aim moves the other way stay usable instead of being swallowed by a big circle.\n\n**Does Drift Doctor send any data?**\nNo. There is no telemetry, no account and no network access. Reports are only saved when you export them.\n\n**How do I check my controller polling rate?**\nOpen Gate & triggers and move a stick continuously. The report rate comes from XInput packet numbers, so it shows what the controller actually delivers, not the USB descriptor.\n\n## Build from source\n\nRequires Windows 10\u002F11 and the Rust MSVC toolchain.\n\n```\ngit clone https:\u002F\u002Fgithub.com\u002F\u003Cyou>\u002Fdrift-doctor\ncd drift-doctor\ncargo build --release\ntarget\\release\\DriftDoctor.exe\n```\n\n```\ndrift-doctor\u002F\n  src\u002F\n    main.rs          window setup\n    app.rs           pages, sample routing, rest test state machine\n    input.rs         XInput sampler thread (slots 0-3, ~1000 Hz)\n    stats.rs         rest analysis, Drift Score, circularity, triggers, polling meter\n    correction.rs    shaped deadzone, CorrectionBackend trait, ViGEmBus detection\n    store.rs         settings, history, report image export\n    widgets.rs       polar stick plot, time lanes, rows, toggles, icons\n    theme.rs         palette and font loading\n  docs\u002Fdesign\u002F       HTML design mockup and banner\n  assets\u002F            screenshots and demo GIFs\n```\n\n## Roadmap\n\n- [x] XInput sampler thread with packet-number polling meter\n- [x] Rest test: center offset, angle, r99 noise, Drift Score, deadzone recommendation\n- [x] Shaped per-angle deadzone from the drift cloud\n- [x] Circularity per sector, trigger floor and resolution\n- [x] Drift history and report image export (BMP)\n- [x] `CorrectionBackend` trait with a preview backend and ViGEmBus detection\n- [ ] ViGEmBus transport (virtual Xbox 360 \u002F DualShock 4 target)\n- [ ] HidHide integration toggle\n- [ ] Native HID input for DualSense, DualShock 4 and Switch Pro\n- [ ] PNG report export and copy to clipboard\n- [ ] CSV export of raw rest samples\n- [ ] Light theme\n\n## Contributing\n\nIssues and pull requests are welcome. Please run `cargo fmt` and `cargo clippy` before sending a PR, and include a rest-test screenshot when you report a controller that measures oddly.\n\n## License\n\n[MIT](LICENSE) © Drift Doctor contributors.\n\nDrift Doctor is not affiliated with or endorsed by Microsoft, Sony Interactive Entertainment, Nintendo, 8BitDo or Valve. Xbox, DualSense, DualShock, PlayStation, Nintendo Switch and Steam are trademarks of their respective owners. ViGEmBus and HidHide are separate projects by Nefarius Software Solutions.\n\n## Keywords\n\nstick drift fix, controller drift test, gamepad tester, joystick drift test, deadzone calculator, PS5 controller drift PC, DualSense drift fix, Xbox controller drift PC, Xbox Series controller drift, PS4 DualShock 4 drift, Switch Pro controller drift, analog stick tester, controller polling rate test, joystick circularity test, anti-deadzone, XInput tester, ViGEmBus deadzone, Windows gamepad test\n","Drift Doctor 是一款面向 Windows 平台的控制器摇杆漂移检测与校准工具，专为 Xbox、PS5 DualSense、PS4、Switch Pro 和 8BitDo 等主流游戏手柄设计。它通过 10 秒静置测试采集原始 XInput 数据，量化分析摇杆中心偏移量、漂移方向、噪声半径，并自动计算适配个体漂移特性的最小内死区（inner deadzone）；支持实时极坐标可视化与漂移评分（0–100 分制），诊断结果直观明确。适用于手柄维护排查、电竞外设调优及日常漂移监控等场景。",2,"2026-11-24 04:38:51","CREATED_QUERY"]