XKeyBind

Members

Static functions

bind
void bind(ModifierKey mods, int keycode, XKeybindHandler handler)
bind
void bind(string key, XKeybindHandler handler)
bindExact
void bindExact(ModifierKey mods, int keycode, XKeybindHandler handler)

Binds the key without binding keys when numlock or lock are active

load
void load(string port = ":0")

Creates a display and loads XKeyBind

load
void load(Display* displ)

Loads XKeyBind from an existing display

unbind
void unbind(ModifierKey mods, int keycode)
unbind
void unbind(string key)
unbindExact
void unbindExact(ModifierKey mods, int keycode)
update
void update()

Checks for key presses and calls handlers

Meta