keyfn 0.2.0

call function on keypress/release
Documentation

keyfn

Bind key events (press/release) to functions in rust using xlib.
Supports same key with different modifier. Functions are executed in new threads.

Usage

Add this to your Cargo.toml

[dependencies]
keyfn = "0.2.0"