From 096a49c3dc3a1674a8cc95987c97e922c0c769a4 Mon Sep 17 00:00:00 2001 From: ai03 Date: Wed, 30 Oct 2019 17:10:40 -0700 Subject: [Keyboard] Add KBD67 MKII Solderable PCB Variant (#7202) * Clone 8x source to begin * Start replacing stuff * Get things compiling * Rename files * Move board files to match MKII RGB files * Adjust readme * Adjust main keymap to be functional * Make defualt keymap more basic; add personal keymap * Remove unnecessary trailing slashes from keymap * Remove unused functions from keymaps * Remove obsolete build flags * Adjust comments as requested * Apply suggestions from code review Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Adjust as suggested * Fix broken compile following applying suggestions --- .../kbdfans/kbd67/mkii_soldered/mkii_soldered.c | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 keyboards/kbdfans/kbd67/mkii_soldered/mkii_soldered.c (limited to 'keyboards/kbdfans/kbd67/mkii_soldered/mkii_soldered.c') diff --git a/keyboards/kbdfans/kbd67/mkii_soldered/mkii_soldered.c b/keyboards/kbdfans/kbd67/mkii_soldered/mkii_soldered.c new file mode 100644 index 000000000..c36a84e75 --- /dev/null +++ b/keyboards/kbdfans/kbd67/mkii_soldered/mkii_soldered.c @@ -0,0 +1,48 @@ +/* Copyright 2019 Ryota Goto + * + * 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 . + */ +#include "mkii_soldered.h" + +// Optional override functions below. +// You can leave any or all of these undefined. +// These are only required if you want to perform custom actions. + +/* + +void matrix_init_kb(void) { + + matrix_init_user(); +} + +void led_set_kb(uint8_t usb_led) { + + led_set_user(usb_led); +} + +void matrix_scan_kb(void) { + // put your looping keyboard code here + // runs every cycle (a lot) + + matrix_scan_user(); +} + +bool process_record_kb(uint16_t keycode, keyrecord_t *record) { + // put your per-action keyboard code here + // runs for every action, just before processing by the firmware + + return process_record_user(keycode, record); +} + +*/ -- cgit v1.2.3