After some tinkering, I can say that the "HID" device that vJoy create is the one that create the problem, as when I deactivate it in the Device Manager, it all goes smoothly (but I can't use the virtual joystick anymore). So that may not even be a problem with YOUR program, but with vJoy itself...