CasualX / vigem-client

ViGEm client API in pure Rust.
MIT License
17 stars 7 forks source link

Fix doc.rs #1

Closed Yamakaky closed 3 years ago

Yamakaky commented 3 years ago

I think it's because docs.rs defaults to linux target. See https://docs.rs/about/metadata

CasualX commented 3 years ago

Hey, thanks for opening an issue!

It looks like I already have a fix in place in master branch, but it is not yet published. This is because it also includes an optimization attempt to reuse event objects instead of constantly creating them. I have not been able to properly test if this resource optimization works correctly.

I have a project which I'll try to verify that this new code is still correct and publish afterwards.

Yamakaky commented 3 years ago

Nice!

CasualX commented 3 years ago

fixed