diff --git a/src/device/device.rs b/src/device/device.rs index fee501b..bdd4b72 100644 --- a/src/device/device.rs +++ b/src/device/device.rs @@ -18,7 +18,8 @@ impl Device { } } - fn write(&mut self, kind: c_int, code: c_int, value: c_int) -> Res<()> { + #[doc(hidden)] + pub fn write(&mut self, kind: c_int, code: c_int, value: c_int) -> Res<()> { unsafe { let mut event = input_event { time: timeval { tv_sec: 0, tv_usec: 0 },