From 4b2866dd96545bd11d5b4ae977080b60948850f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reibl=20J=C3=A1nos=20D=C3=A1niel?= Date: Tue, 12 Oct 2021 04:26:47 +0200 Subject: [Keymap] Add workman layout (#14792) --- users/riblee/riblee.c | 6 ++++++ users/riblee/riblee.h | 2 ++ 2 files changed, 8 insertions(+) (limited to 'users/riblee') 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 }; -- cgit v1.2.1