summaryrefslogtreecommitdiffstats
path: root/keyboards/doro67/multi/multi.c
diff options
context:
space:
mode:
authorNicholas Shaff <nick@shadedream.com>2019-04-04 07:54:30 +0200
committerDrashna Jaelre <drashna@live.com>2019-04-04 07:54:30 +0200
commit4f4fad83737546db6dd04af9e26320ef7d0610dd (patch)
tree392dd8c7b9a5a6dd571f3a401c724f3d562a8e33 /keyboards/doro67/multi/multi.c
parentb463415d84867b34f35de2277d419676a602ddb0 (diff)
downloadqmk_firmware-4f4fad83737546db6dd04af9e26320ef7d0610dd.tar.gz
qmk_firmware-4f4fad83737546db6dd04af9e26320ef7d0610dd.tar.xz
[Keyboard] Doro67 Multi PCB port (#5539)
* Initial portover of the doro68.json with corrected column pins. * Initial setup of LAYOUT_ansi and it's use in the default keymap. * Added F keys to default kemap on layer 1. * Added split space (and everything else) layout and a base keymap to be updated. * Renamed split_space to multi. * Changed product_id for doro. * Created a basic doro LAYOUT_iso and default keymap. * Copied over basic layout and keymap. * Added readme.md for doro67 multi. * Removed basic keyboad layout and keymap because it's a separate PCB. * Added backlight controls to the various keymaps. * Added explicit backlight pin define. * Increased number of backlight levels for flexibility. * Removed unnecessary line slashes and unified keymcaps. * Corrected ISO layout and switched position with multi. * Added keymap readme.md files. * Corrected ISO keymap. * Added Layouts to info.json for toolbox. * Re-added slashes as they were necessary here... * Corrected info.json/keymap discreptancies. * Updated copyright messages (and fixed small readme error). * Added missing line break spaces in readme.md Co-Authored-By: ShadeDream <nick@shadedream.com> * Keymap alignments on default_multi readme.md Co-Authored-By: ShadeDream <nick@shadedream.com> * Keymap alignments on default_multi readme.md Co-Authored-By: ShadeDream <nick@shadedream.com> * Keymap alignments on default_multi readme.md Co-Authored-By: ShadeDream <nick@shadedream.com> * Small alignment adjustment on the default keymap readme.md Co-Authored-By: ShadeDream <nick@shadedream.com>
Diffstat (limited to 'keyboards/doro67/multi/multi.c')
-rw-r--r--keyboards/doro67/multi/multi.c43
1 files changed, 43 insertions, 0 deletions
diff --git a/keyboards/doro67/multi/multi.c b/keyboards/doro67/multi/multi.c
new file mode 100644
index 000000000..477ab245c
--- /dev/null
+++ b/keyboards/doro67/multi/multi.c
@@ -0,0 +1,43 @@
+/* Copyright 2019 ShadeDream
+ *
+ * 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 "multi.h"
+
+void matrix_init_kb(void) {
+ // put your keyboard start-up code here
+ // runs once when the firmware starts up
+
+ matrix_init_user();
+}
+
+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);
+}
+
+void led_set_kb(uint8_t usb_led) {
+ // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
+
+ led_set_user(usb_led);
+}