dml-rs
display_mouse_lock
in rust.
Free, open-source reimplementation of display_mouse_lock
(Native Mouse Lock) in Rust. Written because I felt like it. And because it was easy.
Notes
- Considerably smaller binary - 3 kilobytes as opposed to 90 kilobytes.
- Lacks
display_mouse_bounds
support.- Low priority as it is not used in HoloCure, which is what I wrote this for.
- No *nix support.
- AFAIK, Native Mouse Lock is Windows-only as well, but I'd like to support *nix at some point. Feel free to PR.
Building
Requirements
Compiling
git clone https://github.com/steviegt6/dml-rs.git
cd dml-rs
cargo build --release
Usage
For In-Production Games
- Download the latest release from the releases page.
- Copy the
dml_rs.dll
file to your game's directory. - Rename
dml_rs.dll
todisplay_mouse_lock_x64.dll
or whatever the name of the original DLL is.
For In-Development Games
- I do not know.
- I do not know.
- I do not know.