iamkroot / asus-numpad

Linux driver for Asus laptops to activate numpad on touchpad
MIT License
36 stars 10 forks source link

Remove usage of unstable feature #15

Closed Sporif closed 1 year ago

Sporif commented 1 year ago

Makes it possible to build this crate with stable rust. ~And the performance seems fine without all the *_unchecked.~

Sporif commented 1 year ago

Ok, but I thought unsafe should be used only when absolutely necessary (i.e measurable performance gain, ffi etc).