oops
This commit is contained in:
parent
8bf2e098f5
commit
ae9df1ffac
@ -24,7 +24,7 @@ else:
|
|||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
from ctypes.util import find_library
|
from ctypes.util import find_library
|
||||||
lib = find_library('xkbcommon')
|
lib = ctypes.CDLL(find_library('xkbcommon'))
|
||||||
|
|
||||||
f = lib.xkb_keysym_from_name
|
f = lib.xkb_keysym_from_name
|
||||||
f.argtypes = [ctypes.c_char_p, ctypes.c_int]
|
f.argtypes = [ctypes.c_char_p, ctypes.c_int]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user