Giter Site home page Giter Site logo

njz3 / vjoy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jshafer817/vjoy

295.0 295.0 36.0 85.12 MB

Virtual Joystick

Home Page: http://vjoystick.sourceforge.net

License: MIT License

Batchfile 0.94% C++ 55.36% C 32.90% PHP 0.04% C# 6.80% Makefile 0.13% Shell 0.19% sed 0.29% Inno Setup 3.34%

vjoy's People

Contributors

brainstinct0 avatar crayon2000 avatar jshafer817 avatar lukester1975 avatar njz3 avatar shauleiz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vjoy's Issues

v2.2.1.1 setup vJoy failed to install - workaround

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.

failed with error: Unknown Error: e000022f

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

Compile issues.

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.

Ability to name devices

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

vJoyInit.reg not found

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

Installs successfully, but can't add any devices.

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.

Installation of vjoy failing on Windows 11

Failed to install driver. Function WdfCollectionCreate failed with status 0xc000009a.
The driver \Driver\vjoy failed to load for the device ROOT\HIDCLASS\0000.

image

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.
image

The device list seems to be empty and doesn't detect any gamepad or wheel I plug in.
image

The monitor doesn't show anything as well.
image

The demo feeder shows the following error at the top.
image

vjoy installation fail.zip

vJoy not working with Web Gamepad API

Hi, This issue is fixed and you will find a summary of the problem and solution below:


Original Question

The Web Gamepad API doesn't seem to be able to show/receive the Axes values:
image

The buttons work fine, but the axes don't.
Here is an example test URL: https://luser.github.io/gamepadtest/


Working solution

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:

  1. 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)

  2. 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"

  3. Now download this testing build installer and then open it to install.

  4. 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.

Vjoy making Iracing as 100% CPU but it is not. any clue?

ok I just installed this and I use this with streamdeck for IraceIT app and everytime I join about 10 sec later I get this

image

I do not know what is going on.

This is what is showing for me on Task Manager
image

Disabling Vjoy dose not do this but still have to restart Iracing

No FFB with iracing and irFFB2020

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.

Vjoy installation failed

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

Getting FFB Data (the real issue is me lacking time)

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.