diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2022-05-30 11:07:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-30 11:07:16 -0700 |
commit | cc7a3f8dc775805665377f228f27bff97420a036 (patch) | |
tree | 579c896786eb5a110b909a1fab1f0e9621fcda5c /users/sethBarberee/sethBarberee.c | |
parent | a06b5cae418f570363a7b165e8b2c6fb178d6651 (diff) |
[Keymap] Update sethbarberee code to QK_BOOT and try out DVVORAK (#17230)
Diffstat (limited to 'users/sethBarberee/sethBarberee.c')
-rw-r--r-- | users/sethBarberee/sethBarberee.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/users/sethBarberee/sethBarberee.c b/users/sethBarberee/sethBarberee.c index c5fceee68d..e6e9dbf4a2 100644 --- a/users/sethBarberee/sethBarberee.c +++ b/users/sethBarberee/sethBarberee.c @@ -79,6 +79,21 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { SEND_STRING(QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION ", Built on: " QMK_BUILDDATE); } break; + case KC_QWER: // Set default layer to QWERTY + if (record->event.pressed) { + set_single_persistent_default_layer(_QWERTY); + } + break; + case KC_COLE: // Set default layer to COLEMAK + if (record->event.pressed) { + set_single_persistent_default_layer(_COLEMAK); + } + break; + case KC_DVOR: // Set default layer to DVORAK + if (record->event.pressed) { + set_single_persistent_default_layer(_DVORAK); + } + break; } } return true; |