Skip to content

MouseDrive V0.4.0

Latest

Choose a tag to compare

@Toxpox Toxpox released this 21 Mar 00:55
· 1 commit to main since this release
9d3970c

Changelog


[0.4.0] — 2026-03-21

Performance:

  • Atomic ordering optimized (unnecessary memory barriers removed from hot path)
  • Input thread priority raised to THREAD_PRIORITY_HIGHEST
  • Process priority raised to HIGH_PRIORITY_CLASS
  • HPET timer enabled (15.6ms → 1ms system timer resolution)

Stability & error handling:

  • Graceful shutdown added (raw input thread exits cleanly)
  • vJoy axes reset and device relinquished on exit
  • Config validation on load (NaN, infinity, out-of-range values are corrected)
  • vJoy DLL secure loading (exe dir → Program Files → PATH)

New types:

  • SteeringMode enum (replaces magic numbers 0/1/2/3)
  • VJoyStatus enum (replaces string, with TR+EN localized messages)
  • config_version field (for future migration support)

Code quality:

  • 13 unit tests added (config.rs and logic.rs)
  • #![deny(unsafe_code)] added to logic and lang modules
  • Zero clippy warnings, cargo fmt applied