summaryrefslogtreecommitdiff
path: root/keyboards/panc40
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/panc40')
-rw-r--r--keyboards/panc40/config.h10
-rw-r--r--keyboards/panc40/info.json5
-rw-r--r--keyboards/panc40/panc40.c1
3 files changed, 5 insertions, 11 deletions
diff --git a/keyboards/panc40/config.h b/keyboards/panc40/config.h
index 422b15b864..96117cf81c 100644
--- a/keyboards/panc40/config.h
+++ b/keyboards/panc40/config.h
@@ -1,13 +1,5 @@
#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
@@ -15,7 +7,6 @@
#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 +21,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..60618f6794 100644
--- a/keyboards/panc40/info.json
+++ b/keyboards/panc40/info.json
@@ -8,6 +8,11 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "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"