njz3 / vjoy Goto Github PK
View Code? Open in Web Editor NEWThis project forked from jshafer817/vjoy
Virtual Joystick
Home Page: http://vjoystick.sourceforge.net
License: MIT License
This project forked from jshafer817/vjoy
Virtual Joystick
Home Page: http://vjoystick.sourceforge.net
License: MIT License
Hi I have received the “vJoy failed to install” during the setup vJoySetup-2.2.1-signed.exe in a fresh new windows 10 1903 installation. Looking the logs I realize that error are coming somewhere around the searching for ROOT\HIDCLASS\0000. Loking the vJoyInstallerSigned.iss setup script I could see that the script search for HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\ROOT\HIDCLASS\0000 registry entry. This does not exist in my windows registry. I manage to get it installing a previous version of vjoy (2.1.9.1) (that creates this registry entry). Then I could export this to a HIDCLASS.reg file. Now every time I need to install vJoySetup-2.2.1-signed.exe in fresh new windows I can apply the HIDCLASS.reg before the installation and you will get a successful installation.
I start trying to permanently fix this issue but I could get further because o vjoy driver compilation and sinning issues.
Just pulled the project out and build it with my local test certificate.
everything went well until when I tried to install it with "vJoyinstall,.exe I" command, I got this error:
+++++++ +++++++ +++++++ +++++++ +++++++ +++++++ +++++++ +++++++ +++++++ +++++++
+++++++ +++++++ Wed Jan 24 09:05:09 2024
+++++++ +++++++ OS: 10.0 (x64)
main: DeviceHWID --> root\VID_1234&PID_BEAD&REV_0222 ; InfFile --> vJoy.inf
[I] FindInstalled: Searching for HWID root\VID_1234&PID_BEAD&REV_0222
[I] FindInstalled: Searching for HWID root\VID_1234&PID_BEAD
[I] Install: GetFullPathName --> C:\Users\client1\Desktop\Debug\vJoy.inf
[I] Install: hwIdList --> root\VID_1234&PID_BEAD&REV_0222
[I] Install: SetupDiGetINFClass --> Class Name HIDClass
[I] Install: SetupDiCreateDeviceInfoList OK
[I] Install: SetupDiCreateDeviceInfo OK
[I] Install: SetupDiSetDeviceRegistryProperty OK
[I] Install: SetupDiCallClassInstaller OK
[I] Install: Starting cmdUpdate
[I] cmdUpdate: GetFullPathName --> C:\Users\client1\Desktop\Debug\vJoy.inf
[I] cmdUpdate: Install: Starting cmdUpdate
[I] cmdUpdate: File newdev.dll loaded OK
[I] cmdUpdate: UPDATEDRIVERFORPLUGANDPLAYDEVICES got OK
[I] cmdUpdate: CMP_WaitNoPendingInstallEvents returned WAIT_OBJECT_0
[E] cmdUpdate: UPDATEDRIVERFORPLUGANDPLAYDEVICES(hwid=root\VID_1234&PID_BEAD&REV_0222, InfPath=C:\Users\client1\Desktop\Debug\vJoy.inf) failed with error: Unknown Error: e000022f
[I] cmdUpdate returns code 2
[I] Install: Finished cmdUpdate
[I] Install: SetupDiGetDeviceInstanceId (Device Instance Path=ROOT\HIDCLASS\0000) OK
[E] Install failed
Hello.
I am trying to compile the Vjoy driver. but i am having a lot of issues.
errors like:
Error C2065 'CompatId': undeclared identifier D:\Coding\vJoy-new\driver\sys\driver.c 271
Error C2065 'buffer': undeclared identifier D:\Coding\vJoy-new\driver\sys\rawpdo.c 790
Error C2065 'SDDL_DEVOBJ_SYS_ALL_ADM_RWX_WORLD_RWX_RES_R': undeclared identifier D:\Coding\vJoy-new\driver\sys\rawpdo.c 798
And a ton more.
Edit: was due to some WDK install issues. and is fixed.
Currently facing the issue with Joystick Gremlin and Star Citizen, that the devices are randomly resorted when restarting the game.
VJoy1 seems to be always ok, however vJoy2 and vJoy11 always get mixed up.
My assumption is, that Star citizen initialises the Joysticks based on their name as well? And should the name match, they just rewrite the UUID of the device and map them to it.
However since vJoy is named the same for each device, games that rely on the name gonna have that issue. It would be great to name the devices separately maybe, so they would be unique in both name and id.
Best
Installed the latest release, attempts to install, but fails with popup saying vjoy failed to install.
It doesn't work. =) I knew it wouldn't... but wanted to open this anyways. =)
I don't really know what exactly the problem is, but Joystick Gremlin, via a plugin, can talk just fine with vJoy 2.1.9, but not this fork/version.
For reproduction, follow the instructions here: https://www.youtube.com/watch?v=zHv14f6s2pQ
It'll work with @jshafer817 version 2.1.9. With this fork, vJoy never detects an input.
I've just tried to install vJoySetup-2.2.1-signed.exe.
At the end of the install, it says that vJoy failed to install.
Looking at the logs, the error I get is
DATETIME InitFromRegistry(): File DOWNLOADPATH vJoyInit.reg not found
Of course, there is no such file in my download path, just the .exe file
Setup Log 2022-10-19 #004.txt
Hi, I still cant seem to find an answer for this.
I am not sure what am I actually missing. Do I have to pay for a license?
Installed just fine, run the vjoy config but when I click "Add Device" nothing happens. Reverted to 2.1.9.1 and everything works fine.
A shame because the Stream Deck vJoy plugin requires this version.
Can create profile but vjoy device never receive input or never send output. UCR work with previus release.
Setup Log 2023-09-11 #004.txt
vJoyInstall.log
Logs are attached. I tried a few times, none worked. Older versions like 2.1.9.1 work fine.
Failed to install driver. Function WdfCollectionCreate failed with status 0xc000009a.
The driver \Driver\vjoy failed to load for the device ROOT\HIDCLASS\0000.
vjoy "installs" but fails to install. When you launch it after that error, everything is greyed out and doens't seem to be interactable. I can't add a device.
The device list seems to be empty and doesn't detect any gamepad or wheel I plug in.
The monitor doesn't show anything as well.
Hi, This issue is fixed and you will find a summary of the problem and solution below:
The Web Gamepad API doesn't seem to be able to show/receive the Axes values:
The buttons work fine, but the axes don't.
Here is an example test URL: https://luser.github.io/gamepadtest/
njz3 made an update that fixes this problem, but the problem is that he cannot sign the driver, so you will need to follow this guide to install this update:
Install the certificate in the "Trusted Root Certification" store. (So open it, click install, [select local user if you have admin rights], click next, select 'install in the following archive', select "Trusted Root Certification", hit next, click confirm)
Enable SIGNTEST mode in your windows: Open CMD (or PowerShell) AS ROOT, run Bcdedit.exe -set TESTSIGNING ON
and then if it says "operation successful", you will need to reboot your computer. [If it didn't say that but it says something about Secure Boot, you will need to disable Secure Boot FIRST]. Now when you computer is booted up, you should see in the bottom right of your desktop the text "Testing Mode"
Now download this testing build installer and then open it to install.
To make sure it will work, open the "Configure vJoy" app and uncheck one of the axis, hit apply and then check the axis again and hit apply.
P.s. If you want the SDK, you can find that at this link
If you still cannot get it to work after trying these methods, you may add a comment to this issue.
This version of vJoy doesn't seem to pass through the ffb from iracing with w10 or w11.
The previous version v2.1.9.1 does, but it has another issue in that it sends a pulse to the wheels ffb every 20 seconds and spikes the ffb for no reason.
The brunnerinnovation signed v2.2.2.0 also doesn't pass through the ffb.
Hello author, I just compiled the VjoyInstall project and the three driver projects (with digital signature turned off), and all three projects were compiled successfully. Then, I copied the generated files to the "C: Program Files vJoy" directory and ran "vJoyInstall. exe" (I moved the series of files originally installed by the installation package to another location), However, the prompt "cmdUpdate: UPDATEDRIVERFORPLUGANDPLAYDEVICES (hwid=root VID_1234&PID_BEAD&REV_0219, InfPath=C: Program Files vJoy vJoy. inf) failed with error: Unknown Error: e0000247" has been bothering me lately, and I hope to get your help-- A rookie from China
Delete me!!
im super fresh around these grounds because i need to get force feedback from the driver - the amount and towards where to it(the game) wants to feedback.
im using FreePIE to do my funky stuff and there clearly isnt a vjoy[num].getforcefeedback or .currentffb
OR is it possible to relay these over local net with tcpcomms over a certain port?
OR is all of this not possible and i need to get funky with this project? (it would be really great to get it over to freepie)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.