{"id":17017212,"url":"https://github.com/steviegt6/dml-rs","last_synced_at":"2025-06-29T09:03:38.223Z","repository":{"id":65823731,"uuid":"600689140","full_name":"steviegt6/dml-rs","owner":"steviegt6","description":"Free and open-source reimplementation of Native Mouse Lock (display_mouse_lock) in Rust.","archived":false,"fork":false,"pushed_at":"2023-04-21T00:47:23.000Z","size":25,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-26T20:07:42.394Z","etag":null,"topics":["gamemaker"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/steviegt6.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},"funding":{"github":"steviegt6","patreon":"steviegt6","ko_fi":"steviegt6"}},"created_at":"2023-02-12T09:23:53.000Z","updated_at":"2023-08-13T21:32:07.000Z","dependencies_parsed_at":"2025-02-21T07:31:00.086Z","dependency_job_id":"b27100e3-31cd-4112-b999-7c1626ae2004","html_url":"https://github.com/steviegt6/dml-rs","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/steviegt6/dml-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steviegt6%2Fdml-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steviegt6%2Fdml-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steviegt6%2Fdml-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steviegt6%2Fdml-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steviegt6","download_url":"https://codeload.github.com/steviegt6/dml-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steviegt6%2Fdml-rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262566831,"owners_count":23329681,"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":["gamemaker"],"created_at":"2024-10-14T06:36:01.201Z","updated_at":"2025-06-29T09:03:38.190Z","avatar_url":"https://github.com/steviegt6.png","language":"Rust","funding_links":["https://github.com/sponsors/steviegt6","https://patreon.com/steviegt6","https://ko-fi.com/steviegt6"],"categories":[],"sub_categories":[],"readme":"# dml-rs\n\n\u003e `display_mouse_lock` in rust.\n\nFree, open-source reimplementation of `display_mouse_lock` ([Native Mouse Lock](https://marketplace.yoyogames.com/assets/9857/native-mouse-lock)) in Rust. Written because I felt like it. And because it was easy.\n\n# Notes\n\n- Considerably smaller binary (36 times smaller) - 2,560 bytes (2.50 kilobytes) as opposed to 92,160 bytes (90.0 kilobytes).\n- Lack of `display_mouse_bounds` support.\n  - Low priority as it is not used in [HoloCure](https://kay-yu.itch.io/holocure), which is what I wrote this for.\n- No \\*nix support.\n  - AFAIK, Native Mouse Lock is Windows-only as well, but I'd like to support \\*nix at some point. Feel free to PR.\n\n# Building\n\n## Requirements\n\n- [Rust](https://www.rust-lang.org/tools/install)\n\n## Compiling\n\n```bash\ngit clone https://github.com/steviegt6/dml-rs.git\ncd dml-rs\ncargo build --release\n```\n\n# Usage\n\n## For In-Production Games\n\n1. Download the latest release from the [releases page](https://github.com/steviegt6/dml-rs/releases).\n2. Copy the `dml_rs.dll` file to your game's directory.\n3. Rename `dml_rs.dll` to `display_mouse_lock_x64.dll` or whatever the name of the original DLL is.\n\n## For In-Development Games\n\n1. I do not know.\n2. I do not know.\n3. I do not know.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteviegt6%2Fdml-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteviegt6%2Fdml-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteviegt6%2Fdml-rs/lists"}