xcape-rs

Crates.ioxcape-rs
lib.rsxcape-rs
version0.4.0
sourcesrc
created_at2021-01-17 12:20:58.156597
updated_at2021-10-29 10:14:11.846027
descriptionimplementation of XCAPE in Rust
homepage
repositoryhttps://github.com/hurou927/xcape-rs
max_upload_size
id343101
size31,411
shunji (hurou927)

documentation

README

xcape-rs

Build

Rust-powered XCAPE

xcape: https://github.com/alols/xcape

xcape allows you to use a modifier key as another key when pressed and released on its own. Note that it is slightly slower than pressing the original key, because the pressed event does not occur until the key is released.

Usage

$ cargo run -- -h

implement xcape  Rust

USAGE:
    xcape-rs [FLAGS] [OPTIONS]

FLAGS:
    -d, --debug      debug flag
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -e, --expression <map>...    format: code=code|code|code
    -t, --timeout <timeout>      timeout(sec).

Sample

xcape -e '64=38' # alt=space

Todo

  • get Keysym from String

Links

Commit count: 49

cargo fmt