initial commit

This commit is contained in:
2023-08-22 02:04:00 +01:00
parent 7c0f3327f8
commit e200462b85
13 changed files with 222 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
import ctypes as ct
from pathlib import Path
bits = 64 if ct.sizeof(ct.c_voidp) == 8 else 32
controller_path = Path(__file__).parents[2].resolve() / "controllerClient"
DLL_PATH = controller_path / f"x{64 if bits == 64 else 86}" / f"nvdaControllerClient{bits}.dll"
libc = ct.CDLL(str(DLL_PATH))