Closed code-monet closed 3 weeks ago
What was the need to update to .Net 4.8 instead of keeping 4.5.2? Is it a requirement for the new python interace?
Probably no need to update, that's just the version I have installed for development. If you prefer, I'll install 4.5.2 and undo the retarget commits.
That's ok for me to move to 4.8 as it is available on windows since 7.
There are a number of Python wrappers for the DLL in the SDK, and most of them are not up-to-date for the newest vJoy DLL. These wrappers are also hard to maintain and may hide bugs in the ctypes bindings code.
Using pybind11 has several advantages:
To enable this, a "modern" C++ API with exceptions is added.
Currently developers are expected to build the Python extension themselves. An x64 compiled version is included in the added Python example (generated for Python 3.12 but should work with adjacent Python versions, did not test).