mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-03-31 20:31:18 -04:00
Fill in missing modes for Razer Mamba 2012
This commit is contained in:
@@ -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 |
|
||||
\*-------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user