diff --git a/RGBController/RGBController.cpp b/RGBController/RGBController.cpp index b85397fc..2467a7f1 100644 --- a/RGBController/RGBController.cpp +++ b/RGBController/RGBController.cpp @@ -1418,6 +1418,8 @@ std::string device_type_to_str(device_type type) return "Headset Stand"; case DEVICE_TYPE_GAMEPAD: return "Gamepad"; + case DEVICE_TYPE_LIGHT: + return "Light"; default: return "Unknown"; } diff --git a/RGBController/RGBController.h b/RGBController/RGBController.h index bc0e2f15..56c36bb0 100644 --- a/RGBController/RGBController.h +++ b/RGBController/RGBController.h @@ -116,6 +116,7 @@ enum DEVICE_TYPE_HEADSET, DEVICE_TYPE_HEADSET_STAND, DEVICE_TYPE_GAMEPAD, + DEVICE_TYPE_LIGHT, DEVICE_TYPE_UNKNOWN }; diff --git a/qt/OpenRGBDialog2.cpp b/qt/OpenRGBDialog2.cpp index c66c7305..134373bb 100644 --- a/qt/OpenRGBDialog2.cpp +++ b/qt/OpenRGBDialog2.cpp @@ -53,6 +53,9 @@ static QString GetIconString(device_type type, bool dark) case DEVICE_TYPE_GAMEPAD: filename = "gamepad"; break; + case DEVICE_TYPE_LIGHT: + filename = "light"; + break; default: filename = "unknown"; break; diff --git a/qt/light.png b/qt/light.png new file mode 100644 index 00000000..068a78e5 Binary files /dev/null and b/qt/light.png differ diff --git a/qt/light_dark.png b/qt/light_dark.png new file mode 100644 index 00000000..385805bc Binary files /dev/null and b/qt/light_dark.png differ diff --git a/qt/resources.qrc b/qt/resources.qrc index 2ac61006..7ac5fdb1 100644 --- a/qt/resources.qrc +++ b/qt/resources.qrc @@ -27,5 +27,7 @@ tools_dark.png gamepad.png gamepad_dark.png + light.png + light_dark.png