[][src]Function penrose::xcb::api::code_map_from_xmodmap

pub fn code_map_from_xmodmap() -> Result<ReverseCodeMap>

Use xmodmap -pke to determine the user's current keymap to allow for mapping X KeySym values to their string representation on the user's system.

Panics

This function will panic if it is unable to fetch keycodes using the xmodmap binary on your system or if the output of xmodmap -pke is not valid