diff options
author | Danny <nooges@users.noreply.github.com> | 2019-02-08 18:35:49 -0500 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-02-08 15:35:49 -0800 |
commit | f4f75acbd6ac6e962ba750cfe5f7c81346847b95 (patch) | |
tree | 558a9169aee92ed6408ae235a8a59b74f54a0a45 /keyboards/bdn9/keymaps/default/keymap.c | |
parent | aea45c5483f0373c60205eb1951a86169a6d3700 (diff) |
[Keyboard] Update default keymap, change RGB LEDs to 4 for Rev. 1.1 (#5086)
Diffstat (limited to 'keyboards/bdn9/keymaps/default/keymap.c')
-rw-r--r-- | keyboards/bdn9/keymaps/default/keymap.c | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/keyboards/bdn9/keymaps/default/keymap.c b/keyboards/bdn9/keymaps/default/keymap.c index 66b9a3eb67..3bab86ae54 100644 --- a/keyboards/bdn9/keymaps/default/keymap.c +++ b/keyboards/bdn9/keymaps/default/keymap.c @@ -17,25 +17,30 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [0] = LAYOUT( - KC_A, KC_B, KC_C, \ - BL_STEP, KC_UP, RGB_MOD, \ + KC_MUTE, KC_HOME, KC_MPLY, \ + MO(1), KC_UP, RGB_MOD, \ KC_LEFT, KC_DOWN, KC_RGHT \ ), + [1] = LAYOUT( + RESET, BL_STEP, KC_STOP, \ + _______, KC_HOME, RGB_MOD, \ + KC_MPRV, KC_END, KC_MNXT \ + ), }; void encoder_update_user(uint8_t index, bool clockwise) { if (index == 0) { if (clockwise) { - tap_code(KC_PGDN); + tap_code(KC_VOLU); } else { - tap_code(KC_PGUP); + tap_code(KC_VOLD); } } else if (index == 1) { if (clockwise) { - tap_code(KC_DOWN); + tap_code(KC_PGDN); } else { - tap_code(KC_UP); + tap_code(KC_PGUP); } } } |