xremap 0.15.6

Dynamic key remap for X and Wayland
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::path::PathBuf;

pub struct DeviceWatcher {}

impl DeviceWatcher {
    pub fn new(watch: bool) -> anyhow::Result<Option<Self>> {
        if watch {
            println!("Device watch is not supported on FreeBSD");
        }
        Ok(None)
    }

    pub fn read_events(&self) -> anyhow::Result<Vec<PathBuf>> {
        unreachable!()
    }
}