device: make write public but hidden
This commit is contained in:
parent
661c968d60
commit
f9ff9117ac
@ -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 {
|
unsafe {
|
||||||
let mut event = input_event {
|
let mut event = input_event {
|
||||||
time: timeval { tv_sec: 0, tv_usec: 0 },
|
time: timeval { tv_sec: 0, tv_usec: 0 },
|
||||||
|
Loading…
Reference in New Issue
Block a user