c0redumb / midi2vjoy

MIDI to virtual joystick mapping
BSD 2-Clause "Simplified" License
96 stars 31 forks source link

Error initializing virtual joysticks #3

Open morpe opened 5 years ago

morpe commented 5 years ago

λ midi2vjoy -v -m 1 -c C:\Users\triododonte\Desktop\novation.conf pygame 1.9.4 Hello from the pygame community. https://www.pygame.org/contribute.html Opening configuration file: C:\Users\triododonte\Desktop\novation.conf Opening MIDI device: 1 Traceback (most recent call last): File "C:\python\lib\site-packages\midi2vjoy-0.1-py3.7.egg\midi2vjoy\midi2vjoy.py", line 110, in joystick_run vjoyregkey = winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8E31F76F-74C3-47F1-9550-E041EEDC5FBB}_is1') FileNotFoundError: [WinError 2] Impossibile trovare il file specificato Error initializing virtual joysticks

the key that you are looking for does not exist in my system (win10), vJoy is installed and configured the .conf: 176 1 1 SL0

Nercury commented 5 years ago

I have found that python script can't read registry values. So I simply hardcoded VJoy instalation path in my fork. Also make sure you use 64-bit python3.