diff options
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/community/ergodox/adnw_p_u_q/config.h | 9 | ||||
| -rw-r--r-- | layouts/community/ergodox/adnw_p_u_q/keymap.c | 335 | ||||
| -rw-r--r-- | layouts/community/ergodox/adnw_p_u_q/readme.md | 17 | ||||
| -rw-r--r-- | layouts/community/ergodox/adnw_p_u_q/visualizer.c | 34 |
4 files changed, 395 insertions, 0 deletions
diff --git a/layouts/community/ergodox/adnw_p_u_q/config.h b/layouts/community/ergodox/adnw_p_u_q/config.h new file mode 100644 index 000000000..b1170aa78 --- /dev/null +++ b/layouts/community/ergodox/adnw_p_u_q/config.h | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | // This is the ideal value for me but find your own | ||
| 4 | #undef TAPPING_TERM | ||
| 5 | #define TAPPING_TERM 145 | ||
| 6 | |||
| 7 | // more options here: https://docs.qmk.fm/config_options.html | ||
| 8 | #define FORCE_NKRO | ||
| 9 | #define PERMISSIVE_HOLD // tab/hold-Keys should work better with that | ||
diff --git a/layouts/community/ergodox/adnw_p_u_q/keymap.c b/layouts/community/ergodox/adnw_p_u_q/keymap.c new file mode 100644 index 000000000..a90fcbc2c --- /dev/null +++ b/layouts/community/ergodox/adnw_p_u_q/keymap.c | |||
| @@ -0,0 +1,335 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | #include "keymap_german.h" | ||
| 3 | |||
| 4 | |||
| 5 | #define BASE 0 // default layer / VIM | ||
| 6 | #define ARW 1 // arrow layer / Terminal | ||
| 7 | #define DIAK 2 // diakritika layer | ||
| 8 | #define BRACK 3 // brackets layer | ||
| 9 | #define SYMBOLS 4 // symbols | ||
| 10 | #define MEDIA 5 // media keys / Mouse-Navigation | ||
| 11 | |||
| 12 | |||
| 13 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 14 | /* Keymap 0: Basic layer / VIM | ||
| 15 | * ,--------------------------------------------------. ,--------------------------------------------------. | ||
| 16 | * | | 1 | 2 | 3 | 4 | 5 | | | | 6 | 7 | 8 | 9 | 0 | Media | | ||
| 17 | * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| | ||
| 18 | * | | P | U | Dia-L| , | Q | | | | V | C | L | M | B | | | ||
| 19 | * |--------+------+------+------+------+------| G | | gg |------+------+------+------+------+--------| | ||
| 20 | * | Symbols| H | I | E | A | O |------| |------| D | T | R | N | S | ARW | | ||
| 21 | * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| | ||
| 22 | * | LShift | K | Y | . | ' | X |str-D | |str-U | J | G | Z | W | F | RShift | | ||
| 23 | * * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' | ||
| 24 | * | Ctrl | Alt | | | | | H | J | K | L | Ctrl | | ||
| 25 | * `----------------------------------' `----------------------------------' | ||
| 26 | * LShift is Tab on Click | ||
| 27 | * | ||
| 28 | * ,-------------. ,-------------. | ||
| 29 | * | ^ | / | | ? | $ | | ||
| 30 | * ,------|------|------| |------+--------+------. | ||
| 31 | * | | |str+a | |str+c | | | | ||
| 32 | * | Brack| Space|------| |------| Enter |BSpace| | ||
| 33 | * | -Lay |/shift| Tab/ | | | | | | ||
| 34 | * | | | GUI | | ESC | | | | ||
| 35 | * `--------------------' `----------------------' | ||
| 36 | * GUI is one shot | ||
| 37 | * str + a is for tmux etc. | ||
| 38 | * str + c is for stopping programs | ||
| 39 | */ | ||
| 40 | [BASE] = LAYOUT_ergodox( // layer 0 : default | ||
| 41 | // left hand | ||
| 42 | KC_NO, KC_1, KC_2, KC_3, KC_4, KC_5, KC_NO, | ||
| 43 | TG(SYMBOLS), DE_P, DE_U, OSL(DIAK), DE_COMM, DE_Q, LSFT(DE_G), | ||
| 44 | OSL(SYMBOLS), DE_H, DE_I, DE_E, DE_A, DE_O, | ||
| 45 | SFT_T(KC_TAB), DE_K, DE_Y, DE_DOT, DE_QUOT, DE_X, LCTL(DE_D), | ||
| 46 | KC_LCTRL, KC_LALT, KC_NO, KC_NO, KC_NO, | ||
| 47 | |||
| 48 | |||
| 49 | // left hand thumb-cluster | ||
| 50 | DE_CIRC, DE_SLSH, | ||
| 51 | LCTL(DE_A), | ||
| 52 | OSL(BRACK), SFT_T(KC_SPACE), GUI_T(KC_TAB), | ||
| 53 | |||
| 54 | |||
| 55 | // right hand | ||
| 56 | KC_NO, KC_6, KC_7, KC_8, KC_9, KC_0, TG(MEDIA), | ||
| 57 | DE_G, DE_V, DE_C, DE_L, DE_M, DE_B, KC_NO, | ||
| 58 | DE_D, DE_T, DE_R, DE_N, DE_S, TG(ARW), | ||
| 59 | LCTL(DE_U), DE_J, DE_G, DE_Z, DE_W, DE_F, KC_RSFT, | ||
| 60 | KC_H, KC_J, KC_K, KC_L, KC_RCTRL, | ||
| 61 | |||
| 62 | // right thumb-cluster | ||
| 63 | DE_QST, DE_DLR, | ||
| 64 | LCTL(DE_C), | ||
| 65 | KC_ESCAPE, KC_ENTER, KC_BSPACE | ||
| 66 | ), | ||
| 67 | |||
| 68 | |||
| 69 | /* Keymap 1: Arrow Layer / Terminal | ||
| 70 | * | ||
| 71 | * ,--------------------------------------------------. ,--------------------------------------------------. | ||
| 72 | * | | | | | | | | | | | | | | | | | ||
| 73 | * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| | ||
| 74 | * | | | | | | | | | | | | | | | | | ||
| 75 | * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| | ||
| 76 | * | | | | | | |------| |------| | | | | | | | ||
| 77 | * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| | ||
| 78 | * | | | | | | |P-Down| |P-Up | | | | | | | | ||
| 79 | * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' | ||
| 80 | * | | | | | | | Left | Bot | Top | Right| | | ||
| 81 | * `----------------------------------' `----------------------------------' | ||
| 82 | * ,-------------. ,-------------. | ||
| 83 | * | Home | | | | End | | ||
| 84 | * ,------|------|------| |------+------+------. | ||
| 85 | * | | | | | | | | | ||
| 86 | * | | |------| |------| | | | ||
| 87 | * | | | | | | | | | ||
| 88 | * `--------------------' `--------------------' | ||
| 89 | */ | ||
| 90 | // Arrows | ||
| 91 | [ARW] = LAYOUT_ergodox( | ||
| 92 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 93 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 94 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 95 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGDOWN, | ||
| 96 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 97 | KC_HOME, KC_TRNS, | ||
| 98 | KC_TRNS, | ||
| 99 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 100 | |||
| 101 | // right hand | ||
| 102 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 103 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 104 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 105 | KC_PGUP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 106 | KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_TRNS, | ||
| 107 | KC_TRNS, KC_END, | ||
| 108 | KC_TRNS, | ||
| 109 | KC_TRNS, KC_TRNS, KC_TRNS | ||
| 110 | ), | ||
| 111 | |||
| 112 | |||
| 113 | /* Keymap 2: Diakritika Layer | ||
| 114 | * | ||
| 115 | * ,--------------------------------------------------. ,--------------------------------------------------. | ||
| 116 | * | | | | | | | | | | | | | | | | | ||
| 117 | * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| | ||
| 118 | * | | | Ü | | | | | | | | | | | | | | ||
| 119 | * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| | ||
| 120 | * | | | | | Ä | Ö |------| |------| | | | | ß | | | ||
| 121 | * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| | ||
| 122 | * | | | | | | | | | | | | | | | | | ||
| 123 | * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' | ||
| 124 | * | | | | | | | | | | | | | ||
| 125 | * `----------------------------------' `----------------------------------' | ||
| 126 | * ,-------------. ,-------------. | ||
| 127 | * | | | | | | | ||
| 128 | * ,------|------|------| |------+------+------. | ||
| 129 | * | | | | | | | | | ||
| 130 | * | | |------| |------| | | | ||
| 131 | * | | | | | | | | | ||
| 132 | * `--------------------' `--------------------' | ||
| 133 | */ | ||
| 134 | // Diakritika | ||
| 135 | [DIAK] = LAYOUT_ergodox( | ||
| 136 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 137 | KC_TRNS, KC_TRNS, DE_UE, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 138 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, DE_AE, DE_OE, | ||
| 139 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 140 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 141 | KC_TRNS, KC_TRNS, | ||
| 142 | KC_TRNS, | ||
| 143 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 144 | |||
| 145 | // right hand | ||
| 146 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 147 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 148 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, DE_SS, KC_TRNS, | ||
| 149 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 150 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 151 | KC_TRNS, KC_TRNS, | ||
| 152 | KC_TRNS, | ||
| 153 | KC_TRNS, KC_TRNS, KC_TRNS | ||
| 154 | ), | ||
| 155 | |||
| 156 | |||
| 157 | /* Keymap 3: Brackets Layer | ||
| 158 | * | ||
| 159 | * ,--------------------------------------------------. ,--------------------------------------------------. | ||
| 160 | * | | | | | | | | | | | | | | | | | ||
| 161 | * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| | ||
| 162 | * | | | | | | | | | | | | | | | | | ||
| 163 | * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| | ||
| 164 | * | | | ( | { | [ | |------| |------| | ] | } | ) | | | | ||
| 165 | * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| | ||
| 166 | * | | | | | | | | | | | | | | | | | ||
| 167 | * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' | ||
| 168 | * | | | | | | | | | | | | | ||
| 169 | * `----------------------------------' `----------------------------------' | ||
| 170 | * ,-------------. ,-------------. | ||
| 171 | * | | | | | | | ||
| 172 | * ,------|------|------| |------+------+------. | ||
| 173 | * | | | | | | | | | ||
| 174 | * | | |------| |------| | | | ||
| 175 | * | | | | | | | | | ||
| 176 | * `--------------------' `--------------------' | ||
| 177 | */ | ||
| 178 | // BRACK | ||
| 179 | [BRACK] = LAYOUT_ergodox( | ||
| 180 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 181 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 182 | KC_TRNS, KC_TRNS, DE_LPRN, DE_LCBR, DE_LBRC, KC_TRNS, | ||
| 183 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 184 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 185 | KC_TRNS, KC_TRNS, | ||
| 186 | KC_TRNS, | ||
| 187 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 188 | |||
| 189 | // right hand | ||
| 190 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 191 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 192 | KC_TRNS, DE_RBRC, DE_RCBR, DE_RPRN, KC_TRNS, KC_TRNS, | ||
| 193 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 194 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 195 | KC_TRNS, KC_TRNS, | ||
| 196 | KC_TRNS, | ||
| 197 | KC_TRNS, KC_TRNS, KC_TRNS | ||
| 198 | ), | ||
| 199 | |||
| 200 | |||
| 201 | /* Keymap 4: Symbol Layer | ||
| 202 | * | ||
| 203 | * | ||
| 204 | * Original: | ||
| 205 | * ,--------------------------------------------------. ,--------------------------------------------------. | ||
| 206 | * | | F1 | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | F12 | | | ||
| 207 | * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| | ||
| 208 | * | | ² | ° | ~ | @ | ! | | | | ? | & | § | " | ³ | | | ||
| 209 | * |--------+------+------+------+------+------| ( | | ) |------+------+------+------+------+--------| | ||
| 210 | * | | ´ | ' | : | ^ | < |------| |------| > | $ | ; | | | ` | | | ||
| 211 | * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| | ||
| 212 | * | | € | + | = | * | / | { | | } | \ | % | # | - | _ | | | ||
| 213 | * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' | ||
| 214 | * | | | | | | | | | | | | | ||
| 215 | * `----------------------------------' `----------------------------------' | ||
| 216 | */ | ||
| 217 | // SYMBOLS | ||
| 218 | [SYMBOLS] = LAYOUT_ergodox( | ||
| 219 | // left hand | ||
| 220 | KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, //DE_LBRC, | ||
| 221 | KC_TRNS,DE_SQ2, DE_RING, DE_TILD, DE_AT, DE_EXLM, DE_LPRN, | ||
| 222 | KC_TRNS,DE_ACUT,DE_QUOT, DE_COLN, DE_CIRC, DE_LESS, | ||
| 223 | KC_TRNS,DE_EURO,DE_PLUS, DE_EQL, DE_ASTR, DE_SLSH, DE_LCBR, | ||
| 224 | KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, | ||
| 225 | |||
| 226 | KC_TRNS,KC_TRNS, | ||
| 227 | KC_TRNS, | ||
| 228 | KC_TRNS,KC_TRNS,KC_TRNS, | ||
| 229 | |||
| 230 | // right hand | ||
| 231 | //DE_RBRC, | ||
| 232 | KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, | ||
| 233 | DE_RPRN, DE_QST, DE_AMPR, DE_PARA, DE_DQOT, DE_SQ3, KC_TRNS, | ||
| 234 | DE_MORE, DE_DLR, DE_SCLN, DE_PIPE, DE_GRV, KC_TRNS, | ||
| 235 | DE_RCBR, DE_BSLS, DE_PERC, DE_HASH, DE_MINS, DE_UNDS, KC_TRNS, | ||
| 236 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 237 | |||
| 238 | KC_TRNS, KC_TRNS, | ||
| 239 | KC_TRNS, | ||
| 240 | KC_TRNS, KC_TRNS, KC_TRNS | ||
| 241 | ), | ||
| 242 | |||
| 243 | /* Keymap 5: Numbers | ||
| 244 | * | ||
| 245 | * ,--------------------------------------------------. ,--------------------------------------------------. | ||
| 246 | * | | | | | | | | | | | | Num | / | * | - | | ||
| 247 | * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| | ||
| 248 | * | | | | | | | | | | | | 7 | 8 | 9 | + | | ||
| 249 | * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| | ||
| 250 | * | | | | | | |------| |------| | | 4 | 5 | 6 | + | | ||
| 251 | * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| | ||
| 252 | * | | | | | | | | | | | | 1 | 2 | 3 | Enter | | ||
| 253 | * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' | ||
| 254 | * | | | | | | | 0 | , | | | Enter| | ||
| 255 | * `----------------------------------' `----------------------------------' | ||
| 256 | * ,-------------. ,-------------. | ||
| 257 | * | | | | | | | ||
| 258 | * ,------|------|------| |------+------+------. | ||
| 259 | * | | | | | | | | | ||
| 260 | * | | |------| |------| | | | ||
| 261 | * | | | | | | | | | ||
| 262 | * `--------------------' `--------------------' | ||
| 263 | // NUMBERS | ||
| 264 | [NUMBERS] = LAYOUT_ergodox( | ||
| 265 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 266 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 267 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 268 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 269 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 270 | KC_TRNS, KC_TRNS, | ||
| 271 | KC_TRNS, | ||
| 272 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 273 | |||
| 274 | // right hand | ||
| 275 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 276 | KC_TRNS, KC_TRNS, KC_TRNS, KC_7, KC_8, KC_9, KC_TRNS, | ||
| 277 | KC_TRNS, KC_TRNS, KC_4, KC_5, KC_8, KC_TRNS, | ||
| 278 | KC_TRNS, KC_TRNS, KC_TRNS, KC_1, KC_2, KC_3, KC_TRNS, | ||
| 279 | KC_0, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 280 | KC_TRNS, KC_TRNS, | ||
| 281 | KC_TRNS, | ||
| 282 | KC_TRNS, KC_TRNS, KC_TRNS | ||
| 283 | ), | ||
| 284 | |||
| 285 | |||
| 286 | */ | ||
| 287 | |||
| 288 | /* Keymap 6: Media and mouse keys | ||
| 289 | * | ||
| 290 | * ,--------------------------------------------------. ,--------------------------------------------------. | ||
| 291 | * | | | | | | | | | | | | | | | | | ||
| 292 | * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| | ||
| 293 | * | | Sleep| | | | | | | | | | | | | | | ||
| 294 | * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| | ||
| 295 | * | | Wake | | | | |------| |------| |MsLeft|MsDown| MsUp |MsRght| | | ||
| 296 | * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| | ||
| 297 | * | | | | | | | | | | | | | | | | | ||
| 298 | * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' | ||
| 299 | * | | | Mute| VolDn| VolUp| | Play| Prev | Next | Stop | | | ||
| 300 | * `----------------------------------' `----------------------------------' | ||
| 301 | * ,-------------. ,-------------. | ||
| 302 | * | | | | | | | ||
| 303 | * ,------|------|------| |------+------+------. | ||
| 304 | * | | | | | | | | | ||
| 305 | * | | Lclk|------| |------|Rclk | | | ||
| 306 | * | | | | | | | | | ||
| 307 | * `--------------------' `--------------------' | ||
| 308 | */ | ||
| 309 | // MEDIA AND MOUSE | ||
| 310 | [MEDIA] = LAYOUT_ergodox( | ||
| 311 | KC_TRNS, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
| 312 | KC_TRNS, KC_SLEP, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
| 313 | KC_TRNS, KC_WAKE, KC_NO, KC_NO, KC_NO, KC_TRNS, | ||
| 314 | KC_TRNS, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
| 315 | KC_TRNS, KC_TRNS, KC_MUTE, KC_VOLD, KC_VOLU, | ||
| 316 | KC_TRNS, KC_TRNS, | ||
| 317 | KC_TRNS, | ||
| 318 | KC_TRNS, KC_BTN1, KC_TRNS, | ||
| 319 | // right hand | ||
| 320 | KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, | ||
| 321 | KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, | ||
| 322 | KC_TRNS, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, KC_TRNS, | ||
| 323 | KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, | ||
| 324 | KC_MPLY, KC_MPRV, KC_MNXT, KC_MSTP, KC_TRNS, | ||
| 325 | KC_TRNS, KC_TRNS, | ||
| 326 | KC_TRNS, | ||
| 327 | KC_TRNS, KC_BTN2, KC_TRNS | ||
| 328 | ), | ||
| 329 | }; | ||
| 330 | |||
| 331 | // Runs constantly in the background, in a loop. | ||
| 332 | void matrix_scan_user_keyboard(void) { | ||
| 333 | ergodox_board_led_on(); | ||
| 334 | ergodox_led_all_on(); | ||
| 335 | } | ||
diff --git a/layouts/community/ergodox/adnw_p_u_q/readme.md b/layouts/community/ergodox/adnw_p_u_q/readme.md new file mode 100644 index 000000000..dc914a0aa --- /dev/null +++ b/layouts/community/ergodox/adnw_p_u_q/readme.md | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | This is a fork of the adnw_k_o_y-Layout | ||
| 2 | |||
| 3 | Features: | ||
| 4 | - Diakritika-Layer for ADNW-PUQ-Layout | ||
| 5 | - all basic-symbols of the german-layout can be found in the Symbol- and Diakritika-Layer | ||
| 6 | - Symbol-Layer: Symbols are mirrored -- left = < and right = > | ||
| 7 | - Basic-Layer-Keys which always be present in any Layer and allow the movement between layers | ||
| 8 | - HJKL-Keys and Arrow-Keys can be switched, necessary for working with a terminal and vim | ||
| 9 | - Number-Layer for Numpad-Emulation | ||
| 10 | - Brackets-Layer for easier programming | ||
| 11 | - Media-Layer for Mouse-Navigation | ||
| 12 | |||
| 13 | Notes: | ||
| 14 | - adnw is a layout optimised for usage with german and english language | ||
| 15 | - PUQ is a variant of adnw: http://www.adnw.de/index.php?n=Main.OptimierungF%C3%BCrDieGeradeTastaturMitDaumen-Shift | ||
| 16 | - This implementation is optimised for my workflow with vim/tmux/xmonad and ergodox | ||
| 17 | - The OS must use the de_DE layout | ||
diff --git a/layouts/community/ergodox/adnw_p_u_q/visualizer.c b/layouts/community/ergodox/adnw_p_u_q/visualizer.c new file mode 100644 index 000000000..9a4d48538 --- /dev/null +++ b/layouts/community/ergodox/adnw_p_u_q/visualizer.c | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | /* | ||
| 2 | Note: this is a modified copy of ../default/visualizer.c, originally licensed GPL. | ||
| 3 | */ | ||
| 4 | |||
| 5 | #include "simple_visualizer.h" | ||
| 6 | |||
| 7 | // This function should be implemented by the keymap visualizer | ||
| 8 | // Don't change anything else than state->target_lcd_color and state->layer_text as that's the only thing | ||
| 9 | // that the simple_visualizer assumes that you are updating | ||
| 10 | // Also make sure that the buffer passed to state->layer_text remains valid until the previous animation is | ||
| 11 | // stopped. This can be done by either double buffering it or by using constant strings | ||
| 12 | static void get_visualizer_layer_and_color(visualizer_state_t* state) { | ||
| 13 | |||
| 14 | if (state->status.layer & 0x20) { | ||
| 15 | state->target_lcd_color = LCD_COLOR(127, 0xFF, 0xFF); | ||
| 16 | state->layer_text = "Mouse"; | ||
| 17 | } else if (state->status.layer & 0x10) { | ||
| 18 | state->target_lcd_color = LCD_COLOR(85, 0xFF, 0xFF); | ||
| 19 | state->layer_text = "Symbol"; | ||
| 20 | } else if (state->status.layer & 0x8) { | ||
| 21 | state->target_lcd_color = LCD_COLOR(64, 0xFF, 0xFF); | ||
| 22 | state->layer_text = "Brackets"; | ||
| 23 | } else if (state->status.layer & 0x4) { | ||
| 24 | state->target_lcd_color = LCD_COLOR(42, 0xFF, 0xFF); | ||
| 25 | state->layer_text = "Diak"; | ||
| 26 | } else if (state->status.layer & 0x2) { | ||
| 27 | state->target_lcd_color = LCD_COLOR(21, 0xFF, 0xFF); | ||
| 28 | state->layer_text = "Terminal"; | ||
| 29 | } else { | ||
| 30 | state->target_lcd_color = LCD_COLOR(192, 0xFF, 0xFF); | ||
| 31 | state->layer_text = "Vim"; | ||
| 32 | } | ||
| 33 | } | ||
| 34 | |||
