Comments (19)
I could make contact with @nefarius. A new release of HidGuardian and HidCerberus are coming soon. I will help him to test and I hope it will work with my application.
Sadly, I cannot promise any ETA on this issue.
from xoutput.
I will try my best but it might be unclear since i'm a noob.
So thats what i did:
- Download and setup Xoutput + ViGEm
- Download HIDGuardian and install it
- Find out your Contoller's hardware ID. You can do it this way: Control Panel -> Devices and Printers -> Right click your controller -> Properties ->Hardware -> Now select the option with HID in its name ->Properties -> Details -> Hardware IDs -> Copy 3 first lines. It should look somehow like this:
HID\VID_046D&PID_C216&REV_0300
HID\VID_046D&PID_C216
HID\VID_046D&UP:0001_U:0004 - Now go open regedit, navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HidGuardian\Parameters
and add these 3 lines to the Affected devices and restart your PC - Here's the part with whitelisting Xoutput. I'm not sure how to do it by coding but i found a simple application called WhiteKnight Auto Whitelister (i'm not sure i can post links here so i won't)
- Download the app and run it as administrator. From here you can also install HidCerberus or HidGuardian so my "guide" can be a bit simpler. Run Xoutput. Controller shouldn't be avaiable on the list. Now Click "Pick App" in WhiteKnight Auto Whitelister and click on Xoutput to whitelist it. Wait few seconds and the controller should show up on the list, click Start, launch the game - enjoy!
I hope it's at least a bit helpful! Thanks for help @csutorasa
from xoutput.
HidGuardian is still in alpha stage and not recommended to be used in other software. I think if HidGuardian will work properly I can do something about this issue. I need your patience, and I will keep contact with the developers.
from xoutput.
@csutorasa You need:
- Add HIDGuardian install / uninstall buttons
- Add the checkbox "Hide gamepad" and the window with the message: "Reconnect gamepad"
Data is written to the Windows registry "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HidGuardian\Parameters" in AffectedDevices, for example: "HID\VID_0810&PID_0001&COL01" or "HID\VID_044F&PID_B609" - Add a function so that the program itself adds itself to the white list at startup and deleted after closing. White list here "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HidGuardian\Parameters\Whitelist"
- Adding to the white list is done by creating a subsection with the process number in the section title in whitelist
from xoutput.
I could not make it work yet, I am still planning to include this in future versions, but I do not think it is stable enough. Test versions are available and you may try to discord channel of @nefarius at his homepage.
If I am not wrong if you add the configuration to regedit, it will block all applications. You will need to use another configuration (registry) to set which applications may use the device. I still recommend the discord channel for further info.
from xoutput.
@csutorasa , Ryochan7 recently dropped HidGuardian from his DS4Windows project (it emulates an XInput controller with a DS4); I believe he now uses some sort of alternative system to hide the DS4 as an input. Maybe a similar approach could work for XOutput, to hide the DInput controllers from games? I've contacted him, will post back here if I get a reply RE: what exactly the hiding system he uses is.
from xoutput.
This is related to #16, which asks for the same feature with a different reason. As it was requested before, I will try to check if these software are stable now. I will contact @nefarius about this issue.
from xoutput.
Same request; somehow I used latest XOutput release to play Rocket League with Switch's Pro Controller and suddenly today it catches this kinda double controller — Xinput as configured and DirectInput too.
Thank you very much for your effort and fast development, though.
from xoutput.
I need the same, please.
from xoutput.
in the games of LEGO the same thing causes a problem since when pressing a button in directInput the same happens with the XInput at the same time :(
from xoutput.
As XOutput works perfectly I am also looking forward to see a solution to dinput blocking. I can't get HidGuardian run. So I'll wait and hope you'll look further into this great feature request! 👍
from xoutput.
Does anyone have a workaround and can describe here how to hide the dinput?
There are some games that act strange when they see both inputs. (E.g. Disabling xinput, which cripples the support for additional controllers with native xinput)
@csutorasa Did you try HidGuardian? I'm not able to get it working.
from xoutput.
I tried to block dinput by adding my controller (Logitech Dual Action) to the HidGuardian in regedit. After that Xoutput doesn't see my controller even though it's listed in both Device Manager and Devices and Printers. Strange thing. Would appreciate any help cuz i'm trying to get it to work with a new Forza game.
from xoutput.
If I am not wrong if you add the configuration to regedit, it will block all applications. You will need to use another configuration (registry) to set which applications may use the device. I still recommend the discord channel for further info.
After whitelisting Xoutput for HIDGuardian/Cerberus it works perfectly in forza horizon4 demo! Thanks for help! <3
from xoutput.
I am happy to hear that. Could you comment the replication steps? It may be useful for others, until I can integrate with HIDGuardian.
from xoutput.
WhiteKnight is a GUI tool by one of our developers. It adjusts the whitelisting registry keys at runtime.
Disclaimer: I do not recommend you program against this interface because it's outdated and requires elevated privileges.
If for example the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HidGuardian\Parameters\Whitelist\1234
exists, the process running under PID 1234
will get whitelisted by the driver. So what WK does is to map the process name to the PID and creates/deletes these keys accordingly. This is tedious and error-prone but that's how it's done in HG Gen1.
from xoutput.
Ryochan7's reply:
Ryochan7/DS4Windows#502 (comment)
He uses a Windows Exclusive Mode workaround - guess it bypasses Windows drivers and talks directly to the program. InputMapper (similar to DS4Windows) has a post on their website with a bit more info on implementing exclusive mode (https://inputmapper.com/20-windows-10-1607-au-exclusive-mode-fix). Perhaps implementing exclusive mode between controllers and XOutput could be a future development? Then, XOutput emulates XInput, and the PC only detects the XInput.
from xoutput.
Added to v3.16
from xoutput.
@csutorasa This issue still happens to me. I'm using XOutput 3.26 with PS3/PC Gamepad eb0c5340-3864-11ea-8002-444553540000
chinese controller.
from xoutput.
Related Issues (20)
- mouse and wasd keys HOT 2
- Option to block directinput controller. HOT 3
- error when opening (not quite sure what it means HOT 1
- buttons broked
- remaping controller ?
- stop the virtual controller emulation when i turn off the real one HOT 2
- Dragon engine games do not work properly with generic gamepads using XOutput
- Logitech Formula Force EX Xoutput not detect Accelarate pedal HOT 1
- Button press on one controller will trigger button press on 2 controllers
- Using controller moves mouse cursor
- XOutput causes dosbox to lose mouse input. HOT 1
- Share button?
- Acceleration not detecting on wheel Logitech MOMO Racing
- Still no solution to "autorun" the controller script at boot? HOT 2
- Affected devices key does not exist in registry
- Removing Xoutput
- Xoutput and Cuphead
- Xoutput not working on wireless when not focused HOT 2
- Xoutput working fine until connecting via Bluetooth
- XOutput keeps dropping
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xoutput.