diff options
author | Bartosz Nowak <bartosz.nowak@vimn.com> | 2022-01-10 11:31:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-10 02:31:51 -0800 |
commit | d7eb09949d426af891dd9cf85ad789285422490e (patch) | |
tree | 17edf63f84cbea74bbb01e4c6d310fa1024c7200 /keyboards/handwired/dactyl_manuform/6x6/keymaps/default/keymap.c | |
parent | f59cbfb75c0b161187d22d07b58e242ef225611a (diff) |
[Keyboard] Add keymap and settings for dactyl_manuform 6x6_5 thumb (#15526)
* Add dactyl manu 6x6 with stm32 support and 5thumb cluster
* Add review changes
* Add license to new files
* Fix enums for custom keymap
* Readme update
* Fix readme to follow one from template
* Add missing licence to files
* Update keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/rules.mk
* Update keyboards/handwired/dactyl_manuform/6x6/blackpill_f411/rules.mk
* Remove readme from onekey keyboard
* Make separate macro for 5thumb
Diffstat (limited to 'keyboards/handwired/dactyl_manuform/6x6/keymaps/default/keymap.c')
-rw-r--r-- | keyboards/handwired/dactyl_manuform/6x6/keymaps/default/keymap.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/keyboards/handwired/dactyl_manuform/6x6/keymaps/default/keymap.c b/keyboards/handwired/dactyl_manuform/6x6/keymaps/default/keymap.c index 41e96b53d7..8c85746986 100644 --- a/keyboards/handwired/dactyl_manuform/6x6/keymaps/default/keymap.c +++ b/keyboards/handwired/dactyl_manuform/6x6/keymaps/default/keymap.c @@ -1,8 +1,13 @@ +// Copyright 2021 david@impstyle.com (@zwnk) +// SPDX-License-Identifier: GPL-2.0-or-later + #include QMK_KEYBOARD_H -#define _QWERTY 0 -#define _LOWER 1 -#define _RAISE 2 +enum custom_layers { + _QWERTY, + _LOWER, + _RAISE, +}; #define RAISE MO(_RAISE) #define LOWER MO(_LOWER) @@ -15,7 +20,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { KC_LSFT, KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L ,KC_SCLN,KC_QUOT, KC_LCTL, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M ,KC_COMM,KC_DOT ,KC_SLSH,KC_BSLASH, KC_LBRC,KC_RBRC, KC_PLUS, KC_EQL, - RAISE,KC_SPC, KC_ENT, LOWER, + RAISE ,KC_SPC, KC_ENT, LOWER, KC_TAB,KC_HOME, KC_END, KC_DEL, KC_BSPC, KC_GRV, KC_LGUI, KC_LALT ), |