{"id":15137937,"url":"https://github.com/jasonjmcghee/bevy_trackpad_haptic","last_synced_at":"2025-08-03T04:32:09.690Z","repository":{"id":242386197,"uuid":"809450960","full_name":"jasonjmcghee/bevy_trackpad_haptic","owner":"jasonjmcghee","description":"A bevy plugin for triggering trackpad haptic feedback on a mac","archived":false,"fork":false,"pushed_at":"2024-06-02T18:20:35.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-21T22:28:22.502Z","etag":null,"topics":["accessibility","bevy","haptic","haptic-feedback","haptics","mac","macos","rust","trackpad"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jasonjmcghee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-06-02T18:11:58.000Z","updated_at":"2024-06-05T04:10:29.000Z","dependencies_parsed_at":"2024-06-02T18:26:49.084Z","dependency_job_id":null,"html_url":"https://github.com/jasonjmcghee/bevy_trackpad_haptic","commit_stats":null,"previous_names":["jasonjmcghee/bevy_trackpad_haptic"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonjmcghee%2Fbevy_trackpad_haptic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonjmcghee%2Fbevy_trackpad_haptic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonjmcghee%2Fbevy_trackpad_haptic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonjmcghee%2Fbevy_trackpad_haptic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jasonjmcghee","download_url":"https://codeload.github.com/jasonjmcghee/bevy_trackpad_haptic/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228204574,"owners_count":17884711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["accessibility","bevy","haptic","haptic-feedback","haptics","mac","macos","rust","trackpad"],"created_at":"2024-09-26T07:03:40.619Z","updated_at":"2024-12-06T20:51:33.101Z","avatar_url":"https://github.com/jasonjmcghee.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `bevy_trackpad_haptic`\n\n[![Crates.io](https://img.shields.io/crates/v/bevy_trackpad_haptic.svg)](https://crates.io/crates/bevy_trackpad_haptic)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/jasonjmcghee/bevy_trackpad_haptic#license)\n\nA bevy plugin for triggering trackpad haptic feedback on a mac.\n\nI also maintain its core dependency [`trackpad_feedback`](https://github.com/jasonjmcghee/trackpad_haptic).\n\nTry out the example:\n\n```bash\ncargo run --example simple\n```\n\n## Usage\n\n```rust\nfn main() {\n    App::new()\n        .add_plugins((MinimalPlugins, TrackpadHapticPlugin))\n        .add_systems(Update, important_system)\n        .run();\n}\n\n// Everything important\n\nfn important_system(mut feedback_event_writer: EventWriter\u003cFeedbackEvent\u003e) {\n    // Something happens like damage to the player!\n    feedback_event_writer.send(\n        FeedbackEvent::new(\n            // length in millis\n            100,\n            // minimum delay before additional feedback\n            0\n        )\n    );\n}\n```\n\n## Compatibility\n| bevy | bevy_trackpad_haptic |\n|------|----------------------|\n| 0.13 | 0.1                  |\n\n## License\n\n* [MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasonjmcghee%2Fbevy_trackpad_haptic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjasonjmcghee%2Fbevy_trackpad_haptic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasonjmcghee%2Fbevy_trackpad_haptic/lists"}