summary refs log tree commit diff
path: root/keyboards/phantom
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-04-06 18:00:54 +1000
committerGitHub <noreply@github.com>2023-04-06 18:00:54 +1000
commit47966dc2a65c88ac90fcd64d12243d72f3f6753b (patch)
treed2f54974c74f66bf11565a64381ea8834f49d481 /keyboards/phantom
parent71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff)
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/phantom')
-rw-r--r--keyboards/phantom/config.h1
-rw-r--r--keyboards/phantom/info.json3
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/phantom/config.h b/keyboards/phantom/config.h
index 1e64cede55..9f5804745a 100644
--- a/keyboards/phantom/config.h
+++ b/keyboards/phantom/config.h
@@ -17,7 +17,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #pragma once
 
-#define RGB_DI_PIN E2
 #    define RGBLED_NUM 20
 #    define RGBLIGHT_HUE_STEP 10
 #    define RGBLIGHT_SAT_STEP 17
diff --git a/keyboards/phantom/info.json b/keyboards/phantom/info.json
index f13f481170..bf858eaf06 100644
--- a/keyboards/phantom/info.json
+++ b/keyboards/phantom/info.json
@@ -17,6 +17,9 @@
         "caps_lock": "B6",
         "scroll_lock": "B7"
     },
+    "ws2812": {
+        "pin": "E2"
+    },
     "processor": "atmega32u4",
     "bootloader": "halfkay",
     "community_layouts": ["tkl_ansi", "tkl_iso"],