summaryrefslogtreecommitdiffstats
path: root/keyboards/rgbkb/sol3
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/rgbkb/sol3')
-rw-r--r--keyboards/rgbkb/sol3/config.h8
-rw-r--r--keyboards/rgbkb/sol3/rev1/info.json18
2 files changed, 17 insertions, 9 deletions
diff --git a/keyboards/rgbkb/sol3/config.h b/keyboards/rgbkb/sol3/config.h
index a4c7d1e30e..727947ef0b 100644
--- a/keyboards/rgbkb/sol3/config.h
+++ b/keyboards/rgbkb/sol3/config.h
@@ -28,14 +28,6 @@
#define TOUCH_RESOLUTION 25 // sensitivity of swipes, lower=faster
#define TOUCH_SEGMENTS 3
-/* Encoder Configuration */
-// Matrix Entries k36/k35(E1SW>B13), k33/k32, k7/k28
-#define ENCODERS_PAD_A { A1, B10, A13 }
-#define ENCODERS_PAD_B { A2, B11, B14 }
-// Matrix Entries k72/k71(E5SW>B0), k69/k68, k43/k64
-#define ENCODERS_PAD_A_RIGHT { A1, C15, B3 }
-#define ENCODERS_PAD_B_RIGHT { A2, C14, B13 }
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/rgbkb/sol3/rev1/info.json b/keyboards/rgbkb/sol3/rev1/info.json
index 76eaf07f07..046a56f390 100644
--- a/keyboards/rgbkb/sol3/rev1/info.json
+++ b/keyboards/rgbkb/sol3/rev1/info.json
@@ -8,8 +8,24 @@
"pid": "0x3510",
"device_version": "0.0.1"
},
+ "encoder": {
+ "rotary": [
+ {"pin_a": "A1", "pin_b": "A2"},
+ {"pin_a": "B10", "pin_b": "B11"},
+ {"pin_a": "A13", "pin_b": "B14"}
+ ]
+ },
"split": {
- "soft_serial_pin": "A9"
+ "soft_serial_pin": "A9",
+ "encoder": {
+ "right": {
+ "rotary": [
+ {"pin_a": "A1", "pin_b": "A2"},
+ {"pin_a": "C15", "pin_b": "C14"},
+ {"pin_a": "B3", "pin_b": "B13"}
+ ]
+ }
+ }
},
"processor": "STM32F303",
"bootloader": "stm32-dfu",