diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-11 00:00:24 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-11 00:00:24 +1100 |
commit | 9e64300e67720a5468c2585391250ca5579b311b (patch) | |
tree | d8c471bb33cd5d0e38e90d925d69b3c6b3cb2d59 /keyboards/pjb | |
parent | dd086a51d82a574a55eb3b89e8943301d72296f3 (diff) |
Move matrix config to info.json, part 4 (#20001)
Diffstat (limited to 'keyboards/pjb')
-rw-r--r-- | keyboards/pjb/eros/config.h | 23 | ||||
-rw-r--r-- | keyboards/pjb/eros/info.json | 5 |
2 files changed, 5 insertions, 23 deletions
diff --git a/keyboards/pjb/eros/config.h b/keyboards/pjb/eros/config.h deleted file mode 100644 index 932c66ba01..0000000000 --- a/keyboards/pjb/eros/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* Copyright 2022 PJB - * - * 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 - - -#define MATRIX_ROW_PINS { B2, B1, B0, D7, B7, D1 } -#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, C7, C6, B6, B5, D4, D5, B4, D3, D2, E6, B3 } - -#define DIODE_DIRECTION COL2ROW diff --git a/keyboards/pjb/eros/info.json b/keyboards/pjb/eros/info.json index cbba6dcecc..fab701e220 100644 --- a/keyboards/pjb/eros/info.json +++ b/keyboards/pjb/eros/info.json @@ -8,6 +8,11 @@ "pid": "0x4552", "device_version": "2.0.0" }, + "matrix_pins": { + "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "D4", "D5", "B4", "D3", "D2", "E6", "B3"], + "rows": ["B2", "B1", "B0", "D7", "B7", "D1"] + }, + "diode_direction": "COL2ROW", "indicators": { "caps_lock": "D6", "scroll_lock": "D0", |