diff options
author | Joel Challis <git@zvecr.com> | 2021-08-24 17:18:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-24 17:18:25 +0100 |
commit | 622c3cac3ab8bc25d3cfec63702e295e0b16a49a (patch) | |
tree | 31762fa1e0f950932e9b7befe99673d86bb59f83 /keyboards/xiudi | |
parent | 2cade3a48300e0709f8aec68602faf90947b6738 (diff) | |
download | qmk_firmware-622c3cac3ab8bc25d3cfec63702e295e0b16a49a.tar.gz qmk_firmware-622c3cac3ab8bc25d3cfec63702e295e0b16a49a.zip |
Fix merge artifacts (#14146)
Diffstat (limited to 'keyboards/xiudi')
4 files changed, 223 insertions, 0 deletions
diff --git a/keyboards/xiudi/xd75/keymaps/replicajunction/config.h b/keyboards/xiudi/xd75/keymaps/replicajunction/config.h new file mode 100644 index 000000000..a02f9a95d --- /dev/null +++ b/keyboards/xiudi/xd75/keymaps/replicajunction/config.h | |||
@@ -0,0 +1,51 @@ | |||
1 | /* Copyright 2021 Joshua T. | ||
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 | // Do not allow one macro to contain the other macro | ||
20 | #define DYNAMIC_MACRO_NO_NESTING | ||
21 | |||
22 | // "THE most important tap hold configuration setting" | ||
23 | // https://precondition.github.io/home-row-mods#ignore-mod-tap-interrupt | ||
24 | // https://docs.qmk.fm/#/tap_hold?id=ignore-mod-tap-interrupt | ||
25 | #define IGNORE_MOD_TAP_INTERRUPT | ||
26 | |||
27 | // This one is a style choice. Play with it both on and off to see which | ||
28 | // one suits you better. | ||
29 | // https://precondition.github.io/home-row-mods#permissive-hold | ||
30 | // https://docs.qmk.fm/#/tap_hold?id=permissive-hold | ||
31 | #define PERMISSIVE_HOLD | ||
32 | |||
33 | // If you press a dual-role key for longer than TAPPING_TERM, then | ||
34 | // release it without pressing another key, without this setting nothing | ||
35 | // would happen. With this setting, it sends the key's tap function. | ||
36 | // https://precondition.github.io/home-row-mods#retro-tapping | ||
37 | #define RETRO_TAPPING | ||
38 | |||
39 | // Disable some unused features to save space | ||
40 | #undef LOCKING_SUPPORT_ENABLE | ||
41 | #undef LOCKING_RESYNC_ENABLE | ||
42 | |||
43 | ///// | ||
44 | // Flags for stuff in my userspace | ||
45 | |||
46 | #define USER_INCLUDE_GAMING_LAYER | ||
47 | #define USER_INCLUDE_MACRO_LAYER | ||
48 | |||
49 | // "Super Alt-Tab" | ||
50 | // https://docs.qmk.fm/#/feature_macros?id=super-alt%E2%86%AFtab | ||
51 | #define USER_SUPER_ALT_TAB_TIMEOUT 500 | ||
diff --git a/keyboards/xiudi/xd75/keymaps/replicajunction/keymap.c b/keyboards/xiudi/xd75/keymaps/replicajunction/keymap.c new file mode 100644 index 000000000..71ef2a668 --- /dev/null +++ b/keyboards/xiudi/xd75/keymaps/replicajunction/keymap.c | |||
@@ -0,0 +1,138 @@ | |||
1 | /* Copyright 2021 Joshua T. | ||
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 | #include QMK_KEYBOARD_H | ||
18 | #include "replicaJunction.h" | ||
19 | |||
20 | // enum additional_keyboard_layers { | ||
21 | // L_RGB = _LAYER_SAFE_RANGE | ||
22 | // }; | ||
23 | |||
24 | #define BSP_SYM LT(L_SYMBOLS, KC_BSPC) | ||
25 | #define SPC_NAV LT(L_NAVIGATION, KC_SPC) | ||
26 | #define ESC_NUM LT(L_NUMBERS, KC_ESC) | ||
27 | #define MO_FN MO(L_FN) | ||
28 | #define MO_MAC MO(L_MACROS) | ||
29 | |||
30 | #define DF_TYPE DF(L_BASE) | ||
31 | #define DF_GAME DF(L_GAMING) | ||
32 | |||
33 | #define ESC_SFT LSFT_T(KC_ESC) | ||
34 | #define TAB_SFT RSFT_T(KC_TAB) | ||
35 | |||
36 | |||
37 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
38 | [L_BASE] = LAYOUT_ortho_5x15( | ||
39 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_MINS, KC_GRV, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | ||
40 | KC_EQL, KC_Q, KC_W, KC_F, KC_P, KC_B, KC_LBRC, KC_BSLS, KC_RBRC, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSLS, | ||
41 | KC_MINS, KC_A, KC_R, KC_S, KC_T, KC_G, SALTTAB, KC_UP, KC_END, KC_M, KC_N, KC_E, KC_I, KC_O, KC_QUOT, | ||
42 | NUMWORD, KC_Z, KC_X, KC_C, KC_D, KC_V, KC_LEFT, KC_DOWN, KC_RGHT, KC_K, KC_H, KC_COMM, KC_DOT, KC_SLSH, CAPWORD, | ||
43 | KC_LCTL, KC_LGUI, KC_LALT, MO_FN, ESC_SFT, BSP_SYM, CTL_DEL, KC_ENT, ALT_ENT, SPC_NAV, TAB_SFT, MO_FN, KC_RALT, KC_RGUI, KC_RCTL | ||
44 | ), | ||
45 | |||
46 | |||
47 | [L_GAMING] = LAYOUT_ortho_5x15( | ||
48 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_MINS, KC_GRV, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | ||
49 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LBRC, KC_BSLS, KC_RBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_QUOT, | ||
50 | KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_HOME, KC_DEL, KC_PGUP, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, | ||
51 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_END, KC_UP, KC_PGDN, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, | ||
52 | KC_LCTL, KC_LCTL, KC_LALT, KC_LSFT, KC_SPC, KC_LALT, KC_LEFT, KC_DOWN, KC_RGHT, KC_BSPC, KC_SPC, MO_FN, KC_RALT, KC_RGUI, KC_RCTL | ||
53 | ), | ||
54 | |||
55 | |||
56 | // [L_QWERTY] = LAYOUT_ortho_5x15( | ||
57 | // KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_MINS, KC_GRV, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | ||
58 | // KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LBRC, KC_BSLS, KC_RBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_QUOT, | ||
59 | // KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_HOME, KC_DEL, KC_PGUP, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, | ||
60 | // KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_END, KC_UP, KC_PGDN, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, | ||
61 | // KC_LCTL, KC_LGUI, KC_LALT, MO(_FN), KC_SPC, KC_SPC, KC_LEFT, KC_DOWN, KC_RGHT, KC_SPC, KC_SPC, MO(_FN), KC_RALT, KC_RGUI, KC_RCTL | ||
62 | // ), | ||
63 | |||
64 | |||
65 | // [L_CURSOR] = LAYOUT_ortho_5x15( | ||
66 | // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
67 | // _______, _______, _______, _______, _______, _______, _______, _______, _______, OS_SALL, OS_COPY, OS_PAST, OS_CUT, OS_UNDO, _______, | ||
68 | // _______, KC_LGUI, KC_LALT, KC_LSFT, KC_LCTL, _______, _______, _______, SEARCH, SALTTAB, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, | ||
69 | // _______, KC_RGUI, KC_RALT, KC_RSFT, KC_RCTL, _______, _______, _______, _______, OS_FIND, KC_HOME, KC_PGDN, KC_PGUP, KC_END, _______, | ||
70 | // _______, _______, _______, _______, _______, ooooooo, _______, _______, _______, SPC_NAV, _______, _______, _______, _______, _______ | ||
71 | // ), | ||
72 | |||
73 | |||
74 | [L_NUMBERS] = LAYOUT_ortho_5x15( | ||
75 | _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_NLCK, _______, _______, _______, _______, _______, | ||
76 | _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HASH, KC_P7, KC_P8, KC_P9, KC_PSLS, SFT_TAB, | ||
77 | _______, KC_LGUI, KC_LALT, KC_LSFT, KC_LCTL, _______, _______, _______, _______, KC_PPLS, KC_P4, KC_P5, KC_P6, KC_PAST, KC_TAB, | ||
78 | _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PMNS, KC_P1, KC_P2, KC_P3, KC_BSLS, KC_EQL, | ||
79 | _______, _______, _______, _______, ooooooo, _______, _______, _______, _______, _______, KC_P0, KC_P0, KC_PDOT, KC_PENT, _______ | ||
80 | ), | ||
81 | |||
82 | |||
83 | [L_SYMBOLS] = LAYOUT_ortho_5x15( | ||
84 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
85 | _______, KC_AT, KC_LT, KC_DLR, KC_GT, XXXXXXX, _______, _______, _______, XXXXXXX, KC_LBRC, KC_UNDS, KC_RBRC, XXXXXXX, _______, | ||
86 | _______, KC_BSLS, KC_LPRN, KC_DQUO, KC_RPRN, KC_HASH, _______, _______, _______, KC_PERC, KC_LCBR, KC_EQL, KC_RCBR, KC_PIPE, _______, | ||
87 | _______, KC_EXLM, KC_COLN, KC_ASTR, KC_PLUS, XXXXXXX, _______, _______, _______, XXXXXXX, KC_AMPR, KC_CIRC, KC_TILD, KC_GRV, _______, | ||
88 | _______, _______, _______, _______, _______, ooooooo, _______, _______, _______, ooooooo, _______, _______, _______, _______, _______ | ||
89 | ), | ||
90 | |||
91 | |||
92 | [L_NAVIGATION] = LAYOUT_ortho_5x15( | ||
93 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
94 | _______, OS_UNDO, OS_CUT, OS_PAST, OS_COPY, OS_SALL, _______, _______, _______, KC_PGUP, KC_HOME, KC_UP, KC_END, KC_DEL, _______, | ||
95 | _______, KC_LGUI, KC_LALT, KC_LSFT, KC_LCTL, _______, _______, _______, _______, KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, KC_BSPC, _______, | ||
96 | _______, WIN_V, _______, _______, OS_FIND, SEARCH, _______, _______, _______, _______, SFT_TAB, KC_TAB, KC_APP, KC_PSCR, _______, | ||
97 | _______, _______, _______, _______, _______, ooooooo, _______, _______, _______, ooooooo, _______, _______, _______, _______, _______ | ||
98 | ), | ||
99 | |||
100 | |||
101 | [L_FN] = LAYOUT_ortho_5x15( | ||
102 | DF_TYPE, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, MS_JIGL, _______, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, | ||
103 | DF_GAME, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, _______, _______, _______, _______, KC_VOLU, _______, _______, _______, _______, KC_F12, | ||
104 | _______, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, KC_CAPS, RESET, _______, KC_MUTE, _______, _______, _______, _______, _______, | ||
105 | _______, RGB_M_P, RGB_M_B, _______, _______, _______, _______, _______, _______, KC_VOLD, K_SECR1, K_SECR2, K_SECR3, K_SECR4, _______, | ||
106 | _______, _______, _______, ooooooo, _______, _______, _______, _______, _______, _______, _______, ooooooo, _______, _______, _______ | ||
107 | ), | ||
108 | |||
109 | |||
110 | [L_MACROS] = LAYOUT_ortho_5x15( | ||
111 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
112 | _______, QK_MAKE, _______, DM_REC2, DM_REC1, _______, _______, _______, _______, _______, SHEBANG, _______, _______, _______, _______, | ||
113 | _______, QK_FLSH, _______, DM_PLY2, DM_PLY1, DM_RSTP, _______, _______, _______, PRG_NE, PRG_EQ, PRG_GEQ, PRG_LEQ, PRG_ARR, _______, | ||
114 | _______, QK_VERS, _______, _______, _______, _______, _______, _______, _______, _______, PS_ITEM, FS_PIPE, _______, FS_ARR, _______, | ||
115 | _______, _______, _______, _______, ooooooo, _______, _______, _______, _______, ooooooo, _______, _______, _______, _______, _______ | ||
116 | ) | ||
117 | |||
118 | // [_FN] = LAYOUT_ortho_5x15( /* FUNCTION */ | ||
119 | // _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_NLCK, KC_SLSH, KC_ASTR, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, | ||
120 | // KC_MSEL, KC_CALC, KC_MYCM, KC_MAIL, RGB_HUD, RGB_HUI, KC_P7, KC_P8, KC_P9, KC_MINS, _______, _______, KC_PSCR, KC_SLCK, KC_F12, | ||
121 | // KC_MPRV, KC_MPLY, KC_MNXT, KC_MSTP, RGB_SAD, RGB_SAI, KC_P4, KC_P5, KC_P6, KC_PLUS, _______, RESET, _______, _______, _______, | ||
122 | // KC_VOLD, KC_MUTE, KC_VOLU, KC_APP, RGB_VAD, RGB_VAI, KC_P1, KC_P2, KC_P3, KC_PENT, _______, _______, _______, _______, _______, | ||
123 | // _______, _______, RGB_TOG, ooooooo, RGB_RMOD,RGB_MOD, KC_P0, _______, KC_PDOT, KC_PENT, KC_PENT, ooooooo, _______, _______, _______ | ||
124 | // ) | ||
125 | |||
126 | // // Template | ||
127 | // [_LAYER] = LAYOUT_ortho_5x15( | ||
128 | // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
129 | // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
130 | // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
131 | // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
132 | // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
133 | // ), | ||
134 | }; | ||
135 | |||
136 | layer_state_t layer_state_set_user(layer_state_t state) { | ||
137 | return update_tri_layer_state(state, L_SYMBOLS, L_NAVIGATION, L_MACROS); | ||
138 | } | ||
diff --git a/keyboards/xiudi/xd75/keymaps/replicajunction/readme.md b/keyboards/xiudi/xd75/keymaps/replicajunction/readme.md new file mode 100644 index 000000000..980a2f727 --- /dev/null +++ b/keyboards/xiudi/xd75/keymaps/replicajunction/readme.md | |||
@@ -0,0 +1,5 @@ | |||
1 | # replicaJunction - XD75 layout | ||
2 | |||
3 | As a longtime ortho user, I prefer the "pseudo-split" keymap, where the center 3 columns are used for other purposes. This leaves 6 columns on each side to used like a split Preonic. | ||
4 | |||
5 | Most of the goodies in this layout are defined in [my userspace folder](../../../../users/replicaJunction/readme.md). Better explanations of the interesting features are provided there. | ||
diff --git a/keyboards/xiudi/xd75/keymaps/replicajunction/rules.mk b/keyboards/xiudi/xd75/keymaps/replicajunction/rules.mk new file mode 100644 index 000000000..7e0b3c9ca --- /dev/null +++ b/keyboards/xiudi/xd75/keymaps/replicajunction/rules.mk | |||
@@ -0,0 +1,29 @@ | |||
1 | # Userspace options | ||
2 | USER_CAPS_WORD_ENABLE = yes | ||
3 | USER_MOUSE_JIGGLE_ENABLE = yes | ||
4 | USER_NUM_WORD_ENABLE = yes | ||
5 | USER_SECRETS_ENABLE = yes | ||
6 | USER_SUPER_ALT_TAB_ENABLE = yes | ||
7 | |||
8 | DYNAMIC_MACRO_ENABLE = yes | ||
9 | |||
10 | # Extra features that are nice but takes space. Enable only if they're | ||
11 | # used in the layout. | ||
12 | WPM_ENABLE = no | ||
13 | # EXTRAKEY_ENABLE = no # For volume keys and similar | ||
14 | # MOUSEKEY_ENABLE = no # Them mouse keys yo | ||
15 | KEY_OVERRIDE_ENABLE = no | ||
16 | LEADER_ENABLE = no | ||
17 | TAP_DANCE_ENABLE = no | ||
18 | # RGBLIGHT_ENABLE = no # Keyboard RGB underglow | ||
19 | RGB_MATRIX_ENABLE = no | ||
20 | |||
21 | # Features I definitely don't care aboud | ||
22 | LTO_ENABLE = yes | ||
23 | CONSOLE_ENABLE = no | ||
24 | VERBOSE = no | ||
25 | DEBUG_MATRIX_SCAN_RATE = no | ||
26 | DEBUG_MATRIX = no | ||
27 | MAGIC_ENABLE = no | ||
28 | SPACE_CADET_ENABLE = no | ||
29 | GRAVE_ESC_ENABLE = no | ||