Skip to content

Razer Kraken Kitty V2 Black #53

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Controllers/RazerController/RazerControllerDetect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,9 @@ REGISTER_HID_DETECTOR_IPU("Razer Kraken 7.1 Chroma", Det
REGISTER_HID_DETECTOR_IPU("Razer Kraken 7.1 V2", DetectRazerKrakenControllers, RAZER_VID, RAZER_KRAKEN_V2_PID, 0x03, 0x0C, 0x01);
REGISTER_HID_DETECTOR_IPU("Razer Kraken Kitty Edition", DetectRazerControllers, RAZER_VID, RAZER_KRAKEN_KITTY_EDITION_PID, 0x01, 0x01, 0x03);
REGISTER_HID_DETECTOR_IPU("Razer Kraken Kitty Black Edition", DetectRazerControllers, RAZER_VID, RAZER_KRAKEN_KITTY_BLACK_EDITION_PID, 0x01, 0x01, 0x03);
REGISTER_HID_DETECTOR_IPU("Razer Kraken Kitty V2 Pro", DetectRazerKrakenControllers, RAZER_VID, RAZER_KRAKEN_KITTY_V2_PRO_PID, 0x03, 0x0C, 0x01);
REGISTER_HID_DETECTOR_IPU("Razer Kraken Kitty Black Edition V2", DetectRazerKrakenControllers, RAZER_VID, RAZER_KRAKEN_KITTY_BLACK_EDITION_V2_PID, 0x03, 0x0C, 0x01);
REGISTER_HID_DETECTOR_IPU("Razer Kraken Kitty V2 BT", DetectRazerKrakenControllers, RAZER_VID, RAZER_KRAKEN_KITTY_V2_BT_PID, 0x03, 0x0C, 0x01);
REGISTER_HID_DETECTOR_IPU("Razer Kraken Ultimate", DetectRazerKrakenControllers, RAZER_VID, RAZER_KRAKEN_ULTIMATE_PID, 0x03, 0x0C, 0x01);
REGISTER_HID_DETECTOR_I( "Razer Tiamat 7.1 V2", DetectRazerControllers, RAZER_VID, RAZER_TIAMAT_71_V2_PID, 0x00 );

Expand Down
2 changes: 2 additions & 0 deletions Controllers/RazerController/RazerDevices.h
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,9 @@
#define RAZER_KRAKEN_PID 0x0504
#define RAZER_KRAKEN_ULTIMATE_PID 0x0527
#define RAZER_KRAKEN_V2_PID 0x0510
#define RAZER_KRAKEN_KITTY_V2_PRO_PID 0x0554
#define RAZER_KRAKEN_KITTY_BLACK_EDITION_V2_PID 0x0560
#define RAZER_KRAKEN_KITTY_V2_BT_PID 0x0562
#define RAZER_TIAMAT_71_V2_PID 0x0F03

/*-----------------------------------------------------*\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ RazerKrakenController::RazerKrakenController(hid_device* dev_handle, const char*
switch(dev_pid)
{
case RAZER_KRAKEN_V2_PID:
case RAZER_KRAKEN_KITTY_V2_PRO_PID:
case RAZER_KRAKEN_KITTY_BLACK_EDITION_V2_PID:
case RAZER_KRAKEN_KITTY_V2_BT_PID:
case RAZER_KRAKEN_ULTIMATE_PID:
led_mode_address = 0x172D;
custom_address = 0x1189;
Expand Down
1 change: 1 addition & 0 deletions ResourceManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ ResourceManager::ResourceManager()
detection_percent = 100;
detection_string = "";
detection_is_required = false;
DetectDevicesThread = nullptr;
dynamic_detectors_processed = false;
init_finished = false;
background_thread_running = true;
Expand Down
1 change: 1 addition & 0 deletions ResourceManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ class ResourceManager: public ResourceManagerInterface
| Detection Thread and Detection State |
\*-------------------------------------------------------------------------------------*/
std::thread * DetectDevicesThread;
std::thread * DetectDevicesThread; // Used for rescan
std::mutex DetectDeviceMutex;
std::function<void()> ScheduledBackgroundFunction;
std::mutex BackgroundThreadStateMutex;
Expand Down
Binary file added ResourceManager.o
Binary file not shown.