diff options
Diffstat (limited to 'keyboards/handwired/ibm_wheelwriter')
-rw-r--r-- | keyboards/handwired/ibm_wheelwriter/config.h | 37 | ||||
-rw-r--r-- | keyboards/handwired/ibm_wheelwriter/ibm_wheelwriter.c | 20 | ||||
-rw-r--r-- | keyboards/handwired/ibm_wheelwriter/info.json | 152 |
3 files changed, 86 insertions, 123 deletions
diff --git a/keyboards/handwired/ibm_wheelwriter/config.h b/keyboards/handwired/ibm_wheelwriter/config.h deleted file mode 100644 index 254f60be74..0000000000 --- a/keyboards/handwired/ibm_wheelwriter/config.h +++ /dev/null @@ -1,37 +0,0 @@ -/* Copyright 2021 andresteare - * - * 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 - - -/* - * 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 { B0, B1, B2, B3, B7, D0, D1, D2 } -#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, B6, B5, B4, D7, D6, D4, D5 } - -#define DIODE_DIRECTION COL2ROW - - -// generated by KBFirmware JSON to QMK Parser -// https://noroadsleft.github.io/kbf_qmk_converter/ diff --git a/keyboards/handwired/ibm_wheelwriter/ibm_wheelwriter.c b/keyboards/handwired/ibm_wheelwriter/ibm_wheelwriter.c deleted file mode 100644 index eb8e446905..0000000000 --- a/keyboards/handwired/ibm_wheelwriter/ibm_wheelwriter.c +++ /dev/null @@ -1,20 +0,0 @@ -/* Copyright 2021 andresteare - * - * 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 "ibm_wheelwriter.h" - -// generated by KBFirmware JSON to QMK Parser -// https://noroadsleft.github.io/kbf_qmk_converter/ diff --git a/keyboards/handwired/ibm_wheelwriter/info.json b/keyboards/handwired/ibm_wheelwriter/info.json index d75336e0b6..792f6b8aea 100644 --- a/keyboards/handwired/ibm_wheelwriter/info.json +++ b/keyboards/handwired/ibm_wheelwriter/info.json @@ -8,77 +8,97 @@ "pid": "0x5F89", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "B6", "B5", "B4", "D7", "D6", "D4", "D5"], + "rows": ["B0", "B1", "B2", "B3", "B7", "D0", "D1", "D2"] + }, + "diode_direction": "COL2ROW", "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { "LAYOUT": { "layout": [ - {"label":"K22 (B2,F4)", "x":0, "y":1, "w":1.5}, - {"label":"K24 (B2,F6)", "x":1.75, "y":1}, - {"label":"K34 (B3,F6)", "x":2.75, "y":1}, - {"label":"K35 (B3,F7)", "x":3.75, "y":1}, - {"label":"K36 (B3,B6)", "x":4.75, "y":1}, - {"label":"K37 (B3,B5)", "x":5.75, "y":1}, - {"label":"K27 (B2,B5)", "x":6.75, "y":1}, - {"label":"K28 (B2,B4)", "x":7.75, "y":1}, - {"label":"K38 (B3,B4)", "x":8.75, "y":1}, - {"label":"K39 (B3,D7)", "x":9.75, "y":1}, - {"label":"K3A (B3,D6)", "x":10.75, "y":1}, - {"label":"K3B (B3,D4)", "x":11.75, "y":1}, - {"label":"K2B (B2,D4)", "x":12.75, "y":1}, - {"label":"K29 (B2,D7)", "x":13.75, "y":1}, - {"label":"K2C (B2,D5)", "x":14.75, "y":1, "w":2}, - {"label":"K3C (B3,D5)", "x":17, "y":1, "w":1.5}, - {"label":"K41 (B7,F1)", "x":0, "y":2, "w":1.5}, - {"label":"K42 (B7,F4)", "x":1.75, "y":2, "w":1.5}, - {"label":"K44 (B7,F6)", "x":3.25, "y":2}, - {"label":"K45 (B7,F7)", "x":4.25, "y":2}, - {"label":"K46 (B7,B6)", "x":5.25, "y":2}, - {"label":"K47 (B7,B5)", "x":6.25, "y":2}, - {"label":"K57 (D0,B5)", "x":7.25, "y":2}, - {"label":"K58 (D0,B4)", "x":8.25, "y":2}, - {"label":"K48 (B7,B4)", "x":9.25, "y":2}, - {"label":"K49 (B7,D7)", "x":10.25, "y":2}, - {"label":"K4A (B7,D6)", "x":11.25, "y":2}, - {"label":"K4B (B7,D4)", "x":12.25, "y":2}, - {"label":"K5B (D0,D4)", "x":13.25, "y":2}, - {"label":"K59 (D0,D7)", "x":14.25, "y":2}, - {"label":"K6C (D1,D5)", "x":15.5, "y":2, "w":1.25, "h":2}, - {"label":"K4C (B7,D5)", "x":17, "y":2, "w":1.5}, - {"label":"K52 (D0,F4)", "x":0, "y":3, "w":1.5}, - {"label":"K62 (D1,F4)", "x":1.75, "y":3, "w":1.25}, - {"label":"K14 (B1,F6)", "x":3.5, "y":3}, - {"label":"K15 (B1,F7)", "x":4.5, "y":3}, - {"label":"K16 (B1,B6)", "x":5.5, "y":3}, - {"label":"K17 (B1,B5)", "x":6.5, "y":3}, - {"label":"K07 (B0,B5)", "x":7.5, "y":3}, - {"label":"K08 (B0,B4)", "x":8.5, "y":3}, - {"label":"K18 (B1,B4)", "x":9.5, "y":3}, - {"label":"K19 (B1,D7)", "x":10.5, "y":3}, - {"label":"K1A (B1,D6)", "x":11.5, "y":3}, - {"label":"K1B (B1,D4)", "x":12.5, "y":3}, - {"label":"K0B (B0,D4)", "x":13.5, "y":3}, - {"label":"K6B (D1,D4)", "x":14.5, "y":3}, - {"label":"K1C (B1,D5)", "x":17, "y":3, "w":1.5}, - {"label":"K12 (B1,F4)", "x":0, "y":4, "w":1.5}, - {"label":"K73 (D2,F5)", "x":1.75, "y":4, "w":1.25}, - {"label":"K74 (D2,F6)", "x":3, "y":4}, - {"label":"K64 (D1,F6)", "x":4, "y":4}, - {"label":"K65 (D1,F7)", "x":5, "y":4}, - {"label":"K66 (D1,B6)", "x":6, "y":4}, - {"label":"K67 (D1,B5)", "x":7, "y":4}, - {"label":"K77 (D2,B5)", "x":8, "y":4}, - {"label":"K78 (D2,B4)", "x":9, "y":4}, - {"label":"K68 (D1,B4)", "x":10, "y":4}, - {"label":"K69 (D1,D7)", "x":11, "y":4}, - {"label":"K6A (D1,D6)", "x":12, "y":4}, - {"label":"K7B (D2,D4)", "x":13, "y":4}, - {"label":"K61 (D1,F1)", "x":17, "y":4, "w":1.5}, - {"label":"K01 (B0,F1)", "x":0, "y":5, "w":1.5}, - {"label":"K70 (D2,F0)", "x":4.25, "y":5, "w":2.75}, - {"label":"K71 (D2,F1)", "x":7, "y":5, "w":7.25}, - {"label":"K72 (D2,F4)", "x":15.25, "y":5, "w":1.5}, - {"label":"K7C (D2,D5)", "x":17, "y":5, "w":1.5} + {"x":0, "y":0, "w":1.5}, + + {"x":1.75, "y":0}, + {"x":2.75, "y":0}, + {"x":3.75, "y":0}, + {"x":4.75, "y":0}, + {"x":5.75, "y":0}, + {"x":6.75, "y":0}, + {"x":7.75, "y":0}, + {"x":8.75, "y":0}, + {"x":9.75, "y":0}, + {"x":10.75, "y":0}, + {"x":11.75, "y":0}, + {"x":12.75, "y":0}, + {"x":13.75, "y":0}, + {"x":14.75, "y":0, "w":2}, + + {"x":17, "y":0, "w":1.5}, + + {"x":0, "y":1, "w":1.5}, + + {"x":1.75, "y":1, "w":1.5}, + {"x":3.25, "y":1}, + {"x":4.25, "y":1}, + {"x":5.25, "y":1}, + {"x":6.25, "y":1}, + {"x":7.25, "y":1}, + {"x":8.25, "y":1}, + {"x":9.25, "y":1}, + {"x":10.25, "y":1}, + {"x":11.25, "y":1}, + {"x":12.25, "y":1}, + {"x":13.25, "y":1}, + {"x":14.25, "y":1}, + {"x":15.5, "y":1, "w":1.25, "h":2}, + + {"x":17, "y":1, "w":1.5}, + + {"x":0, "y":2, "w":1.5}, + + {"x":1.75, "y":2, "w":1.25}, + {"x":3.5, "y":2}, + {"x":4.5, "y":2}, + {"x":5.5, "y":2}, + {"x":6.5, "y":2}, + {"x":7.5, "y":2}, + {"x":8.5, "y":2}, + {"x":9.5, "y":2}, + {"x":10.5, "y":2}, + {"x":11.5, "y":2}, + {"x":12.5, "y":2}, + {"x":13.5, "y":2}, + {"x":14.5, "y":2}, + + {"x":17, "y":2, "w":1.5}, + + {"x":0, "y":3, "w":1.5}, + + {"x":1.75, "y":3, "w":1.25}, + {"x":3, "y":3}, + {"x":4, "y":3}, + {"x":5, "y":3}, + {"x":6, "y":3}, + {"x":7, "y":3}, + {"x":8, "y":3}, + {"x":9, "y":3}, + {"x":10, "y":3}, + {"x":11, "y":3}, + {"x":12, "y":3}, + {"x":13, "y":3}, + + {"x":17, "y":3, "w":1.5}, + + {"x":0, "y":4, "w":1.5}, + + {"x":4.25, "y":4, "w":2.75}, + {"x":7, "y":4, "w":7.25}, + + {"x":15.25, "y":4, "w":1.5}, + + {"x":17, "y":4, "w":1.5} ] } } |