summaryrefslogtreecommitdiff
path: root/keyboards/panc40
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/panc40')
-rw-r--r--keyboards/panc40/config.h11
-rw-r--r--keyboards/panc40/info.json8
-rw-r--r--keyboards/panc40/panc40.c1
3 files changed, 8 insertions, 12 deletions
diff --git a/keyboards/panc40/config.h b/keyboards/panc40/config.h
index 422b15b864..edc623d08f 100644
--- a/keyboards/panc40/config.h
+++ b/keyboards/panc40/config.h
@@ -1,21 +1,11 @@
#pragma once
-
-/* key matrix pins */
-#define MATRIX_ROW_PINS { F0, F1, F4, F5 }
-#define MATRIX_COL_PINS { F6, F7, C7, C6, B6, B5, B4, D7, D6, D4, D0, 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
-#define RGB_DI_PIN D2
-#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
@@ -30,4 +20,3 @@
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
-#endif
diff --git a/keyboards/panc40/info.json b/keyboards/panc40/info.json
index db7a1ead86..31b9bc8093 100644
--- a/keyboards/panc40/info.json
+++ b/keyboards/panc40/info.json
@@ -8,6 +8,14 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "ws2812": {
+ "pin": "D2"
+ },
+ "matrix_pins": {
+ "cols": ["F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D0", "D1"],
+ "rows": ["F0", "F1", "F4", "F5"]
+ },
+ "diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/panc40/panc40.c b/keyboards/panc40/panc40.c
deleted file mode 100644
index 8f6bd92dfb..0000000000
--- a/keyboards/panc40/panc40.c
+++ /dev/null
@@ -1 +0,0 @@
-#include "panc40.h"