AltF02 / AltF02/mouse-rs

mouse coordinates are always returned as 0

Đang mở
#25 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rust
Star
125
Fork
8
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

When building in release mode, the mouse coordinates are always returned as 0.
Could this be due to optimization?

OS: Windows
https://github.com/AltF02/mouse-rs/blob/ab35f1e33252f183593f5e7e8b569e87c3f64bd5/src/sys/windows.rs#L113

Setting 👇

[profile.release]
opt-level = 0

in Cargo.toml resolves the issue.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.