Coder Social home page Coder Social logo

Comments (19)

csutorasa avatar csutorasa commented on May 28, 2024 4

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.

Tyall avatar Tyall commented on May 28, 2024 3

I will try my best but it might be unclear since i'm a noob.
So thats what i did:

  1. Download and setup Xoutput + ViGEm
  2. Download HIDGuardian and install it
  3. 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
  4. 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
  5. 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)
  6. 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.

csutorasa avatar csutorasa commented on May 28, 2024 2

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.

LLltirlec avatar LLltirlec commented on May 28, 2024 2

@csutorasa You need:

  1. Add HIDGuardian install / uninstall buttons
  2. 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"
  3. 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"
  4. Adding to the white list is done by creating a subsection with the process number in the section title in whitelist

from xoutput.

csutorasa avatar csutorasa commented on May 28, 2024 1

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.

Darthagnon avatar Darthagnon commented on May 28, 2024 1

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

csutorasa avatar csutorasa commented on May 28, 2024

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.

hik4ru avatar hik4ru commented on May 28, 2024

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.

fabrebatalla18 avatar fabrebatalla18 commented on May 28, 2024

I need the same, please.

from xoutput.

mkultimate avatar mkultimate commented on May 28, 2024

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.

toolschmiede avatar toolschmiede commented on May 28, 2024

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.

H8to avatar H8to commented on May 28, 2024

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.

Tyall avatar Tyall commented on May 28, 2024

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.

Tyall avatar Tyall commented on May 28, 2024

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.

csutorasa avatar csutorasa commented on May 28, 2024

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.

nefarius avatar nefarius commented on May 28, 2024

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.

Darthagnon avatar Darthagnon commented on May 28, 2024

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.

csutorasa avatar csutorasa commented on May 28, 2024

Added to v3.16

from xoutput.

ngxson avatar ngxson commented on May 28, 2024

@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)

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.