2 releases

Uses old Rust 2015

0.1.1 Jul 14, 2016
0.1.0 Jul 14, 2016

#17 in #evdev

26 downloads per month

CC0 license

47KB
1K SLoC

Rust FFI bindings for libevdev

This crate provides generated FFI bindings for libevdev and linux/input.h.

To regenerate the bindings, run

bindgen --ctypes-prefix=libc --builtins --match evdev /usr/include/libevdev-1.0/libevdev/libevdev.h > src/evdev.rs
bindgen --ctypes-prefix=libc --builtins --match input.h /usr/include/libevdev-1.0/libevdev/libevdev.h > src/linux_input.rs

and clean everything up. Should only take a week.

Dependencies

~42KB