Xkb
Module to parse XKB files.
It uses the system library libxkbcommon.
parse(filename)
Parse a .xkb file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
filename |
Path
|
path to local file to parse. |
required |
Returns:
| Type | Description |
|---|---|
|
(xkbcommon.xkb.Keymap) A xkbcommon keymap object. |
Source code in kcg/parsers/xkb.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | |