aboutsummaryrefslogtreecommitdiff
path: root/keyboards/diverge3/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/diverge3/keymaps')
-rw-r--r--keyboards/diverge3/keymaps/default/config.h22
-rw-r--r--keyboards/diverge3/keymaps/default/keymap.c146
-rw-r--r--keyboards/diverge3/keymaps/default/readme.md6
-rw-r--r--keyboards/diverge3/keymaps/default/rules.mk1
-rwxr-xr-xkeyboards/diverge3/keymaps/iso_uk/config.h24
-rw-r--r--keyboards/diverge3/keymaps/iso_uk/keymap.c45
-rwxr-xr-xkeyboards/diverge3/keymaps/iso_uk/readme.md1
-rwxr-xr-xkeyboards/diverge3/keymaps/iso_uk/rules.mk1
-rw-r--r--keyboards/diverge3/keymaps/workman/config.h5
-rw-r--r--keyboards/diverge3/keymaps/workman/keymap.c210
-rw-r--r--keyboards/diverge3/keymaps/workman/readme.md21
-rw-r--r--keyboards/diverge3/keymaps/workman/rules.mk1
12 files changed, 483 insertions, 0 deletions
diff --git a/keyboards/diverge3/keymaps/default/config.h b/keyboards/diverge3/keymaps/default/config.h
new file mode 100644
index 000000000..fc375f081
--- /dev/null
+++ b/keyboards/diverge3/keymaps/default/config.h
@@ -0,0 +1,22 @@
1/* Copyright 2017 IslandMan93
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19// place overrides here
20#define MASTER_RIGHT
21#define PERMISSIVE_HOLD
22#define TAPPING_TERM 150
diff --git a/keyboards/diverge3/keymaps/default/keymap.c b/keyboards/diverge3/keymaps/default/keymap.c
new file mode 100644
index 000000000..acf262696
--- /dev/null
+++ b/keyboards/diverge3/keymaps/default/keymap.c
@@ -0,0 +1,146 @@
1/* Copyright 2017 IslandMan93
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include QMK_KEYBOARD_H
17
18//**************** Definitions needed for quad function to work *********************//
19enum {
20 SE_TAP_DANCE = 0
21};
22//Enums used to clearly convey the state of the tap dance
23enum {
24 SINGLE_TAP = 1,
25 SINGLE_HOLD = 2,
26 DOUBLE_TAP = 3,
27 DOUBLE_HOLD = 4,
28 DOUBLE_SINGLE_TAP = 5 //send SINGLE_TAP twice - NOT DOUBLE_TAP
29 // Add more enums here if you want for triple, quadruple, etc.
30};
31
32typedef struct {
33 bool is_press_action;
34 int state;
35} tap;
36
37int cur_dance (qk_tap_dance_state_t *state) {
38 if (state->count == 1) {
39 //If count = 1, and it has been interrupted - it doesn't matter if it is pressed or not: Send SINGLE_TAP
40 if (state->interrupted || state->pressed==0) return SINGLE_TAP;
41 else return SINGLE_HOLD;
42 }
43 //If count = 2, and it has been interrupted - assume that user is trying to type the letter associated
44 //with single tap. In example below, that means to send `xx` instead of `Escape`.
45 else if (state->count == 2) {
46 if (state->interrupted) return DOUBLE_SINGLE_TAP;
47 else if (state->pressed) return DOUBLE_HOLD;
48 else return DOUBLE_TAP;
49 }
50 else return 6; //magic number. At some point this method will expand to work for more presses
51}
52
53//**************** Definitions needed for quad function to work *********************//
54// Backspace Shift TD
55//instanalize an instance of 'tap' for the 'x' tap dance.
56static tap se_tap_state = {
57 .is_press_action = true,
58 .state = 0
59};
60
61void se_finished (qk_tap_dance_state_t *state, void *user_data) {
62 se_tap_state.state = cur_dance(state);
63 switch (se_tap_state.state) {
64 case SINGLE_TAP: register_code(KC_SPC); break;
65 case SINGLE_HOLD: register_code(KC_ENT); break;
66 default: register_code(KC_SPC); unregister_code(KC_SPC); register_code(KC_SPC);
67 //Last case is for fast typing. Assuming your key is `f`:
68 //For example, when typing the word `buffer`, and you want to make sure that you send `ff` and not `Esc`.
69 //In order to type `ff` when typing fast, the next character will have to be hit within the `TAPPING_TERM`, which by default is 200ms.
70 }
71}
72
73void se_reset (qk_tap_dance_state_t *state, void *user_data) {
74 switch (se_tap_state.state) {
75 case SINGLE_TAP: unregister_code(KC_SPC); break;
76 case SINGLE_HOLD: unregister_code(KC_ENT); break;
77 default: unregister_code(KC_SPC);
78 }
79 se_tap_state.state = 0;
80}
81
82qk_tap_dance_action_t tap_dance_actions[] = {
83 [SE_TAP_DANCE] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, se_finished, se_reset)
84};
85
86// KEYMAP
87
88#define _QWERTY 0
89#define _LOWER 1
90
91enum custom_keycodes {
92 PAREN_MACRO = SAFE_RANGE,
93 ARROW_MACRO,
94 PSELF_MACRO
95};
96
97// Macros
98#define KC_PMAC PAREN_MACRO
99#define KC_AMAC ARROW_MACRO
100
101// Holds for layer
102#define KC_DEL1 LT(_LOWER, KC_DEL)
103#define KC_TAB1 LT(_LOWER, KC_TAB)
104
105// Space on tap, enter on hold.
106#define KC_SPNT TD(SE_TAP_DANCE)
107
108#define KC_BSHT SFT_T(KC_BSPC)
109
110// Jumps the cursor a word right or left
111#define KC_WRDRT LCTL(KC_RIGHT)
112#define KC_WRDLT LCTL(KC_LEFT)
113
114const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
115
116 [_QWERTY] = LAYOUT(
117 KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_MUTE, KC_MPLY, KC_6, KC_7, KC_8, KC_9, KC_0, KC_PSCR,
118 KC_GRV, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_VOLD, KC_VOLU, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_CAPS,
119 KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_PGDN, KC_PGUP, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_BSLS,
120 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_WRDLT, KC_WRDRT, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT,
121 KC_LCTL, KC_LGUI, KC_APP, KC_LALT, KC_HOME, KC_SPNT, KC_DEL1, KC_BSHT, KC_ENT, KC_TAB1, KC_BSHT, KC_END, KC_DOWN, KC_UP, KC_LEFT, KC_RIGHT
122 ),
123
124 [_LOWER] = LAYOUT(
125 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F11, KC_F12, KC_F6, KC_F7, KC_F8, KC_F9, _______, _______,
126 KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, _______, _______, KC_CIRC, KC_AMPR, KC_ASTR, _______, _______, _______,
127 _______, _______, KC_LBRC, KC_LPRN, KC_UNDS, KC_LCBR, _______, _______, KC_RCBR, KC_EQL, KC_RPRN, KC_RBRC, KC_COLN, _______,
128 _______, _______, _______, KC_PMAC, KC_MINS, KC_AMAC, _______, _______, _______, KC_PLUS, _______, _______, _______, _______,
129 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
130 )
131
132};
133
134bool process_record_user(uint16_t keycode, keyrecord_t *record) {
135 if (record->event.pressed) {
136 switch(keycode) {
137 case PAREN_MACRO:
138 SEND_STRING("()");
139 return false; break;
140 case ARROW_MACRO:
141 SEND_STRING("->");
142 return false; break;
143 }
144 }
145 return true;
146};
diff --git a/keyboards/diverge3/keymaps/default/readme.md b/keyboards/diverge3/keymaps/default/readme.md
new file mode 100644
index 000000000..c2e698b3c
--- /dev/null
+++ b/keyboards/diverge3/keymaps/default/readme.md
@@ -0,0 +1,6 @@
1# The default keymap for diverge3
2
3Just a keymap that I use for programming.
4
5The focus is to have the thumbs do all the work for spacing/backspacing, shifting, and symbols.
6Also there is some duplicated functionality on the left hand for when editing with a mouse.
diff --git a/keyboards/diverge3/keymaps/default/rules.mk b/keyboards/diverge3/keymaps/default/rules.mk
new file mode 100644
index 000000000..e5ddcae8d
--- /dev/null
+++ b/keyboards/diverge3/keymaps/default/rules.mk
@@ -0,0 +1 @@
TAP_DANCE_ENABLE = yes
diff --git a/keyboards/diverge3/keymaps/iso_uk/config.h b/keyboards/diverge3/keymaps/iso_uk/config.h
new file mode 100755
index 000000000..83f65979c
--- /dev/null
+++ b/keyboards/diverge3/keymaps/iso_uk/config.h
@@ -0,0 +1,24 @@
1/* Copyright 2017 IslandMan93
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19
20// place overrides here
21#define MASTER_LEFT
22#define PERMISSIVE_HOLD
23#define TAPPING_TERM 150
24
diff --git a/keyboards/diverge3/keymaps/iso_uk/keymap.c b/keyboards/diverge3/keymaps/iso_uk/keymap.c
new file mode 100644
index 000000000..256464029
--- /dev/null
+++ b/keyboards/diverge3/keymaps/iso_uk/keymap.c
@@ -0,0 +1,45 @@
1/* Copyright 2017 IslandMan93
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include QMK_KEYBOARD_H
17
18
19enum layers {
20 _QWERTY,
21 _LOWER,
22};
23
24#define LOWER MO(_LOWER)
25
26
27const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
28
29 [_QWERTY] = LAYOUT(
30 KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_MINS, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
31 KC_CAPS, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LCBR, KC_RCBR, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
32 KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_PSCR, KC_PGUP, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_NUHS,
33 KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_INS, KC_PGDN, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_ENT,
34 KC_LCTL, KC_LGUI, KC_LALT, KC_HOME, KC_END, KC_SPC, KC_SPC, LOWER, KC_QUOT, KC_SPC, KC_SPC, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT,KC_SLASH
35 ),
36
37 [_LOWER] = LAYOUT(
38 RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F11, KC_F12, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______,
39 BL_TOGG, KC_ASTG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
40 BL_INC, KC_ASUP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
41 BL_DEC, KC_ASDN, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
42 _______, KC_ASRP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
43 )
44
45};
diff --git a/keyboards/diverge3/keymaps/iso_uk/readme.md b/keyboards/diverge3/keymaps/iso_uk/readme.md
new file mode 100755
index 000000000..ff4971754
--- /dev/null
+++ b/keyboards/diverge3/keymaps/iso_uk/readme.md
@@ -0,0 +1 @@
# My UK based diverge 3 layout
diff --git a/keyboards/diverge3/keymaps/iso_uk/rules.mk b/keyboards/diverge3/keymaps/iso_uk/rules.mk
new file mode 100755
index 000000000..c9383ab8d
--- /dev/null
+++ b/keyboards/diverge3/keymaps/iso_uk/rules.mk
@@ -0,0 +1 @@
AUTO_SHIFT_ENABLE = yes
diff --git a/keyboards/diverge3/keymaps/workman/config.h b/keyboards/diverge3/keymaps/workman/config.h
new file mode 100644
index 000000000..9829a604f
--- /dev/null
+++ b/keyboards/diverge3/keymaps/workman/config.h
@@ -0,0 +1,5 @@
1#pragma once
2
3// place overrides here
4#define PERMISSIVE_HOLD
5#define TAPPING_TERM 150 \ No newline at end of file
diff --git a/keyboards/diverge3/keymaps/workman/keymap.c b/keyboards/diverge3/keymaps/workman/keymap.c
new file mode 100644
index 000000000..415df2eea
--- /dev/null
+++ b/keyboards/diverge3/keymaps/workman/keymap.c
@@ -0,0 +1,210 @@
1/* Copyright 2017 IslandMan93
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include QMK_KEYBOARD_H
17
18// KEYMAP
19extern keymap_config_t keymap_config;
20
21#define _WORKMAN_P 0
22#define _GAME 1
23#define _RAISE 2
24
25#define SHIFT_MOD MOD_BIT(KC_LSFT)
26#define SPACE_RAISE LT(_RAISE, KC_SPC)
27#define ENT_RAISE LT(_RAISE, KC_ENT)
28#define PAGE_PREV S(LCTL(KC_TAB))
29#define PAGE_NEXT LCTL(KC_TAB)
30
31enum custom_keycodes
32{
33 LO_BSPC = SAFE_RANGE,
34 LO_1,
35 LO_2,
36 LO_3,
37 LO_4,
38 LO_5,
39 LO_6,
40 LO_7,
41 LO_8,
42 LO_9,
43 LO_0,
44};
45
46bool process_record_user(uint16_t keycode, keyrecord_t* record)
47{
48 if (record->event.pressed) {
49 switch (keycode) {
50 case LO_BSPC:
51 if (record->event.pressed) {
52 if (get_mods() & SHIFT_MOD) {
53 uint8_t current_mods = get_mods();
54 clear_mods();
55 SEND_STRING(SS_TAP(X_DELETE));
56 set_mods(current_mods);
57 } else {
58 SEND_STRING(SS_TAP(X_BSPACE));
59 }
60 }
61 return false;
62 case LO_1:
63 if (record->event.pressed) {
64 uint8_t current_mods = get_mods();
65 if (current_mods & SHIFT_MOD) {
66 clear_mods();
67 SEND_STRING("1");
68 set_mods(current_mods);
69 } else {
70 SEND_STRING("!");
71 }
72 }
73 return false;
74 case LO_2:
75 if (record->event.pressed) {
76 uint8_t current_mods = get_mods();
77 if (current_mods & SHIFT_MOD) {
78 clear_mods();
79 SEND_STRING("2");
80 set_mods(current_mods);
81 } else {
82 SEND_STRING("@");
83 }
84 }
85 return false;
86 case LO_3:
87 if (record->event.pressed) {
88 uint8_t current_mods = get_mods();
89 if (current_mods & SHIFT_MOD) {
90 clear_mods();
91 SEND_STRING("3");
92 set_mods(current_mods);
93 } else {
94 SEND_STRING("#");
95 }
96 }
97 return false;
98 case LO_4:
99 if (record->event.pressed) {
100 uint8_t current_mods = get_mods();
101 if (current_mods & SHIFT_MOD) {
102 clear_mods();
103 SEND_STRING("4");
104 set_mods(current_mods);
105 } else {
106 SEND_STRING("$");
107 }
108 }
109 return false;
110 case LO_5:
111 if (record->event.pressed) {
112 uint8_t current_mods = get_mods();
113 if (current_mods & SHIFT_MOD) {
114 clear_mods();
115 SEND_STRING("5");
116 set_mods(current_mods);
117 } else {
118 SEND_STRING("%");
119 }
120 }
121 return false;
122 case LO_6:
123 if (record->event.pressed) {
124 uint8_t current_mods = get_mods();
125 if (current_mods & SHIFT_MOD) {
126 clear_mods();
127 SEND_STRING("6");
128 set_mods(current_mods);
129 } else {
130 SEND_STRING("^");
131 }
132 }
133 return false;
134 case LO_7:
135 if (record->event.pressed) {
136 uint8_t current_mods = get_mods();
137 if (current_mods & SHIFT_MOD) {
138 clear_mods();
139 SEND_STRING("7");
140 set_mods(current_mods);
141 } else {
142 SEND_STRING("&");
143 }
144 }
145 return false;
146 case LO_8:
147 if (record->event.pressed) {
148 uint8_t current_mods = get_mods();
149 if (current_mods & SHIFT_MOD) {
150 clear_mods();
151 SEND_STRING("8");
152 set_mods(current_mods);
153 } else {
154 SEND_STRING("*");
155 }
156 }
157 return false;
158 case LO_9:
159 if (record->event.pressed) {
160 uint8_t current_mods = get_mods();
161 if (current_mods & SHIFT_MOD) {
162 clear_mods();
163 SEND_STRING("9");
164 set_mods(current_mods);
165 } else {
166 SEND_STRING("(");
167 }
168 }
169 return false;
170 case LO_0:
171 if (record->event.pressed) {
172 uint8_t current_mods = get_mods();
173 if (current_mods & SHIFT_MOD) {
174 clear_mods();
175 SEND_STRING("0");
176 set_mods(current_mods);
177 } else {
178 SEND_STRING(")");
179 }
180 }
181 return false;
182 }
183 }
184 return true;
185};
186
187const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
188
189 [_WORKMAN_P] = LAYOUT(
190 KC_ESC, LO_1, LO_2, LO_3, LO_4, LO_5, LO_6, LO_6, LO_7, LO_8, LO_9, LO_0, KC_MINS, KC_ESC,
191 KC_GRV, KC_Q, KC_D, KC_R, KC_W, KC_B, KC_LPRN, KC_RPRN, KC_J, KC_F, KC_U, KC_P, KC_SCLN, KC_EQL,
192 KC_TAB, KC_A, KC_S, KC_H, KC_T, KC_G, KC_LCBR, KC_RCBR, KC_Y, KC_N, KC_E, KC_O, KC_I, KC_BSLS,
193 KC_LCTL, KC_Z, KC_X, KC_M, KC_C, KC_V, KC_LBRC, KC_RBRC, KC_K, KC_L, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT,
194 KC_LSFT, RESET, PAGE_PREV, PAGE_NEXT, KC_END, KC_LGUI, KC_LALT, TG(_GAME), LO_BSPC, ENT_RAISE, SPACE_RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_RCTL),
195
196 [_GAME] = LAYOUT(
197 KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_ESC,
198 KC_GRV, KC_Q, KC_D, KC_R, KC_W, KC_B, KC_LPRN, KC_RPRN, KC_J, KC_F, KC_U, KC_P, KC_SCLN, KC_EQL,
199 KC_TAB, KC_A, KC_S, KC_H, KC_T, KC_G, KC_LCBR, KC_RCBR, KC_Y, KC_N, KC_E, KC_O, KC_I, KC_BSLS,
200 KC_LCTL, KC_Z, KC_X, KC_M, KC_C, KC_V, KC_LBRC, KC_RBRC, KC_K, KC_L, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT,
201 KC_LSFT, KC_F1, KC_F2, KC_3, KC_F5, KC_SPC, KC_LALT, TG(_GAME), LO_BSPC, ENT_RAISE, SPACE_RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_RCTL),
202
203 [_RAISE] = LAYOUT(
204 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, RESET,
205 _______, _______, _______, _______, _______, _______, BL_INC, KC_VOLU, _______, _______, _______, _______, _______, KC_F12,
206 _______, _______, _______, _______, _______, _______, BL_DEC, KC_VOLD, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______,
207 _______, _______, _______, _______, _______, _______, BL_BRTG, KC_MUTE, _______, _______, KC_MPRV, KC_MNXT, KC_MPLY, _______,
208 _______, _______, _______, _______, _______, _______, BL_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______),
209
210};
diff --git a/keyboards/diverge3/keymaps/workman/readme.md b/keyboards/diverge3/keymaps/workman/readme.md
new file mode 100644
index 000000000..48ba482fe
--- /dev/null
+++ b/keyboards/diverge3/keymaps/workman/readme.md
@@ -0,0 +1,21 @@
1# The Workman keymap for diverge3
2
3Basic example of the [Workman Programming Layout](https://github.com/ojbucao/workman) which uses the `SHIFT`ed variants of the number row, by default.
4
5## Layer 1 - Default Layer
6
7Workman programming layout.
8
9![Workman Layout Picture](https://i.imgur.com/IOOmRfI.png)
10
11## Layer 2 - Gaming Layer
12
13Reverts the number row to the normal 1, 2, 3, etc... for better gaming compatibility.
14
15![Gaming Layer Picture](https://i.imgur.com/E0vmEAa.png)
16
17## Layer 3 - Raise Layer
18
19Volume and backlight controls (although backlight is not fully functional using `USE_SERIAL` in `../config.h`).
20
21![Raise Layer Misc Buttons Picture](https://i.imgur.com/50L3O62.png)
diff --git a/keyboards/diverge3/keymaps/workman/rules.mk b/keyboards/diverge3/keymaps/workman/rules.mk
new file mode 100644
index 000000000..8b1378917
--- /dev/null
+++ b/keyboards/diverge3/keymaps/workman/rules.mk
@@ -0,0 +1 @@