summaryrefslogtreecommitdiff
path: root/keyboards/pico
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/pico')
-rw-r--r--keyboards/pico/65keys/65keys.c0
-rw-r--r--keyboards/pico/65keys/65keys.h1
-rw-r--r--keyboards/pico/65keys/config.h9
-rw-r--r--keyboards/pico/65keys/info.json5
-rw-r--r--keyboards/pico/70keys/70keys.c0
-rw-r--r--keyboards/pico/70keys/70keys.h1
-rw-r--r--keyboards/pico/70keys/config.h9
-rw-r--r--keyboards/pico/70keys/info.json5
-rw-r--r--keyboards/pico/pico.c16
-rw-r--r--keyboards/pico/pico.h26
10 files changed, 10 insertions, 62 deletions
diff --git a/keyboards/pico/65keys/65keys.c b/keyboards/pico/65keys/65keys.c
deleted file mode 100644
index e69de29bb2..0000000000
--- a/keyboards/pico/65keys/65keys.c
+++ /dev/null
diff --git a/keyboards/pico/65keys/65keys.h b/keyboards/pico/65keys/65keys.h
index 61e32efd2c..444d8d2ee5 100644
--- a/keyboards/pico/65keys/65keys.h
+++ b/keyboards/pico/65keys/65keys.h
@@ -1,6 +1,5 @@
#pragma once
-#include "pico.h"
#include "quantum.h"
#define LAYOUT( \
diff --git a/keyboards/pico/65keys/config.h b/keyboards/pico/65keys/config.h
index 7a97d2c42d..789626b6da 100644
--- a/keyboards/pico/65keys/config.h
+++ b/keyboards/pico/65keys/config.h
@@ -16,15 +16,6 @@
#pragma once
-
-// wiring of each half
-#define MATRIX_ROW_PINS { D4, D7, E6, B4, B5 }
-#define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6 }
-// #define MATRIX_COL_PINS { B6, B2, B3, B1, F7, F6, F5} //uncomment this line and comment line above if you need to reverse left-to-right key order
-
-/* 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 */
diff --git a/keyboards/pico/65keys/info.json b/keyboards/pico/65keys/info.json
index 53389861e8..f96b487d78 100644
--- a/keyboards/pico/65keys/info.json
+++ b/keyboards/pico/65keys/info.json
@@ -8,6 +8,11 @@
"pid": "0x9692",
"device_version": "1.0.0"
},
+ "matrix_pins": {
+ "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"],
+ "rows": ["D4", "D7", "E6", "B4", "B5"]
+ },
+ "diode_direction": "COL2ROW",
"split": {
"soft_serial_pin": "D0"
},
diff --git a/keyboards/pico/70keys/70keys.c b/keyboards/pico/70keys/70keys.c
deleted file mode 100644
index e69de29bb2..0000000000
--- a/keyboards/pico/70keys/70keys.c
+++ /dev/null
diff --git a/keyboards/pico/70keys/70keys.h b/keyboards/pico/70keys/70keys.h
index 67f7161ca5..6235d8e136 100644
--- a/keyboards/pico/70keys/70keys.h
+++ b/keyboards/pico/70keys/70keys.h
@@ -1,6 +1,5 @@
#pragma once
-#include "pico.h"
#include "quantum.h"
#define LAYOUT( \
diff --git a/keyboards/pico/70keys/config.h b/keyboards/pico/70keys/config.h
index 7a97d2c42d..789626b6da 100644
--- a/keyboards/pico/70keys/config.h
+++ b/keyboards/pico/70keys/config.h
@@ -16,15 +16,6 @@
#pragma once
-
-// wiring of each half
-#define MATRIX_ROW_PINS { D4, D7, E6, B4, B5 }
-#define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6 }
-// #define MATRIX_COL_PINS { B6, B2, B3, B1, F7, F6, F5} //uncomment this line and comment line above if you need to reverse left-to-right key order
-
-/* 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 */
diff --git a/keyboards/pico/70keys/info.json b/keyboards/pico/70keys/info.json
index 5dc25ede27..593e8eeb87 100644
--- a/keyboards/pico/70keys/info.json
+++ b/keyboards/pico/70keys/info.json
@@ -8,6 +8,11 @@
"pid": "0x9692",
"device_version": "1.0.1"
},
+ "matrix_pins": {
+ "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"],
+ "rows": ["D4", "D7", "E6", "B4", "B5"]
+ },
+ "diode_direction": "COL2ROW",
"split": {
"soft_serial_pin": "D0"
},
diff --git a/keyboards/pico/pico.c b/keyboards/pico/pico.c
deleted file mode 100644
index 7a7a7a6457..0000000000
--- a/keyboards/pico/pico.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/* Copyright 2019 Kumao Kobo <kumaokobo@gmail.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 "pico.h"
diff --git a/keyboards/pico/pico.h b/keyboards/pico/pico.h
deleted file mode 100644
index 72024efd80..0000000000
--- a/keyboards/pico/pico.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/* Copyright 2019 Kumao Kobo <kumaokobo@gmail.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/>.
- */
-
-#pragma once
-
-#ifdef KEYBOARD_pico_65keys
- #include "65keys.h"
-#endif
-#ifdef KEYBOARD_pico_70keys
- #include "70keys.h"
-#endif
-
-#include "quantum.h"