rajetic / auto_oculus_touch

Tools to allow AutoHotKey to read the state of the Oculus Touch controllers.
95 stars 19 forks source link

vJoy is required instead of being optional #26

Closed Oiplikao closed 2 years ago

Oiplikao commented 2 years ago

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.

Oiplikao commented 2 years ago

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.