Initial commit for the Razer Blackwidow V3 Pro

* Adding entries for the Razer Blackwidow V3 Pro in wired, bluetooth and wireless modes
* Registered detectors
* Added metadata to RazerDevices.h
* Added capabilities to RazerController.cpp
* Added UDEV rule to 60-openrgb.rules
This commit is contained in:
Chris
2021-08-05 13:53:24 +10:00
committed by Adam Honse
parent e02bbda8b7
commit 1b05e765ca
4 changed files with 245 additions and 4 deletions

View File

@@ -67,7 +67,7 @@ void DetectRazerControllers(hid_device_info* info, const std::string& name)
if(openrazer_enabled)
{
LOG_VERBOSE("[DetectRazer] OpenRazer controller is enabled stop this detection");
LOG_INFO("[RazerController]: OpenRazer controller currently enabled. Can NOT add the %s", name);
return;
}
@@ -194,7 +194,7 @@ void DetectRazerKrakenControllers(hid_device_info* info, const std::string& name
if(openrazer_enabled)
{
LOG_VERBOSE("[DetectRazerKraken] OpenRazer controller is enabled stop this detection");
LOG_INFO("[RazerController]: OpenRazer controller currently enabled. Can NOT add the %s", name);
return;
}
@@ -217,6 +217,9 @@ REGISTER_HID_DETECTOR_IPU("Razer Blackwidow Chroma V2", Det
REGISTER_HID_DETECTOR_IPU("Razer Blackwidow Elite", DetectRazerControllers, RAZER_VID, RAZER_BLACKWIDOW_ELITE_PID, 0x00, 0x01, 0x02);
REGISTER_HID_DETECTOR_IPU("Razer Blackwidow Overwatch", DetectRazerControllers, RAZER_VID, RAZER_BLACKWIDOW_OVERWATCH_PID, 0x00, 0x01, 0x02);
REGISTER_HID_DETECTOR_IPU("Razer Blackwidow V3", DetectRazerControllers, RAZER_VID, RAZER_BLACKWIDOW_V3_PID, 0x00, 0x01, 0x02);
REGISTER_HID_DETECTOR_IPU("Razer Blackwidow V3 Pro (Wired)", DetectRazerControllers, RAZER_VID, RAZER_BLACKWIDOW_V3_PRO_WIRED_PID, 0x00, 0x01, 0x02);
REGISTER_HID_DETECTOR_IPU("Razer Blackwidow V3 Pro (Bluetooth)", DetectRazerControllers, RAZER_VID, RAZER_BLACKWIDOW_V3_PRO_BLUETOOTH_PID, 0x00, 0x01, 0x02);
REGISTER_HID_DETECTOR_IPU("Razer Blackwidow V3 Pro (Wireless)", DetectRazerControllers, RAZER_VID, RAZER_BLACKWIDOW_V3_PRO_WIRELESS_PID, 0x00, 0x01, 0x02);
REGISTER_HID_DETECTOR_IPU("Razer Blackwidow V3 TKL", DetectRazerControllers, RAZER_VID, RAZER_BLACKWIDOW_V3_TKL_PID, 0x00, 0x01, 0x02);
REGISTER_HID_DETECTOR_IPU("Razer Blackwidow X Chroma", DetectRazerControllers, RAZER_VID, RAZER_BLACKWIDOW_X_CHROMA_PID, 0x00, 0x01, 0x02);
REGISTER_HID_DETECTOR_IPU("Razer Blackwidow X Chroma Tournament Edition", DetectRazerControllers, RAZER_VID, RAZER_BLACKWIDOW_X_CHROMA_TE_PID, 0x00, 0x01, 0x02);