{"id":21945235,"url":"https://github.com/ardaku/stick","last_synced_at":"2025-03-31T06:08:10.671Z","repository":{"id":37976113,"uuid":"118279753","full_name":"ardaku/stick","owner":"ardaku","description":"Rust library for platform-agnostic asynchronous gamepad, joystick, and flightstick interaction","archived":false,"fork":false,"pushed_at":"2024-02-14T05:06:22.000Z","size":1089,"stargazers_count":79,"open_issues_count":19,"forks_count":14,"subscribers_count":3,"default_branch":"stable","last_synced_at":"2025-03-26T21:51:08.407Z","etag":null,"topics":["controller","flight-controller","gamepad","joystick","joystick-library","joysticks","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/stick","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ardaku.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE_APACHE_2_0.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-01-20T20:52:27.000Z","updated_at":"2025-03-09T11:55:35.000Z","dependencies_parsed_at":"2024-02-14T06:22:22.901Z","dependency_job_id":"bc3c27b4-adf2-41c2-9dc5-711a49220709","html_url":"https://github.com/ardaku/stick","commit_stats":{"total_commits":241,"total_committers":14,"mean_commits":"17.214285714285715","dds":0.2904564315352697,"last_synced_commit":"e88377eccd858bda3fe072120033f2467c9b6332"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ardaku%2Fstick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ardaku%2Fstick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ardaku%2Fstick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ardaku%2Fstick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ardaku","download_url":"https://codeload.github.com/ardaku/stick/tar.gz/refs/heads/stable","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246423731,"owners_count":20774820,"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":["controller","flight-controller","gamepad","joystick","joystick-library","joysticks","rust"],"created_at":"2024-11-29T04:18:02.645Z","updated_at":"2025-03-31T06:08:10.646Z","avatar_url":"https://github.com/ardaku.png","language":"Rust","readme":"# Stick\nFolders in this repository:\n - `stick/`: The Stick crate.\n - `sdb/`: The Stick Public Domain database of controllers (not limited\n   to game controllers).\n - `gcdb/`: Git Submodule to grab optional SDL mappings from.\n - `xtask/`: Scripts run with `cargo-xtask`.\n\n## Xtask\nStick uses the [xtask](https://github.com/matklad/cargo-xtask) repository model\nto have various scripts written in Rust process controller data, also allowing\nserde to not be a direct dependency.\n\n### Available Commands\n - `cargo xtask`, `cargo xtask --help` - Print help\n - `cargo xtask sdb` - Generate the embeddable bytecode databases.\n\n## TOML Format\nFile names are 64-bit hexadecimal values with leading zeros followed by `.toml`\nwithin a folder referring to the platform.\n\n```toml\nname = \"My Controller Name\"\ntype = \"xbox\"\n\n[remap]\nTriggerR = {} # Ignore events\nTriggerL = {}\nHatUp = \"Up\" # Map hat to dpad when you're not using a flightstick\nHatDown = \"Down\"\nHatLeft = \"Left\"\nHatRight = \"Right\"\nCamX = { event = \"CamX\", deadzone = 0.075 } # Adjust deadzones\nCamY = { event = \"CamY\", deadzone = 0.075 }\nJoyZ = { event = \"TriggerR\", max = 1024 } # Set higher-precision axis ranges (usually 255)\nCamZ = { event = \"TriggerL\", max = 1024 }\n```\n\n### `type`\nType can be any of the following:\n - `xbox` - An Xbox Gamepad (W3 Standard Gamepad Compliant)\n - `flight` - A Flightstick\n - `playstation` - A PlayStation Gamepad (W3 Standard Gamepad Compliant)\n - `nintendo` - A Nintendo Gamepad (W3 Standard Gamepad Compliant)\n - `gamepad` - A generic Gamepad (W3 Standard Gamepad Compliant)\n\n## License\nCopyright © 2017-2023 The Stick Contributors.\n\nLicensed under any of\n - Apache License, Version 2.0, ([LICENSE_APACHE_2_0.txt][7]\n   or [https://www.apache.org/licenses/LICENSE-2.0][8])\n - Boost Software License, Version 1.0, ([LICENSE_BOOST_1_0.txt][11]\n   or [https://www.boost.org/LICENSE_1_0.txt][12])\n - MIT License, ([LICENSE_MIT.txt][9] or [https://mit-license.org/][10])\n\nat your option.\n\n### Contribution\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\nlicensed as described above, without any additional terms or conditions.\n\n## Help\nIf you want help using or contributing to this library, feel free to send me an\nemail at [aldaronlau@gmail.com][13].\n\n[7]: https://github.com/ardaku/stick/blob/stable/LICENSE_APACHE_2_0.txt\n[8]: https://www.apache.org/licenses/LICENSE-2.0\n[9]: https://github.com/ardaku/stick/blob/stable/LICENSE_MIT.txt\n[10]: https://mit-license.org/\n[11]: https://github.com/ardaku/stick/blob/stable/LICENSE_BOOST_1_0.txt\n[12]: https://www.boost.org/LICENSE_1_0.txt\n[13]: mailto:aldaronlau@gmail.com\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fardaku%2Fstick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fardaku%2Fstick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fardaku%2Fstick/lists"}