Add simple fix for support hator skyfall/rockfall keyboards to winbond controller

This commit is contained in:
Alexander V
2025-03-07 08:33:24 +02:00
committed by Adam Honse
parent 598066bfe4
commit 2157644ab1
2 changed files with 24 additions and 4 deletions

View File

@@ -74,6 +74,15 @@ void WinbondGamingKeyboardController::SetNameVendorDescription(const hid_device_
}
}
else if((name.find("Rockfall") != std::string::npos) || (name.find("Skyfall") != std::string::npos))
{
vendor = "Hator";
layout = KEYBOARD_LAYOUT_ANSI_QWERTY;
if(name.find("TKL") != std::string::npos)
{
kb_size = KEYBOARD_SIZE_TKL;
}
}
else
{
vendor = "Winbond";