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/ibm_wheelwriter.h | 40 | ||||
-rw-r--r-- | keyboards/handwired/ibm_wheelwriter/info.json | 150 |
4 files changed, 84 insertions, 163 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/ibm_wheelwriter.h b/keyboards/handwired/ibm_wheelwriter/ibm_wheelwriter.h deleted file mode 100644 index 55d54580aa..0000000000 --- a/keyboards/handwired/ibm_wheelwriter/ibm_wheelwriter.h +++ /dev/null @@ -1,40 +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 - -#include "quantum.h" - -#define LAYOUT( \ - \ - K22, K24, K34, K35, K36, K37, K27, K28, K38, K39, K3A, K3B, K2B, K29, K2C, K3C, \ - K41, K42, K44, K45, K46, K47, K57, K58, K48, K49, K4A, K4B, K5B, K59, K6C, K4C, \ - K52, K62, K14, K15, K16, K17, K07, K08, K18, K19, K1A, K1B, K0B, K6B, K1C, \ - K12, K73, K74, K64, K65, K66, K67, K77, K78, K68, K69, K6A, K7B, K61, \ - K01, K70, K71, K72, K7C \ - ) { \ - { KC_NO, K01, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K07, K08, KC_NO, KC_NO, K0B, KC_NO }, \ - { KC_NO, KC_NO, K12, KC_NO, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C }, \ - { KC_NO, KC_NO, K22, KC_NO, K24, KC_NO, KC_NO, K27, K28, K29, KC_NO, K2B, K2C }, \ - { KC_NO, KC_NO, KC_NO, KC_NO, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C }, \ - { KC_NO, K41, K42, KC_NO, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C }, \ - { KC_NO, KC_NO, K52, KC_NO, KC_NO, KC_NO, KC_NO, K57, K58, K59, KC_NO, K5B, KC_NO }, \ - { KC_NO, K61, K62, KC_NO, K64, K65, K66, K67, K68, K69, K6A, K6B, K6C }, \ - { K70, K71, K72, K73, K74, KC_NO, KC_NO, K77, K78, KC_NO, KC_NO, K7B, K7C }, \ -} - -// 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..4ec01887e1 100644 --- a/keyboards/handwired/ibm_wheelwriter/info.json +++ b/keyboards/handwired/ibm_wheelwriter/info.json @@ -8,77 +8,95 @@ "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} + {"matrix": [2, 2], "x": 0, "y": 0, "w": 1.5}, + + {"matrix": [2, 4], "x": 1.75, "y": 0}, + {"matrix": [3, 4], "x": 2.75, "y": 0}, + {"matrix": [3, 5], "x": 3.75, "y": 0}, + {"matrix": [3, 6], "x": 4.75, "y": 0}, + {"matrix": [3, 7], "x": 5.75, "y": 0}, + {"matrix": [2, 7], "x": 6.75, "y": 0}, + {"matrix": [2, 8], "x": 7.75, "y": 0}, + {"matrix": [3, 8], "x": 8.75, "y": 0}, + {"matrix": [3, 9], "x": 9.75, "y": 0}, + {"matrix": [3, 10], "x": 10.75, "y": 0}, + {"matrix": [3, 11], "x": 11.75, "y": 0}, + {"matrix": [2, 11], "x": 12.75, "y": 0}, + {"matrix": [2, 9], "x": 13.75, "y": 0}, + {"matrix": [2, 12], "x": 14.75, "y": 0, "w": 2}, + + {"matrix": [3, 12], "x": 17, "y": 0, "w": 1.5}, + + {"matrix": [4, 1], "x": 0, "y": 1, "w": 1.5}, + + {"matrix": [4, 2], "x": 1.75, "y": 1, "w": 1.5}, + {"matrix": [4, 4], "x": 3.25, "y": 1}, + {"matrix": [4, 5], "x": 4.25, "y": 1}, + {"matrix": [4, 6], "x": 5.25, "y": 1}, + {"matrix": [4, 7], "x": 6.25, "y": 1}, + {"matrix": [5, 7], "x": 7.25, "y": 1}, + {"matrix": [5, 8], "x": 8.25, "y": 1}, + {"matrix": [4, 8], "x": 9.25, "y": 1}, + {"matrix": [4, 9], "x": 10.25, "y": 1}, + {"matrix": [4, 10], "x": 11.25, "y": 1}, + {"matrix": [4, 11], "x": 12.25, "y": 1}, + {"matrix": [5, 11], "x": 13.25, "y": 1}, + {"matrix": [5, 9], "x": 14.25, "y": 1}, + {"matrix": [6, 12], "x": 15.5, "y": 1, "w": 1.25, "h": 2}, + + {"matrix": [4, 12], "x": 17, "y": 1, "w": 1.5}, + + {"matrix": [5, 2], "x": 0, "y": 2, "w": 1.5}, + + {"matrix": [6, 2], "x": 1.75, "y": 2, "w": 1.25}, + {"matrix": [1, 4], "x": 3.5, "y": 2}, + {"matrix": [1, 5], "x": 4.5, "y": 2}, + {"matrix": [1, 6], "x": 5.5, "y": 2}, + {"matrix": [1, 7], "x": 6.5, "y": 2}, + {"matrix": [0, 7], "x": 7.5, "y": 2}, + {"matrix": [0, 8], "x": 8.5, "y": 2}, + {"matrix": [1, 8], "x": 9.5, "y": 2}, + {"matrix": [1, 9], "x": 10.5, "y": 2}, + {"matrix": [1, 10], "x": 11.5, "y": 2}, + {"matrix": [1, 11], "x": 12.5, "y": 2}, + {"matrix": [0, 11], "x": 13.5, "y": 2}, + {"matrix": [6, 11], "x": 14.5, "y": 2}, + + {"matrix": [1, 12], "x": 17, "y": 2, "w": 1.5}, + + {"matrix": [1, 2], "x": 0, "y": 3, "w": 1.5}, + + {"matrix": [7, 3], "x": 1.75, "y": 3, "w": 1.25}, + {"matrix": [7, 4], "x": 3, "y": 3}, + {"matrix": [6, 4], "x": 4, "y": 3}, + {"matrix": [6, 5], "x": 5, "y": 3}, + {"matrix": [6, 6], "x": 6, "y": 3}, + {"matrix": [6, 7], "x": 7, "y": 3}, + {"matrix": [7, 7], "x": 8, "y": 3}, + {"matrix": [7, 8], "x": 9, "y": 3}, + {"matrix": [6, 8], "x": 10, "y": 3}, + {"matrix": [6, 9], "x": 11, "y": 3}, + {"matrix": [6, 10], "x": 12, "y": 3}, + {"matrix": [7, 11], "x": 13, "y": 3}, + {"matrix": [6, 1], "x": 17, "y": 3, "w": 1.5}, + + {"matrix": [0, 1], "x": 0, "y": 4, "w": 1.5}, + + {"matrix": [7, 0], "x": 4.25, "y": 4, "w": 2.75}, + {"matrix": [7, 1], "x": 7, "y": 4, "w": 7.25}, + {"matrix": [7, 2], "x": 15.25, "y": 4, "w": 1.5}, + + {"matrix": [7, 12], "x": 17, "y": 4, "w": 1.5} ] } } |