nsyshid: Initialise interface index as 0 (#1473)

This commit is contained in:
Joshua de Reeper 2025-01-12 19:20:48 +00:00 committed by GitHub
parent 07cd402531
commit eab1b24320
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -272,7 +272,7 @@ namespace nsyshid::backend::libusb
auto device = std::make_shared<DeviceLibusb>(m_ctx, auto device = std::make_shared<DeviceLibusb>(m_ctx,
desc.idVendor, desc.idVendor,
desc.idProduct, desc.idProduct,
1, 0,
2, 2,
0, 0,
libusb_get_bus_number(dev), libusb_get_bus_number(dev),