Crate pino_xmodmap

Crate pino_xmodmap 

Source
Expand description

Tiny xmodmap parsing library

use pino_xmodmap::{KeyTable, Modifier, KeySym};

fn main() {
    let xmodmap = KeyTable::new().unwrap();
    let a_key = xmodmap.get_key(KeySym::KEY_a).unwrap();
}

Structs§

KeyTable
Master table of conversions between key and key sym

Enums§

Error
Xmodmap related errors
KeySym
Enum for each possible key sym
Modifier
Each possible modifier key combination

Statics§

ALL_LOWER_CASE
Each lower case key sym
ALL_UPPER_CASE
Each upper case key sym

Traits§

FromStr
Parse a value from a string

Type Aliases§

Key
Combination of a modifier and a keycode
KeyCode
Key code as referenced by xmodmap