{"id":51406354,"url":"https://github.com/skorotkiewicz/dewobble","last_synced_at":"2026-07-04T11:04:39.092Z","repository":{"id":352508142,"uuid":"1215396160","full_name":"skorotkiewicz/dewobble","owner":"skorotkiewicz","description":"Filter out phantom clicks and mouse jitter (rdev - main (all OS) / epool - dev branch (linux only))","archived":false,"fork":false,"pushed_at":"2026-04-19T23:25:34.000Z","size":38,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-04T11:04:30.282Z","etag":null,"topics":["epool","rdev","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skorotkiewicz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-19T21:22:00.000Z","updated_at":"2026-04-20T04:08:14.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/skorotkiewicz/dewobble","commit_stats":null,"previous_names":["skorotkiewicz/dewobble"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/skorotkiewicz/dewobble","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skorotkiewicz%2Fdewobble","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skorotkiewicz%2Fdewobble/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skorotkiewicz%2Fdewobble/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skorotkiewicz%2Fdewobble/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skorotkiewicz","download_url":"https://codeload.github.com/skorotkiewicz/dewobble/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skorotkiewicz%2Fdewobble/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35119101,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-04T02:00:05.987Z","response_time":113,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["epool","rdev","rust"],"created_at":"2026-07-04T11:04:38.675Z","updated_at":"2026-07-04T11:04:39.086Z","avatar_url":"https://github.com/skorotkiewicz.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dewobble\n\nFilter out phantom clicks and mouse jitter.\n\n## What it does\n\n- **Debounces clicks**: Ignores button bounces within 100ms (fixing worn-out mouse switches)\n- **Debounces scroll**: Ignores scroll wheel bounces in opposite direction (fixing defective scroll wheels that scroll up when you scroll down)\n- **Smooths movement**: Absorbs tiny movements under 3px (helping shaky hands or high-DPI mice)\n\n## Install\n\n```bash\ngit clone \u003crepo\u003e\ncd dewobble\ncargo build --release\n```\n\n## Run\n\n**Normal mode** (quiet, only shows blocked bounces):\n```bash\n./target/release/dewobble\n```\n\n**Hold mode** (absorb rapid clicks as held state instead of blocking):\n```bash\n./target/release/dewobble --hold\n```\n\n**Verbose mode** (shows all clicks and mouse movements):\n```bash\n./target/release/dewobble --verbose\n```\n\n**X11 or permission errors:**\n```bash\nsudo ./target/release/dewobble\n```\n\n\u003e Note: On Wayland, running with `sudo` often fails due to session permissions. Try without sudo first.\n\n## Modes Explained\n\n**BLOCK mode** (default): Rapid clicks within 100ms are suppressed entirely.\n\n**HOLD mode** (`--hold`): Rapid clicks are converted to a \"held\" state - the button stays pressed until the debounce period (100ms) passes. This feels more like a clean mechanical switch.\n\n## Troubleshooting\n\n**Permission denied:** Add your user to the `input` group and log out/back in:\n```bash\nsudo usermod -a -G input $USER\n```\n\n## Tuning\n\nSet via environment variables:\n\n```bash\n# Adjust debounce window (default: 100ms)\nDEBOUNCE_MS=150 ./target/release/dewobble\n\n# Adjust movement threshold (default: 3.0 pixels)\nMOVEMENT_THRESHOLD=5.0 ./target/release/dewobble\n\n# Adjust scroll debounce (default: 50ms) - increase for bouncier scroll wheels\nSCROLL_DEBOUNCE_MS=100 ./target/release/dewobble\n\n# Combined example\nDEBOUNCE_MS=200 MOVEMENT_THRESHOLD=10.0 SCROLL_DEBOUNCE_MS=100 ./target/release/dewobble --hold\n```\n\nOr edit `src/main.rs` for permanent changes:\n\n```rust\nconst DEFAULT_DEBOUNCE_MS: u64 = 100;        // Increase for bouncier switches\nconst DEFAULT_MOVEMENT_THRESHOLD: f64 = 3.0;  // Increase for shakier hands\nconst DEFAULT_SCROLL_DEBOUNCE_MS: u64 = 50;   // Increase for bouncier scroll wheels\n```\n\nThen `cargo build --release` again.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskorotkiewicz%2Fdewobble","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskorotkiewicz%2Fdewobble","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskorotkiewicz%2Fdewobble/lists"}