nsyshid: Add SetProtocol and SetReport support for libusb backend (#1243)

This commit is contained in:
Joshua de Reeper 2024-07-02 02:32:37 +01:00 committed by GitHub
parent 64b0b85ed5
commit 5209677f2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 137 additions and 53 deletions

View file

@ -400,7 +400,7 @@ namespace nsyshid::backend::windows
return false;
}
bool DeviceWindowsHID::SetProtocol(uint32 ifIndef, uint32 protocol)
bool DeviceWindowsHID::SetProtocol(uint8 ifIndex, uint8 protocol)
{
// ToDo: implement this
// pretend that everything is fine