Set default config for Razer

This commit is contained in:
Lord-Grey 2021-11-01 17:29:02 +01:00
parent fcde21c7fd
commit 35fbfabc84

View File

@ -777,6 +777,12 @@ $(document).ready(function () {
colorOrderDefault = "rgb";
break;
case "razer":
conf_editor.getEditor("root.generalOptions").disable();
hwLedCountDefault = 1;
colorOrderDefault = "bgr";
break;
default:
}
@ -1289,6 +1295,7 @@ function saveLedConfig(genDefLayout = false) {
case "sk9822":
case "ws2812spi":
case "piblaster":
case "razer":
default:
if (genDefLayout === true) {
ledConfig = {