@@ -40,48 +40,58 @@ RazerController::RazerController(hid_device* dev_handle, hid_device* dev_argb_ha
40
40
/* -----------------------------------------------------------------*\
41
41
| Set report index |
42
42
\*-----------------------------------------------------------------*/
43
- report_index = 0 ;
44
- response_index = 0 ;
43
+ switch (dev_pid)
44
+ {
45
+ case RAZER_LEVIATHAN_V2X_PID:
46
+ report_index = 0x07 ;
47
+ response_index = 0x07 ;
48
+ break ;
49
+
50
+ default :
51
+ report_index = 0 ;
52
+ response_index = 0 ;
53
+ }
45
54
46
55
/* -----------------------------------------------------------------*\
47
56
| Determine transaction ID for device |
48
57
\*-----------------------------------------------------------------*/
49
58
switch (dev_pid)
50
59
{
60
+ case RAZER_BASE_STATION_V2_CHROMA_PID:
51
61
case RAZER_BASILISK_V3_PID:
62
+ case RAZER_BASILISK_V3_PRO_BLUETOOTH_PID:
52
63
case RAZER_BASILISK_V3_PRO_WIRED_PID:
53
64
case RAZER_BASILISK_V3_PRO_WIRELESS_PID:
54
- case RAZER_BASILISK_V3_PRO_BLUETOOTH_PID:
55
- case RAZER_BLACKWIDOW_ELITE_PID:
56
65
case RAZER_BLACKWIDOW_2019_PID:
66
+ case RAZER_BLACKWIDOW_ELITE_PID:
57
67
case RAZER_BLACKWIDOW_V3_MINI_WIRED_PID:
58
- case RAZER_BLADE_2021_BASE_V2_PID:
59
68
case RAZER_BLADE_14_2022_PID:
60
69
case RAZER_BLADE_15_2022_PID:
70
+ case RAZER_BLADE_2021_BASE_V2_PID:
61
71
case RAZER_CYNOSA_V2_PID:
62
- case RAZER_ORNATA_CHROMA_V2_PID:
63
- case RAZER_ORNATA_V3_PID:
64
- case RAZER_ORNATA_V3_REV2_PID:
65
- case RAZER_ORNATA_V3_X_PID:
66
- case RAZER_TARTARUS_CHROMA_PID:
67
- case RAZER_TARTARUS_PRO_PID:
68
- case RAZER_TARTARUS_V2_PID:
69
72
case RAZER_DEATHADDER_CHROMA_PID:
70
73
case RAZER_DEATHADDER_ESSENTIAL_V2_PID:
71
74
case RAZER_DEATHADDER_V2_MINI_PID:
72
75
case RAZER_DEATHSTALKER_V2_PID:
76
+ case RAZER_KRAKEN_KITTY_EDITION_PID:
73
77
case RAZER_LAPTOP_STAND_CHROMA_PID:
74
78
case RAZER_LAPTOP_STAND_CHROMA_V2_PID:
79
+ case RAZER_LEVIATHAN_V2X_PID:
75
80
case RAZER_MAMBA_ELITE_PID:
81
+ case RAZER_MOUSE_BUNGEE_V3_CHROMA_PID:
76
82
case RAZER_NAGA_CLASSIC_PID:
77
83
case RAZER_NAGA_EPIC_CHROMA_PID:
78
84
case RAZER_NAGA_LEFT_HANDED_PID:
79
85
case RAZER_NAGA_PRO_WIRED_PID:
80
86
case RAZER_NAGA_PRO_WIRELESS_PID:
81
- case RAZER_KRAKEN_KITTY_EDITION_PID:
82
- case RAZER_BASE_STATION_V2_CHROMA_PID:
83
- case RAZER_MOUSE_BUNGEE_V3_CHROMA_PID:
84
87
case RAZER_O11_DYNAMIC_PID:
88
+ case RAZER_ORNATA_CHROMA_V2_PID:
89
+ case RAZER_ORNATA_V3_PID:
90
+ case RAZER_ORNATA_V3_REV2_PID:
91
+ case RAZER_ORNATA_V3_X_PID:
92
+ case RAZER_TARTARUS_CHROMA_PID:
93
+ case RAZER_TARTARUS_PRO_PID:
94
+ case RAZER_TARTARUS_V2_PID:
85
95
case RAZER_VIPER_8KHZ_PID:
86
96
dev_transaction_id = 0x1F ;
87
97
break ;
@@ -155,6 +165,7 @@ RazerController::RazerController(hid_device* dev_handle, hid_device* dev_argb_ha
155
165
case RAZER_GOLIATHUS_CHROMA_PID:
156
166
case RAZER_LAPTOP_STAND_CHROMA_PID:
157
167
case RAZER_LAPTOP_STAND_CHROMA_V2_PID:
168
+ case RAZER_LEVIATHAN_V2X_PID:
158
169
case RAZER_MAMBA_ELITE_PID:
159
170
case RAZER_MOUSE_BUNGEE_V3_CHROMA_PID:
160
171
case RAZER_MOUSE_DOCK_PRO_PID:
@@ -311,6 +322,7 @@ RazerController::RazerController(hid_device* dev_handle, hid_device* dev_argb_ha
311
322
case RAZER_LANCEHEAD_2019_WIRELESS_PID:
312
323
case RAZER_LAPTOP_STAND_CHROMA_PID:
313
324
case RAZER_LAPTOP_STAND_CHROMA_V2_PID:
325
+ case RAZER_LEVIATHAN_V2X_PID:
314
326
case RAZER_MAMBA_2018_WIRED_PID:
315
327
case RAZER_MAMBA_2018_WIRELESS_PID:
316
328
case RAZER_MAMBA_ELITE_PID:
@@ -682,6 +694,7 @@ bool RazerController::SupportsWave()
682
694
case RAZER_FIREFLY_V2_PID:
683
695
case RAZER_LAPTOP_STAND_CHROMA_PID:
684
696
case RAZER_LAPTOP_STAND_CHROMA_V2_PID:
697
+ case RAZER_LEVIATHAN_V2X_PID:
685
698
case RAZER_MOUSE_BUNGEE_V3_CHROMA_PID:
686
699
case RAZER_MOUSE_DOCK_PRO_PID:
687
700
case RAZER_NOMMO_CHROMA_PID:
0 commit comments