diff options
| author | Reibl János Dániel <janos.daniel.reibl@protonmail.com> | 2021-10-12 04:26:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-11 19:26:47 -0700 |
| commit | 4b2866dd96545bd11d5b4ae977080b60948850f5 (patch) | |
| tree | fa56a073b0c5a4f91e747f09a5b354d79074e3af /users/riblee | |
| parent | 25eac95348548b41f4bf4e8a02fc8bace270bd35 (diff) | |
| download | qmk_firmware-4b2866dd96545bd11d5b4ae977080b60948850f5.tar.gz qmk_firmware-4b2866dd96545bd11d5b4ae977080b60948850f5.zip | |
[Keymap] Add workman layout (#14792)
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 6e6a7c23c..4bfa298c4 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) { | |||
| 152 | } | 152 | } |
| 153 | return false; | 153 | return false; |
| 154 | break; | 154 | break; |
| 155 | case WORKMAN: | ||
| 156 | if (record->event.pressed) { | ||
| 157 | set_single_persistent_default_layer(_WORKMAN); | ||
| 158 | } | ||
| 159 | return false; | ||
| 160 | break; | ||
| 155 | case HUNGARIAN: | 161 | case HUNGARIAN: |
| 156 | if (record->event.pressed) { | 162 | if (record->event.pressed) { |
| 157 | set_single_persistent_default_layer(_HUNGARIAN); | 163 | set_single_persistent_default_layer(_HUNGARIAN); |
diff --git a/users/riblee/riblee.h b/users/riblee/riblee.h index a4038765a..f7340d50b 100644 --- a/users/riblee/riblee.h +++ b/users/riblee/riblee.h | |||
| @@ -23,6 +23,7 @@ enum layer_names { | |||
| 23 | _HUNGARIAN, | 23 | _HUNGARIAN, |
| 24 | _COLEMAK, | 24 | _COLEMAK, |
| 25 | _DVORAK, | 25 | _DVORAK, |
| 26 | _WORKMAN, | ||
| 26 | _LOWER, | 27 | _LOWER, |
| 27 | _RAISE, | 28 | _RAISE, |
| 28 | _ADJUST | 29 | _ADJUST |
| @@ -33,6 +34,7 @@ enum custom_keycodes { | |||
| 33 | HUNGARIAN, | 34 | HUNGARIAN, |
| 34 | COLEMAK, | 35 | COLEMAK, |
| 35 | DVORAK, | 36 | DVORAK, |
| 37 | WORKMAN, | ||
| 36 | BACKLIT | 38 | BACKLIT |
| 37 | }; | 39 | }; |
| 38 | 40 | ||
