evdev-rs/src
Jeff Hiner de2c4e026d
Fix a bunch of unsoundness, and clean up some stuff (#26)
* Fix warnings and remove unsafe code
* Eliminate duplicate structs already in libc; fix incorrect eviocgbit lengths, remove transmute
* Avoid hiding unsafe behind macros; use File rather than libc::open
* Change signatures of eviocgbit and eviocgabs to take slices; use align_to_mut to more safely cast slices
* Replace do_ioctl_buf! with wrapper fn
* Add a sanity check for align_to_mut
* Fix incorrect slice casts, add debug asserts for sanity
* Bump revision
2021-02-22 10:57:25 -07:00
..
lib.rs Fix a bunch of unsoundness, and clean up some stuff (#26) 2021-02-22 10:57:25 -07:00
raw.rs Fix a bunch of unsoundness, and clean up some stuff (#26) 2021-02-22 10:57:25 -07:00
scancodes.rs Fix a bunch of unsoundness, and clean up some stuff (#26) 2021-02-22 10:57:25 -07:00