
/// Size of [`input_event`] from system
const INPUT_EVENT_SIZE: usize = mem::size_of::<input_event>();

/// Create asynchronous event stream from `file`
pub async fn new_stream(file: File) -> io::Result<impl Stream<Item = io::Result<InputEvent>>> {
    let mut file = Box::pin(file);