norberttak / XPanel

XPlane 11/12 plugin to handle home cockpit panels
GNU General Public License v3.0
8 stars 3 forks source link

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

Closed norberttak closed 5 months ago

norberttak commented 5 months ago

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.