mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
pikvm/pikvm#947: Fixed missing XK_EuroSign
This commit is contained in:
parent
cd97509c1b
commit
90f74619ed
@ -81,7 +81,9 @@ def build_symmap(path: str) -> dict[int, dict[int, str]]: # x11 keysym -> [(mod
|
|||||||
# =====
|
# =====
|
||||||
@functools.lru_cache()
|
@functools.lru_cache()
|
||||||
def _get_keysyms() -> dict[str, int]:
|
def _get_keysyms() -> dict[str, int]:
|
||||||
keysyms: dict[str, int] = {}
|
keysyms: dict[str, int] = {
|
||||||
|
"EuroSign": 0x20AC, # FIXME: https://github.com/python-xlib/python-xlib/pull/264
|
||||||
|
}
|
||||||
for (finder, module_name, _) in pkgutil.walk_packages(Xlib.keysymdef.__path__):
|
for (finder, module_name, _) in pkgutil.walk_packages(Xlib.keysymdef.__path__):
|
||||||
if not isinstance(finder, importlib.machinery.FileFinder):
|
if not isinstance(finder, importlib.machinery.FileFinder):
|
||||||
continue
|
continue
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user