Class XKeyboard

Keyboard class whose state is driven by xkbcommon

class XKeyboard
  : Disposable ;

Constructors

NameDescription
this (ctx, keymap, state)

Properties

NameTypeDescription
mods[get] KeyMods

Methods

NameDescription
dispose () Dispose the underlying resource
processKeyDown (keycode, handler)
processKeyUp (keycode, handler)
updateState (depressedMods, latchedMods, lockedMods, depressedLayout, latchedLayout, lockedLayout)