diff options
author | Max Rumpf <max.rumpf1998@gmail.com> | 2020-01-22 23:46:00 +0100 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2020-01-22 14:46:00 -0800 |
commit | c3835262d84687f655a77c6479900a7b432e404d (patch) | |
tree | 6b9bb3e1691ee089da34b55da55f7ffced8135d1 /keyboards/maxr1998/phoebe/keymaps | |
parent | 1a40af74dacf6719c00baf252ffe1318358ab829 (diff) | |
download | firmware-c3835262d84687f655a77c6479900a7b432e404d.tar.gz firmware-c3835262d84687f655a77c6479900a7b432e404d.tar.bz2 firmware-c3835262d84687f655a77c6479900a7b432e404d.zip |
[Keymap] Phoebe keymap improvements (#7963)
* [Phoebe] Allow to input pipe characters with only one modifier
* [Phoebe] Update RGB animations
Diffstat (limited to 'keyboards/maxr1998/phoebe/keymaps')
-rw-r--r-- | keyboards/maxr1998/phoebe/keymaps/default/keymap.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/keyboards/maxr1998/phoebe/keymaps/default/keymap.c b/keyboards/maxr1998/phoebe/keymaps/default/keymap.c index da179c8f2..1b6052a9d 100644 --- a/keyboards/maxr1998/phoebe/keymaps/default/keymap.c +++ b/keyboards/maxr1998/phoebe/keymaps/default/keymap.c @@ -74,7 +74,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [_FN] = LAYOUT( _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F10, KC_F11, KC_F12, _______, _______, _______, _______, _______, _______, _______, DE_UE, KC_F9, DE_OE, _______, KC_DEL, - KC_LOCK, DE_AE, DE_SS, _______, _______, G_1, _______, RGB_M_P, RGB_M_B, RGB_M_SW,_______, _______, + KC_LOCK, DE_AE, DE_SS, _______, _______, G_1, _______, RGB_M_P, RGB_M_SW,RGB_M_SN,_______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_HUD, RGB_TOG, RGB_HUI, KC_PGUP, _______, XXXXXXX, _______, XXXXXXX, XXXXXXX, XXXXXXX, _______, XXXXXXX, XXXXXXX, KC_HOME, KC_PGDN, KC_END ), @@ -115,6 +115,16 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { return false; } break; + case KC_Z: + if (get_mods() & MODS_ALGR_MASK) { + if (record->event.pressed) { + register_code(DE_LESS); + } else { + unregister_code(DE_LESS); + } + return false; + } + break; } return true; }; |