diff --git a/RGBController/OpenRazerDevices.h b/RGBController/OpenRazerDevices.h index 899ca1bd6..66cb0dd91 100644 --- a/RGBController/OpenRazerDevices.h +++ b/RGBController/OpenRazerDevices.h @@ -906,9 +906,33 @@ static const razer_device mug_holder_device = | Linear | | 16 LEDs | \*-------------------------------------------------------------*/ -static const razer_zone chromahdk_zone = +static const razer_zone chromahdk_zone_1 = { - "LED Strip", + "Channel 1", + ZONE_TYPE_LINEAR, + 1, + 16 +}; + +static const razer_zone chromahdk_zone_2 = +{ + "Channel 2", + ZONE_TYPE_LINEAR, + 1, + 16 +}; + +static const razer_zone chromahdk_zone_3 = +{ + "Channel 3", + ZONE_TYPE_LINEAR, + 1, + 16 +}; + +static const razer_zone chromahdk_zone_4 = +{ + "Channel 4", ZONE_TYPE_LINEAR, 1, 16 @@ -922,10 +946,10 @@ static const razer_device chromahdk_device = 4, 16, { - &chromahdk_zone, - &chromahdk_zone, - &chromahdk_zone, - &chromahdk_zone, + &chromahdk_zone_1, + &chromahdk_zone_2, + &chromahdk_zone_3, + &chromahdk_zone_4, NULL, NULL } diff --git a/RGBController/RGBController_OpenRazerWindows.cpp b/RGBController/RGBController_OpenRazerWindows.cpp index 8a1ab3060..1964c7e76 100644 --- a/RGBController/RGBController_OpenRazerWindows.cpp +++ b/RGBController/RGBController_OpenRazerWindows.cpp @@ -326,11 +326,15 @@ RGBController_OpenRazer::RGBController_OpenRazer(device * razer_device, device_f for (unsigned int col_id = 0; col_id < device_list[i]->zones[zone_id]->cols; col_id++) { + char id_buf[8]; + snprintf(id_buf, 8, "%d", col_id + 1); + RGBColor new_color = 0x00000000; colors.push_back(new_color); led* new_led = new led(); - new_led->name = device_list[i]->zones[zone_id]->name; + new_led->name = device_list[i]->zones[zone_id]->name + " LED "; + new_led->name.append(id_buf); leds.push_back(*new_led); new_zone_map.push_back(led_count);