I have been getting an error "The auto_oculus_touch.dll file is missing from the search path" even though the DLL was in the same folder.
I did some digging and found out that A_LastError had an error code 126 and one of the reasons for it is loading a .dll without required dependencies, so I looked at the events in Process Monitor and indeed the auto_oculus_touch.dll had been found but failed after trying to load vJoy DLL.
After installing vJoy and adding its DLL into the $Path the script started working.
Nevermind, somehow I completely missed the vJoyInterface.dll in the archive, sorry about that.
EDIT: Maybe add "or vJoyInterface.dll is missing" to the error message.
I have been getting an error "The auto_oculus_touch.dll file is missing from the search path" even though the DLL was in the same folder. I did some digging and found out that A_LastError had an error code 126 and one of the reasons for it is loading a .dll without required dependencies, so I looked at the events in Process Monitor and indeed the auto_oculus_touch.dll had been found but failed after trying to load vJoy DLL. After installing vJoy and adding its DLL into the $Path the script started working.