diff options
Diffstat (limited to 'devices/src/virtio/input/mod.rs')
-rw-r--r-- | devices/src/virtio/input/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/devices/src/virtio/input/mod.rs b/devices/src/virtio/input/mod.rs index 2490c52..fb05240 100644 --- a/devices/src/virtio/input/mod.rs +++ b/devices/src/virtio/input/mod.rs @@ -15,11 +15,12 @@ use std::os::unix::io::{AsRawFd, RawFd}; use data_model::{DataInit, Le16, Le32}; use sys_util::{error, warn, EventFd, GuestMemory, PollContext, PollToken}; -use self::event_source::{input_event, EvdevEventSource, EventSource, SocketEventSource}; +use self::event_source::{EvdevEventSource, EventSource, SocketEventSource}; use super::{ copy_config, DescriptorChain, DescriptorError, Interrupt, Queue, Reader, VirtioDevice, Writer, TYPE_INPUT, }; +use linux_input_sys::input_event; use std::collections::BTreeMap; use std::fmt::{self, Display}; use std::io::Read; |