summaryrefslogtreecommitdiff
path: root/users/riblee
diff options
context:
space:
mode:
authorReibl János Dániel <janos.daniel.reibl@protonmail.com>2021-10-12 04:26:47 +0200
committerGitHub <noreply@github.com>2021-10-11 19:26:47 -0700
commit4b2866dd96545bd11d5b4ae977080b60948850f5 (patch)
treefa56a073b0c5a4f91e747f09a5b354d79074e3af /users/riblee
parent25eac95348548b41f4bf4e8a02fc8bace270bd35 (diff)
downloadqmk_firmware-4b2866dd96545bd11d5b4ae977080b60948850f5.tar.gz
qmk_firmware-4b2866dd96545bd11d5b4ae977080b60948850f5.zip
[Keymap] Add workman layout (#14792)
Diffstat (limited to 'users/riblee')
-rw-r--r--users/riblee/riblee.c6
-rw-r--r--users/riblee/riblee.h2
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
};