-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FR: Allow per device program allow/deny listing #5
Comments
I lean on HidGuardian to do the actual hiding of devices, and I didn't write that. It's a kernel driver, and that's a little beyond my knowledge. As such we're probably stuck with an allow-list for now at least. Without changing HidGuardian it might be possible to get something approximating 'per-device program allow listing'... maybe. Could you describe your intended use-case? |
I need to hide some devices only one one program (MSFS) because it crashes to desktop when there are too many devices connected. Also, for other programs (Squadrons) I would like to hide only some devices to bring it below the list it's willing to show in the UI (8). Most use cases revolve around similar issues. I also noticed (likely a bug in HidGuardian) that return the devices in a non-deterministic order each time, therefore playing havoc some apps. |
I see. So it could possibly be feasible to have HidVanguard swap out the device block list when it detects a program running, it'd just be a question of if HidGuardian detects the change and if all this can be done before the program detects the devices. I suspect the return order thing is more likely an issue with DirectInput, as an aside. It's sadly an old API, neglected in favour of XInput, which is only really suitable for Xbox controllers. Regardless, I might poke around at this over the holidays. |
The order seems to be deterministic without HidGuardian. Only after introducing it did I start having this issue. Although there's another odd that happens, which is that some program won't detect all the devices on launch, but will after they rescan. |
Please add per-device program allow listing.
It would convenient to have deny listing instead (some programs behave fine, but block only those that don't).
The text was updated successfully, but these errors were encountered: