diff options
author | Drashna Jaelre <drashna@live.com> | 2022-08-19 16:49:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-19 16:49:37 -0700 |
commit | 39f0fb7beaaf3a1e6ac8d52db0bc51ed786fad17 (patch) | |
tree | dc578295f55d8fb4d87bf8ea1b029bc9994f1035 /keyboards/work_louder/nano/keymaps/via/keymap.c | |
parent | f1786cbd7b4196c3ae31d46c50ed73e1e674820e (diff) |
[Keyboard] Update Work Louder keyboards (#18109)
Diffstat (limited to 'keyboards/work_louder/nano/keymaps/via/keymap.c')
-rw-r--r-- | keyboards/work_louder/nano/keymaps/via/keymap.c | 39 |
1 files changed, 18 insertions, 21 deletions
diff --git a/keyboards/work_louder/nano/keymaps/via/keymap.c b/keyboards/work_louder/nano/keymaps/via/keymap.c index 07451f52b2..612e8c8c03 100644 --- a/keyboards/work_louder/nano/keymaps/via/keymap.c +++ b/keyboards/work_louder/nano/keymaps/via/keymap.c @@ -15,31 +15,28 @@ */ #include QMK_KEYBOARD_H - -#define LAYOUT_via( \ - k00, k01, k02, \ - k00_a, k00_b \ -) { \ - { k00, k01, k02, k00_a, k00_b } \ -} - - const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { /* Base */ - [0] = LAYOUT_via( - KC_PSCR, MACRO00, MO(1), - KC_PGDN, KC_PGUP + [0] = LAYOUT( + KC_PSCR, MACRO00, MO(1) ), - [1] = LAYOUT_via( - QK_BOOT, MACRO01, _______, - _______, _______ + [1] = LAYOUT( + QK_BOOT, MACRO01, _______ ), - [2] = LAYOUT_via( - _______, _______, _______, - _______, _______ + [2] = LAYOUT( + _______, _______, _______ ), - [3] = LAYOUT_via( - _______, _______, _______, - _______, _______ + [3] = LAYOUT( + _______, _______, _______ ) }; + + +#ifdef ENCODER_MAP_ENABLE +const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { + [0] = { ENCODER_CCW_CW(KC_PGDN, KC_PGDN) }, + [1] = { ENCODER_CCW_CW(_______, _______) }, + [2] = { ENCODER_CCW_CW(_______, _______) }, + [3] = { ENCODER_CCW_CW(_______, _______) }, +}; +#endif |