diff options
Diffstat (limited to 'keyboards/adpenrose/shisaku')
-rw-r--r-- | keyboards/adpenrose/shisaku/config.h | 17 | ||||
-rw-r--r-- | keyboards/adpenrose/shisaku/info.json | 60 | ||||
-rw-r--r-- | keyboards/adpenrose/shisaku/shisaku.c | 4 | ||||
-rw-r--r-- | keyboards/adpenrose/shisaku/shisaku.h | 32 |
4 files changed, 59 insertions, 54 deletions
diff --git a/keyboards/adpenrose/shisaku/config.h b/keyboards/adpenrose/shisaku/config.h index 47555b5190..9113167572 100644 --- a/keyboards/adpenrose/shisaku/config.h +++ b/keyboards/adpenrose/shisaku/config.h @@ -3,22 +3,5 @@ #pragma once - -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * - */ -#define MATRIX_ROW_PINS { B2, B0, B1, D0, B4, D6, B3, D7 } -#define MATRIX_COL_PINS { D1, C3, C4, D4, C0, C1, C2 } - -/* COL2ROW, ROW2COL */ -#define DIODE_DIRECTION COL2ROW - /* Solenoid pin */ #define SOLENOID_PIN C5 diff --git a/keyboards/adpenrose/shisaku/info.json b/keyboards/adpenrose/shisaku/info.json index dd1aaf540a..8105d338db 100644 --- a/keyboards/adpenrose/shisaku/info.json +++ b/keyboards/adpenrose/shisaku/info.json @@ -8,12 +8,70 @@ "pid": "0x0003", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["D1", "C3", "C4", "D4", "C0", "C1", "C2"], + "rows": ["B2", "B0", "B1", "D0", "B4", "D6", "B3", "D7"] + }, + "diode_direction": "COL2ROW", "processor": "atmega328p", "bootloader": "usbasploader", "layouts": { "LAYOUT_all": { "layout": [ - {"label":"Esc", "x":1.25, "y":0}, {"label":"Q", "x":2.25, "y":0}, {"label":"W", "x":3.25, "y":0}, {"label":"E", "x":4.25, "y":0}, {"label":"R", "x":5.25, "y":0}, {"label":"T", "x":6.25, "y":0}, {"label":"Y", "x":7.75, "y":0}, {"label":"U", "x":8.75, "y":0}, {"label":"I", "x":9.75, "y":0}, {"label":"O", "x":10.75, "y":0}, {"label":"P", "x":11.75, "y":0}, {"label":"Backspace", "x":12.75, "y":0, "w":1.5}, {"label":"Caps Lock", "x":0.5, "y":1, "w":1.75}, {"label":"A", "x":2.25, "y":1}, {"label":"S", "x":3.25, "y":1}, {"label":"D", "x":4.25, "y":1}, {"label":"F", "x":5.25, "y":1}, {"label":"G", "x":6.25, "y":1}, {"label":"H", "x":7.75, "y":1}, {"label":"J", "x":8.75, "y":1}, {"label":"K", "x":9.75, "y":1}, {"label":"L", "x":10.75, "y":1}, {"label":":", "x":11.75, "y":1}, {"label":"Enter", "x":12.75, "y":1, "w":1.75}, {"label":"Shift", "x":0, "y":2, "w":1.25}, {"label":"Fn", "x":1.25, "y":2}, {"label":"Z", "x":2.25, "y":2}, {"label":"X", "x":3.25, "y":2}, {"label":"C", "x":4.25, "y":2}, {"label":"V", "x":5.25, "y":2}, {"label":"B", "x":6.25, "y":2}, {"label":"B", "x":7.75, "y":2}, {"label":"N", "x":8.75, "y":2}, {"label":"M", "x":9.75, "y":2}, {"label":"<", "x":10.75, "y":2}, {"label":">", "x":11.75, "y":2}, {"label":"Up", "x":12.75, "y":2}, {"label":"?", "x":13.75, "y":2, "w":1.25}, {"label":"Ctrl", "x":0, "y":3, "w":1.5}, {"label":"Win", "x":3, "y":3}, {"x":4, "y":3, "w":2.25}, {"label":"Alt", "x":6.25, "y":3}, {"x":7.75, "y":3, "w":2.75}, {"label":"Left", "x":11.75, "y":3}, {"label":"Down", "x":12.75, "y":3}, {"label":"Right", "x":13.75, "y":3} + {"matrix": [0, 0], "x": 1.25, "y": 0}, + {"matrix": [0, 1], "x": 2.25, "y": 0}, + {"matrix": [0, 2], "x": 3.25, "y": 0}, + {"matrix": [0, 3], "x": 4.25, "y": 0}, + {"matrix": [0, 4], "x": 5.25, "y": 0}, + {"matrix": [0, 5], "x": 6.25, "y": 0}, + + {"matrix": [0, 6], "x": 7.75, "y": 0}, + {"matrix": [1, 0], "x": 8.75, "y": 0}, + {"matrix": [1, 1], "x": 9.75, "y": 0}, + {"matrix": [1, 2], "x": 10.75, "y": 0}, + {"matrix": [1, 3], "x": 11.75, "y": 0}, + {"matrix": [1, 4], "x": 12.75, "y": 0, "w": 1.5}, + + {"matrix": [1, 5], "x": 0.5, "y": 1, "w": 1.75}, + {"matrix": [1, 6], "x": 2.25, "y": 1}, + {"matrix": [2, 0], "x": 3.25, "y": 1}, + {"matrix": [2, 1], "x": 4.25, "y": 1}, + {"matrix": [2, 2], "x": 5.25, "y": 1}, + {"matrix": [2, 3], "x": 6.25, "y": 1}, + + {"matrix": [2, 4], "x": 7.75, "y": 1}, + {"matrix": [2, 5], "x": 8.75, "y": 1}, + {"matrix": [2, 6], "x": 9.75, "y": 1}, + {"matrix": [3, 0], "x": 10.75, "y": 1}, + {"matrix": [3, 3], "x": 11.75, "y": 1}, + {"matrix": [3, 4], "x": 12.75, "y": 1, "w": 1.75}, + + {"matrix": [3, 5], "x": 0, "y": 2, "w": 1.25}, + {"matrix": [4, 0], "x": 1.25, "y": 2}, + {"matrix": [4, 1], "x": 2.25, "y": 2}, + {"matrix": [4, 2], "x": 3.25, "y": 2}, + {"matrix": [4, 3], "x": 4.25, "y": 2}, + {"matrix": [4, 4], "x": 5.25, "y": 2}, + {"matrix": [4, 5], "x": 6.25, "y": 2}, + + {"matrix": [5, 0], "x": 7.75, "y": 2}, + {"matrix": [5, 1], "x": 8.75, "y": 2}, + {"matrix": [5, 2], "x": 9.75, "y": 2}, + {"matrix": [5, 3], "x": 10.75, "y": 2}, + {"matrix": [5, 4], "x": 11.75, "y": 2}, + {"matrix": [5, 5], "x": 12.75, "y": 2}, + {"matrix": [6, 0], "x": 13.75, "y": 2, "w": 1.25}, + + {"matrix": [6, 1], "x": 0, "y": 3, "w": 1.5}, + {"matrix": [6, 2], "x": 3, "y": 3}, + {"matrix": [6, 3], "x": 4, "y": 3, "w": 2.25}, + {"matrix": [6, 4], "x": 6.25, "y": 3}, + + {"matrix": [6, 5], "x": 7.75, "y": 3, "w": 2.75}, + + {"matrix": [7, 0], "x": 11.75, "y": 3}, + {"matrix": [7, 4], "x": 12.75, "y": 3}, + {"matrix": [7, 5], "x": 13.75, "y": 3} ] } } diff --git a/keyboards/adpenrose/shisaku/shisaku.c b/keyboards/adpenrose/shisaku/shisaku.c deleted file mode 100644 index a1ab356ac6..0000000000 --- a/keyboards/adpenrose/shisaku/shisaku.c +++ /dev/null @@ -1,4 +0,0 @@ -// Copyright 2022 Arturo Avila (@ADPenrose) -// SPDX-License-Identifier: GPL-2.0-or-later - -#include "shisaku.h" diff --git a/keyboards/adpenrose/shisaku/shisaku.h b/keyboards/adpenrose/shisaku/shisaku.h deleted file mode 100644 index ea92202435..0000000000 --- a/keyboards/adpenrose/shisaku/shisaku.h +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2022 Arturo Avila (@ADPenrose) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#include "quantum.h" - -/* This is a shortcut to help you visually see your layout. - * - * The first section contains all of the arguments representing the physical - * layout of the board and position of the keys. - * - * The second converts the arguments into a two-dimensional array which - * represents the switch matrix. - */ -#define XXX KC_NO - -#define LAYOUT_all( \ - k00, k01, k02, k03, k04, k05, k06, k10, k11, k12, k13, k14, \ - k15, k16, k20, k21, k22, k23, k24, k25, k26, k30, k33, k34, \ - k35, k40, k41, k42, k43, k44, k45, k50, k51, k52, k53, k54, k55, k60, \ - k61, k62, k63, k64, k65, k70, k74, k75 \ -) { \ - { k00, k01, k02, k03, k04, k05, k06 }, \ - { k10, k11, k12, k13, k14, k15, k16 }, \ - { k20, k21, k22, k23, k24, k25, k26 }, \ - { k30, XXX, XXX, k33, k34, k35, XXX }, \ - { k40, k41, k42, k43, k44, k45, XXX }, \ - { k50, k51, k52, k53, k54, k55, XXX }, \ - { k60, k61, k62, k63, k64, k65, XXX }, \ - { k70, XXX, XXX, XXX, k74, k75, XXX } \ -} |