diff --git a/Controllers/RazerController/RazerController.cpp b/Controllers/RazerController/RazerController.cpp index 325b5f0d..3980c36d 100644 --- a/Controllers/RazerController/RazerController.cpp +++ b/Controllers/RazerController/RazerController.cpp @@ -1208,6 +1208,12 @@ void RazerController::razer_set_custom_frame(unsigned char row_index, unsigned c razer_usb_send(&report); break; + case RAZER_MAMBA_2012_WIRED_PID: + case RAZER_MAMBA_2012_WIRELESS_PID: + report = razer_create_set_led_rgb_report(RAZER_STORAGE_NO_SAVE, RAZER_LED_ID_SCROLL_WHEEL, rgb_data); + razer_usb_send(&report); + break; + /*-------------------------------------------------*\ | The Orbweaver Chroma has an unusual matrix layout | | and the following code allows it to present as a | @@ -1321,6 +1327,14 @@ void RazerController::razer_set_mode_breathing_one_color(unsigned char red, unsi razer_usb_send(&report); break; + case RAZER_MAMBA_2012_WIRED_PID: + case RAZER_MAMBA_2012_WIRELESS_PID: + report = razer_create_set_led_rgb_report(RAZER_STORAGE_NO_SAVE, RAZER_LED_ID_SCROLL_WHEEL, rgb_data); + razer_usb_send(&report); + report = razer_create_set_led_effect_report(RAZER_STORAGE_NO_SAVE, RAZER_LED_ID_SCROLL_WHEEL, 2); + razer_usb_send(&report); + break; + /*-------------------------------------------------*\ | These devices use standard matrix reports | \*-------------------------------------------------*/ @@ -1448,6 +1462,12 @@ void RazerController::razer_set_mode_custom() razer_usb_send(&report); break; + case RAZER_MAMBA_2012_WIRED_PID: + case RAZER_MAMBA_2012_WIRELESS_PID: + report = razer_create_set_led_effect_report(RAZER_STORAGE_NO_SAVE, RAZER_LED_ID_SCROLL_WHEEL, 0); + razer_usb_send(&report); + break; + /*-------------------------------------------------*\ | These devices use standard matrix reports | \*-------------------------------------------------*/