diff options
Diffstat (limited to 'keyboards/peej')
-rw-r--r-- | keyboards/peej/lumberjack/config.h | 7 | ||||
-rw-r--r-- | keyboards/peej/lumberjack/info.json | 5 | ||||
-rw-r--r-- | keyboards/peej/rosaline/config.h | 10 | ||||
-rw-r--r-- | keyboards/peej/rosaline/ortho/info.json | 5 | ||||
-rw-r--r-- | keyboards/peej/rosaline/ortho/ortho.h | 7 | ||||
-rw-r--r-- | keyboards/peej/rosaline/rosaline.c | 2 | ||||
-rw-r--r-- | keyboards/peej/rosaline/rosaline.h | 30 | ||||
-rw-r--r-- | keyboards/peej/rosaline/staggered/info.json | 5 | ||||
-rw-r--r-- | keyboards/peej/rosaline/staggered/staggered.h | 7 | ||||
-rw-r--r-- | keyboards/peej/tripel/config.h | 23 | ||||
-rw-r--r-- | keyboards/peej/tripel/info.json | 5 |
11 files changed, 30 insertions, 76 deletions
diff --git a/keyboards/peej/lumberjack/config.h b/keyboards/peej/lumberjack/config.h index 032cdf4e23..0079764d8e 100644 --- a/keyboards/peej/lumberjack/config.h +++ b/keyboards/peej/lumberjack/config.h @@ -16,11 +16,4 @@ #pragma once - -#define MATRIX_ROW_PINS { C0, B5, B4, B3, B2, B1 } -#define MATRIX_COL_PINS { B0, D7, D6, D5, D4, D1, D0, C1, C2, C3 } - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW - #define USB_MAX_POWER_CONSUMPTION 100 diff --git a/keyboards/peej/lumberjack/info.json b/keyboards/peej/lumberjack/info.json index 7e3878151f..8c37a5bf74 100644 --- a/keyboards/peej/lumberjack/info.json +++ b/keyboards/peej/lumberjack/info.json @@ -8,6 +8,11 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["B0", "D7", "D6", "D5", "D4", "D1", "D0", "C1", "C2", "C3"], + "rows": ["C0", "B5", "B4", "B3", "B2", "B1"] + }, + "diode_direction": "COL2ROW", "processor": "atmega328p", "bootloader": "usbasploader", "community_layouts": ["ortho_5x12"], diff --git a/keyboards/peej/rosaline/config.h b/keyboards/peej/rosaline/config.h index 0bd9a069d0..18505def82 100644 --- a/keyboards/peej/rosaline/config.h +++ b/keyboards/peej/rosaline/config.h @@ -16,11 +16,7 @@ #pragma once - -#define MATRIX_ROW_PINS { C0, B5, B4, B3, B2, B1, C3, D5 } -#define MATRIX_COL_PINS { B0, D7, D6, C2, D4, D1, D0, C1 } - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW - #define USB_MAX_POWER_CONSUMPTION 100 + +#define LED1 C5 +#define LED2 C4 diff --git a/keyboards/peej/rosaline/ortho/info.json b/keyboards/peej/rosaline/ortho/info.json index 2be28d4ef6..fcd6fce1b4 100644 --- a/keyboards/peej/rosaline/ortho/info.json +++ b/keyboards/peej/rosaline/ortho/info.json @@ -8,6 +8,11 @@ "pid": "0x0003", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["B0", "D7", "D6", "C2", "D4", "D1", "D0", "C1"], + "rows": ["C0", "B5", "B4", "B3", "B2", "B1", "C3", "D5"] + }, + "diode_direction": "COL2ROW", "processor": "atmega328p", "bootloader": "usbasploader", "layouts": { diff --git a/keyboards/peej/rosaline/ortho/ortho.h b/keyboards/peej/rosaline/ortho/ortho.h index b3287784c3..30beb92831 100644 --- a/keyboards/peej/rosaline/ortho/ortho.h +++ b/keyboards/peej/rosaline/ortho/ortho.h @@ -16,7 +16,7 @@ #pragma once -#include "rosaline.h" +#include "quantum.h" /* * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ @@ -36,6 +36,8 @@ * └───────┘ └───────┘ */ +#define XXX KC_NO + #define LAYOUT_ortho_4x15( \ k00, k40, k01, k41, k02, k42, k03, k43, k04, k44, k05, k45, k06, k46, k07, \ k10, k50, k11, k51, k12, k52, k13, k53, k14, k54, k15, k55, k16, k56, k17, \ @@ -52,6 +54,3 @@ { k60, k61, k62, k63, k64, k65, k66, XXX }, \ { k70, k71, k72, k73, k74, k75, k76, XXX } \ } - -#define LED1 C5 -#define LED2 C4 diff --git a/keyboards/peej/rosaline/rosaline.c b/keyboards/peej/rosaline/rosaline.c index 57141e8064..df0594da44 100644 --- a/keyboards/peej/rosaline/rosaline.c +++ b/keyboards/peej/rosaline/rosaline.c @@ -14,7 +14,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "rosaline.h" +#include "quantum.h" bool process_record_kb(uint16_t keycode, keyrecord_t *record) { writePin(LED1, record->event.pressed); diff --git a/keyboards/peej/rosaline/rosaline.h b/keyboards/peej/rosaline/rosaline.h deleted file mode 100644 index 22125f3188..0000000000 --- a/keyboards/peej/rosaline/rosaline.h +++ /dev/null @@ -1,30 +0,0 @@ -/* Copyright 2021 Paul James - * - * 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 - -#include "quantum.h" - -#define XXX KC_NO - -#if defined(KEYBOARD_peej_rosaline_staggered) - #include "staggered.h" -#elif defined(KEYBOARD_peej_rosaline_ortho) - #include "ortho.h" -#endif - -#define LED1 C5 -#define LED2 C4 diff --git a/keyboards/peej/rosaline/staggered/info.json b/keyboards/peej/rosaline/staggered/info.json index f37e073fbd..f110f0e325 100644 --- a/keyboards/peej/rosaline/staggered/info.json +++ b/keyboards/peej/rosaline/staggered/info.json @@ -8,6 +8,11 @@ "pid": "0x0003", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["B0", "D7", "D6", "C2", "D4", "D1", "D0", "C1"], + "rows": ["C0", "B5", "B4", "B3", "B2", "B1", "C3", "D5"] + }, + "diode_direction": "COL2ROW", "processor": "atmega328p", "bootloader": "usbasploader", "layout_aliases": { diff --git a/keyboards/peej/rosaline/staggered/staggered.h b/keyboards/peej/rosaline/staggered/staggered.h index cc2703c834..98186320a5 100644 --- a/keyboards/peej/rosaline/staggered/staggered.h +++ b/keyboards/peej/rosaline/staggered/staggered.h @@ -16,7 +16,7 @@ #pragma once -#include "rosaline.h" +#include "quantum.h" /* * ┌─────┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬─────┐ @@ -36,6 +36,8 @@ * └──────────┴───┴────────┴───┘ */ +#define XXX KC_NO + #define LAYOUT_all( \ k00, k10, k01, k02, k12, k03, k13, k04, k14, k05, k06, k16, k07, k17, \ k20, k11, k21, k22, k32, k23, k33, k24, k15, k25, k26, k36, k27, \ @@ -52,6 +54,3 @@ { XXX, XXX, XXX, XXX, XXX, k65, k66, k67 }, \ { XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX } \ } - -#define LED1 C5 -#define LED2 C4 diff --git a/keyboards/peej/tripel/config.h b/keyboards/peej/tripel/config.h deleted file mode 100644 index 2d50ad8038..0000000000 --- a/keyboards/peej/tripel/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* -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 { C6, D4, D0, B4, E6, D7, D1, D2, D3 } -#define MATRIX_COL_PINS { B5, B6, B2, B3, B1, F7, F6, F5 } - -/* COL2ROW, ROW2COL, or CUSTOM_MATRIX */ -#define DIODE_DIRECTION COL2ROW diff --git a/keyboards/peej/tripel/info.json b/keyboards/peej/tripel/info.json index 3816cf7592..c5aebfd106 100644 --- a/keyboards/peej/tripel/info.json +++ b/keyboards/peej/tripel/info.json @@ -8,6 +8,11 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["B5", "B6", "B2", "B3", "B1", "F7", "F6", "F5"], + "rows": ["C6", "D4", "D0", "B4", "E6", "D7", "D1", "D2", "D3"] + }, + "diode_direction": "COL2ROW", "processor": "atmega32u4", "bootloader": "caterina", "layouts": { |