diff options
author | somepin <79652090+somepin@users.noreply.github.com> | 2021-03-10 00:17:35 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-09 21:17:35 -0800 |
commit | 9089244db77d724f23ddfc01be370f9c029c8e6c (patch) | |
tree | 0995636c0f60c318fe69030bff1228cefb33ef6c /keyboards/doodboard/duckboard/keymaps/default | |
parent | aed8bace97646af7e90e3a46f48aa3a83784df17 (diff) | |
download | qmk_firmware-9089244db77d724f23ddfc01be370f9c029c8e6c.tar.gz qmk_firmware-9089244db77d724f23ddfc01be370f9c029c8e6c.zip |
Add VIA support to doodboard/duckboard_r2 (#12028)
* Update R1 keymap and config
* Add duckboard R2
* Add VIA support for duckboard R2
* Set bootmagic lite row and column
* Update config.h
* Update keyboards/doodboard/duckboard/config.h
Co-authored-by: Drashna Jaelre <drashna@live.com>
* Update config.h
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/doodboard/duckboard/keymaps/default')
-rw-r--r-- | keyboards/doodboard/duckboard/keymaps/default/keymap.c | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/keyboards/doodboard/duckboard/keymaps/default/keymap.c b/keyboards/doodboard/duckboard/keymaps/default/keymap.c index 6684e98633..0dd9c40678 100644 --- a/keyboards/doodboard/duckboard/keymaps/default/keymap.c +++ b/keyboards/doodboard/duckboard/keymaps/default/keymap.c @@ -1,4 +1,4 @@ -/* Copyright 2020 doodboard +/* Copyright 2020-2021 doodboard * * 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 @@ -18,22 +18,24 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [0] = LAYOUT( TG(1), KC_PSLS, KC_PAST, KC_PMNS, - KC_P7, KC_P8, KC_P9, - KC_P4, KC_P5, KC_P6, KC_PPLS, - KC_P1, KC_P2, KC_P3, - KC_BSPC, KC_MUTE, KC_P0, KC_PDOT, KC_PENT), - [1] = LAYOUT( - TG(1), KC_TRNS, KC_TRNS, KC_TRNS, - KC_HOME, KC_UP, KC_PGUP, - KC_LEFT, KC_TRNS, KC_RGHT, KC_TRNS, - KC_END, KC_DOWN, KC_PGDN, - TG(2), KC_TRNS, KC_INS, KC_DEL, KC_TRNS), - [2] = LAYOUT( - KC_TRNS, RGB_TOG, RGB_MOD, KC_TRNS, - RGB_HUI, RGB_SAI, RGB_VAI, - RGB_HUD, RGB_SAD, RGB_VAD, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, - TG(2), RESET, KC_TRNS, KC_TRNS, KC_TRNS), + KC_7, KC_8, KC_9, + KC_4, KC_5, KC_6, KC_PPLS, + KC_1, KC_2, KC_3, + KC_BSPC, KC_0, KC_0, KC_DOT, KC_ENT), + + [1] = LAYOUT( + TG(1), KC_TRNS, KC_TRNS, KC_TRNS, + KC_HOME, KC_UP, KC_PGUP, + KC_LEFT, KC_TRNS, KC_RGHT, KC_TRNS, + KC_END, KC_DOWN, KC_PGDN, + TG(2), KC_TRNS, KC_INS, KC_DEL, KC_TRNS), + + [2] = LAYOUT( + KC_TRNS, RGB_TOG, RGB_MOD, KC_TRNS, + RGB_HUI, RGB_SAI, RGB_VAI, + RGB_HUD, RGB_SAD, RGB_VAD, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, + TG(2), RESET, KC_TRNS, KC_TRNS, KC_TRNS), }; void encoder_update_user(uint8_t index, bool clockwise) { @@ -111,8 +113,8 @@ void oled_task_user(void) { void keyboard_post_init_user(void) { //Customise these values to debug - //debug_enable=true; - //debug_matrix=true; + debug_enable=true; + debug_matrix=true; //debug_keyboard=true; //debug_mouse=true; } |