tfc 0.3.0

The Fat Controller. A library for simulating mouse and keyboard events.
Documentation
fn main() {
    // https://stackoverflow.com/a/45537237/4093378
    if std::env::var("DISPLAY").is_ok() {
        println!("cargo:rustc-cfg=x11");
    }

    // There's an alternative that's more robust but also more complicated.
    // https://unix.stackexchange.com/a/325972/356153
}