diff options
Diffstat (limited to 'users/riblee')
-rw-r--r-- | users/riblee/riblee.c | 6 | ||||
-rw-r--r-- | users/riblee/riblee.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/users/riblee/riblee.c b/users/riblee/riblee.c index 6e6a7c23c6..4bfa298c4a 100644 --- a/users/riblee/riblee.c +++ b/users/riblee/riblee.c @@ -152,6 +152,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { } return false; break; + case WORKMAN: + if (record->event.pressed) { + set_single_persistent_default_layer(_WORKMAN); + } + return false; + break; case HUNGARIAN: if (record->event.pressed) { set_single_persistent_default_layer(_HUNGARIAN); diff --git a/users/riblee/riblee.h b/users/riblee/riblee.h index a4038765a6..f7340d50b2 100644 --- a/users/riblee/riblee.h +++ b/users/riblee/riblee.h @@ -23,6 +23,7 @@ enum layer_names { _HUNGARIAN, _COLEMAK, _DVORAK, + _WORKMAN, _LOWER, _RAISE, _ADJUST @@ -33,6 +34,7 @@ enum custom_keycodes { HUNGARIAN, COLEMAK, DVORAK, + WORKMAN, BACKLIT }; |