mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-05-18 19:46:27 -04:00
Add support for Turtle Beach (ex ROCCAT) Vulkan II
This commit is contained in:
committed by
Adam Honse
parent
d7e467a37f
commit
bdfd2a3290
@@ -62,6 +62,7 @@ device_info RoccatVulcanKeyboardController::InitDeviceInfo()
|
||||
case ROCCAT_MAGMA_PID:
|
||||
case ROCCAT_MAGMA_MINI_PID:
|
||||
case ROCCAT_VULCAN_PRO_PID:
|
||||
case ROCCAT_VULCAN_II_PID:
|
||||
packet_length = 9;
|
||||
report_id = 0x09;
|
||||
break;
|
||||
@@ -115,6 +116,7 @@ void RoccatVulcanKeyboardController::EnableDirect(bool on_off_switch)
|
||||
case ROCCAT_MAGMA_PID:
|
||||
case ROCCAT_MAGMA_MINI_PID:
|
||||
case ROCCAT_VULCAN_PRO_PID:
|
||||
case ROCCAT_VULCAN_II_PID:
|
||||
buf = new uint8_t[5] { 0x0E, 0x05, on_off_switch, 0x00, 0x00 };
|
||||
hid_send_feature_report(dev_ctrl, buf, 5);
|
||||
break;
|
||||
@@ -149,6 +151,11 @@ void RoccatVulcanKeyboardController::SendColors(std::vector<led_color> colors)
|
||||
column_length = 12;
|
||||
protocol_version = 2;
|
||||
break;
|
||||
case ROCCAT_VULCAN_II_PID:
|
||||
packet_length = 396;
|
||||
column_length = 1;
|
||||
protocol_version = 2;
|
||||
break;
|
||||
default:
|
||||
packet_length = 436;
|
||||
column_length = 12;
|
||||
@@ -277,6 +284,11 @@ void RoccatVulcanKeyboardController::SendMode(unsigned int mode, unsigned int sp
|
||||
packet_length = 371;
|
||||
column_length = 12;
|
||||
break;
|
||||
case ROCCAT_VULCAN_II_PID:
|
||||
protocol_version = 2;
|
||||
packet_length = 377;
|
||||
column_length = 1;
|
||||
break;
|
||||
default:
|
||||
protocol_version = 1;
|
||||
packet_length = 443;
|
||||
|
||||
Reference in New Issue
Block a user