summaryrefslogtreecommitdiff
path: root/keyboards/the_royal/schwann
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/the_royal/schwann')
-rw-r--r--keyboards/the_royal/schwann/config.h8
-rw-r--r--keyboards/the_royal/schwann/info.json8
-rw-r--r--keyboards/the_royal/schwann/schwann.c1
3 files changed, 8 insertions, 9 deletions
diff --git a/keyboards/the_royal/schwann/config.h b/keyboards/the_royal/schwann/config.h
index 0c6341af0f..8cfda8f8e5 100644
--- a/keyboards/the_royal/schwann/config.h
+++ b/keyboards/the_royal/schwann/config.h
@@ -1,19 +1,11 @@
#pragma once
-
-#define MATRIX_ROW_PINS { F0, F1, F6, C7 }
-#define MATRIX_COL_PINS { F4, F5, D5, D3, D2, C6, B6, B5, B4, D7, D6, D1 }
-
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION COL2ROW
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/* ws2812 RGB LED */
-#define RGB_DI_PIN B3
#define RGBLED_NUM 8 // Number of LEDs
#define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/the_royal/schwann/info.json b/keyboards/the_royal/schwann/info.json
index 97d10f6edc..85b6afb369 100644
--- a/keyboards/the_royal/schwann/info.json
+++ b/keyboards/the_royal/schwann/info.json
@@ -8,6 +8,14 @@
"pid": "0x3521",
"device_version": "0.0.1"
},
+ "ws2812": {
+ "pin": "B3"
+ },
+ "matrix_pins": {
+ "cols": ["F4", "F5", "D5", "D3", "D2", "C6", "B6", "B5", "B4", "D7", "D6", "D1"],
+ "rows": ["F0", "F1", "F6", "C7"]
+ },
+ "diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/the_royal/schwann/schwann.c b/keyboards/the_royal/schwann/schwann.c
deleted file mode 100644
index 1ef8c93974..0000000000
--- a/keyboards/the_royal/schwann/schwann.c
+++ /dev/null
@@ -1 +0,0 @@
-#include "schwann.h"