Skip to content

Commit 9efdd13

Browse files
DerH4NNESCalcProgrammer1
authored andcommitted
Add Roccat Vulcan TKL Pro
1 parent 0ef5103 commit 9efdd13

4 files changed

Lines changed: 9 additions & 0 deletions

File tree

Controllers/RoccatController/RoccatControllerDetect.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ void DetectRoccatVulcanKeyboardControllers(hid_device_info* info, const std::str
118118
switch(info->product_id)
119119
{
120120
case ROCCAT_VULCAN_PRO_PID:
121+
case ROCCAT_VULCAN_TKL_PRO_PID:
121122
case ROCCAT_PYRO_PID:
122123
case ROCCAT_MAGMA_PID:
123124
case ROCCAT_MAGMA_MINI_PID:
@@ -334,6 +335,7 @@ REGISTER_HID_DETECTOR_IP ("Roccat Vulcan 100 Aimo", DetectRoccatVulc
334335
REGISTER_HID_DETECTOR_IP ("Roccat Vulcan 120-Series Aimo", DetectRoccatVulcanKeyboardControllers, ROCCAT_VID, ROCCAT_VULCAN_120_AIMO_PID, 1, 11);
335336
REGISTER_HID_DETECTOR_IP ("Roccat Vulcan TKL", DetectRoccatVulcanKeyboardControllers, ROCCAT_VID, ROCCAT_VULCAN_TKL_PID, 1, 11);
336337
REGISTER_HID_DETECTOR_IP ("Roccat Vulcan Pro", DetectRoccatVulcanKeyboardControllers, ROCCAT_VID, ROCCAT_VULCAN_PRO_PID, 1, 0xFF01);
338+
REGISTER_HID_DETECTOR_IP ("Roccat Vulcan TKL Pro", DetectRoccatVulcanKeyboardControllers, ROCCAT_VID, ROCCAT_VULCAN_TKL_PRO_PID, 1, 0xFF01);
337339
REGISTER_HID_DETECTOR_IP ("Roccat Vulcan II", DetectRoccatVulcanKeyboardControllers, ROCCAT_VID, ROCCAT_VULCAN_II_PID, 1, 0xFF01);
338340
REGISTER_HID_DETECTOR_IP ("Turtle Beach Vulcan II", DetectRoccatVulcanKeyboardControllers, TURTLE_BEACH_VID, TURTLE_BEACH_VULCAN_II_PID, 1, 0xFF01);
339341
REGISTER_HID_DETECTOR_IP ("Turtle Beach Vulcan II TKL", DetectRoccatVulcanKeyboardControllers, TURTLE_BEACH_VID, TURTLE_BEACH_VULCAN_II_TKL_PID, 1, 11);

Controllers/RoccatController/RoccatVulcanKeyboardController/RGBController_RoccatVulcanKeyboard.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ void RGBController_RoccatVulcanKeyboard::SetupZones()
112112
keyboard_ptr = &RoccatVulcan120AimoLayouts;
113113
break;
114114
case ROCCAT_VULCAN_TKL_PID:
115+
case ROCCAT_VULCAN_TKL_PRO_PID:
115116
case TURTLE_BEACH_VULCAN_II_TKL_PID:
116117
keyboard_ptr = &RoccatVulcanTKLLayouts;
117118
break;

Controllers/RoccatController/RoccatVulcanKeyboardController/RoccatVulcanKeyboardController.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ device_info RoccatVulcanKeyboardController::InitDeviceInfo()
6767
case ROCCAT_MAGMA_PID:
6868
case ROCCAT_MAGMA_MINI_PID:
6969
case ROCCAT_VULCAN_PRO_PID:
70+
case ROCCAT_VULCAN_TKL_PRO_PID:
7071
case ROCCAT_VULCAN_II_PID:
7172
case TURTLE_BEACH_VULCAN_II_PID:
7273
case TURTLE_BEACH_VULCAN_II_TKL_PRO_PID:
@@ -123,6 +124,7 @@ void RoccatVulcanKeyboardController::EnableDirect(bool on_off_switch)
123124
case ROCCAT_MAGMA_PID:
124125
case ROCCAT_MAGMA_MINI_PID:
125126
case ROCCAT_VULCAN_PRO_PID:
127+
case ROCCAT_VULCAN_TKL_PRO_PID:
126128
case ROCCAT_VULCAN_II_PID:
127129
case TURTLE_BEACH_VULCAN_II_PID:
128130
case TURTLE_BEACH_VULCAN_II_TKL_PRO_PID:
@@ -156,6 +158,7 @@ void RoccatVulcanKeyboardController::SendColors(std::vector<led_color> colors)
156158
protocol_version = 2;
157159
break;
158160
case ROCCAT_VULCAN_PRO_PID:
161+
case ROCCAT_VULCAN_TKL_PRO_PID:
159162
packet_length = 384;
160163
column_length = 12;
161164
protocol_version = 2;
@@ -328,6 +331,7 @@ void RoccatVulcanKeyboardController::SendMode(unsigned int mode, unsigned int sp
328331
column_length = 5;
329332
break;
330333
case ROCCAT_VULCAN_PRO_PID:
334+
case ROCCAT_VULCAN_TKL_PRO_PID:
331335
protocol_version = 2;
332336
packet_length = 371;
333337
column_length = 12;
@@ -465,6 +469,7 @@ void RoccatVulcanKeyboardController::WaitUntilReady()
465469
case ROCCAT_MAGMA_PID:
466470
case ROCCAT_MAGMA_MINI_PID:
467471
case ROCCAT_VULCAN_PRO_PID:
472+
case ROCCAT_VULCAN_TKL_PRO_PID:
468473
packet_length = 4;
469474
break;
470475
default:

Controllers/RoccatController/RoccatVulcanKeyboardController/RoccatVulcanKeyboardController.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#define ROCCAT_VULCAN_120_AIMO_PID 0x3098
2525
#define ROCCAT_VULCAN_TKL_PID 0x2FEE
2626
#define ROCCAT_VULCAN_PRO_PID 0x30F7
27+
#define ROCCAT_VULCAN_TKL_PRO_PID 0x311A
2728
#define ROCCAT_VULCAN_II_PID 0x2F4E
2829
#define ROCCAT_PYRO_PID 0x314C
2930
#define ROCCAT_MAGMA_PID 0x3124

0 commit comments

Comments
 (0)