aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/dz60/keymaps/bingocaller/config.h2
-rw-r--r--keyboards/dz60/keymaps/bingocaller/keymap.c93
-rw-r--r--keyboards/dz60/keymaps/bingocaller/readme.md114
3 files changed, 209 insertions, 0 deletions
diff --git a/keyboards/dz60/keymaps/bingocaller/config.h b/keyboards/dz60/keymaps/bingocaller/config.h
new file mode 100644
index 000000000..470e3d18b
--- /dev/null
+++ b/keyboards/dz60/keymaps/bingocaller/config.h
@@ -0,0 +1,2 @@
1#undef MOUSEKEY_DELAY
2#define MOUSEKEY_DELAY 0
diff --git a/keyboards/dz60/keymaps/bingocaller/keymap.c b/keyboards/dz60/keymaps/bingocaller/keymap.c
new file mode 100644
index 000000000..961d82556
--- /dev/null
+++ b/keyboards/dz60/keymaps/bingocaller/keymap.c
@@ -0,0 +1,93 @@
1#include QMK_KEYBOARD_H
2
3#define WORD_BACK A(KC_LEFT)
4#define WORD_FORWARD A(KC_RIGHT)
5#define DELETE_WORD_BACK A(KC_BSPACE)
6#define DELETE_WORD_FORWARD A(KC_DELETE)
7#define FINE_VOLUP S(A(KC__VOLUP))
8#define FINE_VOLDOWN S(A(KC__VOLDOWN))
9
10enum layers {
11 _BASE,
12 _ARROWS,
13 _HDUE, // Home, PgDown, PgUp, End
14 _MOUSE,
15 _FN
16};
17
18const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
19 /* Default layer:
20 * Space Cadet shifts (parentheses on tap)
21 * Caps Lock is Control on hold, Esc on tap
22 * Hyper/Caps Lock on Control
23 * Hold D to activate layer 1
24 * Hold Space to activate layer 3 (Mouse keys)
25 * Hold FN to activate layer 4
26 */
27 [_BASE] = LAYOUT(
28 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_NO, KC_BSPC,
29 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
30 LCTL_T(KC_ESC), KC_A, KC_S, LT(_ARROWS, KC_D), KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
31 KC_LSPO, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSPC, KC_NO,
32 ALL_T(KC_CAPS), KC_LALT, KC_LGUI, KC_NO, LT(_MOUSE, KC_SPC), KC_NO, KC_RGUI, KC_RALT, KC_NO, MO(_FN), ALL_T(KC_CAPS)),
33
34 /* Layer 1:
35 * Vim arrows (HJKL)
36 * Vim-like move across words with W(ord), and B(eginning)
37 * Media controls (fine volume controls using Option+Shift)
38 * Backspace/Del on N/M
39 * Hold F to activate layer 2
40 */
41 [_ARROWS] = LAYOUT(
42 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
43 _______, _______, WORD_FORWARD, _______, _______, _______, _______, KC_MRWD, KC_MPLY, KC_MFFD, KC__MUTE, FINE_VOLDOWN, FINE_VOLUP, _______,
44 _______, _______, _______, _______, LT(_HDUE, _______), _______, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, _______, _______, _______,
45 _______, _______, _______, _______, _______, _______, WORD_BACK, KC_BSPC, KC_DEL, _______, _______, _______, _______, _______,
46 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______),
47
48 /* Layer 2:
49 * Home, End, Page Up, Page Down
50 * Delete word forward/back on W/B
51 */
52 [_HDUE] = LAYOUT(
53 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
54 _______, _______, DELETE_WORD_FORWARD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
55 _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDOWN, KC_PGUP, KC_END, _______, _______, _______,
56 _______, _______, _______, _______, _______, _______, DELETE_WORD_BACK, _______, _______, _______, _______, _______, _______, _______,
57 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______),
58
59 /* Layer 3:
60 * Mouse keys
61 * Cursor movement: HJKL
62 * MB 1, 2, and 3 on F, D, and S, respectively
63 * Mouse wheel: U(p) and D(own)
64 */
65 [_MOUSE] = LAYOUT(
66 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
67 _______, _______, _______, _______, KC_WH_U, _______, _______, _______, _______, _______, _______, _______, _______, _______,
68 _______, _______, KC_BTN3, KC_BTN2, KC_BTN1, _______, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, _______, _______, _______,
69 _______, _______, _______, _______, KC_WH_D, _______, _______, _______, _______, _______, _______, _______, _______, _______,
70 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______),
71
72 /* Layer 4:
73 * F1-12
74 * Del on backspace
75 * RGB (underglow) controls
76 * RESET firmware on backslash
77 * Screen brightness: Z (decrease), X (increase)
78 */
79 [_FN] = LAYOUT(
80 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, KC_DEL,
81 _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, RESET,
82 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
83 _______, KC_BRMD, KC_BRMU, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
84 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______),
85
86 // TEMPLATE
87 // LAYOUT(
88 // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
89 // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
90 // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
91 // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
92 // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______),
93};
diff --git a/keyboards/dz60/keymaps/bingocaller/readme.md b/keyboards/dz60/keymaps/bingocaller/readme.md
new file mode 100644
index 000000000..0cb3f77e2
--- /dev/null
+++ b/keyboards/dz60/keymaps/bingocaller/readme.md
@@ -0,0 +1,114 @@
1# MacOS standard 60% keymap with Vim-like arrows
2
3This is a MacOS-specific keymap for DZ60 configured in a standard 60% ANSI layout, with a stepped Caps Lock:
4
5[![](https://i.imgur.com/lFP2O41.png)](http://www.keyboard-layout-editor.com/#/gists/4b156fdf2c1426bffc82fadd2b1c5634)
6
7**[Fully assembled 60% keyboard from KBDfans](https://kbdfans.cn/collections/fully-assembled-keyboard/products/fully-assembled-plastic-case-mechanical-keyboard)**
8
9## Base Layer
10
11```
12,-----------------------------------------------------------------------------------------.
13| ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | Backspace |
14|-----------------------------------------------------------------------------------------+
15| Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ |
16|-----------------------------------------------------------------------------------------+
17| Ctrl/Esc | A | S | D/L1 | F | G | H | J | K | L | ; | ' | Enter |
18|-----------------------------------------------------------------------------------------+
19| Shift/( | Z | X | C | V | B | N | M | , | . | / | Shift/) |
20|-----------------------------------------------------------------------------------------+
21| Hyper | Alt | Cmd | Space/L3 | Cmd | Alt | L4 | Hyper |
22`-----------------------------------------------------------------------------------------'
23```
24
25* Space Cadet shifts (parentheses on tap)
26* Caps Lock is Control on hold, Esc on tap
27* Hyper/Caps Lock on Control
28* Hold D to activate layer 1
29* Hold Space to activate layer 3 (Mouse keys)
30* Hold FN to activate layer 4
31
32## `L1`
33
34```
35,-----------------------------------------------------------------------------------------.
36| | | | | | | | | | | | | | |
37|-----------------------------------------------------------------------------------------+
38| | | W→ | | | | | ⏮ | ⏯ | ⏭ | 🔇 | 🔉 | 🔊 | |
39|-----------------------------------------------------------------------------------------+
40| | | | | L2 | | ← | ↓ | ↑ | → | | | |
41|-----------------------------------------------------------------------------------------+
42| | | | | | W← | ⌫ | ⌦ | | | | |
43|-----------------------------------------------------------------------------------------+
44| | | | | | | | |
45`-----------------------------------------------------------------------------------------'
46```
47
48* Vim arrows (HJKL)
49* Vim-like move across words with W(ord), and B(eginning)
50* Media controls (fine volume controls using Option+Shift)
51* Backspace/Del on N/M
52* Hold F to activate layer 2
53
54## `L2`
55
56```
57,-----------------------------------------------------------------------------------------.
58| | | | | | | | | | | | | | |
59|-----------------------------------------------------------------------------------------+
60| | | W⌦ | | | | | | | | | | | |
61|-----------------------------------------------------------------------------------------+
62| | | | | | | ↖ | ⇞ | ⇟ | ↘︎ | | | |
63|-----------------------------------------------------------------------------------------+
64| | | | | | W⌫ | | | | | | |
65|-----------------------------------------------------------------------------------------+
66| | | | | | | | |
67`-----------------------------------------------------------------------------------------'
68```
69
70* Home, End, Page Up, Page Down
71* Delete word forward/back on W/B
72
73## `L3`
74
75```
76,-----------------------------------------------------------------------------------------.
77| | | | | | | | | | | | | | |
78|-----------------------------------------------------------------------------------------+
79| | | | | MWU | | | | | | | | | |
80|-----------------------------------------------------------------------------------------+
81| | | M3 | M2 | M1 | | M← | M↓ | M↑ | M→ | | | |
82|-----------------------------------------------------------------------------------------+
83| | | | | MWD | | | | | | | |
84|-----------------------------------------------------------------------------------------+
85| | | | | | | | |
86`-----------------------------------------------------------------------------------------'
87```
88
89* Mouse keys
90 * Cursor movement: HJKL
91 * MB 1, 2, and 3 on F, D, and S, respectively
92 * Mouse wheel: Up (R) and Down (V)
93
94## `L4`
95
96```
97,-----------------------------------------------------------------------------------------.
98| | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | ⌦ |
99|-----------------------------------------------------------------------------------------+
100| |RGB_T|RGB_M|RGB_H+|RGB_H-|RGB_S+|RGB_S-|RGB_V+|RGB_V-| | | | | RESET |
101|-----------------------------------------------------------------------------------------+
102| | | | | | | | | | | | | |
103|-----------------------------------------------------------------------------------------+
104| | 🔅 | 🔆 | | | | | | | | | |
105|-----------------------------------------------------------------------------------------+
106| | | | | | | | |
107`-----------------------------------------------------------------------------------------'
108```
109
110* F1-12
111* Del on backspace
112* RGB (underglow) controls
113* RESET firmware on backspace
114* Screen brightness: Z (decrease), X (increase)