summaryrefslogtreecommitdiff
path: root/keyboards/lily58/glow_enc
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/lily58/glow_enc')
-rw-r--r--keyboards/lily58/glow_enc/config.h6
-rw-r--r--keyboards/lily58/glow_enc/glow_enc.c16
-rw-r--r--keyboards/lily58/glow_enc/glow_enc.h2
-rw-r--r--keyboards/lily58/glow_enc/info.json14
-rw-r--r--keyboards/lily58/glow_enc/rules.mk9
5 files changed, 15 insertions, 32 deletions
diff --git a/keyboards/lily58/glow_enc/config.h b/keyboards/lily58/glow_enc/config.h
index d89148dbbf..0f78f92d72 100644
--- a/keyboards/lily58/glow_enc/config.h
+++ b/keyboards/lily58/glow_enc/config.h
@@ -20,12 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-// wiring of each half
-#define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 }
-#define MATRIX_COL_PINS { F6, F7, B1, B3, B2, B6 }
-
-#define RGB_DI_PIN F4
-
#define RGBLED_NUM 72 // Number of LEDs
#define RGBLED_SPLIT { 36, 36 }
diff --git a/keyboards/lily58/glow_enc/glow_enc.c b/keyboards/lily58/glow_enc/glow_enc.c
deleted file mode 100644
index 57a0df93db..0000000000
--- a/keyboards/lily58/glow_enc/glow_enc.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
-Copyright 2020 Ben Roesner (keycapsss.com)
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#include "lily58.h"
-
diff --git a/keyboards/lily58/glow_enc/glow_enc.h b/keyboards/lily58/glow_enc/glow_enc.h
index f9cc1c26b8..2a81dc0027 100644
--- a/keyboards/lily58/glow_enc/glow_enc.h
+++ b/keyboards/lily58/glow_enc/glow_enc.h
@@ -16,8 +16,6 @@
#pragma once
-#include "lily58.h"
-
#include "quantum.h"
diff --git a/keyboards/lily58/glow_enc/info.json b/keyboards/lily58/glow_enc/info.json
index bc2eae23da..3f3e9e8e94 100644
--- a/keyboards/lily58/glow_enc/info.json
+++ b/keyboards/lily58/glow_enc/info.json
@@ -8,12 +8,23 @@
"pid": "0x0059",
"device_version": "1.0.0"
},
+ "features": {
+ "encoder": true,
+ "oled": true,
+ "rgblight": true
+ },
+ "matrix_pins": {
+ "cols": ["F6", "F7", "B1", "B3", "B2", "B6"],
+ "rows": ["C6", "D7", "E6", "B4", "B5"]
+ },
+ "diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "F5", "pin_b": "D4"}
]
},
"split": {
+ "enabled": true,
"soft_serial_pin": "D2",
"encoder": {
"right": {
@@ -23,6 +34,9 @@
}
}
},
+ "ws2812": {
+ "pin": "F4"
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
diff --git a/keyboards/lily58/glow_enc/rules.mk b/keyboards/lily58/glow_enc/rules.mk
index 3d80190eb2..4da205a168 100644
--- a/keyboards/lily58/glow_enc/rules.mk
+++ b/keyboards/lily58/glow_enc/rules.mk
@@ -1,8 +1 @@
-ENCODER_ENABLE = yes # ENables the use of one or more encoders
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB light
-LTO_ENABLE = yes # significantly reduce the compiled size, but disable the legacy TMK Macros and Functions features
-BOOTMAGIC_ENABLE = no
-RGB_MATRIX_ENABLE = no # Per key rgb leds
-
-# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
-SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend \ No newline at end of file
+LTO_ENABLE = yes