Skip to content
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

Handle multiple instance of the same VID/PID devices #97

Merged
merged 4 commits into from
Apr 1, 2024

Conversation

norberttak
Copy link
Owner

@norberttak norberttak commented Mar 29, 2024

This PR is created to support multiple instances of the same HID devices. For example, if you have 2 two saitek radio panels, the plugin shall be able to handle both devices. The configuration will be the same for both devices.
To be able to open more than one device with the same VID/PID, we have to use hid_enumerate hid_open_path functions.

@norberttak norberttak added the enhancement New feature or request label Mar 29, 2024
@norberttak norberttak added this to the v1.9 milestone Mar 29, 2024
@norberttak norberttak self-assigned this Mar 29, 2024
@norberttak norberttak marked this pull request as draft March 29, 2024 14:43
@norberttak norberttak force-pushed the hid-init-modifications branch 2 times, most recently from b4ce3b0 to b7ff4f9 Compare March 31, 2024 05:46
@norberttak norberttak marked this pull request as ready for review March 31, 2024 14:43
@norberttak norberttak changed the title Update hid initialization Handle multiple instance of the same VID/PID devices Mar 31, 2024
Add hid_enumerate, hid_open_path and hid_free_enumeration
to the hid mock library of the tests

Signed-off-by: Norbert Takacs <norberttak@gmail.com>
Signed-off-by: Norbert Takacs <norberttak@gmail.com>
Signed-off-by: Norbert Takacs <norberttak@gmail.com>
Signed-off-by: Norbert Takacs <norberttak@gmail.com>
@norberttak norberttak merged commit db0f7d4 into master Apr 1, 2024
4 checks passed
@norberttak norberttak deleted the hid-init-modifications branch April 28, 2024 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant