summary refs log tree commit diff
path: root/keyboards/sam
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-16 14:04:45 +1000
committerGitHub <noreply@github.com>2023-06-16 14:04:45 +1000
commit2367d8129c92474eb0da66ebc5ace893097cf574 (patch)
tree07dd36030e6b490cf2c33a43bb434d419a02d0c2 /keyboards/sam
parent579db6131e271a6b3a52c3e19b2fe3a15fd403c7 (diff)
Move `RGBLIGHT_SLEEP` to data driven (#21072)
Diffstat (limited to 'keyboards/sam')
-rw-r--r--keyboards/sam/s80/config.h1
-rw-r--r--keyboards/sam/sg81m/config.h1
-rw-r--r--keyboards/sam/sg81m/info.json3
3 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/sam/s80/config.h b/keyboards/sam/s80/config.h
index 4c3d6ae504..94d716028a 100644
--- a/keyboards/sam/s80/config.h
+++ b/keyboards/sam/s80/config.h
@@ -20,7 +20,6 @@
 #    define RGBLIGHT_HUE_STEP 8
 #    define RGBLIGHT_SAT_STEP 8
 #    define RGBLIGHT_VAL_STEP 8
-//#    define RGBLIGHT_SLEEP  /* If defined, the RGB lighting will be switched off when the host goes to sleep */
 
 // generated by KBFirmware JSON to QMK Parser
 // https://noroadsleft.github.io/kbf_qmk_converter/
diff --git a/keyboards/sam/sg81m/config.h b/keyboards/sam/sg81m/config.h
index b999af6eec..97e618fc20 100644
--- a/keyboards/sam/sg81m/config.h
+++ b/keyboards/sam/sg81m/config.h
@@ -20,7 +20,6 @@
     #define RGBLIGHT_HUE_STEP 8
     #define RGBLIGHT_SAT_STEP 8
     #define RGBLIGHT_VAL_STEP 8
-    #define RGBLIGHT_SLEEP  /* If defined, the RGB lighting will be switched off when the host goes to sleep */
 #define RGBLIGHT_EFFECT_BREATHING
 #define RGBLIGHT_EFFECT_RAINBOW_MOOD
 #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/sam/sg81m/info.json b/keyboards/sam/sg81m/info.json
index baa1cec9a7..22cc79a48a 100644
--- a/keyboards/sam/sg81m/info.json
+++ b/keyboards/sam/sg81m/info.json
@@ -16,6 +16,9 @@
     "indicators": {
         "caps_lock": "B0"
     },
+    "rgblight": {
+        "sleep": true
+    },
     "ws2812": {
         "pin": "E6"
     },