[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116822":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":15,"stars7d":17,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":10,"pushedAt":30,"updatedAt":31,"readmeContent":32,"aiSummary":10,"trendingCount":16,"starSnapshotCount":16,"syncStatus":33,"lastSyncTime":34,"discoverSource":35},116822,"RenHDrum","trzz1214\u002FRenHDrum","trzz1214","Open HD Rumble & DualSense haptics research core for Switch emulation","https:\u002F\u002Fryuhdr.threedola.workers.dev",null,"Rust",67,3,1,4,0,12,20,57.01,"Apache License 2.0",false,"main",true,[25,26,27,28,29],"dualsense","haptics","hd-rumble","nintendo-switch","rust","2026-11-22 10:00:50","2026-11-23 11:48:32","\u003Cp align=\"center\">\u003Cimg src=\"docs\u002Fassets\u002Fbanner.webp\" alt=\"RenHDrum: HD Rumble for real controllers\" width=\"100%\">\u003C\u002Fp>\n\n# RenHDrum\n\n[![CI](https:\u002F\u002Fgithub.com\u002Ftrzz1214\u002FRenHDrum\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Ftrzz1214\u002FRenHDrum\u002Factions\u002Fworkflows\u002Fci.yml)\n[![License: MIT OR Apache-2.0](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-MIT%20OR%20Apache--2.0-blue.svg)](NOTICE)\n[![Website](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FWebsite-Research_Notebook-success)](https:\u002F\u002Fryuhdr.threedola.workers.dev)\n\n**Feel every note, click and texture a game puts into its vibration, on the controller you already own.**\n\nSwitch games don't just \"buzz\". They send detailed vibration called [HD Rumble](https:\u002F\u002Fryuhdr.threedola.workers.dev\u002Fcompare.html): tiny notes, footsteps, clicks, rain. Most emulators flatten that into a plain rumble. RenHDrum is a small open-source engine that rebuilds the detail, every 5 ms, and plays it on a Pro Controller, a DualSense, an Xbox controller or a Steam Controller.\n\n```mermaid\nflowchart LR\n    A[\"Game\u003Cbr\u002F>sends HD Rumble\"] --> B[\"Emulator\u003Cbr\u002F>or PC port\"] --> C[\"RenHDrum\u003Cbr\u002F>rebuilds the detail\"] --> D[\"Your controller\"]\n```\n\n> [!TIP]\n> **New to RenHDrum?** Read the **[Getting Started & FAQ guide](docs\u002FGETTING-STARTED.md)** first.\n>\n> **Just want to play?** Ready-made test builds with RenHDrum already inside, for Switch 1, Switch 2 and recompiled PC ports, are all on the website.\n>\n> **[Get the builds &rarr;](https:\u002F\u002Fryuhdr.threedola.workers.dev\u002F#download)**\n>\n> They are my personal experiments, not official releases. This repository contains no emulator binaries, games or keys.\n\n## Supported controllers\n\n| Controller | USB | Bluetooth | What you feel |\n|---|:---:|:---:|---|\n| Sony DualSense | ✅ | ✅ | **HD Haptics**: rumble, speaker and L2\u002FR2 triggers together, on by default ([details](docs\u002Fintegration\u002Fdualsense.md#6-hd-haptics-motors-speaker-and-triggers)) |\n| Nintendo Switch Pro Controller | ✅ | ✅ | Full HD Rumble ([how Bluetooth is handled](docs\u002Fresearch\u002F03-bluetooth-congestion-and-pacing.md)) |\n| Xbox One \u002F Series | ✅ | ✅ | HD Rumble [translated to four motors](docs\u002Fresearch\u002F10-xbox-one-rumble.md) (tested on Xbox One S) |\n| Steam Controller (2026) | ✅ | ✅ | Grips only, experimental |\n\n### HD Haptics on the DualSense\n\nHD Haptics is HD Rumble upgraded for the DualSense. The game still only sends HD Rumble; RenHDrum splits it between the three parts of the controller, with one rule for every game:\n\n- **Motors**, studio style: heavy hits and explosions sink to 75 Hz for a deeper thump.\n- **Speaker**: taps by kind of sound (rain, gravel, metal) and stays quiet when the game plays music notes.\n- **L2\u002FR2 triggers**: kick back only while you hold them.\n\n| | Wired | Bluetooth |\n|---|:---:|:---:|\n| Rumble | ✅ | ✅ |\n| Triggers | ✅ | ✅ |\n| Speaker | ✅ | ✅ |\n\nDualSense over Bluetooth still gets rumble, speaker and triggers, with nothing extra to install: the speaker sound is compressed with Opus inside the controller report, and the encoder is built into `renhdrum.dll`. HD Haptics is on by default; turn it off in the HD Rumble settings to get exactly the previous DualSense rumble.\n\n\u003Cp align=\"center\">\n\u003Cimg src=\"docs\u002Fassets\u002Fhd-rumble-panel-dark.png\" alt=\"The HD Rumble settings panel, dark theme\" width=\"48%\">\n\u003Cimg src=\"docs\u002Fassets\u002Fhd-rumble-panel-light.png\" alt=\"The HD Rumble settings panel, light theme\" width=\"48%\">\n\u003C\u002Fp>\n\nWhere it runs today: Brontide-NS2, Brontide-oot, Brontide (Switch 1), Longshot, totk-pc-recomp, dkb-pc-recomp and mkw-recomp. The builds are on the [website](https:\u002F\u002Fryuhdr.threedola.workers.dev\u002F#download).\n\nSwitch 2 Pro Controller, Steam Controller (2015) and Steam Deck are still in research, so please hold issues for them for now.\n\n## Learn more\n\n- **The story and the measurements**: the [website](https:\u002F\u002Fryuhdr.threedola.workers.dev) explains how HD Rumble works, in plain words.\n- **The deep research**: [eleven write-ups](docs\u002Fresearch\u002FREADME.md) on the packet format, the [5 ms envelope](docs\u002Fresearch\u002F02-amfm-multisample-and-crisp-notes.md), [Switch 2 games](docs\u002Fresearch\u002F11-switch2-hd-rumble.md) and more.\n\n## For developers\n\nRenHDrum is written in Rust (the Opus encoder for the DualSense speaker is built into the DLL, nothing extra to install) and exposes a small C ABI (`renhdrum.dll` + [`include\u002Frenhdrum.h`](include\u002Frenhdrum.h)), so any C, C++ or C# host can load it.\n\n- Start here: [C++ \u002F SDL3 host guide](docs\u002Fintegration\u002Fsdl3-host.md) (the hook in 6 steps) or [C# host guide](docs\u002Fintegration\u002Fcsharp-host.md)\n- Other hosts: [recompiled PC ports](docs\u002Fintegration\u002Frecomp-games.md) · [Switch 2 games](docs\u002Fintegration\u002Fswitch2-games.md)\n- Every function: [C ABI reference](docs\u002Fintegration\u002Fc-abi-reference.md)\n\n```bash\ncargo test                 # all tests\ncargo build --release      # renhdrum.dll \u002F librenhdrum.so\n```\n\n### Where to find things\n\n```text\nRenHDrum\u002F\n├── src\u002F            The engine (Rust)\n├── include\u002F        renhdrum.h, the C header hosts include\n├── examples\u002F       Minimal C and C# hosts\n├── integrations\u002F   Ready patches: SDL3, emulator hooks, recomp bridge\n├── docs\u002F\n│   ├── integration\u002F   How to add RenHDrum to a host\n│   └── research\u002F      How and why it works\n└── tests\u002F          Regression, golden waveform and guardrail tests\n```\n\n## Credits\n\nRenHDrum exists thanks to people who measured, decoded and shared before me:\n\n- **HD Rumble research**: [dekuNukem](https:\u002F\u002Fgithub.com\u002FdekuNukem\u002FNintendo_Switch_Reverse_Engineering), [Switchbrew](https:\u002F\u002Fswitchbrew.org\u002Fwiki\u002FJoy-Con) contributors, rei-github, ClearlyClaire, [CTCaer](https:\u002F\u002Fgithub.com\u002FCTCaer\u002Fjc_toolkit), felipearmat\n- **DualSense research**: [Nielk1](https:\u002F\u002Fgist.github.com\u002FNielk1\u002F6d54cc2c00d2201ccb8c2720ad7538db) and the DualSense community, [egormanga (SAxense)](https:\u002F\u002Fgithub.com\u002Fegormanga\u002FSAxense), [ragnarok179 (Enhanced-PS5-DualSense-Haptics-Bridge)](https:\u002F\u002Fgithub.com\u002Fragnarok179\u002FEnhanced-PS5-DualSense-Haptics-Bridge) for the idea of the Bluetooth speaker report (ideas only, the code is my own)\n- **Emulators and libraries**: the Ryujinx team, [Xiph.Org (libopus)](https:\u002F\u002Fgithub.com\u002Fxiph\u002Fopus), Ryubing (GreemDev), Eden \u002F yuzu contributors, [SDL](https:\u002F\u002Fgithub.com\u002Flibsdl-org\u002FSDL) (Sam Lantinga, Valve and contributors)\n- **Switch 2 and PC ports**: neo Luigi (Eglantine), Franseven (PokeDinner), [samaBR85](https:\u002F\u002Fgithub.com\u002FsamaBR85\u002Frenhdrum-eden), Frizti (Fritchii), zortos293 (Lichii), Dark (Dynamic FPS), [NotRexed (Hookshot)](https:\u002F\u002Fgithub.com\u002FNotRexed\u002FHookshot), [MagicBeanDev (Longshot)](https:\u002F\u002Fgit.magicbean.dev\u002FMagicBeanDev), [adriadam10 (mkw-recomp)](https:\u002F\u002Fgithub.com\u002Fadriadam10\u002Fmkw-recomp)\n\nWhat each person contributed, and what was copied or only referenced: [docs\u002FCREDITS.md](docs\u002FCREDITS.md) and [`NOTICE`](NOTICE).\n\n## Using RenHDrum in your project\n\nYou're welcome to. Keep the license notice, and a short credit is appreciated:\n\n> HD Rumble by RenHDrum (Three-Dola), https:\u002F\u002Fgithub.com\u002Ftrzz1214\u002FRenHDrum\n\nDetails for code, docs and citations: [how to credit](docs\u002FCREDITS.md#reusing-renhdrum).\n\n## License\n\nCore: MIT OR Apache-2.0. Docs and website text: CC BY 4.0. Patches keep their upstream license (SDL3: zlib, emulator hooks: GPL-3.0-or-later). See [`NOTICE`](NOTICE).\n\n\u003Csub>Nintendo Switch, Joy-Con and Pro Controller are trademarks of Nintendo. PlayStation and DualSense are trademarks of Sony Interactive Entertainment. Xbox is a trademark of Microsoft. Steam is a trademark of Valve. RenHDrum is an independent research project, not affiliated with or endorsed by any of them.\u003C\u002Fsub>\n\n---\n\n\u003Cp align=\"center\">\nBuilt by Three-Dola with help from Claude and Gemini · \u003Ca href=\"https:\u002F\u002Fko-fi.com\u002Fthreedola\">Support on Ko-fi\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cdetails>\n\u003Csummary>Other ways to support\u003C\u002Fsummary>\n\n- USDT (BEP20, BNB Smart Chain): `0x2fac84f94d05c550ed604f5867da62ac1bba7f7c`\n- USDT (TRC20, Tron): `TAAEy72WPFAJ5h3g8GYFnZ7bm7CDnTuwTS`\n\n\u003C\u002Fdetails>\n",2,"2026-11-24 04:54:16","CREATED_QUERY"]