Class XKeyboard
Keyboard class whose state is driven by xkbcommon
Constructors
Name | Description |
---|---|
this
(ctx, keymap, state)
|
Properties
Name | Type | Description |
---|---|---|
mods [get]
|
KeyMods |
Methods
Name | Description |
---|---|
dispose
()
|
Dispose the underlying resource |
processKeyDown
(keycode, handler)
|
|
processKeyUp
(keycode, handler)
|
|
updateState
(depressedMods, latchedMods, lockedMods, depressedLayout, latchedLayout, lockedLayout)
|