summaryrefslogtreecommitdiff
path: root/keyboards/qpockets/space_space
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/qpockets/space_space')
-rw-r--r--keyboards/qpockets/space_space/rev1/config.h10
-rw-r--r--keyboards/qpockets/space_space/rev1/info.json5
-rw-r--r--keyboards/qpockets/space_space/rev1/rev1.c17
-rw-r--r--keyboards/qpockets/space_space/rev2/config.h10
-rw-r--r--keyboards/qpockets/space_space/rev2/info.json5
5 files changed, 10 insertions, 37 deletions
diff --git a/keyboards/qpockets/space_space/rev1/config.h b/keyboards/qpockets/space_space/rev1/config.h
index 22c2bc73de..3caf7fdbcb 100644
--- a/keyboards/qpockets/space_space/rev1/config.h
+++ b/keyboards/qpockets/space_space/rev1/config.h
@@ -16,14 +16,4 @@
#pragma once
-
-#define MATRIX_ROW_PINS \
- { F1, F4, F5, C7 }
-#define MATRIX_COL_PINS \
- { D4, B4, B5, B6, C6, F7, F6, F0, B0, E6, B1 }
-
-
-/* COL2ROW, ROW2COL*/
-#define DIODE_DIRECTION COL2ROW
-
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/qpockets/space_space/rev1/info.json b/keyboards/qpockets/space_space/rev1/info.json
index cd9dcb56a8..5b4806e832 100644
--- a/keyboards/qpockets/space_space/rev1/info.json
+++ b/keyboards/qpockets/space_space/rev1/info.json
@@ -8,6 +8,11 @@
"pid": "0x7373",
"device_version": "30.0.0"
},
+ "matrix_pins": {
+ "cols": ["D4", "B4", "B5", "B6", "C6", "F7", "F6", "F0", "B0", "E6", "B1"],
+ "rows": ["F1", "F4", "F5", "C7"]
+ },
+ "diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "B3", "pin_b": "B2", "resolution": 3},
diff --git a/keyboards/qpockets/space_space/rev1/rev1.c b/keyboards/qpockets/space_space/rev1/rev1.c
deleted file mode 100644
index e639552cfb..0000000000
--- a/keyboards/qpockets/space_space/rev1/rev1.c
+++ /dev/null
@@ -1,17 +0,0 @@
-
-/* Copyright 2020 qpockets
- *
- * 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 "rev1.h"
diff --git a/keyboards/qpockets/space_space/rev2/config.h b/keyboards/qpockets/space_space/rev2/config.h
index 26b85360c4..53e42221c9 100644
--- a/keyboards/qpockets/space_space/rev2/config.h
+++ b/keyboards/qpockets/space_space/rev2/config.h
@@ -16,16 +16,6 @@
#pragma once
-
-#define MATRIX_ROW_PINS \
- { B1, B0, D5, B6 }
-#define MATRIX_COL_PINS \
- { C6, F6, F1, F4, F5, E6, D6, B2, B5, D3, D2 }
-
-
-/* COL2ROW, ROW2COL*/
-#define DIODE_DIRECTION COL2ROW
-
#define LOCKING_SUPPORT_ENABLE
#define RGB_DI_PIN F0
diff --git a/keyboards/qpockets/space_space/rev2/info.json b/keyboards/qpockets/space_space/rev2/info.json
index 580ab0a4d5..aa99956be9 100644
--- a/keyboards/qpockets/space_space/rev2/info.json
+++ b/keyboards/qpockets/space_space/rev2/info.json
@@ -8,6 +8,11 @@
"pid": "0x7373",
"device_version": "30.0.2"
},
+ "matrix_pins": {
+ "cols": ["C6", "F6", "F1", "F4", "F5", "E6", "D6", "B2", "B5", "D3", "D2"],
+ "rows": ["B1", "B0", "D5", "B6"]
+ },
+ "diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "B4", "pin_b": "D7", "resolution": 3},