From 2eb9ff8efd1df2c98724481c71c8ab8a5b62e31e Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sun, 18 Feb 2024 08:20:57 +0000 Subject: [PATCH] Remove obvious user keymaps, keyboards/{i,j,k}* edition (#23102) --- .../gon/nerdtkl/keymaps/gam3cat/config.h | 10 - .../gon/nerdtkl/keymaps/gam3cat/keymap.c | 261 ------ .../gon/nerdtkl/keymaps/gam3cat/readme.md | 114 --- .../gon/nerdtkl/keymaps/gam3cat/rules.mk | 23 - .../hineybush/h87a/keymaps/gam3cat/config.h | 10 - .../hineybush/h87a/keymaps/gam3cat/keymap.c | 293 ------- .../hineybush/h87a/keymaps/gam3cat/readme.md | 114 --- .../hineybush/h87a/keymaps/gam3cat/rules.mk | 22 - keyboards/hotdox/keymaps/eozaki/keymap.c | 192 ---- .../ashpil_usbc/keymaps/ashpil/config.h | 23 - .../ashpil_usbc/keymaps/ashpil/keymap.c | 47 - .../ashpil_usbc/keymaps/ashpil/rules.mk | 1 - .../model_m/teensypp/keymaps/iw0rm3r/keymap.c | 27 - .../teensypp/keymaps/iw0rm3r/readme.md | 5 - .../yugo_m/keymaps/an_achronism_106/keymap.c | 53 -- .../yugo_m/keymaps/an_achronism_106/readme.md | 3 - .../ibm122m/keymaps/andresteare/keymap.c | 29 - .../teensypp_ssk/keymaps/tiltowait/config.h | 21 - .../teensypp_ssk/keymaps/tiltowait/keymap.c | 116 --- .../teensypp_ssk/keymaps/tiltowait/readme.md | 11 - .../ibnuda/alicia_cook/keymaps/rick/config.h | 21 - .../ibnuda/alicia_cook/keymaps/rick/keymap.c | 246 ------ .../ibnuda/alicia_cook/keymaps/rick/readme.md | 1 - .../ibnuda/alicia_cook/keymaps/rick/rules.mk | 2 - .../keymaps/rick-complicated/config.h | 6 - .../keymaps/rick-complicated/keymap.c | 188 ---- .../keymaps/rick-complicated/readme.md | 3 - .../keymaps/rick-complicated/rules.mk | 2 - .../ibnuda/squiggle/keymaps/rick/config.h | 4 - .../ibnuda/squiggle/keymaps/rick/keymap.c | 178 ---- .../ibnuda/squiggle/keymaps/rick/readme.md | 3 - .../ibnuda/squiggle/keymaps/rick/rules.mk | 1 - keyboards/idb/idb_60/keymaps/pngu/keymap.c | 27 - .../idobao/id67/keymaps/thewerther/config.h | 82 -- .../idobao/id67/keymaps/thewerther/keymap.c | 42 - .../idobao/id67/keymaps/thewerther/rules.mk | 2 - .../id67/keymaps/vinorodrigues/config.h | 74 -- .../id67/keymaps/vinorodrigues/keymap.c | 272 ------ .../id67/keymaps/vinorodrigues/rules.mk | 3 - .../keyboard-layout-editor-gsm-idobo.json | 190 ---- .../id75/v1/keymaps/greenshadowmaker/keymap.c | 128 --- .../v1/keymaps/greenshadowmaker/readme.md | 5 - .../id75/v1/keymaps/greenshadowmaker/rules.mk | 3 - .../idobao/id80/v2/ansi/keymaps/msf/config.h | 23 - .../idobao/id80/v2/ansi/keymaps/msf/keymap.c | 59 -- .../idobao/id80/v2/ansi/keymaps/msf/readme.md | 4 - .../idobao/id80/v2/ansi/keymaps/msf/rules.mk | 1 - .../is0/keymaps/ctrlaltdel/keymap.c | 22 - .../is0/keymaps/ctrlaltdel/readme.md | 3 - keyboards/illusion/rosa/keymaps/oggi/keymap.c | 40 - .../illusion/rosa/keymaps/oggi/readme.md | 1 - .../keymaps/nordic_ergo/keymap.c | 243 ----- .../keymaps/nordic_ergo/readme.md | 9 - .../keymaps/trulyergonomic/README.md | 3 - .../keymaps/trulyergonomic/keymap.c | 159 ---- .../infinity60/keymaps/depariel/keymap.c | 87 -- .../k_type/keymaps/andrew-fahmy/config.h | 20 - .../k_type/keymaps/andrew-fahmy/keymap.c | 60 -- .../k_type/keymaps/andrew-fahmy/rules.mk | 1 - .../whitefox/keymaps/matt3o/keymap.c | 95 -- .../whitefox/keymaps/mattrighetti/keymap.c | 81 -- .../whitefox/keymaps/mattrighetti/rules.mk | 10 - .../whitefox/keymaps/truefox/keymap.c | 60 -- keyboards/jc65/v32u4/keymaps/coth/keymap.c | 25 - keyboards/jc65/v32u4/keymaps/coth/readme.md | 14 - .../v32u4/keymaps/dead_encryption/keymap.c | 35 - .../v32u4/keymaps/dead_encryption/readme.md | 10 - keyboards/jc65/v32u4/keymaps/gam3cat/config.h | 10 - keyboards/jc65/v32u4/keymaps/gam3cat/keymap.c | 258 ------ .../jc65/v32u4/keymaps/gam3cat/readme.md | 105 --- keyboards/jc65/v32u4/keymaps/gam3cat/rules.mk | 21 - .../jc65/v32u4/keymaps/na7thana/keymap.c | 18 - .../jc65/v32u4/keymaps/na7thana/readme.md | 10 - keyboards/jd40/keymaps/vanagon/README.md | 17 - keyboards/jd40/keymaps/vanagon/config.h | 13 - keyboards/jd40/keymaps/vanagon/keymap.c | 26 - keyboards/jd45/keymaps/mjt6u/config.h | 3 - keyboards/jd45/keymaps/mjt6u/keymap.c | 153 ---- keyboards/jd45/keymaps/mjt6u/readme.md | 23 - keyboards/jd45/keymaps/mjt6u/rules.mk | 20 - .../binary_monkey/keymaps/ascii/keymap.c | 70 -- keyboards/jm60/keymaps/poker3/keymap.c | 24 - .../hub16/keymaps/peepeetee/config.h | 45 - .../hub16/keymaps/peepeetee/keymap.c | 209 ----- .../hub16/keymaps/peepeetee/rules.mk | 1 - keyboards/junco/keymaps/deluxe/config.h | 58 -- keyboards/junco/keymaps/deluxe/keymap.c | 329 ------- keyboards/junco/keymaps/deluxe/readme.md | 43 - .../junco/keymaps/deluxe/rgb_matrix_user.inc | 48 - keyboards/junco/keymaps/deluxe/rules.mk | 20 - .../scythe/keymaps/forties/keymap.c | 193 ---- .../scythe/keymaps/forties/readme.md | 2 - .../kapcave/gskt00/keymaps/nachie/keymap.c | 37 - .../kapcave/paladinpad/keymaps/aek/keymap.c | 38 - .../kapcave/paladinpad/keymaps/aek/readme.md | 1 - .../hotswap/keymaps/stevanmilic/config.h | 19 - .../hotswap/keymaps/stevanmilic/keymap.c | 79 -- .../hotswap/keymaps/stevanmilic/rules.mk | 6 - .../keymaps/adamdehaven/config.h | 3 - .../keymaps/adamdehaven/keymap.c | 71 -- .../keymaps/adamdehaven/rules.mk | 1 - .../kbd67/mkiirgb/keymaps/dnsnrk/config.h | 22 - .../kbd67/mkiirgb/keymaps/dnsnrk/keymap.c | 96 -- .../kbd67/mkiirgb/keymaps/dnsnrk/readme.md | 41 - .../kemmeldev-4-layered-layout.json | 1 - .../kbd67/mkiirgb/keymaps/kemmeldev/keymap.c | 8 - .../mkiirgb/keymaps/kemmeldev/layers.json | 1 - .../kbd67/mkiirgb/keymaps/kemmeldev/readme.md | 54 -- .../mkiirgb/keymaps/pascalpfeil/config.h | 29 - .../mkiirgb/keymaps/pascalpfeil/keymap.c | 48 - .../mkiirgb/keymaps/pascalpfeil/rules.mk | 2 - .../kbd67/mkiirgb/keymaps/spx01/config.h | 41 - .../kbd67/mkiirgb/keymaps/spx01/keymap.c | 158 ---- .../kbd67/mkiirgb/keymaps/spx01/readme.md | 23 - .../mkiirgb/keymaps/spx01/rgb_matrix_user.inc | 68 -- .../kbd67/mkiirgb/keymaps/spx01/rules.mk | 4 - keyboards/kbdfans/kbd6x/keymaps/othi/config.h | 10 - keyboards/kbdfans/kbd6x/keymaps/othi/keymap.c | 189 ---- .../kbdfans/kbd6x/keymaps/othi/readme.md | 56 -- keyboards/kbdfans/kbd6x/keymaps/othi/rules.mk | 16 - .../mk2/keymaps/iracing_replay/keymap.c | 156 ---- .../mk2/keymaps/iracing_replay/readme.md | 17 - .../mk2/keymaps/iracing_replay/rules.mk | 1 - .../kbdfans/niu_mini/keymaps/planck/config.h | 29 - .../kbdfans/niu_mini/keymaps/planck/keymap.c | 261 ------ .../kbdfans/niu_mini/keymaps/planck/readme.md | 2 - .../kbdfans/tiger80/keymaps/micros24/config.h | 37 - .../kbdfans/tiger80/keymaps/micros24/keymap.c | 80 -- .../tiger80/keymaps/micros24/readme.md | 15 - .../kbdfans/tiger80/keymaps/micros24/rules.mk | 5 - keyboards/kc60/keymaps/wigguno/keymap.c | 52 -- keyboards/kc60/keymaps/wigguno/readme.md | 14 - keyboards/kc60/keymaps/wigguno/rules.mk | 19 - .../keebio/bdn9/keymaps/mousepad/config.h | 3 - .../keebio/bdn9/keymaps/mousepad/keymap.c | 82 -- .../keebio/bdn9/keymaps/mousepad/readme.md | 16 - .../keebio/bdn9/keymaps/mousepad/rules.mk | 2 - .../keebio/dsp40/keymaps/bakingpy/config.h | 19 - .../keebio/dsp40/keymaps/bakingpy/keymap.c | 214 ----- .../keebio/foldkb/keymaps/forrcaho/keymap.c | 306 ------- .../keebio/foldkb/keymaps/forrcaho/readme.md | 23 - .../keebio/foldkb/keymaps/forrcaho/rules.mk | 3 - .../keebio/fourier/keymaps/maxim/keymap.c | 45 - .../quefrency/rev2/keymaps/xeal/config.h | 40 - .../quefrency/rev2/keymaps/xeal/keymap.c | 44 - .../quefrency/rev2/keymaps/xeal/rules.mk | 4 - .../keymaps/insertsnideremarks/config.h | 18 - .../keymaps/insertsnideremarks/keymap.c | 281 ------ .../keymaps/insertsnideremarks/readme.md | 1 - .../keymaps/insertsnideremarks/rules.mk | 19 - .../rorschach/keymaps/tuesdayjohn/config.h | 18 - .../rorschach/keymaps/tuesdayjohn/keymap.c | 296 ------- .../rorschach/keymaps/tuesdayjohn/rules.mk | 19 - keyboards/keebio/sinc/keymaps/lickel/keymap.c | 65 -- .../keebio/sinc/keymaps/lickel/readme.md | 26 - keyboards/keebio/sinc/keymaps/lickel/rules.mk | 3 - .../tragicforce68/keymaps/buswerks/keymap.c | 60 -- keyboards/keebio/viterbi/keymaps/met/keymap.c | 321 ------- keyboards/keebio/viterbi/keymaps/met/rules.mk | 1 - .../mega/ansi/keymaps/jesusvallejo/keymap.c | 176 ---- .../mega/ansi/keymaps/jesusvallejo/readme.md | 9 - .../mega/ansi/keymaps/jesusvallejo/rules.mk | 1 - .../nano_slider/keymaps/midi2vol/keymap.c | 154 ---- .../nano_slider/keymaps/midi2vol/readme.md | 2 - .../atreus/keymaps/ardumont/keymap.c | 137 --- .../atreus/keymaps/ardumont/readme.md | 23 - .../atreus/keymaps/kkokdae/config.h | 26 - .../atreus/keymaps/kkokdae/keymap.c | 110 --- .../atreus/keymaps/kkokdae/readme.md | 5 - .../atreus/keymaps/kkokdae/rules.mk | 4 - .../atreus/keymaps/poweredbyporridge/config.h | 45 - .../atreus/keymaps/poweredbyporridge/keymap.c | 224 ----- .../keymaps/poweredbyporridge/readme.md | 35 - .../atreus/keymaps/poweredbyporridge/rules.mk | 7 - .../atreus/keymaps/slotthe/autocorrect_data.h | 44 - .../atreus/keymaps/slotthe/config.h | 19 - .../atreus/keymaps/slotthe/keymap.c | 328 ------- .../atreus/keymaps/slotthe/readme.md | 251 ------ .../atreus/keymaps/slotthe/rules.mk | 9 - .../model01/keymaps/tw1t611/keymap.c | 50 -- .../model01/keymaps/tw1t611/readme.md | 5 - .../q1v1/ansi/keymaps/gtg465x/README.md | 21 - .../q1v1/ansi/keymaps/gtg465x/config.h | 25 - .../q1v1/ansi/keymaps/gtg465x/keymap.c | 70 -- .../q1v1/ansi/keymaps/gtg465x/keymap_user.h | 28 - .../ansi/keymaps/gtg465x/rgb_matrix_user.c | 72 -- .../ansi/keymaps/gtg465x/rgb_matrix_user.h | 24 - .../q1v1/ansi/keymaps/gtg465x/rules.mk | 6 - .../q1v1/ansi/keymaps/mkillewald/config.h | 23 - .../q1v1/ansi/keymaps/mkillewald/keymap.c | 153 ---- .../ansi/keymaps/mkillewald/keymap_user.h | 33 - .../q1v1/ansi/keymaps/mkillewald/readme.md | 54 -- .../ansi/keymaps/mkillewald/rgb_matrix_user.c | 84 -- .../ansi/keymaps/mkillewald/rgb_matrix_user.h | 26 - .../q1v1/ansi/keymaps/mkillewald/rules.mk | 6 - .../q1v1/ansi/keymaps/teimor/config.h | 32 - .../q1v1/ansi/keymaps/teimor/keymap.c | 67 -- .../q1v1/ansi/keymaps/teimor/keymap_user.h | 48 - .../q1v1/ansi/keymaps/teimor/readme.md | 13 - .../ansi/keymaps/teimor/rgb_matrix_user.c | 92 -- .../ansi/keymaps/teimor/rgb_matrix_user.h | 25 - .../q1v1/ansi/keymaps/teimor/rules.mk | 14 - .../ansi/keymaps/teimor/tap_dance_mac_caps.c | 50 -- .../ansi/keymaps/teimor/tap_dance_mac_caps.h | 23 - .../ansi/keymaps/teimor/tap_dance_setup.c | 49 -- .../ansi/keymaps/teimor/tap_dance_setup.h | 38 - .../q1v1/ansi/keymaps/teimor/tap_dance_user.c | 28 - .../ansi/keymaps/teimor/tap_dance_win_caps.c | 50 -- .../ansi/keymaps/teimor/tap_dance_win_caps.h | 23 - .../q1v1/iso/keymaps/kubahorak/README.md | 16 - .../q1v1/iso/keymaps/kubahorak/config.h | 25 - .../q1v1/iso/keymaps/kubahorak/keymap.c | 66 -- .../q1v1/iso/keymaps/kubahorak/keymap_user.h | 28 - .../iso/keymaps/kubahorak/rgb_matrix_user.c | 76 -- .../iso/keymaps/kubahorak/rgb_matrix_user.h | 24 - .../q1v1/iso/keymaps/kubahorak/rules.mk | 6 - .../q1v1/iso/keymaps/victorsavu3/config.h | 69 -- .../q1v1/iso/keymaps/victorsavu3/keymap.c | 146 --- .../q1v1/iso/keymaps/victorsavu3/readme.md | 4 - .../q1v1/iso/keymaps/victorsavu3/rules.mk | 3 - .../keychron/q2/ansi/keymaps/ladduro/config.h | 25 - .../keychron/q2/ansi/keymaps/ladduro/keymap.c | 68 -- .../q2/ansi/keymaps/ladduro/keymap_user.h | 27 - .../q2/ansi/keymaps/ladduro/readme.md | 29 - .../q2/ansi/keymaps/ladduro/rgb_matrix_user.c | 73 -- .../q2/ansi/keymaps/ladduro/rgb_matrix_user.h | 25 - .../keychron/q2/ansi/keymaps/ladduro/rules.mk | 5 - .../keyhive/opus/keymaps/thefoxcodes/config.h | 21 - .../keyhive/opus/keymaps/thefoxcodes/keymap.c | 94 -- .../opus/keymaps/thefoxcodes/readme.md | 1 - .../keyhive/opus/keymaps/thefoxcodes/rules.mk | 1 - .../southpole/keymaps/foobeard/keymap.c | 72 -- ...472_Annihilator6000_Configurator_file.json | 1 - .../ut472/keymaps/annihilator6000/keymap.c | 256 ------ .../ut472/keymaps/annihilator6000/readme.md | 15 - .../keyhive/ut472/keymaps/gardego5/keymap.c | 116 --- .../keyhive/ut472/keymaps/gardego5/readme.md | 5 - .../ut472/keymaps/stefanopace/config.h | 21 - .../ut472/keymaps/stefanopace/keymap.c | 185 ---- .../ut472/keymaps/stefanopace/readme.md | 6 - .../ut472/keymaps/stefanopace/rules.mk | 7 - .../keyprez/unicorn/keymaps/jorge/keymap.c | 33 - .../keyprez/unicorn/keymaps/jorge/readme.md | 1 - keyboards/kin80/keymaps/andrew/keymap.c | 127 --- keyboards/kin80/keymaps/maxim/keymap.c | 215 ----- keyboards/kin80/keymaps/roman/keymap.c | 134 --- .../kinesis/kint36/keymaps/kzar/config.h | 19 - .../kinesis/kint36/keymaps/kzar/keymap.c | 405 --------- .../kinesis/kint36/keymaps/kzar/readme.md | 9 - .../kinesis/kint36/keymaps/kzar/rules.mk | 5 - .../romac/keymaps/boss566y/config.h | 20 - .../romac/keymaps/boss566y/keymap.c | 91 -- .../romac/keymaps/boss566y/rules.mk | 3 - .../ropro/keymaps/jdayton3/README.md | 19 - .../ropro/keymaps/jdayton3/keymap.c | 287 ------ .../bm40hsrgb/keymaps/34keys/config.h | 52 -- .../bm40hsrgb/keymaps/34keys/keymap.c | 89 -- .../bm40hsrgb/keymaps/34keys/readme.md | 63 -- .../bm40hsrgb/keymaps/34keys/rules.mk | 4 - .../bm40hsrgb/keymaps/coffee/config.h | 88 -- .../bm40hsrgb/keymaps/coffee/keymap.c | 301 ------- .../bm40hsrgb/keymaps/coffee/readme.md | 77 -- .../bm40hsrgb/keymaps/coffee/rules.mk | 4 - .../kprepublic/bm40hsrgb/keymaps/dan/config.h | 7 - .../keymaps/dan/features/custom_shift_keys.c | 76 -- .../keymaps/dan/features/custom_shift_keys.h | 99 --- .../kprepublic/bm40hsrgb/keymaps/dan/keymap.c | 349 -------- .../bm40hsrgb/keymaps/dan/readme.md | 105 --- .../kprepublic/bm40hsrgb/keymaps/dan/rules.mk | 2 - .../bm40hsrgb/keymaps/simchee/config.h | 20 - .../bm40hsrgb/keymaps/simchee/keymap.c | 61 -- .../bm40hsrgb/keymaps/simchee/readme.md | 75 -- .../bm40hsrgb/keymaps/simchee/rules.mk | 1 - .../bm43hsrgb/keymaps/bitstarr/config.h | 31 - .../bm43hsrgb/keymaps/bitstarr/keymap.c | 68 -- .../bm43hsrgb/keymaps/bitstarr/readme.md | 107 --- .../bm43hsrgb/keymaps/bitstarr/rules.mk | 1 - .../rev1/keymaps/jbradforddillon/keymap.c | 41 - .../rev1/keymaps/jbradforddillon/readme.md | 5 - .../rev1/keymaps/carlosala/config.h | 9 - .../rev1/keymaps/carlosala/keymap.c | 25 - .../rev1/keymaps/carlosala/rules.mk | 4 - .../rev1/keymaps/ipetepete/keymap.c | 145 --- .../rev1/keymaps/ipetepete/readme.md | 1 - .../rev1/keymaps/ipetepete/rules.mk | 1 - .../bm65hsrgb_iso/keymaps/p4yne/config.h | 36 - .../keymaps/p4yne/custom_keymap.h | 71 -- .../bm65hsrgb_iso/keymaps/p4yne/keymap.c | 463 ---------- .../bm65hsrgb_iso/keymaps/p4yne/readme.md | 22 - .../bm65hsrgb_iso/keymaps/p4yne/rules.mk | 23 - .../rev1/keymaps/deadolus/config.h | 27 - .../rev1/keymaps/deadolus/keymap.c | 273 ------ .../rev1/keymaps/deadolus/keymap.h | 63 -- .../rev1/keymaps/deadolus/readme.md | 20 - .../rev1/keymaps/deadolus/rules.mk | 4 - .../bm68hsrgb/rev1/keymaps/peepeetee/config.h | 117 --- .../bm68hsrgb/rev1/keymaps/peepeetee/keymap.c | 304 ------- .../bm68hsrgb/rev1/keymaps/peepeetee/keymap.h | 63 -- .../rev1/keymaps/peepeetee/readme.md | 1 - .../bm80hsrgb/keymaps/peepeetee/config.h | 93 -- .../bm80hsrgb/keymaps/peepeetee/keymap.c | 51 -- .../kprepublic/bm80v2/keymaps/saph1s/config.h | 23 - .../kprepublic/bm80v2/keymaps/saph1s/keymap.c | 50 -- .../bm80v2/keymaps/saph1s/readme.md | 6 - .../bm80v2/keymaps/saph1s/rgb_matrix_map.h | 113 --- .../kprepublic/bm80v2/keymaps/saph1s/rules.mk | 2 - .../bm80v2/keymaps/smooted/config.h | 17 - .../bm80v2/keymaps/smooted/keymap.c | 25 - .../bm80v2/keymaps/smooted/rules.mk | 1 - .../bm980hsrgb/keymaps/peepeetee/keymap.c | 62 -- .../kprepublic/cospad/keymaps/detrus/keymap.c | 367 -------- .../keymaps/abstractkb_gergomatch/config.h | 3 - .../keymaps/abstractkb_gergomatch/keymap.c | 136 --- .../keymaps/abstractkb_gergomatch/readme.md | 4 - .../jj50/keymaps/archetype/README.md | 22 - .../jj50/keymaps/archetype/config.h | 9 - .../jj50/keymaps/archetype/keymap.c | 286 ------ .../jj50/keymaps/archetype/rules.mk | 4 - .../ktec/ergodone/keymaps/eozaki/keymap.c | 201 ----- .../ktec/ergodone/keymaps/eozaki/readme.md | 13 - keyboards/ktec/ergodone/keymaps/vega/keymap.c | 828 ------------------ keyboards/ktec/ergodone/keymaps/vega/rules.mk | 2 - .../kumaokobo/kudox/rev1/keymaps/x1/keymap.c | 76 -- .../kumaokobo/kudox/rev1/keymaps/x1/readme.md | 1 - keyboards/kuro/kuro65/keymaps/0x544d/keymap.c | 102 --- keyboards/kuro/kuro65/keymaps/0x544d/rules.mk | 1 - keyboards/kwub/bloop/keymaps/crispyy/keymap.c | 39 - .../lfkpad/keymaps/pascalpfeil/config.h | 27 - .../lfkpad/keymaps/pascalpfeil/keymap.c | 58 -- .../lfkpad/keymaps/pascalpfeil/rules.mk | 2 - keyboards/m10a/keymaps/gam3cat/keymap.c | 150 ---- keyboards/m10a/keymaps/gam3cat/readme.md | 21 - keyboards/m10a/keymaps/gam3cat/rules.mk | 22 - .../rev1/keymaps/greenshadowmaker/config.h | 27 - .../keyboard-layout-editor.json | 460 ---------- .../rev1/keymaps/greenshadowmaker/keymap.c | 124 --- .../rev1/keymaps/greenshadowmaker/rules.mk | 3 - .../ergodash/rev1/keymaps/tw1t611/config.h | 27 - .../ergodash/rev1/keymaps/tw1t611/keymap.c | 24 - .../ergodash/rev1/keymaps/tw1t611/readme.md | 4 - .../ergodash/rev1/keymaps/tw1t611/rules.mk | 3 - 341 files changed, 21993 deletions(-) delete mode 100644 keyboards/gon/nerdtkl/keymaps/gam3cat/config.h delete mode 100644 keyboards/gon/nerdtkl/keymaps/gam3cat/keymap.c delete mode 100644 keyboards/gon/nerdtkl/keymaps/gam3cat/readme.md delete mode 100644 keyboards/gon/nerdtkl/keymaps/gam3cat/rules.mk delete mode 100644 keyboards/hineybush/h87a/keymaps/gam3cat/config.h delete mode 100644 keyboards/hineybush/h87a/keymaps/gam3cat/keymap.c delete mode 100644 keyboards/hineybush/h87a/keymaps/gam3cat/readme.md delete mode 100644 keyboards/hineybush/h87a/keymaps/gam3cat/rules.mk delete mode 100644 keyboards/hotdox/keymaps/eozaki/keymap.c delete mode 100644 keyboards/ibm/model_m/ashpil_usbc/keymaps/ashpil/config.h delete mode 100644 keyboards/ibm/model_m/ashpil_usbc/keymaps/ashpil/keymap.c delete mode 100644 keyboards/ibm/model_m/ashpil_usbc/keymaps/ashpil/rules.mk delete mode 100644 keyboards/ibm/model_m/teensypp/keymaps/iw0rm3r/keymap.c delete mode 100644 keyboards/ibm/model_m/teensypp/keymaps/iw0rm3r/readme.md delete mode 100644 keyboards/ibm/model_m/yugo_m/keymaps/an_achronism_106/keymap.c delete mode 100644 keyboards/ibm/model_m/yugo_m/keymaps/an_achronism_106/readme.md delete mode 100644 keyboards/ibm/model_m_122/ibm122m/keymaps/andresteare/keymap.c delete mode 100644 keyboards/ibm/model_m_ssk/teensypp_ssk/keymaps/tiltowait/config.h delete mode 100644 keyboards/ibm/model_m_ssk/teensypp_ssk/keymaps/tiltowait/keymap.c delete mode 100644 keyboards/ibm/model_m_ssk/teensypp_ssk/keymaps/tiltowait/readme.md delete mode 100644 keyboards/ibnuda/alicia_cook/keymaps/rick/config.h delete mode 100644 keyboards/ibnuda/alicia_cook/keymaps/rick/keymap.c delete mode 100644 keyboards/ibnuda/alicia_cook/keymaps/rick/readme.md delete mode 100644 keyboards/ibnuda/alicia_cook/keymaps/rick/rules.mk delete mode 100644 keyboards/ibnuda/squiggle/keymaps/rick-complicated/config.h delete mode 100644 keyboards/ibnuda/squiggle/keymaps/rick-complicated/keymap.c delete mode 100644 keyboards/ibnuda/squiggle/keymaps/rick-complicated/readme.md delete mode 100644 keyboards/ibnuda/squiggle/keymaps/rick-complicated/rules.mk delete mode 100644 keyboards/ibnuda/squiggle/keymaps/rick/config.h delete mode 100644 keyboards/ibnuda/squiggle/keymaps/rick/keymap.c delete mode 100644 keyboards/ibnuda/squiggle/keymaps/rick/readme.md delete mode 100644 keyboards/ibnuda/squiggle/keymaps/rick/rules.mk delete mode 100644 keyboards/idb/idb_60/keymaps/pngu/keymap.c delete mode 100644 keyboards/idobao/id67/keymaps/thewerther/config.h delete mode 100644 keyboards/idobao/id67/keymaps/thewerther/keymap.c delete mode 100644 keyboards/idobao/id67/keymaps/thewerther/rules.mk delete mode 100644 keyboards/idobao/id67/keymaps/vinorodrigues/config.h delete mode 100644 keyboards/idobao/id67/keymaps/vinorodrigues/keymap.c delete mode 100644 keyboards/idobao/id67/keymaps/vinorodrigues/rules.mk delete mode 100644 keyboards/idobao/id75/v1/keymaps/greenshadowmaker/keyboard-layout-editor-gsm-idobo.json delete mode 100644 keyboards/idobao/id75/v1/keymaps/greenshadowmaker/keymap.c delete mode 100644 keyboards/idobao/id75/v1/keymaps/greenshadowmaker/readme.md delete mode 100644 keyboards/idobao/id75/v1/keymaps/greenshadowmaker/rules.mk delete mode 100644 keyboards/idobao/id80/v2/ansi/keymaps/msf/config.h delete mode 100644 keyboards/idobao/id80/v2/ansi/keymaps/msf/keymap.c delete mode 100644 keyboards/idobao/id80/v2/ansi/keymaps/msf/readme.md delete mode 100644 keyboards/idobao/id80/v2/ansi/keymaps/msf/rules.mk delete mode 100644 keyboards/illuminati/is0/keymaps/ctrlaltdel/keymap.c delete mode 100644 keyboards/illuminati/is0/keymaps/ctrlaltdel/readme.md delete mode 100644 keyboards/illusion/rosa/keymaps/oggi/keymap.c delete mode 100644 keyboards/illusion/rosa/keymaps/oggi/readme.md delete mode 100644 keyboards/input_club/ergodox_infinity/keymaps/nordic_ergo/keymap.c delete mode 100644 keyboards/input_club/ergodox_infinity/keymaps/nordic_ergo/readme.md delete mode 100644 keyboards/input_club/ergodox_infinity/keymaps/trulyergonomic/README.md delete mode 100644 keyboards/input_club/ergodox_infinity/keymaps/trulyergonomic/keymap.c delete mode 100755 keyboards/input_club/infinity60/keymaps/depariel/keymap.c delete mode 100644 keyboards/input_club/k_type/keymaps/andrew-fahmy/config.h delete mode 100644 keyboards/input_club/k_type/keymaps/andrew-fahmy/keymap.c delete mode 100644 keyboards/input_club/k_type/keymaps/andrew-fahmy/rules.mk delete mode 100644 keyboards/input_club/whitefox/keymaps/matt3o/keymap.c delete mode 100644 keyboards/input_club/whitefox/keymaps/mattrighetti/keymap.c delete mode 100644 keyboards/input_club/whitefox/keymaps/mattrighetti/rules.mk delete mode 100644 keyboards/input_club/whitefox/keymaps/truefox/keymap.c delete mode 100644 keyboards/jc65/v32u4/keymaps/coth/keymap.c delete mode 100644 keyboards/jc65/v32u4/keymaps/coth/readme.md delete mode 100644 keyboards/jc65/v32u4/keymaps/dead_encryption/keymap.c delete mode 100644 keyboards/jc65/v32u4/keymaps/dead_encryption/readme.md delete mode 100644 keyboards/jc65/v32u4/keymaps/gam3cat/config.h delete mode 100644 keyboards/jc65/v32u4/keymaps/gam3cat/keymap.c delete mode 100644 keyboards/jc65/v32u4/keymaps/gam3cat/readme.md delete mode 100644 keyboards/jc65/v32u4/keymaps/gam3cat/rules.mk delete mode 100644 keyboards/jc65/v32u4/keymaps/na7thana/keymap.c delete mode 100644 keyboards/jc65/v32u4/keymaps/na7thana/readme.md delete mode 100644 keyboards/jd40/keymaps/vanagon/README.md delete mode 100644 keyboards/jd40/keymaps/vanagon/config.h delete mode 100644 keyboards/jd40/keymaps/vanagon/keymap.c delete mode 100644 keyboards/jd45/keymaps/mjt6u/config.h delete mode 100644 keyboards/jd45/keymaps/mjt6u/keymap.c delete mode 100644 keyboards/jd45/keymaps/mjt6u/readme.md delete mode 100644 keyboards/jd45/keymaps/mjt6u/rules.mk delete mode 100644 keyboards/jkdlab/binary_monkey/keymaps/ascii/keymap.c delete mode 100644 keyboards/jm60/keymaps/poker3/keymap.c delete mode 100644 keyboards/joshajohnson/hub16/keymaps/peepeetee/config.h delete mode 100644 keyboards/joshajohnson/hub16/keymaps/peepeetee/keymap.c delete mode 100644 keyboards/joshajohnson/hub16/keymaps/peepeetee/rules.mk delete mode 100644 keyboards/junco/keymaps/deluxe/config.h delete mode 100644 keyboards/junco/keymaps/deluxe/keymap.c delete mode 100644 keyboards/junco/keymaps/deluxe/readme.md delete mode 100644 keyboards/junco/keymaps/deluxe/rgb_matrix_user.inc delete mode 100644 keyboards/junco/keymaps/deluxe/rules.mk delete mode 100644 keyboards/kagizaraya/scythe/keymaps/forties/keymap.c delete mode 100644 keyboards/kagizaraya/scythe/keymaps/forties/readme.md delete mode 100755 keyboards/kapcave/gskt00/keymaps/nachie/keymap.c delete mode 100644 keyboards/kapcave/paladinpad/keymaps/aek/keymap.c delete mode 100644 keyboards/kapcave/paladinpad/keymaps/aek/readme.md delete mode 100644 keyboards/kbdfans/kbd67/hotswap/keymaps/stevanmilic/config.h delete mode 100644 keyboards/kbdfans/kbd67/hotswap/keymaps/stevanmilic/keymap.c delete mode 100644 keyboards/kbdfans/kbd67/hotswap/keymaps/stevanmilic/rules.mk delete mode 100644 keyboards/kbdfans/kbd67/mkii_soldered/keymaps/adamdehaven/config.h delete mode 100644 keyboards/kbdfans/kbd67/mkii_soldered/keymaps/adamdehaven/keymap.c delete mode 100644 keyboards/kbdfans/kbd67/mkii_soldered/keymaps/adamdehaven/rules.mk delete mode 100644 keyboards/kbdfans/kbd67/mkiirgb/keymaps/dnsnrk/config.h delete mode 100644 keyboards/kbdfans/kbd67/mkiirgb/keymaps/dnsnrk/keymap.c delete mode 100644 keyboards/kbdfans/kbd67/mkiirgb/keymaps/dnsnrk/readme.md delete mode 100644 keyboards/kbdfans/kbd67/mkiirgb/keymaps/kemmeldev/import-for-qmk-configurator/kemmeldev-4-layered-layout.json delete mode 100644 keyboards/kbdfans/kbd67/mkiirgb/keymaps/kemmeldev/keymap.c delete mode 100644 keyboards/kbdfans/kbd67/mkiirgb/keymaps/kemmeldev/layers.json delete mode 100644 keyboards/kbdfans/kbd67/mkiirgb/keymaps/kemmeldev/readme.md delete mode 100644 keyboards/kbdfans/kbd67/mkiirgb/keymaps/pascalpfeil/config.h delete mode 100644 keyboards/kbdfans/kbd67/mkiirgb/keymaps/pascalpfeil/keymap.c delete mode 100644 keyboards/kbdfans/kbd67/mkiirgb/keymaps/pascalpfeil/rules.mk delete mode 100644 keyboards/kbdfans/kbd67/mkiirgb/keymaps/spx01/config.h delete mode 100644 keyboards/kbdfans/kbd67/mkiirgb/keymaps/spx01/keymap.c delete mode 100644 keyboards/kbdfans/kbd67/mkiirgb/keymaps/spx01/readme.md delete mode 100644 keyboards/kbdfans/kbd67/mkiirgb/keymaps/spx01/rgb_matrix_user.inc delete mode 100644 keyboards/kbdfans/kbd67/mkiirgb/keymaps/spx01/rules.mk delete mode 100644 keyboards/kbdfans/kbd6x/keymaps/othi/config.h delete mode 100644 keyboards/kbdfans/kbd6x/keymaps/othi/keymap.c delete mode 100644 keyboards/kbdfans/kbd6x/keymaps/othi/readme.md delete mode 100644 keyboards/kbdfans/kbd6x/keymaps/othi/rules.mk delete mode 100644 keyboards/kbdfans/kbdpad/mk2/keymaps/iracing_replay/keymap.c delete mode 100644 keyboards/kbdfans/kbdpad/mk2/keymaps/iracing_replay/readme.md delete mode 100644 keyboards/kbdfans/kbdpad/mk2/keymaps/iracing_replay/rules.mk delete mode 100644 keyboards/kbdfans/niu_mini/keymaps/planck/config.h delete mode 100644 keyboards/kbdfans/niu_mini/keymaps/planck/keymap.c delete mode 100644 keyboards/kbdfans/niu_mini/keymaps/planck/readme.md delete mode 100644 keyboards/kbdfans/tiger80/keymaps/micros24/config.h delete mode 100644 keyboards/kbdfans/tiger80/keymaps/micros24/keymap.c delete mode 100644 keyboards/kbdfans/tiger80/keymaps/micros24/readme.md delete mode 100644 keyboards/kbdfans/tiger80/keymaps/micros24/rules.mk delete mode 100644 keyboards/kc60/keymaps/wigguno/keymap.c delete mode 100644 keyboards/kc60/keymaps/wigguno/readme.md delete mode 100644 keyboards/kc60/keymaps/wigguno/rules.mk delete mode 100644 keyboards/keebio/bdn9/keymaps/mousepad/config.h delete mode 100644 keyboards/keebio/bdn9/keymaps/mousepad/keymap.c delete mode 100644 keyboards/keebio/bdn9/keymaps/mousepad/readme.md delete mode 100644 keyboards/keebio/bdn9/keymaps/mousepad/rules.mk delete mode 100644 keyboards/keebio/dsp40/keymaps/bakingpy/config.h delete mode 100644 keyboards/keebio/dsp40/keymaps/bakingpy/keymap.c delete mode 100644 keyboards/keebio/foldkb/keymaps/forrcaho/keymap.c delete mode 100644 keyboards/keebio/foldkb/keymaps/forrcaho/readme.md delete mode 100644 keyboards/keebio/foldkb/keymaps/forrcaho/rules.mk delete mode 100644 keyboards/keebio/fourier/keymaps/maxim/keymap.c delete mode 100644 keyboards/keebio/quefrency/rev2/keymaps/xeal/config.h delete mode 100644 keyboards/keebio/quefrency/rev2/keymaps/xeal/keymap.c delete mode 100644 keyboards/keebio/quefrency/rev2/keymaps/xeal/rules.mk delete mode 100644 keyboards/keebio/rorschach/keymaps/insertsnideremarks/config.h delete mode 100644 keyboards/keebio/rorschach/keymaps/insertsnideremarks/keymap.c delete mode 100644 keyboards/keebio/rorschach/keymaps/insertsnideremarks/readme.md delete mode 100644 keyboards/keebio/rorschach/keymaps/insertsnideremarks/rules.mk delete mode 100644 keyboards/keebio/rorschach/keymaps/tuesdayjohn/config.h delete mode 100644 keyboards/keebio/rorschach/keymaps/tuesdayjohn/keymap.c delete mode 100644 keyboards/keebio/rorschach/keymaps/tuesdayjohn/rules.mk delete mode 100644 keyboards/keebio/sinc/keymaps/lickel/keymap.c delete mode 100644 keyboards/keebio/sinc/keymaps/lickel/readme.md delete mode 100644 keyboards/keebio/sinc/keymaps/lickel/rules.mk delete mode 100644 keyboards/keebio/tragicforce68/keymaps/buswerks/keymap.c delete mode 100644 keyboards/keebio/viterbi/keymaps/met/keymap.c delete mode 100644 keyboards/keebio/viterbi/keymaps/met/rules.mk delete mode 100644 keyboards/keebwerk/mega/ansi/keymaps/jesusvallejo/keymap.c delete mode 100644 keyboards/keebwerk/mega/ansi/keymaps/jesusvallejo/readme.md delete mode 100644 keyboards/keebwerk/mega/ansi/keymaps/jesusvallejo/rules.mk delete mode 100644 keyboards/keebwerk/nano_slider/keymaps/midi2vol/keymap.c delete mode 100644 keyboards/keebwerk/nano_slider/keymaps/midi2vol/readme.md delete mode 100644 keyboards/keyboardio/atreus/keymaps/ardumont/keymap.c delete mode 100644 keyboards/keyboardio/atreus/keymaps/ardumont/readme.md delete mode 100644 keyboards/keyboardio/atreus/keymaps/kkokdae/config.h delete mode 100644 keyboards/keyboardio/atreus/keymaps/kkokdae/keymap.c delete mode 100644 keyboards/keyboardio/atreus/keymaps/kkokdae/readme.md delete mode 100644 keyboards/keyboardio/atreus/keymaps/kkokdae/rules.mk delete mode 100644 keyboards/keyboardio/atreus/keymaps/poweredbyporridge/config.h delete mode 100644 keyboards/keyboardio/atreus/keymaps/poweredbyporridge/keymap.c delete mode 100644 keyboards/keyboardio/atreus/keymaps/poweredbyporridge/readme.md delete mode 100644 keyboards/keyboardio/atreus/keymaps/poweredbyporridge/rules.mk delete mode 100644 keyboards/keyboardio/atreus/keymaps/slotthe/autocorrect_data.h delete mode 100644 keyboards/keyboardio/atreus/keymaps/slotthe/config.h delete mode 100644 keyboards/keyboardio/atreus/keymaps/slotthe/keymap.c delete mode 100644 keyboards/keyboardio/atreus/keymaps/slotthe/readme.md delete mode 100644 keyboards/keyboardio/atreus/keymaps/slotthe/rules.mk delete mode 100644 keyboards/keyboardio/model01/keymaps/tw1t611/keymap.c delete mode 100644 keyboards/keyboardio/model01/keymaps/tw1t611/readme.md delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/gtg465x/README.md delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/gtg465x/config.h delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/gtg465x/keymap.c delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/gtg465x/keymap_user.h delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/gtg465x/rgb_matrix_user.c delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/gtg465x/rgb_matrix_user.h delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/gtg465x/rules.mk delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/mkillewald/config.h delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/mkillewald/keymap.c delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/mkillewald/keymap_user.h delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/mkillewald/readme.md delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/mkillewald/rgb_matrix_user.c delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/mkillewald/rgb_matrix_user.h delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/mkillewald/rules.mk delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/teimor/config.h delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/teimor/keymap.c delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/teimor/keymap_user.h delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/teimor/readme.md delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/teimor/rgb_matrix_user.c delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/teimor/rgb_matrix_user.h delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/teimor/rules.mk delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_mac_caps.c delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_mac_caps.h delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_setup.c delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_setup.h delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_user.c delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_win_caps.c delete mode 100644 keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_win_caps.h delete mode 100644 keyboards/keychron/q1v1/iso/keymaps/kubahorak/README.md delete mode 100644 keyboards/keychron/q1v1/iso/keymaps/kubahorak/config.h delete mode 100644 keyboards/keychron/q1v1/iso/keymaps/kubahorak/keymap.c delete mode 100644 keyboards/keychron/q1v1/iso/keymaps/kubahorak/keymap_user.h delete mode 100644 keyboards/keychron/q1v1/iso/keymaps/kubahorak/rgb_matrix_user.c delete mode 100644 keyboards/keychron/q1v1/iso/keymaps/kubahorak/rgb_matrix_user.h delete mode 100644 keyboards/keychron/q1v1/iso/keymaps/kubahorak/rules.mk delete mode 100644 keyboards/keychron/q1v1/iso/keymaps/victorsavu3/config.h delete mode 100644 keyboards/keychron/q1v1/iso/keymaps/victorsavu3/keymap.c delete mode 100644 keyboards/keychron/q1v1/iso/keymaps/victorsavu3/readme.md delete mode 100644 keyboards/keychron/q1v1/iso/keymaps/victorsavu3/rules.mk delete mode 100644 keyboards/keychron/q2/ansi/keymaps/ladduro/config.h delete mode 100644 keyboards/keychron/q2/ansi/keymaps/ladduro/keymap.c delete mode 100644 keyboards/keychron/q2/ansi/keymaps/ladduro/keymap_user.h delete mode 100644 keyboards/keychron/q2/ansi/keymaps/ladduro/readme.md delete mode 100644 keyboards/keychron/q2/ansi/keymaps/ladduro/rgb_matrix_user.c delete mode 100644 keyboards/keychron/q2/ansi/keymaps/ladduro/rgb_matrix_user.h delete mode 100644 keyboards/keychron/q2/ansi/keymaps/ladduro/rules.mk delete mode 100644 keyboards/keyhive/opus/keymaps/thefoxcodes/config.h delete mode 100644 keyboards/keyhive/opus/keymaps/thefoxcodes/keymap.c delete mode 100644 keyboards/keyhive/opus/keymaps/thefoxcodes/readme.md delete mode 100644 keyboards/keyhive/opus/keymaps/thefoxcodes/rules.mk delete mode 100644 keyboards/keyhive/southpole/keymaps/foobeard/keymap.c delete mode 100755 keyboards/keyhive/ut472/keymaps/annihilator6000/UT472_Annihilator6000_Configurator_file.json delete mode 100644 keyboards/keyhive/ut472/keymaps/annihilator6000/keymap.c delete mode 100644 keyboards/keyhive/ut472/keymaps/annihilator6000/readme.md delete mode 100644 keyboards/keyhive/ut472/keymaps/gardego5/keymap.c delete mode 100644 keyboards/keyhive/ut472/keymaps/gardego5/readme.md delete mode 100644 keyboards/keyhive/ut472/keymaps/stefanopace/config.h delete mode 100644 keyboards/keyhive/ut472/keymaps/stefanopace/keymap.c delete mode 100644 keyboards/keyhive/ut472/keymaps/stefanopace/readme.md delete mode 100644 keyboards/keyhive/ut472/keymaps/stefanopace/rules.mk delete mode 100644 keyboards/keyprez/unicorn/keymaps/jorge/keymap.c delete mode 100644 keyboards/keyprez/unicorn/keymaps/jorge/readme.md delete mode 100644 keyboards/kin80/keymaps/andrew/keymap.c delete mode 100644 keyboards/kin80/keymaps/maxim/keymap.c delete mode 100644 keyboards/kin80/keymaps/roman/keymap.c delete mode 100644 keyboards/kinesis/kint36/keymaps/kzar/config.h delete mode 100644 keyboards/kinesis/kint36/keymaps/kzar/keymap.c delete mode 100644 keyboards/kinesis/kint36/keymaps/kzar/readme.md delete mode 100644 keyboards/kinesis/kint36/keymaps/kzar/rules.mk delete mode 100755 keyboards/kingly_keys/romac/keymaps/boss566y/config.h delete mode 100755 keyboards/kingly_keys/romac/keymaps/boss566y/keymap.c delete mode 100755 keyboards/kingly_keys/romac/keymaps/boss566y/rules.mk delete mode 100644 keyboards/kingly_keys/ropro/keymaps/jdayton3/README.md delete mode 100644 keyboards/kingly_keys/ropro/keymaps/jdayton3/keymap.c delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/34keys/config.h delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/34keys/keymap.c delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/34keys/readme.md delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/34keys/rules.mk delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/coffee/config.h delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/coffee/keymap.c delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/coffee/readme.md delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/coffee/rules.mk delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/dan/config.h delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/dan/features/custom_shift_keys.c delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/dan/features/custom_shift_keys.h delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/dan/keymap.c delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/dan/readme.md delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/dan/rules.mk delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/simchee/config.h delete mode 100755 keyboards/kprepublic/bm40hsrgb/keymaps/simchee/keymap.c delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/simchee/readme.md delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/simchee/rules.mk delete mode 100755 keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/config.h delete mode 100755 keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/keymap.c delete mode 100755 keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/readme.md delete mode 100755 keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/rules.mk delete mode 100644 keyboards/kprepublic/bm60hsrgb/rev1/keymaps/jbradforddillon/keymap.c delete mode 100644 keyboards/kprepublic/bm60hsrgb/rev1/keymaps/jbradforddillon/readme.md delete mode 100644 keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/carlosala/config.h delete mode 100644 keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/carlosala/keymap.c delete mode 100644 keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/carlosala/rules.mk delete mode 100644 keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/ipetepete/keymap.c delete mode 100644 keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/ipetepete/readme.md delete mode 100644 keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/ipetepete/rules.mk delete mode 100644 keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/config.h delete mode 100644 keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/custom_keymap.h delete mode 100644 keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/keymap.c delete mode 100644 keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/readme.md delete mode 100644 keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/rules.mk delete mode 100644 keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/config.h delete mode 100644 keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/keymap.c delete mode 100644 keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/keymap.h delete mode 100644 keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/readme.md delete mode 100644 keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/rules.mk delete mode 100644 keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/config.h delete mode 100644 keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/keymap.c delete mode 100644 keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/keymap.h delete mode 100644 keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/readme.md delete mode 100644 keyboards/kprepublic/bm80hsrgb/keymaps/peepeetee/config.h delete mode 100644 keyboards/kprepublic/bm80hsrgb/keymaps/peepeetee/keymap.c delete mode 100644 keyboards/kprepublic/bm80v2/keymaps/saph1s/config.h delete mode 100644 keyboards/kprepublic/bm80v2/keymaps/saph1s/keymap.c delete mode 100644 keyboards/kprepublic/bm80v2/keymaps/saph1s/readme.md delete mode 100644 keyboards/kprepublic/bm80v2/keymaps/saph1s/rgb_matrix_map.h delete mode 100644 keyboards/kprepublic/bm80v2/keymaps/saph1s/rules.mk delete mode 100644 keyboards/kprepublic/bm80v2/keymaps/smooted/config.h delete mode 100644 keyboards/kprepublic/bm80v2/keymaps/smooted/keymap.c delete mode 100644 keyboards/kprepublic/bm80v2/keymaps/smooted/rules.mk delete mode 100644 keyboards/kprepublic/bm980hsrgb/keymaps/peepeetee/keymap.c delete mode 100644 keyboards/kprepublic/cospad/keymaps/detrus/keymap.c delete mode 100644 keyboards/kprepublic/jj50/keymaps/abstractkb_gergomatch/config.h delete mode 100644 keyboards/kprepublic/jj50/keymaps/abstractkb_gergomatch/keymap.c delete mode 100644 keyboards/kprepublic/jj50/keymaps/abstractkb_gergomatch/readme.md delete mode 100644 keyboards/kprepublic/jj50/keymaps/archetype/README.md delete mode 100644 keyboards/kprepublic/jj50/keymaps/archetype/config.h delete mode 100644 keyboards/kprepublic/jj50/keymaps/archetype/keymap.c delete mode 100644 keyboards/kprepublic/jj50/keymaps/archetype/rules.mk delete mode 100644 keyboards/ktec/ergodone/keymaps/eozaki/keymap.c delete mode 100644 keyboards/ktec/ergodone/keymaps/eozaki/readme.md delete mode 100644 keyboards/ktec/ergodone/keymaps/vega/keymap.c delete mode 100644 keyboards/ktec/ergodone/keymaps/vega/rules.mk delete mode 100644 keyboards/kumaokobo/kudox/rev1/keymaps/x1/keymap.c delete mode 100644 keyboards/kumaokobo/kudox/rev1/keymaps/x1/readme.md delete mode 100644 keyboards/kuro/kuro65/keymaps/0x544d/keymap.c delete mode 100644 keyboards/kuro/kuro65/keymaps/0x544d/rules.mk delete mode 100644 keyboards/kwub/bloop/keymaps/crispyy/keymap.c delete mode 100644 keyboards/lfkeyboards/lfkpad/keymaps/pascalpfeil/config.h delete mode 100644 keyboards/lfkeyboards/lfkpad/keymaps/pascalpfeil/keymap.c delete mode 100644 keyboards/lfkeyboards/lfkpad/keymaps/pascalpfeil/rules.mk delete mode 100644 keyboards/m10a/keymaps/gam3cat/keymap.c delete mode 100644 keyboards/m10a/keymaps/gam3cat/readme.md delete mode 100644 keyboards/m10a/keymaps/gam3cat/rules.mk delete mode 100644 keyboards/omkbd/ergodash/rev1/keymaps/greenshadowmaker/config.h delete mode 100644 keyboards/omkbd/ergodash/rev1/keymaps/greenshadowmaker/keyboard-layout-editor.json delete mode 100644 keyboards/omkbd/ergodash/rev1/keymaps/greenshadowmaker/keymap.c delete mode 100644 keyboards/omkbd/ergodash/rev1/keymaps/greenshadowmaker/rules.mk delete mode 100644 keyboards/omkbd/ergodash/rev1/keymaps/tw1t611/config.h delete mode 100644 keyboards/omkbd/ergodash/rev1/keymaps/tw1t611/keymap.c delete mode 100644 keyboards/omkbd/ergodash/rev1/keymaps/tw1t611/readme.md delete mode 100644 keyboards/omkbd/ergodash/rev1/keymaps/tw1t611/rules.mk diff --git a/keyboards/gon/nerdtkl/keymaps/gam3cat/config.h b/keyboards/gon/nerdtkl/keymaps/gam3cat/config.h deleted file mode 100644 index 334beb0ac2..0000000000 --- a/keyboards/gon/nerdtkl/keymaps/gam3cat/config.h +++ /dev/null @@ -1,10 +0,0 @@ -#pragma once - -//Force NKRO to be enabled. -#define FORCE_NKRO - -//GRAVE_ESC override for CTRL+SHIFT+ESC Windows task manager shortcut. -//#define GRAVE_ESC_CTRL_OVERRIDE - -//Delay matrix scan for tap dance, reduce to activate modifier keys faster. -//#define TAPPING_TERM 200 diff --git a/keyboards/gon/nerdtkl/keymaps/gam3cat/keymap.c b/keyboards/gon/nerdtkl/keymaps/gam3cat/keymap.c deleted file mode 100644 index 065cf3eddc..0000000000 --- a/keyboards/gon/nerdtkl/keymaps/gam3cat/keymap.c +++ /dev/null @@ -1,261 +0,0 @@ -#include QMK_KEYBOARD_H -#include "version.h" - -enum layers { - _BL = 0, // Base Layer - _WL, // Workman Layer - _NL, // Norman Layer - _DL, // Dvorak Layer - _CL, // Base Layer - _FL, // Function Layer - _AL, // Adjust Layer -}; - -enum custom_keycodes { - QMK_REV = SAFE_RANGE, - KC_WEB, - KC_SP4, - DYNAMIC_MACRO_RANGE -}; - -extern backlight_config_t backlight_config; - -#include "dynamic_macro.h" -#define FN_CAPS LT(_FL, KC_CAPS) -#define KC_DMR1 DM_REC1 -#define KC_DMR2 DM_REC2 -#define KC_DMP1 DM_PLY1 -#define KC_DMP2 DM_PLY2 -#define KC_DMRS DM_RSTP - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /*#### _BL: Base Layer - Standard TKL QWERTY layout. - * .-----------------------------------------------------------------------. - * |Esc|||||F1 |F2 |F3 |F4 |||F5 |F6 |F7 |F8 |||F9 |F10|F11|F12|PSc|SLk|Pau| - * |-----------------------------------------------------------|-----------| - * |~ |1 |2 |3 |4 |5 |6 |7 |8 |9 |0 |- |= |Backsp |Ins|Hom|PgU| - * |-----------------------------------------------------------|-----------| - * |Tab |Q |W |E |R |T |Y |U |I |O |P |[ |] |\ |Del|End|PgD| - * |-----------------------------------------------------------|-----------| - * |Caps |A |S |D |F |G |H |J |K |L |; |' |Return | | - * |-----------------------------------------------------------|-----------| - * |Shift |Z |X |C |V |B |N |M |, |. |/ |Shift |Fn | | Up| | - * |-----------------------------------------------------------|-----------| - * |Ctrl |Win|Alt | Space |RAlt |Fn |Ctrl |Lft|Dwn|Rgt| - * *-----------------------------------------------------------------------* - */ - [_BL] = LAYOUT_tkl( - KC_ESC, 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_PSCR, KC_SCRL, KC_PAUS, - 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_BSPC, KC_INS, KC_HOME, KC_PGUP, - 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, KC_DEL, KC_END, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, XXXXXXX, KC_ENT, - KC_LSFT, XXXXXXX, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(_FL), KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RGUI, KC_RALT, MO(_FL), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - /*#### _WL: Workman Layer. - * .-----------------------------------------------------------------------. - * | ||||| | | | ||| | | | ||| | | | | | | | - * .-----------------------------------------------------------|-----------| - * | | | | | | | | | | | |- |= | | | | | - * |-----------------------------------------------------------|-----------| - * | |Q |D |R |W |B |J |F |U |P |; |[ |] |\ | | | | - * |-----------------------------------------------------------|-----------| - * | |A |S |H |T |G |Y |N |E |O |I |' | | | - * |-----------------------------------------------------------|-----------| - * | |Z |X |M |C |V |K |L |, |. |/ | | | | | | - * |-----------------------------------------------------------|-----------| - * | | | | | | | | | | | - * *-----------------------------------------------------------------------* - */ - [_WL] = LAYOUT_tkl( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_Q , KC_D , KC_R , KC_W , KC_B , KC_J , KC_F , KC_U , KC_P , KC_SCLN, _______, _______, _______, _______, _______, _______, - _______, KC_A , KC_S , KC_H , KC_T , KC_G , KC_Y , KC_N , KC_E , KC_O , KC_I , _______, _______, _______, - _______, _______, KC_Z , KC_X , KC_M , KC_C , KC_V , KC_K , KC_L , KC_COMM, KC_DOT , KC_SLSH, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - /*#### _NL: Norman Layer. - * .-----------------------------------------------------------------------. - * | ||||| | | | ||| | | | ||| | | | | | | | - * .-----------------------------------------------------------|-----------| - * | | | | | | | | | | | |- |= | | | | | - * |-----------------------------------------------------------|-----------| - * | |Q |W |D |F |K |J |U |R |L |; |[ |] |\ | | | | - * |-----------------------------------------------------------|-----------| - * | |A |S |E |T |G |Y |N |I |O |H |' | | | - * |-----------------------------------------------------------|-----------| - * | |Z |X |C |V |B |P |M |, |. |/ | | | | | | - * |-----------------------------------------------------------|-----------| - * | | | | | | | | | | | - * *-----------------------------------------------------------------------* - */ - [_NL] = LAYOUT_tkl( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_Q , KC_W , KC_D , KC_F , KC_K , KC_J , KC_U , KC_R , KC_L , KC_SCLN, _______, _______, _______, _______, _______, _______, - _______, KC_A , KC_S , KC_E , KC_T , KC_G , KC_Y , KC_N , KC_I , KC_O , KC_H , _______, _______, _______, - _______, _______, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_P , KC_M , KC_COMM, KC_DOT , KC_SLSH, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - /*#### _DL: Dvorak Layer. - * .-----------------------------------------------------------------------. - * | ||||| | | | ||| | | | ||| | | | | | | | - * .-----------------------------------------------------------|-----------| - * | | | | | | | | | | | |[ |] | | | | | - * |-----------------------------------------------------------|-----------| - * | |' |, |. |P |Y |F |G |C |R |L |/ |= |\ | | | | - * |-----------------------------------------------------------|-----------| - * | |A |O |E |U |I |D |H |T |N |S |- | | | - * |-----------------------------------------------------------|-----------| - * | |; |Q |J |K |X |B |M |W |V |Z | | | | | | - * |-----------------------------------------------------------|-----------| - * | | | | | | | | | | | - * *-----------------------------------------------------------------------* - */ - [_DL] = LAYOUT_tkl( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LBRC, KC_RBRC, _______, _______, _______, _______, - _______, KC_QUOT, KC_COMM, KC_DOT , KC_P , KC_Y , KC_F , KC_G , KC_C , KC_R , KC_L , KC_SLSH, KC_EQL , _______, _______, _______, _______, - _______, KC_A , KC_O , KC_E , KC_U , KC_I , KC_D , KC_H , KC_T , KC_N , KC_S , KC_MINS, _______, _______, - _______, _______, KC_SCLN, KC_Q , KC_J , KC_K , KC_X , KC_B , KC_M , KC_W , KC_V , KC_Z , _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - /*#### _CL: Colmak Layer. - * .-----------------------------------------------------------------------. - * | ||||| | | | ||| | | | ||| | | | | | | | - * .-----------------------------------------------------------|-----------| - * | | | | | | | | | | | |- |= | | | | | - * |-----------------------------------------------------------|-----------| - * | |Q |W |F |P |G |J |L |U |Y |; |[ |] |\ | | | | - * |-----------------------------------------------------------|-----------| - * | |A |R |S |T |D |H |N |E |I |O |' | | | - * |-----------------------------------------------------------|-----------| - * | |Z |X |C |V |B |K |M |, |. |/ | | | | | | - * |-----------------------------------------------------------|-----------| - * | | | | | | | | | | | - * *-----------------------------------------------------------------------* - */ - [_CL] = LAYOUT_tkl( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_Q , KC_W , KC_F , KC_P , KC_G , KC_J , KC_L , KC_U , KC_Y , KC_SCLN, _______, _______, _______, _______, _______, _______, - _______, KC_A , KC_R , KC_S , KC_T , KC_D , KC_H , KC_N , KC_E , KC_I , KC_O , _______, _______, _______, - _______, _______, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_K , KC_M , KC_COMM, KC_DOT , KC_SLSH, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - /*#### _FL: Function Layer. - * .-----------------------------------------------------------------------. - * | ||||| | | | ||| | | | ||| |VlM|VlD|VlU| | | | - * .-----------------------------------------------------------|-----------| - * |Web| | | | | | | | | | | | | | | | | - * |-----------------------------------------------------------|-----------| - * |Fn_AL| | | | | | | | | | | | | | | | | - * |-----------------------------------------------------------|-----------| - * | | | | | | | |Lft|Dwn|Up |Rgt| | | | - * |-----------------------------------------------------------|-----------| - * | | | | | | | | | | | | |Fn | | | | - * |-----------------------------------------------------------|-----------| - * | | | | SP4 | |Fn | |WBk| |WFw| - * *-----------------------------------------------------------------------* - */ - [_FL] = LAYOUT_tkl( - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_MUTE, KC_VOLD, KC_VOLU, XXXXXXX, XXXXXXX, XXXXXXX, - KC_WEB, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - MO(_AL), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, XXXXXXX, - XXXXXXX, XXXXXXX, KC_MENU, KC_SP4, XXXXXXX, _______, XXXXXXX, XXXXXXX, KC_WBAK, XXXXXXX, KC_WFWD - ), - /*#### _AL: Adjust Layer - Keymap select, LED backlight, and Dynamic Macro settings. - * .-----------------------------------------------------------------------. - * |Rst||||| | | | ||| | | | ||| | | | | | | | - * .-----------------------------------------------------------|-----------| - * |Rev|Tog|Mod|H- |H+ |S- |S+ |V- |V+ | |BLT|BL-|BL+| | |MR1|MP1| - * |-----------------------------------------------------------|-----------| - * |Fn_AL|_BL|_WL| | | | | | | | | | | | MS|MR2|MP2| - * |-----------------------------------------------------------|-----------| - * | | | |_DL| | | | | | | | | | | - * |-----------------------------------------------------------|-----------| - * | | | |_CL| |_BL|_NL| | | | | |Fn | | | | - * |-----------------------------------------------------------|-----------| - * | | | | | |Fn | | | | | - * *-----------------------------------------------------------------------* - */ - [_AL] = LAYOUT_tkl( - QK_BOOT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - QMK_REV, RGB_TOG, RGB_MOD, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_VAD, RGB_VAI, XXXXXXX, BL_TOGG, BL_DOWN, BL_UP, XXXXXXX, XXXXXXX, KC_DMR1, KC_DMP1, - _______, DF(_BL), DF(_WL), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_DMRS, KC_DMR2, KC_DMP2, - XXXXXXX, XXXXXXX, XXXXXXX, DF(_DL), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, DF(_CL), XXXXXXX, DF(_BL), DF(_NL), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX - ), -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case QMK_REV: - if (record->event.pressed) { - SEND_STRING(QMK_KEYBOARD "/" QMK_KEYMAP "@" QMK_VERSION ":" QMK_BUILDDATE); - } - return false; - break; - case KC_WEB: - if (record->event.pressed) { - SEND_STRING(SS_LGUI("r")); - wait_ms(100); - SEND_STRING("chrome.exe\n"); - } - return false; - break; - case KC_SP4: - if (record->event.pressed) { - SEND_STRING (" "); - } - return false; - break; - } - // Dynamic Macros. - if (!process_record_dynamic_macro(keycode, record)) { - return false; - } - return true; -} - -void custom_backlight_level(uint8_t level) { - if (level > BACKLIGHT_LEVELS) - level = BACKLIGHT_LEVELS; - backlight_config.level = level; - backlight_config.enable = !!backlight_config.level; - backlight_set(backlight_config.level); -} - -void matrix_init_user(void) { - #ifdef BACKLIGHT_ENABLE - custom_backlight_level(0); - #endif -} - -layer_state_t layer_state_set_user(layer_state_t state) { - switch (get_highest_layer(state)) { - case _BL: - custom_backlight_level(0); - break; - case _WL: - case _NL: - case _DL: - case _CL: - custom_backlight_level(1); - break; - case _FL: - custom_backlight_level(2); - break; - case _AL: - custom_backlight_level(3); - break; - default: - custom_backlight_level(0); - break; - } - return state; -} diff --git a/keyboards/gon/nerdtkl/keymaps/gam3cat/readme.md b/keyboards/gon/nerdtkl/keymaps/gam3cat/readme.md deleted file mode 100644 index 8630ea2966..0000000000 --- a/keyboards/gon/nerdtkl/keymaps/gam3cat/readme.md +++ /dev/null @@ -1,114 +0,0 @@ -# Keymap Maintainer: Gam3cat -make gonnerd:gam3cat -## Layout Config: -2u backspace, 2.25u lshift/enter, [2.75u rshift] or [1.75u rshift, 1u Fn]. -[1.5u, 1u, 1.5u 1x7.0u, 1.5u, 1u, 1.5u, 3x1u] or [2x1.5u, 1x7.0u, 2x1.5u, 3x1u] bottom row. - -## Base Layer Selection: -(Fn+TAB+( )): (Q)WERTY, (W)orkman, (N)orman, (D)vorak, (C)olmak - -### Base Layer Options: -#### _BL: Base Layer - Standard TKL QWERTY layout. - .-----------------------------------------------------------------------. - |Esc|||||F1 |F2 |F3 |F4 |||F5 |F6 |F7 |F8 |||F9 |F10|F11|F12|PSc|SLk|Pau| - |-----------------------------------------------------------|-----------| - |~ |1 |2 |3 |4 |5 |6 |7 |8 |9 |0 |- |= |Backsp |Ins|Hom|PgU| - |-----------------------------------------------------------|-----------| - |Tab |Q |W |E |R |T |Y |U |I |O |P |[ |] |\ |Del|End|PgD| - |-----------------------------------------------------------|-----------| - |Caps |A |S |D |F |G |H |J |K |L |; |' |Return | | - |-----------------------------------------------------------|-----------| - |Shift |Z |X |C |V |B |N |M |, |. |/ |Shift |Fn | | Up| | - |-----------------------------------------------------------|-----------| - |Ctrl |Win|Alt | Space |RAlt |Fn |Ctrl |Lft|Dwn|Rgt| - *-----------------------------------------------------------------------* - -#### _WL: Workman Layer. - .-----------------------------------------------------------------------. - | ||||| | | | ||| | | | ||| | | | | | | | - .-----------------------------------------------------------|-----------| - | | | | | | | | | | | |- |= | | | | | - |-----------------------------------------------------------|-----------| - | |Q |D |R |W |B |J |F |U |P |; |[ |] |\ | | | | - |-----------------------------------------------------------|-----------| - | |A |S |H |T |G |Y |N |E |O |I |' | | | - |-----------------------------------------------------------|-----------| - | |Z |X |M |C |V |K |L |, |. |/ | | | | | | - |-----------------------------------------------------------|-----------| - | | | | | | | | | | | - *-----------------------------------------------------------------------* - -#### _NL: Norman Layer. - .-----------------------------------------------------------------------. - | ||||| | | | ||| | | | ||| | | | | | | | - .-----------------------------------------------------------|-----------| - | | | | | | | | | | | |- |= | | | | | - |-----------------------------------------------------------|-----------| - | |Q |W |D |F |K |J |U |R |L |; |[ |] |\ | | | | - |-----------------------------------------------------------|-----------| - | |A |S |E |T |G |Y |N |I |O |H |' | | | - |-----------------------------------------------------------|-----------| - | |Z |X |C |V |B |P |M |, |. |/ | | | | | | - |-----------------------------------------------------------|-----------| - | | | | | | | | | | | - *-----------------------------------------------------------------------* - -#### _DL: Dvorak Layer. - .-----------------------------------------------------------------------. - | ||||| | | | ||| | | | ||| | | | | | | | - .-----------------------------------------------------------|-----------| - | | | | | | | | | | | |[ |] | | | | | - |-----------------------------------------------------------|-----------| - | |' |, |. |P |Y |F |G |C |R |L |/ |= |\ | | | | - |-----------------------------------------------------------|-----------| - | |A |O |E |U |I |D |H |T |N |S |- | | | - |-----------------------------------------------------------|-----------| - | |; |Q |J |K |X |B |M |W |V |Z | | | | | | - |-----------------------------------------------------------|-----------| - | | | | | | | | | | | - *-----------------------------------------------------------------------* - -#### _CL: Colmak Layer. - .-----------------------------------------------------------------------. - | ||||| | | | ||| | | | ||| | | | | | | | - .-----------------------------------------------------------|-----------| - | | | | | | | | | | | |- |= | | | | | - |-----------------------------------------------------------|-----------| - | |Q |W |F |P |G |J |L |U |Y |; |[ |] |\ | | | | - |-----------------------------------------------------------|-----------| - | |A |R |S |T |D |H |N |E |I |O |' | | | - |-----------------------------------------------------------|-----------| - | |Z |X |C |V |B |K |M |, |. |/ | | | | | | - |-----------------------------------------------------------|-----------| - | | | | | | | | | | | - *-----------------------------------------------------------------------* - -#### _FL: Function Layer. - .-----------------------------------------------------------------------. - | ||||| | | | ||| | | | ||| |VlM|VlD|VlU| | | | - .-----------------------------------------------------------|-----------| - |Web| | | | | | | | | | | | | | | | | - |-----------------------------------------------------------|-----------| - |Fn_AL| | | | | | | | | | | | | | | | | - |-----------------------------------------------------------|-----------| - | | | | | | | |Lft|Dwn|Up |Rgt| | | | - |-----------------------------------------------------------|-----------| - | | | | | | | | | | | | |Fn | | | | - |-----------------------------------------------------------|-----------| - | | | | SP4 | |Fn | |WBk| |WFw| - *-----------------------------------------------------------------------* - -#### _AL: Adjust Layer - Keymap select, LED backlight, and Dynamic Macro settings. - .-----------------------------------------------------------------------. - |Rst||||| | | | ||| | | | ||| | | | | | | | - .-----------------------------------------------------------|-----------| - |Rev|Tog|Mod|H- |H+ |S- |S+ |V- |V+ | |BLT|BL-|BL+| | |MR1|MP1| - |-----------------------------------------------------------|-----------| - |Fn_AL|_BL|_WL| | | | | | | | | | | | MS|MR2|MP2| - |-----------------------------------------------------------|-----------| - | | | |_DL| | | | | | | | | | | - |-----------------------------------------------------------|-----------| - | | | |_CL| |_BL|_NL| | | | | |Fn | | | | - |-----------------------------------------------------------|-----------| - | | | | | |Fn | | | | | - *-----------------------------------------------------------------------* diff --git a/keyboards/gon/nerdtkl/keymaps/gam3cat/rules.mk b/keyboards/gon/nerdtkl/keymaps/gam3cat/rules.mk deleted file mode 100644 index c82cafd606..0000000000 --- a/keyboards/gon/nerdtkl/keymaps/gam3cat/rules.mk +++ /dev/null @@ -1,23 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend -# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -NKRO_ENABLE = yes # USB Nkey Rollover - If this doesn't work, add this to config.h: #define FORCE_NKRO -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -MIDI_ENABLE = no # MIDI support -UNICODE_ENABLE = no # Unicode -UNICODEMAP_ENABLE = no # Enable extended unicode -BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID -AUDIO_ENABLE = no # Audio output on port C6 -#VARIABLE_TRACE = no # Use this to debug changes to variable values -KEY_LOCK_ENABLE = no # This enables key lock -SPLIT_KEYBOARD = no # This enables split keyboard support and includes all necessary files located at quantum/split_common -TAP_DANCE_ENABLE = no # Enable TapDance functionality diff --git a/keyboards/hineybush/h87a/keymaps/gam3cat/config.h b/keyboards/hineybush/h87a/keymaps/gam3cat/config.h deleted file mode 100644 index 334beb0ac2..0000000000 --- a/keyboards/hineybush/h87a/keymaps/gam3cat/config.h +++ /dev/null @@ -1,10 +0,0 @@ -#pragma once - -//Force NKRO to be enabled. -#define FORCE_NKRO - -//GRAVE_ESC override for CTRL+SHIFT+ESC Windows task manager shortcut. -//#define GRAVE_ESC_CTRL_OVERRIDE - -//Delay matrix scan for tap dance, reduce to activate modifier keys faster. -//#define TAPPING_TERM 200 diff --git a/keyboards/hineybush/h87a/keymaps/gam3cat/keymap.c b/keyboards/hineybush/h87a/keymaps/gam3cat/keymap.c deleted file mode 100644 index 6d064455b3..0000000000 --- a/keyboards/hineybush/h87a/keymaps/gam3cat/keymap.c +++ /dev/null @@ -1,293 +0,0 @@ -#include QMK_KEYBOARD_H -#include "version.h" - -enum layers { - _BL = 0, // Base Layer - _WL, // Workman Layer - _NL, // Norman Layer - _DL, // Dvorak Layer - _CL, // Base Layer - _FL, // Function Layer - _AL, // Adjust Layer -}; - -enum custom_keycodes { - QMK_REV = SAFE_RANGE, - KC_WEB, - KC_SP4, - DYNAMIC_MACRO_RANGE -}; - -extern backlight_config_t backlight_config; - -#include "dynamic_macro.h" -#define FN_CAPS LT(_FL, KC_CAPS) -#define KC_DMR1 DM_REC1 -#define KC_DMR2 DM_REC2 -#define KC_DMP1 DM_PLY1 -#define KC_DMP2 DM_PLY2 -#define KC_DMRS DM_RSTP - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /*#### _BL: Base Layer - Standard TKL QWERTY layout. - * .-----------------------------------------------------------------------. - * |Esc|||||F1 |F2 |F3 |F4 |||F5 |F6 |F7 |F8 |||F9 |F10|F11|F12|PSc|SLk|Pau| - * |-----------------------------------------------------------|-----------| - * |~ |1 |2 |3 |4 |5 |6 |7 |8 |9 |0 |- |= |Backsp |Ins|Hom|PgU| - * |-----------------------------------------------------------|-----------| - * |Tab |Q |W |E |R |T |Y |U |I |O |P |[ |] |\ |Del|End|PgD| - * |-----------------------------------------------------------|-----------| - * |Caps |A |S |D |F |G |H |J |K |L |; |' |Return | | - * |-----------------------------------------------------------|-----------| - * |Shift |Z |X |C |V |B |N |M |, |. |/ |Shift |Fn | | Up| | - * |-----------------------------------------------------------|-----------| - * |Ctrl |Win|Alt | Space |RAlt |Fn |Ctrl |Lft|Dwn|Rgt| - * *-----------------------------------------------------------------------* - */ - [_BL] = LAYOUT_all( - KC_ESC, 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_PSCR, KC_SCRL, KC_PAUS, - 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_BSPC, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, - 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, KC_DEL, KC_END, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, XXXXXXX, KC_ENT, - KC_LSFT, XXXXXXX, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(_FL), KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RGUI, KC_RALT, MO(_FL), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - /*#### _WL: Workman Layer. - * .-----------------------------------------------------------------------. - * | ||||| | | | ||| | | | ||| | | | | | | | - * .-----------------------------------------------------------|-----------| - * | | | | | | | | | | | |- |= | | | | | - * |-----------------------------------------------------------|-----------| - * | |Q |D |R |W |B |J |F |U |P |; |[ |] |\ | | | | - * |-----------------------------------------------------------|-----------| - * | |A |S |H |T |G |Y |N |E |O |I |' | | | - * |-----------------------------------------------------------|-----------| - * | |Z |X |M |C |V |K |L |, |. |/ | | | | | | - * |-----------------------------------------------------------|-----------| - * | | | | | | | | | | | - * *-----------------------------------------------------------------------* - */ - [_WL] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_Q , KC_D , KC_R , KC_W , KC_B , KC_J , KC_F , KC_U , KC_P , KC_SCLN, _______, _______, _______, _______, _______, _______, - _______, KC_A , KC_S , KC_H , KC_T , KC_G , KC_Y , KC_N , KC_E , KC_O , KC_I , _______, _______, _______, - _______, _______, KC_Z , KC_X , KC_M , KC_C , KC_V , KC_K , KC_L , KC_COMM, KC_DOT , KC_SLSH, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - /*#### _NL: Norman Layer. - * .-----------------------------------------------------------------------. - * | ||||| | | | ||| | | | ||| | | | | | | | - * .-----------------------------------------------------------|-----------| - * | | | | | | | | | | | |- |= | | | | | - * |-----------------------------------------------------------|-----------| - * | |Q |W |D |F |K |J |U |R |L |; |[ |] |\ | | | | - * |-----------------------------------------------------------|-----------| - * | |A |S |E |T |G |Y |N |I |O |H |' | | | - * |-----------------------------------------------------------|-----------| - * | |Z |X |C |V |B |P |M |, |. |/ | | | | | | - * |-----------------------------------------------------------|-----------| - * | | | | | | | | | | | - * *-----------------------------------------------------------------------* - */ - [_NL] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_Q , KC_W , KC_D , KC_F , KC_K , KC_J , KC_U , KC_R , KC_L , KC_SCLN, _______, _______, _______, _______, _______, _______, - _______, KC_A , KC_S , KC_E , KC_T , KC_G , KC_Y , KC_N , KC_I , KC_O , KC_H , _______, _______, _______, - _______, _______, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_P , KC_M , KC_COMM, KC_DOT , KC_SLSH, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - /*#### _DL: Dvorak Layer. - * .-----------------------------------------------------------------------. - * | ||||| | | | ||| | | | ||| | | | | | | | - * .-----------------------------------------------------------|-----------| - * | | | | | | | | | | | |[ |] | | | | | - * |-----------------------------------------------------------|-----------| - * | |' |, |. |P |Y |F |G |C |R |L |/ |= |\ | | | | - * |-----------------------------------------------------------|-----------| - * | |A |O |E |U |I |D |H |T |N |S |- | | | - * |-----------------------------------------------------------|-----------| - * | |; |Q |J |K |X |B |M |W |V |Z | | | | | | - * |-----------------------------------------------------------|-----------| - * | | | | | | | | | | | - * *-----------------------------------------------------------------------* - */ - [_DL] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LBRC, KC_RBRC, _______, _______, _______, _______, _______, - _______, KC_QUOT, KC_COMM, KC_DOT , KC_P , KC_Y , KC_F , KC_G , KC_C , KC_R , KC_L , KC_SLSH, KC_EQL , _______, _______, _______, _______, - _______, KC_A , KC_O , KC_E , KC_U , KC_I , KC_D , KC_H , KC_T , KC_N , KC_S , KC_MINS, _______, _______, - _______, _______, KC_SCLN, KC_Q , KC_J , KC_K , KC_X , KC_B , KC_M , KC_W , KC_V , KC_Z , _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - /*#### _CL: Colmak Layer. - * .-----------------------------------------------------------------------. - * | ||||| | | | ||| | | | ||| | | | | | | | - * .-----------------------------------------------------------|-----------| - * | | | | | | | | | | | |- |= | | | | | - * |-----------------------------------------------------------|-----------| - * | |Q |W |F |P |G |J |L |U |Y |; |[ |] |\ | | | | - * |-----------------------------------------------------------|-----------| - * | |A |R |S |T |D |H |N |E |I |O |' | | | - * |-----------------------------------------------------------|-----------| - * | |Z |X |C |V |B |K |M |, |. |/ | | | | | | - * |-----------------------------------------------------------|-----------| - * | | | | | | | | | | | - * *-----------------------------------------------------------------------* - */ - [_CL] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_Q , KC_W , KC_F , KC_P , KC_G , KC_J , KC_L , KC_U , KC_Y , KC_SCLN, _______, _______, _______, _______, _______, _______, - _______, KC_A , KC_R , KC_S , KC_T , KC_D , KC_H , KC_N , KC_E , KC_I , KC_O , _______, _______, _______, - _______, _______, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_K , KC_M , KC_COMM, KC_DOT , KC_SLSH, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - /*#### _FL: Function Layer. - * .-----------------------------------------------------------------------. - * | ||||| | | | ||| | | | ||| |VlM|VlD|VlU| | | | - * .-----------------------------------------------------------|-----------| - * |Web| | | | | | | | | | | | | | | | | - * |-----------------------------------------------------------|-----------| - * |Fn_AL| | | | | | | | | | | | | | | | | - * |-----------------------------------------------------------|-----------| - * | | | | | | | |Lft|Dwn|Up |Rgt| | | | - * |-----------------------------------------------------------|-----------| - * | | | | | | | | | | | | |Fn | | | | - * |-----------------------------------------------------------|-----------| - * | | | | SP4 | |Fn | |WBk| |WFw| - * *-----------------------------------------------------------------------* - */ - [_FL] = LAYOUT_all( - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_MUTE, KC_VOLD, KC_VOLU, XXXXXXX, XXXXXXX, XXXXXXX, - KC_WEB, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - MO(_AL), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, XXXXXXX, - XXXXXXX, XXXXXXX, KC_MENU, KC_SP4, XXXXXXX, _______, XXXXXXX, XXXXXXX, KC_WBAK, XXXXXXX, KC_WFWD - ), - /*#### _AL: Adjust Layer - Keymap select, LED backlight, and Dynamic Macro settings. - * .-----------------------------------------------------------------------. - * |Rst||||| | | | ||| | | | ||| | | | | | | | - * .-----------------------------------------------------------|-----------| - * |Rev|Tog|Mod|H- |H+ |S- |S+ |V- |V+ | |BLT|BL-|BL+| | |MR1|MP1| - * |-----------------------------------------------------------|-----------| - * |Fn_AL|_BL|_WL| | | | | | | | | | | | MS|MR2|MP2| - * |-----------------------------------------------------------|-----------| - * | | | |_DL| | | | | | | | | | | - * |-----------------------------------------------------------|-----------| - * | | | |_CL| |_BL|_NL| | | | | |Fn | | | | - * |-----------------------------------------------------------|-----------| - * | | | | | |Fn | | | | | - * *-----------------------------------------------------------------------* - */ - [_AL] = LAYOUT_all( - QK_BOOT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - QMK_REV, RGB_TOG, RGB_MOD, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_VAD, RGB_VAI, XXXXXXX, BL_TOGG, BL_DOWN, BL_UP, XXXXXXX, XXXXXXX, XXXXXXX, KC_DMR1, KC_DMP1, - _______, DF(_BL), DF(_WL), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_DMRS, KC_DMR2, KC_DMP2, - XXXXXXX, XXXXXXX, XXXXXXX, DF(_DL), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, DF(_CL), XXXXXXX, DF(_BL), DF(_NL), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX - ), -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case QMK_REV: - if (record->event.pressed) { - SEND_STRING(QMK_KEYBOARD "/" QMK_KEYMAP "@" QMK_VERSION ":" QMK_BUILDDATE); - } - return false; - break; - case KC_WEB: - if (record->event.pressed) { - SEND_STRING(SS_LGUI("r")); - wait_ms(100); - SEND_STRING("chrome.exe\n"); - } - return false; - break; - case KC_SP4: - if (record->event.pressed) { - SEND_STRING (" "); - } - return false; - break; - } - // Dynamic Macros. - if (!process_record_dynamic_macro(keycode, record)) { - return false; - } - return true; -} - -void custom_backlight_level(uint8_t level) { - if (level > BACKLIGHT_LEVELS) - level = BACKLIGHT_LEVELS; - backlight_config.level = level; - backlight_config.enable = !!backlight_config.level; - backlight_set(backlight_config.level); -} - -void matrix_init_user(void) { - #ifdef BACKLIGHT_ENABLE - custom_backlight_level(0); - #endif - #ifdef RGBLIGHT_ENABLE - rgblight_mode(1); - rgblight_sethsv_noeeprom(180,100,100); - #endif -} - -void matrix_scan_user(void) { - -} - -layer_state_t layer_state_set_user(layer_state_t state) { - switch (get_highest_layer(state)) { - case _BL: - custom_backlight_level(0); - rgblight_sethsv_noeeprom(180,100,255); - break; - case _WL: - case _NL: - case _DL: - case _CL: - custom_backlight_level(1); - rgblight_sethsv_noeeprom(230,255,255); - break; - case _FL: - custom_backlight_level(2); - rgblight_sethsv_noeeprom(240,255,255); - break; - case _AL: - custom_backlight_level(3); - rgblight_sethsv_noeeprom(255,255,255); - break; - default: - custom_backlight_level(0); - rgblight_sethsv_noeeprom(180,100,100); - break; - } - return state; -} - -void led_init_ports(void) { - DDRD |= (1<<5); // OUT - DDRE |= (1<<6); // OUT -} - -bool led_update_user(led_t led_state) { - if (led_state.caps_lock) { - DDRD |= (1 << 5); PORTD &= ~(1 << 5); - } else { - DDRD &= ~(1 << 5); PORTD &= ~(1 << 5); - } - if (led_state.scroll_lock) { - DDRE |= (1 << 6); PORTE &= ~(1 << 6); - } else { - DDRE &= ~(1 << 6); PORTE &= ~(1 << 6); - } - return false; -} diff --git a/keyboards/hineybush/h87a/keymaps/gam3cat/readme.md b/keyboards/hineybush/h87a/keymaps/gam3cat/readme.md deleted file mode 100644 index 5eb4c7d611..0000000000 --- a/keyboards/hineybush/h87a/keymaps/gam3cat/readme.md +++ /dev/null @@ -1,114 +0,0 @@ -# Keymap Maintainer: Gam3cat -make h87a:gam3cat -## Layout Config: -2u backspace, 2.25u lshift/enter, [2.75u rshift] or [1.75u rshift, 1u Fn]. -[1.5u, 1u, 1.5u 1x7.0u, 1.5u, 1u, 1.5u, 3x1u] or [2x1.5u, 1x7.0u, 2x1.5u, 3x1u] bottom row. - -## Base Layer Selection: -(Fn+TAB+( )): (Q)WERTY, (W)orkman, (N)orman, (D)vorak, (C)olmak - -### Base Layer Options: -#### _BL: Base Layer - Standard TKL QWERTY layout. - .-----------------------------------------------------------------------. - |Esc|||||F1 |F2 |F3 |F4 |||F5 |F6 |F7 |F8 |||F9 |F10|F11|F12|PSc|SLk|Pau| - |-----------------------------------------------------------|-----------| - |~ |1 |2 |3 |4 |5 |6 |7 |8 |9 |0 |- |= |Backsp |Ins|Hom|PgU| - |-----------------------------------------------------------|-----------| - |Tab |Q |W |E |R |T |Y |U |I |O |P |[ |] |\ |Del|End|PgD| - |-----------------------------------------------------------|-----------| - |Caps |A |S |D |F |G |H |J |K |L |; |' |Return | | - |-----------------------------------------------------------|-----------| - |Shift |Z |X |C |V |B |N |M |, |. |/ |Shift |Fn | | Up| | - |-----------------------------------------------------------|-----------| - |Ctrl |Win|Alt | Space |RAlt |Fn |Ctrl |Lft|Dwn|Rgt| - *-----------------------------------------------------------------------* - -#### _WL: Workman Layer. - .-----------------------------------------------------------------------. - | ||||| | | | ||| | | | ||| | | | | | | | - .-----------------------------------------------------------|-----------| - | | | | | | | | | | | |- |= | | | | | - |-----------------------------------------------------------|-----------| - | |Q |D |R |W |B |J |F |U |P |; |[ |] |\ | | | | - |-----------------------------------------------------------|-----------| - | |A |S |H |T |G |Y |N |E |O |I |' | | | - |-----------------------------------------------------------|-----------| - | |Z |X |M |C |V |K |L |, |. |/ | | | | | | - |-----------------------------------------------------------|-----------| - | | | | | | | | | | | - *-----------------------------------------------------------------------* - -#### _NL: Norman Layer. - .-----------------------------------------------------------------------. - | ||||| | | | ||| | | | ||| | | | | | | | - .-----------------------------------------------------------|-----------| - | | | | | | | | | | | |- |= | | | | | - |-----------------------------------------------------------|-----------| - | |Q |W |D |F |K |J |U |R |L |; |[ |] |\ | | | | - |-----------------------------------------------------------|-----------| - | |A |S |E |T |G |Y |N |I |O |H |' | | | - |-----------------------------------------------------------|-----------| - | |Z |X |C |V |B |P |M |, |. |/ | | | | | | - |-----------------------------------------------------------|-----------| - | | | | | | | | | | | - *-----------------------------------------------------------------------* - -#### _DL: Dvorak Layer. - .-----------------------------------------------------------------------. - | ||||| | | | ||| | | | ||| | | | | | | | - .-----------------------------------------------------------|-----------| - | | | | | | | | | | | |[ |] | | | | | - |-----------------------------------------------------------|-----------| - | |' |, |. |P |Y |F |G |C |R |L |/ |= |\ | | | | - |-----------------------------------------------------------|-----------| - | |A |O |E |U |I |D |H |T |N |S |- | | | - |-----------------------------------------------------------|-----------| - | |; |Q |J |K |X |B |M |W |V |Z | | | | | | - |-----------------------------------------------------------|-----------| - | | | | | | | | | | | - *-----------------------------------------------------------------------* - -#### _CL: Colmak Layer. - .-----------------------------------------------------------------------. - | ||||| | | | ||| | | | ||| | | | | | | | - .-----------------------------------------------------------|-----------| - | | | | | | | | | | | |- |= | | | | | - |-----------------------------------------------------------|-----------| - | |Q |W |F |P |G |J |L |U |Y |; |[ |] |\ | | | | - |-----------------------------------------------------------|-----------| - | |A |R |S |T |D |H |N |E |I |O |' | | | - |-----------------------------------------------------------|-----------| - | |Z |X |C |V |B |K |M |, |. |/ | | | | | | - |-----------------------------------------------------------|-----------| - | | | | | | | | | | | - *-----------------------------------------------------------------------* - -#### _FL: Function Layer. - .-----------------------------------------------------------------------. - | ||||| | | | ||| | | | ||| |VlM|VlD|VlU| | | | - .-----------------------------------------------------------|-----------| - |Web| | | | | | | | | | | | | | | | | - |-----------------------------------------------------------|-----------| - |Fn_AL| | | | | | | | | | | | | | | | | - |-----------------------------------------------------------|-----------| - | | | | | | | |Lft|Dwn|Up |Rgt| | | | - |-----------------------------------------------------------|-----------| - | | | | | | | | | | | | |Fn | | | | - |-----------------------------------------------------------|-----------| - | | | | SP4 | |Fn | |WBk| |WFw| - *-----------------------------------------------------------------------* - -#### _AL: Adjust Layer - Keymap select, LED backlight, and Dynamic Macro settings. - .-----------------------------------------------------------------------. - |Rst||||| | | | ||| | | | ||| | | | | | | | - .-----------------------------------------------------------|-----------| - |Rev|Tog|Mod|H- |H+ |S- |S+ |V- |V+ | |BLT|BL-|BL+| | |MR1|MP1| - |-----------------------------------------------------------|-----------| - |Fn_AL|_BL|_WL| | | | | | | | | | | | MS|MR2|MP2| - |-----------------------------------------------------------|-----------| - | | | |_DL| | | | | | | | | | | - |-----------------------------------------------------------|-----------| - | | | |_CL| |_BL|_NL| | | | | |Fn | | | | - |-----------------------------------------------------------|-----------| - | | | | | |Fn | | | | | - *-----------------------------------------------------------------------* diff --git a/keyboards/hineybush/h87a/keymaps/gam3cat/rules.mk b/keyboards/hineybush/h87a/keymaps/gam3cat/rules.mk deleted file mode 100644 index 7b35b90178..0000000000 --- a/keyboards/hineybush/h87a/keymaps/gam3cat/rules.mk +++ /dev/null @@ -1,22 +0,0 @@ -# Build Options -# change to "no" to disable the options, or define them in the Makefile in -# the appropriate keymap folder that will get included automatically -# -TAP_DANCE_ENABLE = no # Enable TapDance functionality -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys(+1500) -EXTRAKEY_ENABLE = yes # Audio control and System control(+450) -CONSOLE_ENABLE = no # Console for debug(+400) -COMMAND_ENABLE = no # Commands for debug and configuration -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend -NKRO_ENABLE = yes # Nkey Rollover - If this doesn't work, add this to config.h: #define FORCE_NKRO -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -MIDI_ENABLE = no # MIDI controls -UNICODE_ENABLE = no # Unicode -UNICODEMAP_ENABLE = no # Enable extended unicode -BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID -AUDIO_ENABLE = no # Audio output on port C6 -#VARIABLE_TRACE = no # Use this to debug changes to variable values -KEY_LOCK_ENABLE = no # This enables key lock(+260) -SPLIT_KEYBOARD = no # This enables split keyboard support and includes all necessary files located at quantum/split_common diff --git a/keyboards/hotdox/keymaps/eozaki/keymap.c b/keyboards/hotdox/keymaps/eozaki/keymap.c deleted file mode 100644 index d30308fa28..0000000000 --- a/keyboards/hotdox/keymaps/eozaki/keymap.c +++ /dev/null @@ -1,192 +0,0 @@ -#include QMK_KEYBOARD_H -#include "version.h" - -#define BASE 0 // default layer -#define SYMB 1 // symbols -#define MDIA 2 // media keys - -enum custom_keycodes { - PLACEHOLDER = SAFE_RANGE, // can always be here - VRSN, - RGB_SLD -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -/* Keymap 0: Basic layer - * - * ,--------------------------------------------------. ,--------------------------------------------------. - * | Esc | 1 | 2 | 3 | 4 | 5 | ~ | | ' | 6 | 7 | 8 | 9 | 0 | = | - * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| - * | Del | Q | W | E | R | T | ~ | | " | Y | U | I | O | P | - | - * |--------+------+------+------+------+------| ` | | |------+------+------+------+------+--------| - * | Ctrl | A | S | D | F | G |------| |------| H | J | K | L | ; | \ | - * |--------+------+------+------+------+------| { | | } |------+------+------+------+------+--------| - * | LAlt | Z | X | C | V | B | [ | | ] | N | M | , | . | / | LShift | - * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' - * | LT-1 | F4 | F5 | F6 | F11 | | Left | Down | Up | Right| RAlt | - * `----------------------------------' `----------------------------------' - * ,-------------. ,-------------. - * | L1 | Prev | | Vol+ | L2 | - * ,------|------|------| |------+--------+------. - * | | | Play | | Vol- | | | - * | Space|Backsp|------| |------| Tab |Enter | - * | |ace | Next | | Mute | | | - * `--------------------' `----------------------' - */ -// If it accepts an argument (i.e, is a function), it doesn't need KC_. -// Otherwise, it needs KC_* -[BASE] = LAYOUT_ergodox( // layer 0 : default - // left hand - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, LSFT(KC_GRV), - KC_DEL, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_GRV, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, - KC_LALT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, - LT(SYMB, KC_F2), KC_F4, KC_F5, KC_F6, KC_F11, - TG(SYMB), KC_MPRV, - KC_MPLY, - KC_SPC,KC_BSPC,KC_MNXT, - // right hand - KC_QUOT, KC_6, KC_7, KC_8, KC_9, KC_0, KC_EQL, - LSFT(KC_QUOT), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS, - KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),KC_BSLS, - KC_RBRC, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_LSFT, - KC_LEFT,KC_DOWN,KC_UP, KC_RGHT,KC_RALT, - KC_VOLU, TG(MDIA), - KC_VOLD, - KC_MUTE,KC_TAB, KC_ENT - ), -/* Keymap 1: Symbol Layer - * - * ,---------------------------------------------------. ,--------------------------------------------------. - * |Version | F1 | F2 | F3 | F4 | F5 | | | | F6 | F7 | F8 | F9 | F10 | F11 | - * |---------+------+------+------+------+------+------| |------+------+------+------+------+------+--------| - * | | ! | @ | { | } | | | | | | Up | 7 | 8 | 9 | * | F12 | - * |---------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | | # | $ | ( | ) | ` |------| |------| Down | 4 | 5 | 6 | + | | - * |---------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | | % | ^ | [ | ] | ~ | | | | & | 1 | 2 | 3 | \ | | - * `---------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' - * | EE_CLR | | | | | | | . | 0 | = | | - * `-----------------------------------' `----------------------------------' - * ,-------------. ,-------------. - * |Animat| | |Toggle|Solid | - * ,------|------|------| |------+------+------. - * |Bright|Bright| | | |Hue- |Hue+ | - * |ness- |ness+ |------| |------| | | - * | | | | | | | | - * `--------------------' `--------------------' - */ -// SYMBOLS -[SYMB] = LAYOUT_ergodox( - // left hand - VRSN, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_TRNS, - KC_TRNS,KC_EXLM,KC_AT, KC_LCBR,KC_RCBR,KC_PIPE,KC_TRNS, - KC_TRNS,KC_HASH,KC_DLR, KC_LPRN,KC_RPRN,KC_GRV, - KC_TRNS,KC_PERC,KC_CIRC,KC_LBRC,KC_RBRC,KC_TILD,KC_TRNS, - EE_CLR, KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, - RGB_MOD,KC_TRNS, - KC_TRNS, - RGB_VAD,RGB_VAI,KC_TRNS, - // right hand - KC_TRNS, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, - KC_TRNS, KC_UP, KC_7, KC_8, KC_9, KC_ASTR, KC_F12, - KC_DOWN, KC_4, KC_5, KC_6, KC_PLUS, KC_TRNS, - KC_TRNS, KC_AMPR, KC_1, KC_2, KC_3, KC_BSLS, KC_TRNS, - KC_TRNS,KC_DOT, KC_0, KC_EQL, KC_TRNS, - RGB_TOG, RGB_SLD, - KC_TRNS, - KC_TRNS, RGB_HUD, RGB_HUI -), -/* Keymap 2: Media and mouse keys - * - * ,--------------------------------------------------. ,--------------------------------------------------. - * | | | | | | | | | | | | | | | | - * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| - * | | | | MsUp | | | | | | | | | | | | - * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | | |MsLeft|MsDown|MsRght| |------| |------| | | | | | Play | - * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | | | | | | | | | | | | Prev | Next | | | - * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' - * | | | | Lclk | Rclk | |VolUp |VolDn | Mute | | | - * `----------------------------------' `----------------------------------' - * ,-------------. ,-------------. - * | | | | | | - * ,------|------|------| |------+------+------. - * | | | | | | |Brwser| - * | | |------| |------| |Back | - * | | | | | | | | - * `--------------------' `--------------------' - */ -// MEDIA AND MOUSE -[MDIA] = LAYOUT_ergodox( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_MS_U, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_MS_L, KC_MS_D, KC_MS_R, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_BTN1, KC_BTN2, - KC_TRNS, KC_TRNS, - KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, - // right hand - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY, - KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_MNXT, KC_TRNS, KC_TRNS, - KC_VOLU, KC_VOLD, KC_MUTE, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, - KC_TRNS, - KC_TRNS, KC_TRNS, KC_WBAK -), -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - // dynamically generate these. - case VRSN: - if (record->event.pressed) { - SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); - } - return false; - break; - case RGB_SLD: - if (record->event.pressed) { - #ifdef RGBLIGHT_ENABLE - rgblight_mode(1); - #endif - } - return false; - break; - } - return true; -} - -// Runs just one time when the keyboard initializes. -void matrix_init_user(void) { - -}; - - -// Runs constantly in the background, in a loop. -void matrix_scan_user(void) { - - uint8_t layer = get_highest_layer(layer_state); - - ergodox_board_led_off(); - ergodox_right_led_1_off(); - ergodox_right_led_2_off(); - ergodox_right_led_3_off(); - switch (layer) { - // TODO: Make this relevant to the ErgoDox EZ. - case 1: - ergodox_right_led_1_on(); - break; - case 2: - ergodox_right_led_2_on(); - break; - default: - // none - break; - } - -}; diff --git a/keyboards/ibm/model_m/ashpil_usbc/keymaps/ashpil/config.h b/keyboards/ibm/model_m/ashpil_usbc/keymaps/ashpil/config.h deleted file mode 100644 index 59cec33010..0000000000 --- a/keyboards/ibm/model_m/ashpil_usbc/keymaps/ashpil/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* Copyright 2019 ashpil - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -// place overrides here - - -/* Add combos */ -#define COMBO_TERM 200 diff --git a/keyboards/ibm/model_m/ashpil_usbc/keymaps/ashpil/keymap.c b/keyboards/ibm/model_m/ashpil_usbc/keymaps/ashpil/keymap.c deleted file mode 100644 index e8df1f0c81..0000000000 --- a/keyboards/ibm/model_m/ashpil_usbc/keymaps/ashpil/keymap.c +++ /dev/null @@ -1,47 +0,0 @@ -/* Copyright 2019 ashpil - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_fullsize_ansi_wkl( /* Base layer */ - KC_ESC, 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_PSCR, KC_SCRL, KC_PAUS, - 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_BSPC, KC_MEDIA_PLAY_PAUSE, KC_AUDIO_MUTE, KC_AUDIO_VOL_UP, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, - 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, KC_MEDIA_PREV_TRACK, KC_MEDIA_NEXT_TRACK, KC_AUDIO_VOL_DOWN, KC_P7, KC_P8, KC_P9, KC_PPLS, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_P4, KC_P5, KC_P6, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, - KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT - ), -}; - -enum combo_events { - CTRL_PAUS_RESET, -}; - -const uint16_t PROGMEM reset_combo[] = {KC_LCTL, KC_PAUS, COMBO_END}; - -combo_t key_combos[] = { - [CTRL_PAUS_RESET] = COMBO_ACTION(reset_combo), -}; - -void process_combo_event(uint16_t combo_index, bool pressed) { - switch(combo_index) { - case CTRL_PAUS_RESET: - if (pressed) { - reset_keyboard(); - } - break; - } -} diff --git a/keyboards/ibm/model_m/ashpil_usbc/keymaps/ashpil/rules.mk b/keyboards/ibm/model_m/ashpil_usbc/keymaps/ashpil/rules.mk deleted file mode 100644 index 23b7c173b8..0000000000 --- a/keyboards/ibm/model_m/ashpil_usbc/keymaps/ashpil/rules.mk +++ /dev/null @@ -1 +0,0 @@ -COMBO_ENABLE = yes # Reset combo \ No newline at end of file diff --git a/keyboards/ibm/model_m/teensypp/keymaps/iw0rm3r/keymap.c b/keyboards/ibm/model_m/teensypp/keymaps/iw0rm3r/keymap.c deleted file mode 100644 index 4ec0a0cbc0..0000000000 --- a/keyboards/ibm/model_m/teensypp/keymaps/iw0rm3r/keymap.c +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright 2019 iw0rm3r - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( /* Base layer */ - KC_ESC, 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_PSCR, KC_SCRL, KC_PAUS, - 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_BSPC, KC_INS, KC_HOME, KC_PGUP, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, - 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, KC_DEL, KC_END, KC_PGDN, KC_P7, KC_P8, KC_P9, KC_PPLS, - KC_LGUI, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_P4, KC_P5, KC_P6, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_CAPS, - KC_LCTL, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_APP, KC_PDOT - ), -}; diff --git a/keyboards/ibm/model_m/teensypp/keymaps/iw0rm3r/readme.md b/keyboards/ibm/model_m/teensypp/keymaps/iw0rm3r/readme.md deleted file mode 100644 index 17b0f40da2..0000000000 --- a/keyboards/ibm/model_m/teensypp/keymaps/iw0rm3r/readme.md +++ /dev/null @@ -1,5 +0,0 @@ -# This is my personal keymap for modelm101 - -Caps Lock is mapped as LGUI (Windows key). -Num Enter is mapped as Caps Lock. -Num0 is mapped as App key (context menu). \ No newline at end of file diff --git a/keyboards/ibm/model_m/yugo_m/keymaps/an_achronism_106/keymap.c b/keyboards/ibm/model_m/yugo_m/keymaps/an_achronism_106/keymap.c deleted file mode 100644 index a92c877814..0000000000 --- a/keyboards/ibm/model_m/yugo_m/keymaps/an_achronism_106/keymap.c +++ /dev/null @@ -1,53 +0,0 @@ -/* Copyright 2022 an_achronism <87213873+an-achronism@users.noreply.github.com> - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H - -enum keyboard_layers { - _BL, // Base Layer - _FN // Function Layer -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Layer 0: Default Layer - * ,-------------------------------------------------------------------------------------------------. - * |Esc| |F1 |F2 |F3 |F4 | |F5 |F6 |F7 |F8 | |F9 |F10|F11|F12| |PSc|ScL|Cap| | - * | | - * |` |1 |2 |3 |4 |5 |6 |7 |8 |9 |0 |- |= |BSp|Pse| |Ins|Hom|PgU| |Num|/ |* |= | - * |-----------------------------------------------------------| |-----------| |---------------| - * |Tab |Q |W |E |R |T |Y |U |I |O |P |[ |] |RCtrl| |Del|End|PgD| |7 |8 |9 |- | - * |-----------------------------------------------------------| |---------------| - * |LCtrl |A |S |D |F |G |H |J |K |L |; |' |# |Rtn | |4 |5 |6 |+ | - * |-----------------------------------------------------------| |---------------| - * |LShift|\ |Z |X |C |V |B |N |M |, |. |/ |RShift | |Up | |1 |2 |3 |Ent| - * |-----------------------------------------------------------| |---| |-----------| | - * |Esc/LAlt| |LGUI | Space |BS/Fn| |RAlt | |Lt |Dn |Rt | |0 |Fn | .| | - * `-------------------------------------------------------------------------------------------------' - */ - [_BL] = LAYOUT_all( - KC_ESC, 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_PSCR, KC_SCRL, KC_CAPS, - 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_BSPC, KC_PAUS, KC_INS, KC_HOME, KC_PGUP, KC_NUM, KC_PSLS, KC_PAST, KC_PEQL, - 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_RCTL, KC_DEL, KC_END, KC_PGDN, KC_P7, KC_P8, KC_P9, KC_PMNS, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_P4, KC_P5, KC_P6, KC_PPLS, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_INT1, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, - LALT_T(KC_ESC), KC_LGUI, KC_SPC, LT(_FN, KC_BSPC), KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, MO(_FN), KC_PDOT, KC_NO), - [_FN] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, KC_MSTP, C(KC_BRK), _______, _______, _______, KC_F10, KC_F11, KC_F12, KC_PWR, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_MPRV, KC_MNXT, KC_APP, _______, _______, _______, KC_F7, KC_F8, KC_F9, KC_SLEP, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, KC_F4, KC_F5, KC_F6, KC_CALC, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_F1, KC_F2, KC_F3, KC_EJCT, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), -}; diff --git a/keyboards/ibm/model_m/yugo_m/keymaps/an_achronism_106/readme.md b/keyboards/ibm/model_m/yugo_m/keymaps/an_achronism_106/readme.md deleted file mode 100644 index 6d3a7ff5d9..0000000000 --- a/keyboards/ibm/model_m/yugo_m/keymaps/an_achronism_106/readme.md +++ /dev/null @@ -1,3 +0,0 @@ -# an_achronism's custom 106-key layout (107-key if you stick the appropriate keys on RShift and JIS backslash, which are already mapped for convenience). - -# With the exception of a single extra matrix position between LAlt and Space which only appears on certain later membranes and is almost never actually used, the only unmapped key is the bottom right corner of the numpad (the unused lower half of the vertical 2u key most commonly used as either Enter or Field +). If you like, you can easily add that into the keymap by changing the appropriate KC_NO to whatever you want. diff --git a/keyboards/ibm/model_m_122/ibm122m/keymaps/andresteare/keymap.c b/keyboards/ibm/model_m_122/ibm122m/keymaps/andresteare/keymap.c deleted file mode 100644 index 6d6d09a0a5..0000000000 --- a/keyboards/ibm/model_m_122/ibm122m/keymaps/andresteare/keymap.c +++ /dev/null @@ -1,29 +0,0 @@ -/* Copyright 2018 andresteare - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // Programmer's Dvorak - [0] = LAYOUT( - KC_F13, KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, - 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_ESC, KC_NO, 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_BSPC, KC_INS, KC_HOME, KC_PGUP, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, - KC_NO, KC_NO, 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_ENT, KC_DEL, KC_END, KC_PGDN, KC_P7, KC_P8, KC_P9, KC_PPLS, - KC_NO, KC_NO, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_UP, KC_P4, KC_P5, KC_P6, KC_BSPC, - KC_NO, KC_NO, KC_LSFT, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_LEFT, KC_NO, KC_RIGHT, KC_P1, KC_P2, KC_P3, KC_PENT, - KC_NO, KC_NO, KC_LCTL, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_DOWN, KC_P0, KC_PDOT - ), -}; diff --git a/keyboards/ibm/model_m_ssk/teensypp_ssk/keymaps/tiltowait/config.h b/keyboards/ibm/model_m_ssk/teensypp_ssk/keymaps/tiltowait/config.h deleted file mode 100644 index 151118fdf6..0000000000 --- a/keyboards/ibm/model_m_ssk/teensypp_ssk/keymaps/tiltowait/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright 2021 tiltowait - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -// place overrides here - -#define PERMISSIVE_HOLD diff --git a/keyboards/ibm/model_m_ssk/teensypp_ssk/keymaps/tiltowait/keymap.c b/keyboards/ibm/model_m_ssk/teensypp_ssk/keymaps/tiltowait/keymap.c deleted file mode 100644 index 4836ad329e..0000000000 --- a/keyboards/ibm/model_m_ssk/teensypp_ssk/keymaps/tiltowait/keymap.c +++ /dev/null @@ -1,116 +0,0 @@ -/* Copyright 2021 tiltowait - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H - -enum custom_layers { - _BASE, - _SECOND, - _NUMPAD, -}; - -enum custom_keycodes { - NUM_SCRL = SAFE_RANGE /* Dual-purpose Scroll Lock / Numlock button as on original hardware */ -}; - -void toggle_numlock_layer(int set_state); - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BASE] = LAYOUT( /* Base layer */ - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_MUTE, KC_F10, KC_VOLD, KC_VOLU, S(G(KC_4)), NUM_SCRL, KC_PAUS, - - 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_BSLS, KC_INS, KC_HOME, KC_PGUP, - LT(_SECOND,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_BSPC, KC_DEL, KC_END, KC_PGDN, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LALT, LGUI_T(KC_ENT), KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - [_SECOND] = LAYOUT( /* Layer 1 */ - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, S(A(KC_MINS)), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, C(KC_LEFT), C(KC_RGHT), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, S(A(KC_M)), KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_ENT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, C(KC_SPC), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), - [_NUMPAD] = LAYOUT( /* Numpad Layer */ - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_KP_7, KC_KP_8, KC_KP_9, KC_TRNS, KC_KP_MINUS, KC_KP_PLUS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_KP_4, KC_KP_5, KC_KP_6, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_KP_1, KC_KP_2, KC_KP_3, KC_KP_ASTERISK, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_KP_0, KC_TRNS, KC_KP_DOT, KC_KP_SLASH, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - static uint16_t last_num_scroll = 0; /* For unregistering the proper key */ - - switch (keycode) { - case NUM_SCRL: - if (record->event.pressed) { - if (get_mods() & MOD_MASK_SHIFT) { - /* Remove the shift modifiers */ - uint8_t shift_mods = get_mods() & (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)); - set_mods(get_mods() & ~(MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) ); - - last_num_scroll = KC_NUM_LOCK; - register_code(last_num_scroll); - toggle_numlock_layer(-1); - - /* Reset the shift modifiers */ - set_mods(shift_mods); - } else { - last_num_scroll = KC_SCROLL_LOCK; - register_code(last_num_scroll); - } - } else { - unregister_code(last_num_scroll); - } - break; - } - return true; -} - -void toggle_numlock_layer(int set_state) { - static uint8_t numlock_enabled = 0; - - /* set_state allows us to explicitly change the numlock state - rather than merely toggling it. */ - if (set_state == -1) { - numlock_enabled = !numlock_enabled; - } else { - numlock_enabled = set_state; - } - - if (numlock_enabled) { - layer_on(_NUMPAD); - } - else { - layer_off(_NUMPAD); - } -} - -bool led_update_kb(led_t led_state) { - static int8_t numlock_state = -1; - - if (led_state.num_lock != numlock_state) { - numlock_state = led_state.num_lock; - toggle_numlock_layer(led_state.num_lock); - } - return true; -} diff --git a/keyboards/ibm/model_m_ssk/teensypp_ssk/keymaps/tiltowait/readme.md b/keyboards/ibm/model_m_ssk/teensypp_ssk/keymaps/tiltowait/readme.md deleted file mode 100644 index aecdd89b82..0000000000 --- a/keyboards/ibm/model_m_ssk/teensypp_ssk/keymaps/tiltowait/readme.md +++ /dev/null @@ -1,11 +0,0 @@ -# The maintainer's personal keymap for modelm_ssk - -This is a keymap suitable for macOS use. - -* Backspace and backslash have been swapped (HHKB style) -* Capslock is LCTRL -* LCTRL is LALT -* LALT is LGUI -* Tab shifts to layer 1 on hold -* Layer 1 has a couple of Mac shortcuts, plus Vim-style arrow keys -* Shift+Numlock enables numlock diff --git a/keyboards/ibnuda/alicia_cook/keymaps/rick/config.h b/keyboards/ibnuda/alicia_cook/keymaps/rick/config.h deleted file mode 100644 index d4b4480810..0000000000 --- a/keyboards/ibnuda/alicia_cook/keymaps/rick/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright 2021 Ibnu D. Aji - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#pragma once - -#define COMBO_TERM 50 -#define PERMISSIVE_HOLD -#define TAPPING_TERM 175 -#define TAPPING_TERM 175 diff --git a/keyboards/ibnuda/alicia_cook/keymaps/rick/keymap.c b/keyboards/ibnuda/alicia_cook/keymaps/rick/keymap.c deleted file mode 100644 index 9c1f0cb63e..0000000000 --- a/keyboards/ibnuda/alicia_cook/keymaps/rick/keymap.c +++ /dev/null @@ -1,246 +0,0 @@ -/* Copyright 2021 Ibnu D. Aji - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H -#ifdef CONSOLE_ENABLE -#include "print.h" -#endif - -// enum for combos. -enum combos { - // left hand combinations. - L_U_PINKY_RING, - L_U_RING_MIDDLE, - L_U_RING_INDEX, - L_U_MIDDLE_INDEX, - L_U_MIDDLE_INNER_INDEX, - L_U_INDEX_INNER_INDEX, - L_L_PINKY_RING, - L_L_RING_MIDDLE, - L_L_RING_INDEX, - L_L_MIDDLE_INDEX, - L_L_INDEX_INNER_INDEX, - - L_U_RING_MIDDLE_INDEX, - L_L_RING_MIDDLE_INDEX, - - // right hand combinations. - R_U_PINKY_RING, - R_U_RING_MIDDLE, - R_U_RING_INDEX, - R_U_MIDDLE_INDEX, - R_U_MIDDLE_INNER_INDEX, - R_U_INNER_INNER_INDEX, - R_L_PINKY_RING, - R_L_RING_MIDDLE, - R_L_MIDDLE_INDEX, - R_L_RING_INDEX, - R_L_INDEX_INNER_INDEX, - - R_U_RING_MIDDLE_INDEX, - R_L_RING_MIDDLE_INDEX, - - // both hands combinations. - B_L_MIDDLE_MIDDLE, -}; - -enum { - _BASE, - _LOWER, - _RAISE, - _ADJUST, -}; - -enum custom_keycodes { - BASE = SAFE_RANGE, - LOWER, - RAISE, - ADJUST, -}; - -// keycode abstraction -#define LUP KC_Q -#define LUR KC_V -#define LUM KC_C -#define LUI KC_P -#define LUII KC_B -#define LMP KC_R -#define LMR KC_S -#define LMM KC_T -#define LMI KC_H -#define LMII KC_D -#define LLP KC_QUOT -#define LLR KC_J -#define LLM KC_G -#define LLI KC_K -#define LLII KC_X - -#define RUP KC_Z -#define RUR KC_Y -#define RUM KC_U -#define RUI KC_L -#define RUII KC_DOT -#define RMP KC_O -#define RMR KC_I -#define RMM KC_A -#define RMI KC_N -#define RMII KC_F -#define RLP KC_SLSH -#define RLR KC_COMM -#define RLM KC_W -#define RLI KC_M -#define RLII KC_SCLN - -// thumb keys. -#define TRAISE TG(_RAISE) -#define AL_ENT ALT_T(KC_ENT) -#define SF_BSPC SFT_T(KC_BSPC) -#define CT_ESC CTL_T(KC_ESC) - -// home row mods. -#define CTLR LCTL_T(LMR) -#define CTRR RCTL_T(RMR) -#define CT_LEFT LCTL_T(KC_LEFT) -#define CT_SIX RCTL_T(KC_6) - -#define SHLP LSFT_T(LMP) -#define SHRP RSFT_T(RMP) -#define SH_HASH LSFT_T(KC_HASH) -#define SH_ZERO RSFT_T(KC_0) - -#define ALLM LALT_T(LMM) -#define ALRM RALT_T(RMM) -#define AL_DOWN LALT_T(KC_DOWN) -#define AL_FIVE RALT_T(KC_5) - -#define GULII RGUI_T(LMII) -#define GURII LGUI_T(RMII) -#define GU_DLR RGUI_T(KC_DLR) -#define GU_EQL LGUI_T(KC_EQL) - -// layer toggle. -#define LW_E LT(_LOWER, KC_E) -#define RS_SPC LT(_RAISE, KC_SPC) -#define LW_RMI LT(_LOWER, RMI) -#define RS_LMI LT(_RAISE, LMI) - -// idk, man. not used, i guess. -#define ADDDD MO(_ADJUST) - -// common shortcuts for windows and linux that i use. -#define NXTTAB LCTL(KC_PGDN) -#define PRVTAB LCTL(KC_PGUP) -#define UPTAB LCTL(LSFT(KC_PGUP)) -#define DNTAB LCTL(LSFT(KC_PGDN)) -#define NXTWIN LALT(KC_TAB) -#define PRVWIN LALT(LSFT(KC_TAB)) -#define CALDL LCTL(LALT(KC_DEL)) -#define TSKMGR LCTL(LSFT(KC_ESC)) -#define EXPLR LGUI(KC_E) -#define LCKGUI LGUI(KC_L) -#define CONPST LSFT(KC_INS) -#define CLSGUI LALT(KC_F4) - -// left hand combinations. -const uint16_t PROGMEM lu_p_r_combo[] = {LUP, LUR, COMBO_END}; -const uint16_t PROGMEM lu_r_m_combo[] = {LUR, LUM, COMBO_END}; -const uint16_t PROGMEM lu_r_i_combo[] = {LUR, LUI, COMBO_END}; -const uint16_t PROGMEM lu_m_i_combo[] = {LUM, LUI, COMBO_END}; -const uint16_t PROGMEM lu_m_ii_combo[] = {LUM, LUII, COMBO_END}; -const uint16_t PROGMEM lu_i_ii_combo[] = {LUI, LUII, COMBO_END}; -const uint16_t PROGMEM ll_p_r_combo[] = {LLP, LLR, COMBO_END}; -const uint16_t PROGMEM ll_r_m_combo[] = {LLR, LLM, COMBO_END}; -const uint16_t PROGMEM ll_r_i_combo[] = {LLR, LLI, COMBO_END}; -const uint16_t PROGMEM ll_m_i_combo[] = {LLM, LLI, COMBO_END}; -const uint16_t PROGMEM ll_i_ii_combo[] = {LLI, LLII, COMBO_END}; - -const uint16_t PROGMEM lu_r_m_i_combo[] = {LUR, LUM, LUI, COMBO_END}; -const uint16_t PROGMEM ll_r_m_i_combo[] = {LLR, LLM, LLI, COMBO_END}; - -// right hand combinations. -const uint16_t PROGMEM ru_p_r_combo[] = {RUP, RUR, COMBO_END}; -const uint16_t PROGMEM ru_r_m_combo[] = {RUR, RUM, COMBO_END}; -const uint16_t PROGMEM ru_r_i_combo[] = {RUR, RUI, COMBO_END}; -const uint16_t PROGMEM ru_m_i_combo[] = {RUM, RUI, COMBO_END}; -const uint16_t PROGMEM ru_m_ii_combo[] = {RUM, RUII, COMBO_END}; -const uint16_t PROGMEM ru_i_ii_combo[] = {RUI, RUII, COMBO_END}; -const uint16_t PROGMEM rl_p_r_combo[] = {RLP, RLR, COMBO_END}; -const uint16_t PROGMEM rl_r_m_combo[] = {RLR, RLM, COMBO_END}; -const uint16_t PROGMEM rl_r_i_combo[] = {RLR, RLI, COMBO_END}; -const uint16_t PROGMEM rl_m_i_combo[] = {RLM, RLI, COMBO_END}; -const uint16_t PROGMEM rl_i_ii_combo[] = {RLI, RLII, COMBO_END}; - -const uint16_t PROGMEM ru_r_m_i_combo[] = {RUR, RUM, RUI, COMBO_END}; -const uint16_t PROGMEM rl_r_m_i_combo[] = {RLR, RLM, RLI, COMBO_END}; - -// both hand combinations. -const uint16_t PROGMEM bl_m_m_combo[] = {LLM, RLM, COMBO_END}; - -combo_t key_combos[] = { - // left hand combinations. - [L_U_PINKY_RING] = COMBO(lu_p_r_combo, KC_TAB), - [L_U_RING_MIDDLE] = COMBO(lu_r_m_combo, KC_QUES), - [L_U_RING_INDEX] = COMBO(lu_r_i_combo, PRVTAB), - [L_U_MIDDLE_INDEX] = COMBO(lu_m_i_combo, KC_UNDS), - [L_U_MIDDLE_INNER_INDEX] = COMBO(lu_m_ii_combo, KC_ENT), - [L_U_INDEX_INNER_INDEX] = COMBO(lu_i_ii_combo, KC_PIPE), - [L_L_PINKY_RING] = COMBO(ll_p_r_combo, KC_ENT), - [L_L_RING_MIDDLE] = COMBO(ll_r_m_combo, LCTL(KC_W)), - [L_L_RING_INDEX] = COMBO(ll_r_i_combo, KC_TAB), - [L_L_MIDDLE_INDEX] = COMBO(ll_m_i_combo, KC_DEL), - [L_L_INDEX_INNER_INDEX] = COMBO(ll_i_ii_combo, KC_TILD), - - [L_U_RING_MIDDLE_INDEX] = COMBO(lu_r_m_i_combo, KC_PIPE), - [L_L_RING_MIDDLE_INDEX] = COMBO(ll_r_m_i_combo, KC_TILD), - - // right hand combinations. - [R_U_PINKY_RING] = COMBO(ru_p_r_combo, KC_BSPC), - [R_U_RING_MIDDLE] = COMBO(ru_r_m_combo, KC_SLSH), - [R_U_RING_INDEX] = COMBO(ru_r_i_combo, NXTTAB), - [R_U_MIDDLE_INDEX] = COMBO(ru_m_i_combo, KC_MINS), - [R_U_MIDDLE_INNER_INDEX] = COMBO(ru_m_ii_combo, KC_ENT), - [R_U_INNER_INNER_INDEX] = COMBO(ru_i_ii_combo, KC_BSLS), - [R_L_PINKY_RING] = COMBO(rl_p_r_combo, KC_BSLS), - [R_L_RING_MIDDLE] = COMBO(rl_r_m_combo, KC_APP), - [R_L_RING_INDEX] = COMBO(rl_r_i_combo, LSFT(KC_TAB)), - [R_L_MIDDLE_INDEX] = COMBO(rl_m_i_combo, KC_DEL), - [R_L_INDEX_INNER_INDEX] = COMBO(rl_i_ii_combo, KC_GRV), - - [R_U_RING_MIDDLE_INDEX] = COMBO(ru_r_m_i_combo, KC_BSLS), - [R_L_RING_MIDDLE_INDEX] = COMBO(rl_r_m_i_combo, KC_GRV), - - // both hand combinations. - [B_L_MIDDLE_MIDDLE] = COMBO(bl_m_m_combo, KC_ENT), -}; -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_all( - KC_ESC, LUP, LUR, LUM, LUI, LUII, RUII, RUI, RUM, RUR, RUP, KC_BSPC, KC_BSPC, - KC_LCTL,SHLP, CTLR, ALLM, RS_LMI, GULII, GURII, LW_RMI, ALRM, CTRR, SHRP, KC_ENT, - KC_LSFT,LLP, LLR, LLM, LLI, LLII, RLII, RLI, RLM, RLR, RLP, KC_RSFT,MO(1), - KC_LGUI,KC_LALT, KC_LGUI,LW_E, SF_BSPC, AL_ENT, RS_SPC, KC_LALT, KC_RGUI,KC_RCTL - ), - [1] = LAYOUT_all( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, KC_BSPC, - KC_LCTL,KC_EXLM,KC_AT, KC_HASH,KC_DLR, KC_PERC, KC_CIRC,KC_AMPR,KC_ASTR,KC_LPRN,KC_RPRN, KC_SCLN, - KC_LSFT,KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH,KC_RSFT,MO(2), - KC_LGUI,KC_LALT, KC_LGUI,LW_E, SF_BSPC, AL_ENT, RS_SPC, KC_LALT, KC_RGUI,KC_RCTL - ), - [2] = LAYOUT_all( - 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_F13, - KC_LCTL,KC_EXLM,KC_AT, KC_HASH,KC_DLR, KC_PERC, KC_CIRC,KC_AMPR,KC_ASTR,KC_LPRN,KC_RPRN, KC_SCLN, - KC_LSFT,KC_Z, KC_X, KC_C, KC_V, QK_BOOT, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH,KC_RSFT,MO(1), - KC_LGUI,KC_LALT, KC_LGUI,LW_E, SF_BSPC, AL_ENT, RS_SPC, KC_LALT, KC_RGUI,KC_RCTL - ), -}; diff --git a/keyboards/ibnuda/alicia_cook/keymaps/rick/readme.md b/keyboards/ibnuda/alicia_cook/keymaps/rick/readme.md deleted file mode 100644 index 2bfb2a96fa..0000000000 --- a/keyboards/ibnuda/alicia_cook/keymaps/rick/readme.md +++ /dev/null @@ -1 +0,0 @@ -# Rick's Keymap for Alicia Cook diff --git a/keyboards/ibnuda/alicia_cook/keymaps/rick/rules.mk b/keyboards/ibnuda/alicia_cook/keymaps/rick/rules.mk deleted file mode 100644 index 6ecc620954..0000000000 --- a/keyboards/ibnuda/alicia_cook/keymaps/rick/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -COMBO_ENABLE = yes -CONSOLE_ENABLE = yes \ No newline at end of file diff --git a/keyboards/ibnuda/squiggle/keymaps/rick-complicated/config.h b/keyboards/ibnuda/squiggle/keymaps/rick-complicated/config.h deleted file mode 100644 index 2392b46be6..0000000000 --- a/keyboards/ibnuda/squiggle/keymaps/rick-complicated/config.h +++ /dev/null @@ -1,6 +0,0 @@ -#pragma once - -#define COMBO_TERM 100 -#define PERMISSIVE_HOLD - -#define LEADER_TIMEOUT 300 diff --git a/keyboards/ibnuda/squiggle/keymaps/rick-complicated/keymap.c b/keyboards/ibnuda/squiggle/keymaps/rick-complicated/keymap.c deleted file mode 100644 index b28fc84499..0000000000 --- a/keyboards/ibnuda/squiggle/keymaps/rick-complicated/keymap.c +++ /dev/null @@ -1,188 +0,0 @@ -/* Copyright 2020 Ibnu D. Aji - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H - -// enum for combos. -enum combos { - // left hand combinations. - COLON_COMMA, - COMMA_DOT, - DOT_P, - P_Y, - COMMA_P, - QUOT_Q, - Q_J, - J_K, - Q_K, - K_X, - - // right hand combinations. - L_R, - R_C, - C_G, - R_G, - G_F, - V_W, - W_M, - V_M, - M_B, - - // both hands combinations. - J_W, -}; - -enum { - _BASE, - _LOWER, - _RAISE, - _ADJUST, -}; - -enum custom_keycodes { - BASE = SAFE_RANGE, - LOWER, - RAISE, - ADJUST, -}; - -// thumb keys. -#define ALT_ENT ALT_T(KC_ENT) -#define SFT_ESC SFT_T(KC_ESC) - -// home row mods. -#define CT_O LCTL_T(KC_O) -#define CT_N RCTL_T(KC_N) -#define SH_A LSFT_T(KC_A) -#define SH_S RSFT_T(KC_S) -#define AL_E LALT_T(KC_E) -#define AL_T RALT_T(KC_T) -#define GU_I LGUI_T(KC_I) -#define GU_D RGUI_T(KC_D) - -// layer toggle. -#define LW_BSPC LT(_LOWER, KC_BSPC) -#define RS_SPC LT(_RAISE, KC_SPC) -#define RS_D LT(_RAISE, KC_D) -#define LW_I LT(_LOWER, KC_I) - -// idk, man. not used, i guess. -#define ADDDD MO(_ADJUST) - -// common shortcuts for windows and linux that i use. -#define NXTTAB LCTL(KC_PGDN) -#define PRVTAB LCTL(KC_PGUP) -#define UPTAB LCTL(LSFT(KC_PGUP)) -#define DNTAB LCTL(LSFT(KC_PGDN)) -#define NXTWIN LALT(KC_TAB) -#define PRVWIN LALT(LSFT(KC_TAB)) -#define CALDL LCTL(LALT(KC_DEL)) -#define TSKMGR LCTL(LSFT(KC_ESC)) -#define EXPLR LGUI(KC_E) -#define LCKGUI LGUI(KC_L) -#define CONPST LSFT(KC_INS) -#define CLSGUI LALT(KC_F4) - -// left hand combinations. -const uint16_t PROGMEM colon_comma_combo[] = {KC_SCLN, KC_COMM, COMBO_END}; -const uint16_t PROGMEM comma_dot_combo[] = {KC_COMM, KC_DOT, COMBO_END}; -const uint16_t PROGMEM dot_p_combo[] = {KC_DOT, KC_P, COMBO_END}; -const uint16_t PROGMEM p_y_combo[] = {KC_P, KC_Y, COMBO_END}; -const uint16_t PROGMEM comma_p_combo[] = {KC_COMM, KC_P, COMBO_END}; -const uint16_t PROGMEM quot_q_combo[] = {KC_QUOT, KC_Q, COMBO_END}; -const uint16_t PROGMEM q_j_combo[] = {KC_Q, KC_J, COMBO_END}; -const uint16_t PROGMEM j_k_combo[] = {KC_J, KC_K, COMBO_END}; -const uint16_t PROGMEM q_k_combo[] = {KC_Q, KC_K, COMBO_END}; -const uint16_t PROGMEM k_x_combo[] = {KC_K, KC_X, COMBO_END}; - -// right hand combinations. -const uint16_t PROGMEM l_r_combo[] = {KC_L, KC_R, COMBO_END}; -const uint16_t PROGMEM r_c_combo[] = {KC_R, KC_C, COMBO_END}; -const uint16_t PROGMEM c_g_combo[] = {KC_C, KC_G, COMBO_END}; -const uint16_t PROGMEM r_g_combo[] = {KC_R, KC_G, COMBO_END}; -const uint16_t PROGMEM g_f_combo[] = {KC_G, KC_F, COMBO_END}; -const uint16_t PROGMEM v_w_combo[] = {KC_V, KC_W, COMBO_END}; -const uint16_t PROGMEM w_m_combo[] = {KC_W, KC_M, COMBO_END}; -const uint16_t PROGMEM v_m_combo[] = {KC_V, KC_M, COMBO_END}; -const uint16_t PROGMEM m_b_combo[] = {KC_M, KC_B, COMBO_END}; - -// both hand combinations. -const uint16_t PROGMEM j_w_combo[] = {KC_J, KC_W, COMBO_END}; - -combo_t key_combos[] = { - // left hand combinations. - [COLON_COMMA] = COMBO(colon_comma_combo, KC_TAB), - [COMMA_DOT] = COMBO(comma_dot_combo, KC_QUES), - [DOT_P] = COMBO(dot_p_combo, KC_UNDS), - [P_Y] = COMBO(p_y_combo, KC_PIPE), - [COMMA_P] = COMBO(comma_p_combo, PRVTAB), - [QUOT_Q] = COMBO(quot_q_combo, KC_ENT), - [Q_J] = COMBO(q_j_combo, LCTL(KC_W)), - [J_K] = COMBO(j_k_combo, KC_DEL), - [Q_K] = COMBO(q_k_combo, KC_TAB), - [K_X] = COMBO(k_x_combo, KC_TILD), - - // right hand combinations. - [L_R] = COMBO(l_r_combo, KC_BSPC), - [R_C] = COMBO(r_c_combo, KC_SLSH), - [C_G] = COMBO(c_g_combo, KC_MINS), - [R_G] = COMBO(r_g_combo, NXTTAB), - [G_F] = COMBO(g_f_combo, KC_BSLS), - [V_W] = COMBO(v_w_combo, KC_APP), - [W_M] = COMBO(w_m_combo, KC_DEL), - [V_M] = COMBO(v_m_combo, LSFT(KC_TAB)), - [M_B] = COMBO(m_b_combo, KC_GRV), - - // both hand combinations. - [J_W] = COMBO(j_w_combo, KC_ENT), -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -[_BASE] = LAYOUT_complicated( - KC_SCLN,KC_COMM,KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, - SH_A, CT_O, AL_E, KC_U, GU_I, GU_D, KC_H, AL_T, CT_N, SH_S, - KC_QUOT,KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, - LW_BSPC,QK_LEAD, ALT_ENT,RS_SPC, - LW_BSPC,SFT_ESC, ALT_ENT,RS_SPC -), - -[_RAISE] = LAYOUT_complicated( - KC_EXLM,KC_AT, KC_UP, KC_LCBR,KC_RCBR, KC_BSLS,KC_7, KC_8, KC_9, KC_ASTR , - KC_HASH,KC_LEFT,KC_DOWN,KC_RGHT,KC_DLR, KC_EQL, KC_4, KC_5, KC_6, KC_0 , - KC_LBRC,KC_RBRC,KC_LPRN,KC_RPRN,KC_AMPR, KC_GRV, KC_1, KC_2, KC_3, KC_PLUS , - ADDDD ,_______, _______,_______, - ADDDD ,_______, _______,_______ -), -[_LOWER] = LAYOUT_complicated( - _______,_______,_______,KC_F1, KC_F2, KC_F3, KC_F4, _______,_______,_______ , - KC_LSFT,KC_TAB, KC_PGUP,KC_F5, KC_F6, KC_F7, KC_F8, KC_HOME,KC_LALT,KC_ENT , - KC_CAPS,KC_SCRL,KC_PGDN,KC_F9, KC_F10, KC_F11, KC_F12, KC_END, KC_INS, _______ , - _______,_______, _______,ADDDD, - _______,_______, _______,ADDDD -), -[_ADJUST] = LAYOUT_complicated( - _______,EXPLR, KC_UP, PRVTAB, PRVWIN, NXTWIN, NXTTAB, _______,_______,LCKGUI, - TSKMGR, KC_LEFT,KC_DOWN,KC_RGHT,UPTAB, DNTAB, KC_ENT, KC_LGUI,_______,CALDL, - _______,CLSGUI, _______,CONPST, QK_BOOT, _______,_______,_______,_______,_______, - _______,_______, _______,_______, - _______,_______, _______,_______ -), -}; - -void leader_end_user(void) { - if (leader_sequence_one_key(KC_U)) { - SEND_STRING(":luvu:\n"); - } -} diff --git a/keyboards/ibnuda/squiggle/keymaps/rick-complicated/readme.md b/keyboards/ibnuda/squiggle/keymaps/rick-complicated/readme.md deleted file mode 100644 index d14eb193c0..0000000000 --- a/keyboards/ibnuda/squiggle/keymaps/rick-complicated/readme.md +++ /dev/null @@ -1,3 +0,0 @@ -# goldberg keymap - -ricky rick's keymap on squiggle goldberg. ayyy. diff --git a/keyboards/ibnuda/squiggle/keymaps/rick-complicated/rules.mk b/keyboards/ibnuda/squiggle/keymaps/rick-complicated/rules.mk deleted file mode 100644 index 00c78275d9..0000000000 --- a/keyboards/ibnuda/squiggle/keymaps/rick-complicated/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -COMBO_ENABLE = yes -LEADER_ENABLE = yes diff --git a/keyboards/ibnuda/squiggle/keymaps/rick/config.h b/keyboards/ibnuda/squiggle/keymaps/rick/config.h deleted file mode 100644 index 22ceb2f996..0000000000 --- a/keyboards/ibnuda/squiggle/keymaps/rick/config.h +++ /dev/null @@ -1,4 +0,0 @@ -#pragma once - -#define COMBO_TERM 100 -#define PERMISSIVE_HOLD diff --git a/keyboards/ibnuda/squiggle/keymaps/rick/keymap.c b/keyboards/ibnuda/squiggle/keymaps/rick/keymap.c deleted file mode 100644 index 75ea54c548..0000000000 --- a/keyboards/ibnuda/squiggle/keymaps/rick/keymap.c +++ /dev/null @@ -1,178 +0,0 @@ -/* Copyright 2020 Ibnu D. Aji - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H - -// enum for combos. -enum combos { - // left hand combinations. - COLON_COMMA, - COMMA_DOT, - DOT_P, - P_Y, - COMMA_P, - QUOT_Q, - Q_J, - J_K, - Q_K, - K_X, - - // right hand combinations. - L_R, - R_C, - C_G, - R_G, - G_F, - V_W, - W_M, - V_M, - M_B, - - // both hands combinations. - J_W, -}; - -enum { - _BASE, - _LOWER, - _RAISE, - _ADJUST, -}; - -enum custom_keycodes { - BASE = SAFE_RANGE, - LOWER, - RAISE, - ADJUST, -}; - -// thumb keys. -#define ALT_ENT ALT_T(KC_ENT) -#define SFT_ESC SFT_T(KC_ESC) - -// home row mods. -#define CT_O LCTL_T(KC_O) -#define CT_N RCTL_T(KC_N) -#define SH_A LSFT_T(KC_A) -#define SH_S RSFT_T(KC_S) -#define AL_E LALT_T(KC_E) -#define AL_T RALT_T(KC_T) -#define GU_I LGUI_T(KC_I) -#define GU_D RGUI_T(KC_D) - -// layer toggle. -#define LW_BSPC LT(_LOWER, KC_BSPC) -#define RS_SPC LT(_RAISE, KC_SPC) -#define RS_D LT(_RAISE, KC_D) -#define LW_I LT(_LOWER, KC_I) - -// idk, man. not used, i guess. -#define ADDDD MO(_ADJUST) - -// common shortcuts for windows and linux that i use. -#define NXTTAB LCTL(KC_PGDN) -#define PRVTAB LCTL(KC_PGUP) -#define UPTAB LCTL(LSFT(KC_PGUP)) -#define DNTAB LCTL(LSFT(KC_PGDN)) -#define NXTWIN LALT(KC_TAB) -#define PRVWIN LALT(LSFT(KC_TAB)) -#define CALDL LCTL(LALT(KC_DEL)) -#define TSKMGR LCTL(LSFT(KC_ESC)) -#define EXPLR LGUI(KC_E) -#define LCKGUI LGUI(KC_L) -#define CONPST LSFT(KC_INS) -#define CLSGUI LALT(KC_F4) - -// left hand combinations. -const uint16_t PROGMEM colon_comma_combo[] = {KC_SCLN, KC_COMM, COMBO_END}; -const uint16_t PROGMEM comma_dot_combo[] = {KC_COMM, KC_DOT, COMBO_END}; -const uint16_t PROGMEM dot_p_combo[] = {KC_DOT, KC_P, COMBO_END}; -const uint16_t PROGMEM p_y_combo[] = {KC_P, KC_Y, COMBO_END}; -const uint16_t PROGMEM comma_p_combo[] = {KC_COMM, KC_P, COMBO_END}; -const uint16_t PROGMEM quot_q_combo[] = {KC_QUOT, KC_Q, COMBO_END}; -const uint16_t PROGMEM q_j_combo[] = {KC_Q, KC_J, COMBO_END}; -const uint16_t PROGMEM j_k_combo[] = {KC_J, KC_K, COMBO_END}; -const uint16_t PROGMEM q_k_combo[] = {KC_Q, KC_K, COMBO_END}; -const uint16_t PROGMEM k_x_combo[] = {KC_K, KC_X, COMBO_END}; - -// right hand combinations. -const uint16_t PROGMEM l_r_combo[] = {KC_L, KC_R, COMBO_END}; -const uint16_t PROGMEM r_c_combo[] = {KC_R, KC_C, COMBO_END}; -const uint16_t PROGMEM c_g_combo[] = {KC_C, KC_G, COMBO_END}; -const uint16_t PROGMEM r_g_combo[] = {KC_R, KC_G, COMBO_END}; -const uint16_t PROGMEM g_f_combo[] = {KC_G, KC_F, COMBO_END}; -const uint16_t PROGMEM v_w_combo[] = {KC_V, KC_W, COMBO_END}; -const uint16_t PROGMEM w_m_combo[] = {KC_W, KC_M, COMBO_END}; -const uint16_t PROGMEM v_m_combo[] = {KC_V, KC_M, COMBO_END}; -const uint16_t PROGMEM m_b_combo[] = {KC_M, KC_B, COMBO_END}; - -// both hand combinations. -const uint16_t PROGMEM j_w_combo[] = {KC_J, KC_W, COMBO_END}; - -combo_t key_combos[] = { - // left hand combinations. - [COLON_COMMA] = COMBO(colon_comma_combo, KC_TAB), - [COMMA_DOT] = COMBO(comma_dot_combo, KC_QUES), - [DOT_P] = COMBO(dot_p_combo, KC_UNDS), - [P_Y] = COMBO(p_y_combo, KC_PIPE), - [COMMA_P] = COMBO(comma_p_combo, PRVTAB), - [QUOT_Q] = COMBO(quot_q_combo, KC_ENT), - [Q_J] = COMBO(q_j_combo, LCTL(KC_W)), - [J_K] = COMBO(j_k_combo, KC_DEL), - [Q_K] = COMBO(q_k_combo, KC_TAB), - [K_X] = COMBO(k_x_combo, KC_TILD), - - // right hand combinations. - [L_R] = COMBO(l_r_combo, KC_BSPC), - [R_C] = COMBO(r_c_combo, KC_SLSH), - [C_G] = COMBO(c_g_combo, KC_MINS), - [R_G] = COMBO(r_g_combo, NXTTAB), - [G_F] = COMBO(g_f_combo, KC_BSLS), - [V_W] = COMBO(v_w_combo, KC_APP), - [W_M] = COMBO(w_m_combo, KC_DEL), - [V_M] = COMBO(v_m_combo, LSFT(KC_TAB)), - [M_B] = COMBO(m_b_combo, KC_GRV), - - // both hand combinations. - [J_W] = COMBO(j_w_combo, KC_ENT), -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -[_BASE] = LAYOUT( - KC_SCLN,KC_COMM,KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, - SH_A, CT_O, AL_E, KC_U, GU_I, GU_D, KC_H, AL_T, CT_N, SH_S, - KC_QUOT,KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, - LW_BSPC,SFT_ESC, ALT_ENT,RS_SPC -), - -[_RAISE] = LAYOUT( - KC_EXLM,KC_AT, KC_UP, KC_LCBR,KC_RCBR, KC_BSLS,KC_7, KC_8, KC_9, KC_ASTR , - KC_HASH,KC_LEFT,KC_DOWN,KC_RGHT,KC_DLR, KC_EQL, KC_4, KC_5, KC_6, KC_0 , - KC_LBRC,KC_RBRC,KC_LPRN,KC_RPRN,KC_AMPR, KC_GRV, KC_1, KC_2, KC_3, KC_PLUS , - ADDDD ,_______, _______,_______ -), -[_LOWER] = LAYOUT( - KC_ESC, KC_QUES,KC_UNDS,KC_F1, KC_F2, KC_F3, KC_F4, KC_MINS,KC_SLSH,KC_BSPC , - KC_LSFT,KC_TAB, KC_PGUP,KC_F5, KC_F6, KC_F7, KC_F8, KC_HOME,KC_LALT,KC_ENT , - KC_CAPS,KC_SCRL,KC_PGDN,KC_F9, KC_F10, KC_F11, KC_F12, KC_END, KC_INS, KC_SLSH , - _______,_______, _______,ADDDD -), -[_ADJUST] = LAYOUT( - _______,EXPLR, KC_UP, PRVTAB, PRVWIN, NXTWIN, NXTTAB, _______,_______,LCKGUI, - TSKMGR, KC_LEFT,KC_DOWN,KC_RGHT,UPTAB, DNTAB, KC_ENT, KC_LGUI,_______,CALDL, - _______,CLSGUI, _______,CONPST, QK_BOOT, _______,_______,_______,_______,_______, - _______,_______, _______,_______ -), -}; diff --git a/keyboards/ibnuda/squiggle/keymaps/rick/readme.md b/keyboards/ibnuda/squiggle/keymaps/rick/readme.md deleted file mode 100644 index aaff442b90..0000000000 --- a/keyboards/ibnuda/squiggle/keymaps/rick/readme.md +++ /dev/null @@ -1,3 +0,0 @@ -# water - -ricky rick's keymap. ayyy. diff --git a/keyboards/ibnuda/squiggle/keymaps/rick/rules.mk b/keyboards/ibnuda/squiggle/keymaps/rick/rules.mk deleted file mode 100644 index ab1e438182..0000000000 --- a/keyboards/ibnuda/squiggle/keymaps/rick/rules.mk +++ /dev/null @@ -1 +0,0 @@ -COMBO_ENABLE = yes diff --git a/keyboards/idb/idb_60/keymaps/pngu/keymap.c b/keyboards/idb/idb_60/keymaps/pngu/keymap.c deleted file mode 100644 index 23649e791b..0000000000 --- a/keyboards/idb/idb_60/keymaps/pngu/keymap.c +++ /dev/null @@ -1,27 +0,0 @@ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT( - QK_GESC, 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_BSPC, KC_NO, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Z, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, - LT(2, KC_CAPS), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_NUBS, KC_Y, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_MENU, KC_RGUI - ), - [1] = LAYOUT( - QK_BOOT, 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, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_INS, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______ - ), - [2] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______ - ) - -}; diff --git a/keyboards/idobao/id67/keymaps/thewerther/config.h b/keyboards/idobao/id67/keymaps/thewerther/config.h deleted file mode 100644 index 4cd526feea..0000000000 --- a/keyboards/idobao/id67/keymaps/thewerther/config.h +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2021 Werther (@thewerther) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#define DRIVER_LED_UNDERGLOW 10 -#define TAPPING_TERM 500 -#define PERMISSIVE_HOLD - -#if defined(RGB_MATRIX_ENABLE) - #undef RGB_MATRIX_MAXIMUM_BRIGHTNESS - #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 - - // change saturation and hue step size - #undef RGBLIGHT_HUE_STEP - #undef RGBLIGHT_SAT_STEP - #define RGBLIGHT_SAT_STEP 5 - #define RGBLIGHT_HUE_STEP 5 - - #define RGB_MATRIX_KEYPRESSES - - // disable effects from keyboard level config.h - #undef ENABLE_RGB_MATRIX_ALPHAS_MODS - #undef ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN - #undef ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT - #undef ENABLE_RGB_MATRIX_BREATHING - #undef ENABLE_RGB_MATRIX_BAND_SAT - #undef ENABLE_RGB_MATRIX_BAND_VAL - #undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT - #undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL - #undef ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT - #undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL - #undef ENABLE_RGB_MATRIX_CYCLE_ALL - #undef ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT - #undef ENABLE_RGB_MATRIX_CYCLE_UP_DOWN - #undef ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON - #undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN - #undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL - #undef ENABLE_RGB_MATRIX_CYCLE_PINWHEEL - #undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL - #undef ENABLE_RGB_MATRIX_DUAL_BEACON - #undef ENABLE_RGB_MATRIX_RAINBOW_BEACON - #undef ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS - #undef ENABLE_RGB_MATRIX_RAINDROPS - #undef ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS - #undef ENABLE_RGB_MATRIX_HUE_BREATHING - #undef ENABLE_RGB_MATRIX_HUE_PENDULUM - #undef ENABLE_RGB_MATRIX_HUE_WAVE - #undef ENABLE_RGB_MATRIX_PIXEL_FRACTAL - #undef ENABLE_RGB_MATRIX_PIXEL_RAIN - #undef ENABLE_RGB_MATRIX_TYPING_HEATMAP - #undef ENABLE_RGB_MATRIX_DIGITAL_RAIN - #undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE - #undef ENABLE_RGB_MATRIX_SOLID_REACTIVE - #undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE - #undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE - #undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS - #undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS - #undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS - #undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS - #undef ENABLE_RGB_MATRIX_SPLASH - #undef ENABLE_RGB_MATRIX_MULTISPLASH - #undef ENABLE_RGB_MATRIX_SOLID_SPLASH - #undef ENABLE_RGB_MATRIX_SOLID_MULTISPLASH - - // only enable a few - #define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON - #define ENABLE_RGB_MATRIX_CYCLE_SPIRAL - #define ENABLE_RGB_MATRIX_DUAL_BEACON - #define ENABLE_RGB_MATRIX_RAINBOW_BEACON - #define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS - #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS - #define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN - - // #if defined(RGB_MATRIX_KEYPRESSES) || defined(RGB_MATRIX_KEYRELEASES) - #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE// Pulses keys hit to hue & value then fades value out - #define ENABLE_RGB_MATRIX_SOLID_REACTIVE // Static single hue, pulses keys hit to shifted hue then fades to current hue - #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE // Hue & value pulse near a single key hit then fades value out - #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH // Hue & value pulse away from multiple key hits then fades value out - // #endif // # if defined(RGB_MATRIX_KEYPRESSES) || defined(RGB_MATRIX_KEYRELEASES) -#endif // # if defined(RGB_MATRIX_ENABLE) - diff --git a/keyboards/idobao/id67/keymaps/thewerther/keymap.c b/keyboards/idobao/id67/keymaps/thewerther/keymap.c deleted file mode 100644 index a47a54db37..0000000000 --- a/keyboards/idobao/id67/keymaps/thewerther/keymap.c +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2021 Werther (@thewerther) -// SPDX-License-Identifier: GPL-2.0-or-later - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_65_ansi_blocker( - KC_ESC, 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_BSPC, KC_GRV, - 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, KC_DEL, - KC_RALT, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, - KC_LCTL, KC_LGUI, KC_LALT, LT(1, KC_SPC), MO(2), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - [1] = LAYOUT_65_ansi_blocker( - _______, 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_PGUP, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, KC_PGDN, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - [2] = LAYOUT_65_ansi_blocker( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, RGB_TOG, _______, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_MPLY, KC_MPRV, KC_MNXT, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, - _______, QK_BOOT, RGB_SPI, RGB_SPD, _______, KC_VOLD, KC_MUTE, KC_VOLU, _______, _______, _______, _______, _______, KC_END, - _______, _______, _______, _______, _______, _______, _______, _______, _______ - ) - -}; - -void matrix_scan_user(void) { - #if defined(RGB_MATRIX_ENABLE) - int current_effect = rgb_matrix_get_mode(); - if (current_effect >= RGB_MATRIX_SOLID_REACTIVE_SIMPLE && current_effect <= RGB_MATRIX_SOLID_MULTISPLASH) { - // set all underglow leds to current color - RGB current_color = hsv_to_rgb(rgb_matrix_get_hsv()); - for (int i = RGB_MATRIX_LED_COUNT - DRIVER_LED_UNDERGLOW; i < RGB_MATRIX_LED_COUNT; i++) { - rgb_matrix_set_color(i, current_color.r, current_color.g, current_color.b); - } - } - #endif -} diff --git a/keyboards/idobao/id67/keymaps/thewerther/rules.mk b/keyboards/idobao/id67/keymaps/thewerther/rules.mk deleted file mode 100644 index acd3adaa9a..0000000000 --- a/keyboards/idobao/id67/keymaps/thewerther/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration diff --git a/keyboards/idobao/id67/keymaps/vinorodrigues/config.h b/keyboards/idobao/id67/keymaps/vinorodrigues/config.h deleted file mode 100644 index f7ada65953..0000000000 --- a/keyboards/idobao/id67/keymaps/vinorodrigues/config.h +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2022 Vino Rodrigues (@vinorodrigues) -// SPDX-License-Identifier: GPL-2.0-or-later - -/* - * IDOBAO ID67 Keymap for a ID67 Bestype, built for Mac use - */ - -#pragma once - -#ifdef RGB_MATRIX_ENABLE - #define ID67_DISABLE_UNDERGLOW - - #ifdef RGB_MATRIX_MAXIMUM_BRIGHTNESS - #undef RGB_MATRIX_MAXIMUM_BRIGHTNESS - #endif - #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 // limits maximum brightness of LEDs to x out of 255 - - //// #define RGB_MATRIX_KEYPRESSES - - // RGB Matrix config, nit-pick a few animations. "////" = already defined in base `config.h`, `#undef` disables it - - //// #define ENABLE_RGB_MATRIX_ALPHAS_MODS // Static dual hue, speed is hue for secondary hue - //// #define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN // Static gradient top to bottom, speed controls how much gradient changes - //// #define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT // Static gradient left to right, speed controls how much gradient changes - //// #define ENABLE_RGB_MATRIX_BREATHING // Single hue brightness cycling animation - //// #define ENABLE_RGB_MATRIX_BAND_SAT // Single hue band fading saturation scrolling left to right - //// #define ENABLE_RGB_MATRIX_BAND_VAL // Single hue band fading brightness scrolling left to right - //// #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT // Single hue 3 blade spinning pinwheel fades saturation - //// #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL // Single hue 3 blade spinning pinwheel fades brightness - //// #define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT // Single hue spinning spiral fades saturation - //// #define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL // Single hue spinning spiral fades brightness - //// #define ENABLE_RGB_MATRIX_CYCLE_ALL // Full keyboard solid hue cycling through full gradient - //// #define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT // Full gradient scrolling left to right - //// #define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN // Full gradient scrolling top to bottom - //// #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN // Full gradient scrolling out to in - //// #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL // Full dual gradients scrolling out to in - //// #define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON // Full gradient Chevron shaped scrolling left to right - //// #define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL // Full gradient spinning pinwheel around center of keyboard - //// #define ENABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard - //// #define ENABLE_RGB_MATRIX_DUAL_BEACON // Full gradient spinning around center of keyboard - //// #define ENABLE_RGB_MATRIX_RAINBOW_BEACON // Full tighter gradient spinning around center of keyboard - //// #define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS // Full dual gradients spinning two halfs of keyboard - //// #define ENABLE_RGB_MATRIX_RAINDROPS // Randomly changes a single key's hue - //// #define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS // Randomly changes a single key's hue and saturation - //// #define ENABLE_RGB_MATRIX_HUE_BREATHING // Hue shifts up a slight amount at the same time, then shifts back - //// #define ENABLE_RGB_MATRIX_HUE_PENDULUM // Hue shifts up a slight amount in a wave to the right, then back to the left - //// #define ENABLE_RGB_MATRIX_HUE_WAVE // Hue shifts up a slight amount and then back down in a wave to the right - - #undef ENABLE_RGB_MATRIX_PIXEL_RAIN - #undef ENABLE_RGB_MATRIX_PIXEL_FLOW - //// #undef ENABLE_RGB_MATRIX_PIXEL_FRACTAL - - // don't need `#if`, animation modes themselves check defines - // #if defined(RGB_MATRIX_FRAMEBUFFER_EFFECTS) - //// #define ENABLE_RGB_MATRIX_TYPING_HEATMAP - //// #define ENABLE_RGB_MATRIX_DIGITAL_RAIN - // #endif - - // don't need `#if`, animation modes themselves check defines - // #if defined(RGB_MATRIX_KEYPRESSES) || defined(RGB_MATRIX_KEYRELEASES) - //// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE // Pulses keys hit to hue & value then fades value out - //// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE // Static single hue, pulses keys hit to shifted hue then fades to current hue - //// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE // Hue & value pulse near a single key hit then fades value out - //// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE // Hue & value pulse near multiple key hits then fades value out - //// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS // Hue & value pulse the same column and row of a single key hit then fades value out - //// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS // Hue & value pulse the same column and row of multiple key hits then fades value out - //// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS // Hue & value pulse away on the same column and row of a single key hit then fades value out - //// #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS // Hue & value pulse away on the same column and row of multiple key hits then fades value out - //// #define ENABLE_RGB_MATRIX_SPLASH // Full gradient & value pulse away from a single key hit then fades value out - //// #define ENABLE_RGB_MATRIX_MULTISPLASH // Full gradient & value pulse away from multiple key hits then fades value out - //// #define ENABLE_RGB_MATRIX_SOLID_SPLASH // Hue & value pulse away from a single key hit then fades value out - //// #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH // Hue & value pulse away from multiple key hits then fades value out - // #endif -#endif diff --git a/keyboards/idobao/id67/keymaps/vinorodrigues/keymap.c b/keyboards/idobao/id67/keymaps/vinorodrigues/keymap.c deleted file mode 100644 index d34c70fa63..0000000000 --- a/keyboards/idobao/id67/keymaps/vinorodrigues/keymap.c +++ /dev/null @@ -1,272 +0,0 @@ -// Copyright 2022 Vino Rodrigues (@vinorodrigues) -// SPDX-License-Identifier: GPL-2.0-or-later - -/* - * IDOBAO ID67 Keymap for a ID67 Bestype, built for Mac use - */ - -#include QMK_KEYBOARD_H -#include "version.h" - -enum { - _BASE = 0, - _FN1, - _FN2, - _FN3 -}; - -enum { - KB_VRSN = SAFE_RANGE -}; - -#define LT1_C_L LT(_FN1, KC_CAPS) - -#ifndef MIN - #define MIN(a, b) (((a) < (b)) ? (a) : (b)) -#endif - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐ - * │Esc│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │Backspc│ ~ │ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ - * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │Del│ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ - * │*Caps*│ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │PUp│ *Caps* => `LT(1, KC_CAPS)` - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ - * │ Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shft │Up │PDn│ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼───┤ - * │Ctrl│Opt │Comm│ │Fn1 │Fn2 │ │Lf │Dn │Rt │ - * └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘ - */ - [_BASE] = LAYOUT_65_ansi_blocker( - QK_GESC, 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_BSPC, KC_GRAVE, - 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, KC_DELETE, - LT1_C_L, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, - KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, FN_MO13, FN_MO23, KC_LEFT, KC_DOWN, KC_RIGHT), - - /* - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐ - * │ ~ │F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│ ERASE │F13│ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ - * │ │ │Up │ │ │ │ │ │ │ │PSc│Hom│End│Eject│Ins│ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ - * │ Caps │Lf │Dn │Rt │ │ │ │ │ │ │PUp│PDn│ enter │Hom│ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ - * │ Shft │ │ │ │ │ │ │ │ │Ins│Del│Shift │ │End│ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼───┤ - * │ctrl│opt │comm│ │ │Fn3 │ │ │ │ │ - * └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘ - */ - [_FN1] = LAYOUT_65_ansi_blocker( - KC_GRAVE, 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_ERAS, KC_F13, - _______, XXXXXXX, KC_UP, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_PSCR, KC_HOME, KC_END, KC_EJCT, KC_INS, - KC_CAPS, KC_LEFT, KC_DOWN, KC_RIGHT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_PGUP, KC_PGDN, KC_PENT, KC_HOME, - KC_RSFT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_INS, KC_DELETE, KC_LSFT, _______, KC_END, - KC_RCTL, KC_RALT, KC_RGUI, _______, _______, _______, _______, _______, _______), - - /* - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐ - * │Esc│SB-│SB+│mMC│mLP│Br-│Br+│Prv│Ply│Nxt│Mut│Vl-│Vl+│ out │F14│ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ - * │ Tog │Mod│ │ │ │ │ │ │ │ │ │ │ │ │PSc│ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ - * │ │mod│ │ │ │ │ │ │ │ │Hu+│Sa+│ │SLk│ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ - * │ │ │ │ │ │ │ │ │ │Hu-│Sa-│ │Br+│Pau│ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼───┤ - * │ │ │ │ │Fn3 │ │ │Sp-│Br-│Sp+│ - * └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘ - */ - [_FN2] = LAYOUT_65_ansi_blocker( - KC_ESC, KC_BRID, KC_BRIU, KC_MCON, KC_LPAD, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_OUT, KC_F14, - RGB_TOG, RGB_MOD, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_PSCR, - XXXXXXX, RGB_RMOD, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_HUI, RGB_SAI, XXXXXXX, KC_SCRL, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_HUD, RGB_SAD, XXXXXXX, RGB_VAI, KC_PAUS, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_SPD, RGB_VAD, RGB_SPI), - - /* - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐ - * │RST│M01│M02│M03│M04│M05│M06│M07│M08│M09│M10│M11│M12│ Power │F15│ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │Sleep│ │ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ Debug │ │ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ - * │ │ │ │ │Ver│ │ │ │ │ │ │ │M00│ │ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼───┤ - * │ │ │ │ Wake │ │ │ │M13│M14│M15│ - * └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘ - */ - [_FN3] = LAYOUT_65_ansi_blocker( - QK_BOOT, MC_1, MC_2, MC_3, MC_4, MC_5, MC_6, MC_7, MC_8, MC_9, MC_10, MC_11, MC_12, KC_PWR, KC_F15, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_SLEP, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, DB_TOGG, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KB_VRSN, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, MC_0, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, KC_WAKE, XXXXXXX, XXXXXXX, MC_13, MC_14, MC_15) -}; - -#ifdef RGB_MATRIX_ENABLE - -/* - * RGB Stuff - */ - -#ifdef RGBLIGHT_VAL_STEP - #define RGB_BRIGHTER_BY RGBLIGHT_VAL_STEP -#else - #define RGB_BRIGHTER_BY 26 // about 10% -#endif - -#define LED_FLAG_ALPHA_KEY 0x10 // Alpha keys (for Caps Lock) -#define LED_FLAG_LAYER_IND 0x20 // Layer indicator - -const uint8_t g_led_config_new_flags[RGB_MATRIX_LED_COUNT] = { - // Extended LED Index to Flag - // ** Remember: on ID67 this is in reverse order - 0x21, 0x01, 0x01, 0x01, 0x01, 0x04, 0x01, 0x01, 0x21, // Spc row - 0x21, 0x01, 0x01, 0x04, 0x04, 0x04, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x21, // ZXC row - 0x21, 0x01, 0x04, 0x04, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x29, // ASD row - 0x21, 0x04, 0x04, 0x04, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x21, // QWE row - 0x21, 0x01, 0x04, 0x04, 0x04, 0x04, 0x24, 0x24, 0x24, 0x24, 0x04, 0x04, 0x04, 0x04, 0x21 // 123 row -}; - -#define ID67_CAPS_LOCK_KEY_INDEX 36 // position of Caps Lock key - -bool isRGBOff = false; -bool isCapsBlink = false; -static uint16_t recording_timer; - -void keyboard_pre_init_user(void) { - // override `config.h` flags with new values - for (int i = 0; i < RGB_MATRIX_LED_COUNT; i++) g_led_config.flags[i] = g_led_config_new_flags[i]; -} - -void keyboard_post_init_user(void) { - isRGBOff = false; -} - -bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { - - uint8_t v = MIN( rgblight_get_val() + RGB_BRIGHTER_BY, 0xFF ); - uint8_t current_layer = get_highest_layer(layer_state); - - // Caps Lock key stuff - - if (host_keyboard_led_state().caps_lock) { - if (isRGBOff) { - rgb_matrix_set_color(ID67_CAPS_LOCK_KEY_INDEX, v, v, v); // white - } else { - // Caps Lock key/LED - if (timer_elapsed(recording_timer) > 500) { - isCapsBlink = !isCapsBlink; - recording_timer = timer_read(); - } - if (isCapsBlink) { - rgb_matrix_set_color(ID67_CAPS_LOCK_KEY_INDEX, v, v, v); // white - } - - // Alpha keys/LEDs - for (uint8_t i = led_min; i <= led_max; i++) { - if ((g_led_config.flags[i] & LED_FLAG_ALPHA_KEY) != 0) { - rgb_matrix_set_color(i, v, 0, 0); //red - } - } - } - } else if (isRGBOff) { - uint8_t r = 0; - uint8_t g = 0; - uint8_t b = 0; - - if ((g_led_config.flags[ID67_CAPS_LOCK_KEY_INDEX] & LED_FLAG_LAYER_IND) != 0) { - switch (current_layer) { - case _FN1: b = v; break; // blue - case _FN2: g = v; break; // green - case _FN3: r = v; break; // red - } - } - - rgb_matrix_set_color(ID67_CAPS_LOCK_KEY_INDEX, r, g, b); // off - } - - // Layer indicator stuff - - switch (current_layer) { - case _FN1: - for (uint8_t i = led_min; i <= led_max; i++) { - if ((g_led_config.flags[i] & LED_FLAG_LAYER_IND) != 0) { - rgb_matrix_set_color(i, 0, 0, v); // blue - } - } - break; - - case _FN2: - for (uint8_t i = led_min; i <= led_max; i++) { - if ((g_led_config.flags[i] & LED_FLAG_LAYER_IND) != 0) { - rgb_matrix_set_color(i, 0, v, 0); // green - } - } - break; - - case _FN3: - for (uint8_t i = led_min; i <= led_max; i++) { - if ((g_led_config.flags[i] & LED_FLAG_LAYER_IND) != 0) { - rgb_matrix_set_color(i, v, 0, 0); // red - } - } - break; - - default: - if (isRGBOff) { - // switch layer indicators off only if in OFF mode - for (uint8_t i = led_min; i <= led_max; i++) { - if ((g_led_config.flags[i] & LED_FLAG_LAYER_IND) != 0) { - rgb_matrix_set_color(i, 0, 0, 0); // red - } - } - } - break; - } - return false; -} - -#endif - -/* - * Mac Fn-key stuff - */ - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - - switch (keycode) { - // handle RGB toggle key - case RGB_TOG: - if (record->event.pressed) { - switch (rgb_matrix_get_flags()) { - case LED_FLAG_ALL: - isRGBOff = true; - rgb_matrix_set_flags(LED_FLAG_INDICATOR | LED_FLAG_LAYER_IND); - rgb_matrix_set_color_all(0, 0, 0); - break; - default: - isRGBOff = false; - rgb_matrix_set_flags(LED_FLAG_ALL); - rgb_matrix_enable_noeeprom(); // turn the lights back on - } - } - return false; - - // print firmware version - case KB_VRSN: - if (!get_mods()) { - if (!record->event.pressed) { - SEND_STRING(QMK_KEYBOARD ":" QMK_KEYMAP " (v" QMK_VERSION ")"); - } - } - return false; - - default: - return true; /* Process all other keycodes normally */ - } -} diff --git a/keyboards/idobao/id67/keymaps/vinorodrigues/rules.mk b/keyboards/idobao/id67/keymaps/vinorodrigues/rules.mk deleted file mode 100644 index cf6371fda0..0000000000 --- a/keyboards/idobao/id67/keymaps/vinorodrigues/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -LTO_ENABLE = yes -VIA_ENABLE = yes -NKRO_ENABLE = no # N-Key Rollover must be OFF for mac keys to work diff --git a/keyboards/idobao/id75/v1/keymaps/greenshadowmaker/keyboard-layout-editor-gsm-idobo.json b/keyboards/idobao/id75/v1/keymaps/greenshadowmaker/keyboard-layout-editor-gsm-idobo.json deleted file mode 100644 index 19c0780463..0000000000 --- a/keyboards/idobao/id75/v1/keymaps/greenshadowmaker/keyboard-layout-editor-gsm-idobo.json +++ /dev/null @@ -1,190 +0,0 @@ -[ - { - "name": "gsm-idobo", - "notes": "Massdrop xd75\n\nFront Legend = \"Adust\" layer (both lower and Raise)" - }, - [ - { - "a": 3 - }, - "Esc\n\n\n\nreset", - { - "t": "#0000ff\n#ff0000", - "a": 4 - }, - "\nF1\n\n\n\n\n\n\n\n1 !", - "\nF2\n\n\n\n\n\n\n\n2 @", - "\nF3\n\n\n\n\n\n\n\n3 #", - "\nF4\n\n\n\n\n\n\n\n4 $", - "\nF5\n\n\n\n\n\n\n\n5 %", - { - "t": "#000000", - "a": 7 - }, - "= +", - "", - "- _", - { - "t": "#0000ff\n#ff0000", - "a": 0 - }, - "\nF6\n\n\nrgbplain\n\n\n\n\n6 ^", - "\nF7\n\n\nrgbtest\n\n\n\n\n7 &", - "\nF8\n\n\nrgbmode\n\n\n\n\n8 *", - { - "a": 4 - }, - "\nF9\n\n\n\n\n\n\n\n9 (", - "\nF10\n\n\n\n\n\n\n\n0 )", - { - "t": "#000000", - "a": 7 - }, - "Bksp" - ], - [ - "Tab", - "Q", - { - "t": "#0000ff\n#ff0000", - "a": 4 - }, - "PgUp\nUP\n\n\n\n\n\n\n\nW", - { - "t": "#000000", - "a": 7 - }, - "E", - { - "a": 3 - }, - "R\n\n\n\nrgb_tog", - "T\n\n\n\nbl_tog", - { - "a": 7 - }, - "", - "", - "[ {", - "T", - "Y", - "I", - "O", - "P", - "]" - ], - [ - { - "c": "#0000ff", - "t": "#ffffff" - }, - "Raise", - { - "c": "#cccccc", - "t": "#0000ff\n#ff0000", - "a": 4 - }, - "Home\nLEFT\n\n\n\n\n\n\n\nA", - { - "a": 0 - }, - "PgDwn\nDOWN\n\n\nrgb_hai\n\n\n\n\nS", - "End\nRIGHT\n\n\nrgb_sai\n\n\n\n\nD", - { - "t": "#000000", - "a": 3 - }, - "F\n\n\n\nrgb_vai", - "G\n\n\n\nbl_inc", - { - "a": 7 - }, - "", - "UP", - "PrtScr", - "H", - "J", - "K", - "L", - "; :", - "' \"" - ], - [ - { - "a": 3 - }, - "Shift\n\n\n\neep_rst", - { - "a": 7 - }, - "Z", - { - "a": 3 - }, - "X\n\n\n\nrgb_hud", - "C\n\n\n\nrgb_sad", - "V\n\n\n\nrgb_vad", - "B\n\n\n\nbl_dec", - { - "a": 7 - }, - "LEFT", - "DOWN", - "RIGHT", - "N", - "M", - ", <", - ". >", - "/ ?", - { - "a": 6 - }, - "Shift" - ], - [ - { - "a": 7 - }, - "` ~", - "\\ |", - "Alt", - "Ctrl", - { - "c": "#ff0000" - }, - "Lower", - { - "c": "#eb7c15" - }, - "Space", - { - "c": "#cccccc", - "t": "#0000ff\n#ff0000", - "a": 4 - }, - "\nApp\n\n\n\n\n\n\n\nOS", - { - "t": "#000000", - "a": 7 - }, - "Del", - "Enter", - { - "c": "#eb7c15" - }, - "Space", - { - "c": "#0000ff", - "t": "#ffffff" - }, - "Raise", - { - "c": "#cccccc", - "t": "#000000" - }, - "Left", - "Down", - "Up", - "Right" - ] -] \ No newline at end of file diff --git a/keyboards/idobao/id75/v1/keymaps/greenshadowmaker/keymap.c b/keyboards/idobao/id75/v1/keymaps/greenshadowmaker/keymap.c deleted file mode 100644 index 84830e47c6..0000000000 --- a/keyboards/idobao/id75/v1/keymaps/greenshadowmaker/keymap.c +++ /dev/null @@ -1,128 +0,0 @@ -#include QMK_KEYBOARD_H - -enum custom_keycodes { - LOWER = SAFE_RANGE, - RAISE, -}; - -enum layer_names { - _QWERTY, - _LOWER, - _RAISE, - _ADJUST, -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -/* QWERTY - * .--------------------------------------------------------------------------------------------------------------------------------------. - * | ESC | 1 | 2 | 3 | 4 | 5 | = | | - | 6 | 7 | 8 | 9 | 0 | BACKSP | - * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------| - * | TAB | Q | W | E | R | T | | | [ | Y | U | I | O | P | ] | - * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------+--------| - * | RAISE | A | S | D | F | G | | UP | PrtScr | H | J | K | L | ; | ' | - * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------------------------+--------| - * | LSHIFT | Z | X | C | V | B | LEFT | DOWN | RIGHT | N | M | , | . | / | RSHIFT | - * |--------+--------+--------+--------+--------+-----------------+--------+--------+--------+--------+-----------------+--------+--------| - * | ` | \ | LALT | LCTRL | LOWER | SPACE | LGUI | DEL | ENTER | SPACE | RAISE | LEFT | DOWN | UP | RIGHT | - * '--------------------------------------------------------------------------------------------------------------------------------------' - */ -[_QWERTY] = LAYOUT_ortho_5x15( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_EQL, XXXXXXX, KC_MINS, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, XXXXXXX, XXXXXXX, KC_LBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_RBRC, - RAISE, KC_A, KC_S, KC_D, KC_F, KC_G, XXXXXXX, KC_UP, KC_PSCR, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LEFT, KC_DOWN, KC_RGHT, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, - KC_GRAVE, KC_BSLS, KC_LALT, KC_LCTL, LOWER, KC_SPC, KC_LGUI, KC_DEL, KC_ENT, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - - -/* LOWER - * .--------------------------------------------------------------------------------------------------------------------------------------. - * | | F1 | F2 | F3 | F4 | F5 | | | | F6 | F7 | F8 | F9 | F10 | | - * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| - * | | | UP | | | | | | | | | | PR SCR | | | - * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| - * | RAISE | LEFT | DOWN | RIGHT | | | | | | | | | | | | - * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| - * | | | | | | | | | | | | | | | | - * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| - * | | | | | LOWER | | APP | | | | RAISE | | | | | - * '--------------------------------------------------------------------------------------------------------------------------------------' - */ -[_LOWER] = LAYOUT_ortho_5x15( - XXXXXXX, KC_F1, KC_F2, KC_F3, XXXXXXX, KC_F5, XXXXXXX, XXXXXXX, XXXXXXX, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, XXXXXXX, - XXXXXXX, XXXXXXX, KC_UP, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - RAISE, KC_LEFT, KC_DOWN, KC_RGHT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, LOWER, XXXXXXX, KC_APP, XXXXXXX, XXXXXXX, XXXXXXX, RAISE, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX -), - - /* RAISE - * .--------------------------------------------------------------------------------------------------------------------------------------. - * | | | | | | | | | | | | | | | | - * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| - * | | | pgup | | | | | | | | | | | | | - * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| - * | RAISE | home | pgdn | end | | | | | | | | | | | | - * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| - * | | | | | | | | | | | | | | | | - * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| - * | | | | | LOWER | | | | | | RAISE | | | | | - * '--------------------------------------------------------------------------------------------------------------------------------------' - */ -[_RAISE] = LAYOUT_ortho_5x15( - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, KC_UP, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - RAISE, KC_HOME, KC_PGDN, KC_END, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, LOWER, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RAISE, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX -), - - - /* ADJUST - * .--------------------------------------------------------------------------------------------------------------------------------------. - * | QK_BOOT | | | | | | | | |rgbplain|rgbtest | rgbmode| | | | - * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| - * | | | | |rgb tog | bl_tog | | | | | | | | | | - * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| - * | RAISE | | rgb hi | rgb sai|rgb vai | bl inc | | | | | | | | | | - * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| - * | EEP Rst| | rgb hd | rgb sad|rgb vad | bl dec | | | | | | | | | | - * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| - * | | | | | LOWER | | | | | | RAISE | | | | | - * '--------------------------------------------------------------------------------------------------------------------------------------' - */ -[_ADJUST] = LAYOUT_ortho_5x15( - QK_BOOT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_M_P, RGB_M_T, RGB_MOD, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_TOG, BL_TOGG, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - RAISE, XXXXXXX, RGB_HUI, RGB_SAI, RGB_VAI, BL_UP, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - EE_CLR, XXXXXXX, RGB_HUD, RGB_SAD, RGB_VAD, BL_DOWN,XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, LOWER, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RAISE, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX -), - - -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case LOWER: - if (record->event.pressed) { - layer_on(_LOWER); - update_tri_layer(_LOWER, _RAISE, _ADJUST); - } else { - layer_off(_LOWER); - update_tri_layer(_LOWER, _RAISE, _ADJUST); - } - return false; - case RAISE: - if (record->event.pressed) { - layer_on(_RAISE); - update_tri_layer(_LOWER, _RAISE, _ADJUST); - } else { - layer_off(_RAISE); - update_tri_layer(_LOWER, _RAISE, _ADJUST); - } - return false; - } - return true; -} diff --git a/keyboards/idobao/id75/v1/keymaps/greenshadowmaker/readme.md b/keyboards/idobao/id75/v1/keymaps/greenshadowmaker/readme.md deleted file mode 100644 index 7b6f654c71..0000000000 --- a/keyboards/idobao/id75/v1/keymaps/greenshadowmaker/readme.md +++ /dev/null @@ -1,5 +0,0 @@ -# GreenShadowMaker keymap for idobo - -make idobo:greenshadowmaker:dfu - -Note: keyboard-layout-editor-gsm-idobo.json shoudl be the matching layout for http://www.keyboard-layout-editor.com diff --git a/keyboards/idobao/id75/v1/keymaps/greenshadowmaker/rules.mk b/keyboards/idobao/id75/v1/keymaps/greenshadowmaker/rules.mk deleted file mode 100644 index f6587a835e..0000000000 --- a/keyboards/idobao/id75/v1/keymaps/greenshadowmaker/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -MOUSEKEY_ENABLE = no # Mouse keys(+4700) -COMMAND_ENABLE = no # Commands for debug and configuration -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow diff --git a/keyboards/idobao/id80/v2/ansi/keymaps/msf/config.h b/keyboards/idobao/id80/v2/ansi/keymaps/msf/config.h deleted file mode 100644 index 2a432a5b2e..0000000000 --- a/keyboards/idobao/id80/v2/ansi/keymaps/msf/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* Copyright 2021 msf@github - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -/* - Set any config.h overrides for your specific keymap here. - See config.h options at https://docs.qmk.fm/#/config_options?id=the-configh-file -*/ -#pragma once - -#define COMBO_TERM 200 diff --git a/keyboards/idobao/id80/v2/ansi/keymaps/msf/keymap.c b/keyboards/idobao/id80/v2/ansi/keymaps/msf/keymap.c deleted file mode 100644 index bdcb153413..0000000000 --- a/keyboards/idobao/id80/v2/ansi/keymaps/msf/keymap.c +++ /dev/null @@ -1,59 +0,0 @@ -/* Copyright 2021 Miguel Filipe - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_ansi( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_VOLD, KC_VOLU, KC_F8, KC_F9, KC_F10, KC_PSTE, KC_PSCR, KC_DEL, MO(1), - 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_BSPC, KC_HOME, - 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, KC_END, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - [1] = LAYOUT_ansi( - QK_BOOT, KC_CALC, _______, _______, _______, KC_MUTE, KC_F6, KC_F7, KC_MPLY, KC_MSTP, KC_BRID, KC_BRIU, KC_F11, KC_F12, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_INS, - _______, RGB_TOG, _______, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, KC_DEL, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, BL_DOWN, BL_TOGG, BL_UP, NK_TOGG, _______, _______, _______, _______, _______, BL_UP, - _______, _______, _______, _______, _______, _______, BL_TOGG, BL_DOWN, BL_STEP - ), - [2] = LAYOUT_ansi( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), -}; - -enum combos { - SLSHDN_PGDN, - SLSHUP_PGUP, - RALTBKSPC_DELETE, -}; - -const uint16_t PROGMEM slashDown_combo[] = {KC_SLSH, KC_DOWN, COMBO_END}; -const uint16_t PROGMEM slashUp_combo[] = {KC_SLSH, KC_UP, COMBO_END}; -const uint16_t PROGMEM raltBackspace_combo[] = {KC_RALT, KC_BSPC, COMBO_END}; - -combo_t key_combos[] = { - [SLSHDN_PGDN] = COMBO(slashDown_combo, KC_PGDN), - [SLSHUP_PGUP] = COMBO(slashUp_combo, KC_PGUP), - [RALTBKSPC_DELETE] = COMBO(raltBackspace_combo, KC_DEL), -}; diff --git a/keyboards/idobao/id80/v2/ansi/keymaps/msf/readme.md b/keyboards/idobao/id80/v2/ansi/keymaps/msf/readme.md deleted file mode 100644 index 7ab300f672..0000000000 --- a/keyboards/idobao/id80/v2/ansi/keymaps/msf/readme.md +++ /dev/null @@ -1,4 +0,0 @@ -# slightly modified: -- some key combos -- don't use f-keys, -- pgup/down, home/end tweaks diff --git a/keyboards/idobao/id80/v2/ansi/keymaps/msf/rules.mk b/keyboards/idobao/id80/v2/ansi/keymaps/msf/rules.mk deleted file mode 100644 index ab1e438182..0000000000 --- a/keyboards/idobao/id80/v2/ansi/keymaps/msf/rules.mk +++ /dev/null @@ -1 +0,0 @@ -COMBO_ENABLE = yes diff --git a/keyboards/illuminati/is0/keymaps/ctrlaltdel/keymap.c b/keyboards/illuminati/is0/keymaps/ctrlaltdel/keymap.c deleted file mode 100644 index 4ba60a9959..0000000000 --- a/keyboards/illuminati/is0/keymaps/ctrlaltdel/keymap.c +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright 2019 Ryota Goto - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( /* Base */ - LCTL(LALT(KC_DEL)) - ), -}; diff --git a/keyboards/illuminati/is0/keymaps/ctrlaltdel/readme.md b/keyboards/illuminati/is0/keymaps/ctrlaltdel/readme.md deleted file mode 100644 index 5d9e162c1c..0000000000 --- a/keyboards/illuminati/is0/keymaps/ctrlaltdel/readme.md +++ /dev/null @@ -1,3 +0,0 @@ -# The ctrlaltdel keymap for is0 - -A simple keymap to send Ctrl + Alt + Del on keypress. \ No newline at end of file diff --git a/keyboards/illusion/rosa/keymaps/oggi/keymap.c b/keyboards/illusion/rosa/keymaps/oggi/keymap.c deleted file mode 100644 index 3ddf9b8d2c..0000000000 --- a/keyboards/illusion/rosa/keymaps/oggi/keymap.c +++ /dev/null @@ -1,40 +0,0 @@ -/* -Copyright 2021 Brandon Lee - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -enum layer_names { - _BASE, - _FN -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BASE] = LAYOUT_60_ansi_tsangan_split_rshift( - KC_ESC, 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_BSPC, - 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, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), - KC_LGUI, KC_TRNS, KC_LALT, KC_SPC, KC_RALT, KC_TRNS, KC_RCTL - ), - [_FN] = LAYOUT_60_ansi_tsangan_split_rshift( - KC_TRNS, 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, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, - KC_CAPS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_RIGHT, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_DOWN, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; \ No newline at end of file diff --git a/keyboards/illusion/rosa/keymaps/oggi/readme.md b/keyboards/illusion/rosa/keymaps/oggi/readme.md deleted file mode 100644 index 54db9b5630..0000000000 --- a/keyboards/illusion/rosa/keymaps/oggi/readme.md +++ /dev/null @@ -1 +0,0 @@ -# Oggi's custom Rosa keymap \ No newline at end of file diff --git a/keyboards/input_club/ergodox_infinity/keymaps/nordic_ergo/keymap.c b/keyboards/input_club/ergodox_infinity/keymaps/nordic_ergo/keymap.c deleted file mode 100644 index ec3972c0ae..0000000000 --- a/keyboards/input_club/ergodox_infinity/keymaps/nordic_ergo/keymap.c +++ /dev/null @@ -1,243 +0,0 @@ -// Nordic layout for Ergodox infinity -#include QMK_KEYBOARD_H -#include "version.h" -#include "keymap_nordic.h" -#include "keymap_german.h" - -enum layer_names { - BASE, - FUNCL, - SYMB, - MDIA -}; - -enum custom_keycodes { - VRSN = SAFE_RANGE, - RGB_SLD -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -/* Keymap 0: Basic layer - * - * - * - * ,--------------------------------------------------. ,--------------------------------------------------. - * | Esc | 1 | 2 | 3 | 4 | 5 | §½ | | PRSC | 6 | 7 | 8 | 9 | 0 | - | - * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| - * | Tab | Q | W | E | R | T | L1 | | L1 | Y | U | I | O | P | Å | - * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | Caps | A | S | D | F | G |------| |------| H | J | K | L | Ö | Ä | - * |--------+------+------+------+------+------| L2 | | L2 |------+------+------+------+------+--------| - * | LShift | Z | X | C | V | B | | | | N | M | , | . | - | RShift | - * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' - * | Ctrl | ¨^ | <|> | LGui | Alt | | Ctrl | Alt | ´` | + | RGui | - * `----------------------------------' `----------------------------------' - * ,-------------. ,-------------. - * | LEFT |RIGHT | | DOWN | UP | - * ,------+------+------| |------+--------+------. - * | | | Home | | PgUp | | | - * | Space|Del |------| |------| Enter | Bkspc| - * | | | End | | PgDn | | | - * `--------------------' `----------------------' - */ - -[BASE] = LAYOUT_ergodox( // layer 0 : default - // left hand - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_GRV, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, TG(1), - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, MO(2), - KC_LCTL, MO(3), KC_EQL, KC_LGUI, KC_LALT, - KC_NUM, KC_SCRL, - KC_HOME, - KC_SPC, KC_DEL, KC_END, - - // right hand - KC_BSLS, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, - TG(1), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, - KC_H, KC_J, KC_K, KC_L, KC_SCLN,KC_QUOT, - MO(2), KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH,KC_NUBS, - KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_RBRC, - KC_RGUI, KC_RALT, - KC_PGUP, - KC_PGDN, KC_ENT, KC_BSPC -), -/* Keymap 1: Basic layer with functions - * - * - * - * ,--------------------------------------------------. ,--------------------------------------------------. - * | | F1 | F2 | F3 | F4 | F5 | F11 | | F12 | F6 | F7 | F8 | F9 | 0 | | - * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| - * | | | | | | | | | | | | | | | | - * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | | | | | | |------| |------| | | | | | | - * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | | | | | | | | | | | | | | | | - * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' - * | | ¨ | | | | | | | | | | - * `----------------------------------' `----------------------------------' - * ,-------------. ,-------------. - * | | | | | | - * ,------+------+------| |------+--------+------. - * | | | | | | | | - * | | |------| |------| | | - * | | | | | | | | - * `--------------------' `----------------------' - */ - -[FUNCL] = LAYOUT_ergodox( // layer 1 : functions - // left hand - _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F11, - _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, - _______, _______, - _______, - _______, _______, _______, - // right hand - KC_F12, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______, - _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, - _______, _______, - _______, - _______, _______, _______ -), - -/* Keymap 2: Symbol Layer - * - * ,--------------------------------------------------. ,--------------------------------------------------. - * | | F1 | F2 | F3 | F4 | F5 | | | | F6 | F7 | F8 | F9 | F10 | F11 | - * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| - * | | ! | @ | { | } | | | | | | Up | 7 | 8 | 9 | * | F12 | - * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | | # | $ | ( | ) | ` |------| |------| Down | 4 | 5 | 6 | + | | - * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | | % | ^ | [ | ] | ~ | | | | & | 1 | 2 | 3 | \ | | - * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' - * | | | | | | | | . | 0 | = | | - * `----------------------------------' `----------------------------------' - * ,-------------. ,-------------. - * |Animat| BLTOG| |Toggle|Solid | - * ,------|------|------| |------+------+------. - * |Bright|Bright| BL+ | | |Hue- |Hue+ | - * |ness- |ness+ |------| |------| | | - * | | | BL- | | | | | - * `--------------------' `--------------------' - */ -// SYMBOLS -[SYMB] = LAYOUT_ergodox( - // left hand - _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F11, - _______, DE_EXLM, DE_AT, DE_LCBR, DE_RCBR, DE_PIPE, _______, - _______, DE_HASH, DE_DLR, DE_LPRN, DE_RPRN, DE_GRV, - _______, DE_PERC, DE_CIRC, DE_LBRC, DE_RBRC, DE_TILD, _______, - _______, _______, _______, _______, _______, - RGB_MOD, BL_TOGG, - BL_UP, - RGB_VAD, RGB_VAI, BL_DOWN, - // right hand - KC_F12, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, - _______, KC_UP, KC_7, KC_8, KC_9, DE_ASTR, _______, - KC_DOWN, KC_4, KC_5, KC_6, DE_PLUS, _______, - _______, DE_AMPR, KC_1, KC_2, KC_3, DE_BSLS, _______, - _______, KC_DOT, KC_0, DE_EQL, _______, - RGB_TOG, RGB_SLD, - _______, - _______, RGB_HUD, RGB_HUI -), - -/* Keymap 3: Media and mouse keys - * - * ,--------------------------------------------------. ,--------------------------------------------------. - * | QK_BOOT | F1 | F2 | F3 | F4 | F5 | | | | F6 | F7 | F8 | F9 | F10 | F11 | - * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| - * | | | Lclk | MsUp | Rclk | | | | | |VolDwn| Mute |VolUp | | F12 | - * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | | Btn4 |MsLeft|MsDown|MsRght| Btn5 |------| |------| | Prev | Stop | Play | Next | | - * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | |WhRght|WhDown| WhUp |WhLeft|WhClk | | | |BwSrch|BwBack|BwHome|BwRefr|BwFwd | | - * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' - * | | |MsAcl0|MsAcl1|MsAcl2| | | | | | | - * `----------------------------------' `----------------------------------' - * ,-------------. ,-------------. - * | | | | | | - * ,------|------|------| |------+------+------. - * | | | | | |Brwser|Brwser| - * | Lclk | Rclk |------| |------|Back |Forwd | - * | | | | | | | | - * `--------------------' `--------------------' - */ - -// MEDIA AND MOUSE -[MDIA] = LAYOUT_ergodox( - QK_BOOT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F11, - _______, _______, KC_BTN1, KC_MS_U, KC_BTN2, _______, _______, - _______, KC_BTN4, KC_MS_L, KC_MS_D, KC_MS_R, KC_BTN5, - _______, KC_WH_L, KC_WH_D, KC_WH_U, KC_WH_R, KC_BTN3, _______, - _______, _______, KC_ACL0, KC_ACL1, KC_ACL2, - _______, _______, - _______, - KC_BTN1, KC_BTN2, _______, - // right hand - KC_F12, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______, - _______, _______, KC_VOLD, KC_MUTE, KC_VOLU, _______, _______, - _______, KC_MPRV, KC_MSTP, KC_MPLY, KC_MNXT, _______, - _______, KC_WSCH, KC_WBAK, KC_WHOM, KC_WREF, KC_WFWD, _______, - _______, _______, _______, _______, _______, - _______, _______, - _______, - _______, KC_WBAK, KC_WFWD -), -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case VRSN: - if (record->event.pressed) { - SEND_STRING(QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); - } - return false; - break; - case RGB_SLD: - if (record->event.pressed) { -#ifdef RGBLIGHT_ENABLE - rgblight_mode(1); -#endif - } - return false; - break; - } - return true; -} - -// Runs just one time when the keyboard initializes. -void matrix_init_user(void){ - -}; - -// Runs constantly in the background, in a loop. -void matrix_scan_user(void) { - uint8_t layer = get_highest_layer(layer_state); - - ergodox_board_led_off(); - ergodox_right_led_1_off(); - ergodox_right_led_2_off(); - ergodox_right_led_3_off(); - switch (layer) { - case 1: - ergodox_right_led_1_on(); - break; - case 2: - ergodox_right_led_2_on(); - break; - case 3: - ergodox_right_led_3_on(); - break; - default: - break; - } -}; diff --git a/keyboards/input_club/ergodox_infinity/keymaps/nordic_ergo/readme.md b/keyboards/input_club/ergodox_infinity/keymaps/nordic_ergo/readme.md deleted file mode 100644 index 2ed5268649..0000000000 --- a/keyboards/input_club/ergodox_infinity/keymaps/nordic_ergo/readme.md +++ /dev/null @@ -1,9 +0,0 @@ -# Nordic Ergodox Infinity layout - -QWERTY Nordic layout for ergodox infinity. - -Features: - -- Basic ISO Nordic qwerty layout. -- Backlight control. -- Still work in progress. \ No newline at end of file diff --git a/keyboards/input_club/ergodox_infinity/keymaps/trulyergonomic/README.md b/keyboards/input_club/ergodox_infinity/keymaps/trulyergonomic/README.md deleted file mode 100644 index 1e248742ee..0000000000 --- a/keyboards/input_club/ergodox_infinity/keymaps/trulyergonomic/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# Truly Ergonomic like layout - -A basic ErgoDox layout that imitates the Truly Ergonomic keyboard layout. diff --git a/keyboards/input_club/ergodox_infinity/keymaps/trulyergonomic/keymap.c b/keyboards/input_club/ergodox_infinity/keymaps/trulyergonomic/keymap.c deleted file mode 100644 index bbc24ea27f..0000000000 --- a/keyboards/input_club/ergodox_infinity/keymaps/trulyergonomic/keymap.c +++ /dev/null @@ -1,159 +0,0 @@ -#include QMK_KEYBOARD_H -#include "debug.h" -#include "action_layer.h" -#include "version.h" - -#define BASE 0 // default layer -#define EXTRA 1 // extra - -enum custom_keycodes { - PLACEHOLDER = SAFE_RANGE, // can always be here - EPRM, - VRSN, - RGB_SLD -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -/* Keymap 0: Basic layer - * - * ,--------------------------------------------------. ,--------------------------------------------------. - * | ESC | 1 | 2 | 3 | 4 | 5 | LGui | | LGui | 6 | 7 | 8 | 9 | 0 | - | - * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| - * | Tab | Q | W | E | R | T | Del | | Tab | Y | U | I | O | P | = | - * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | LShift | A | S | D | F | G |------| |------| H | J | K | L | ; | RShift | - * |--------+------+------+------+------+------| Back | | Back |------+------+------+------+------+--------| - * | LCtrl | Z | X | C | V | B | space| | space| N | M | , | . | ' | RCtrl | - * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' - * | LAlt | Home | PgUp | PgDn | End | | Left | Up | Down | Rigth| RAlt | - * `----------------------------------' `----------------------------------' - * ,-------------. ,-------------. - * | ~ | | | | [ | ] | - * ,------|------|------| |------+------+------. - * | | | L1 | | Grv | | | - * | Space|Enter |------| |------| Enter|Space | - * | | | / | | \ | | | - * `--------------------' `--------------------' - */ -// If it accepts an argument (i.e, is a function), it doesn't need KC_. -// Otherwise, it needs KC_* -[BASE] = LAYOUT_ergodox( // layer 0 : default - // left hand - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_LGUI, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_DEL, - KC_LSFT, KC_A, KC_S, KC_D, KC_F, KC_G, - KC_LCTL, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_BSPC, - KC_LALT, KC_HOME, KC_PGUP, KC_PGDN, KC_END, - KC_TILD, KC_PIPE, - TG(EXTRA), - KC_SPC, KC_ENT, KC_SLSH, - // right hand - KC_LGUI, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, - KC_TAB, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_EQL, - KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_RSFT, - KC_BSPC, KC_N, KC_M, KC_COMM, KC_DOT, KC_QUOT, KC_RCTL, - KC_LEFT, KC_UP, KC_DOWN, KC_RGHT, KC_RALT, - KC_LBRC, KC_RBRC, - KC_GRV, - KC_BSLS, KC_ENT, KC_SPC - ), -/* Keymap 1: Extra Layer - * - * ,---------------------------------------------------. ,--------------------------------------------------. - * | | F1 | F2 | F3 | F4 | F5 | | | PSCR | F6 | F7 | F8 | F9 | F10 | F11 | - * |---------+------+------+------+------+------+------| |------+------+------+------+------+------+--------| - * | | ! | @ | { | } | | | | | | Up | 7 | 8 | 9 | * | F12 | - * |---------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | Caps | # | $ | ( | ) | ` |------| |------| Down | 4 | 5 | 6 | + | | - * |---------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | | % | ^ | [ | ] | ~ | | | | & | 1 | 2 | 3 | \ | | - * `---------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' - * | | | | | | | 0 | , | . | = | | - * `-----------------------------------' `----------------------------------' - * ,-------------. ,-------------. - * |VolUp |VolDn | | Prev | Next | - * ,------|------|------| |------+------+------. - * | | | | | Stop |Bright|Bright| - * | Mute |Pause |------| |------|ness- |ness+ | - * | | | | | Play | | | - * `--------------------' `--------------------' - */ -// SYMBOLS -[EXTRA] = LAYOUT_ergodox( - // left hand - KC_TRNS,KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_TRNS, - KC_TRNS,KC_EXLM,KC_AT, KC_LCBR,KC_RCBR,KC_PIPE,KC_TRNS, - KC_CAPS,KC_HASH,KC_DLR, KC_LPRN,KC_RPRN,KC_GRV, - KC_TRNS,KC_PERC,KC_CIRC,KC_LBRC,KC_RBRC,KC_TILD,KC_TRNS, - KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, - KC_VOLU,KC_VOLD, - KC_TRNS, - KC_MUTE,KC_PAUS,KC_TRNS, - // right hand - KC_PSCR, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, - KC_TRNS, KC_UP, KC_7, KC_8, KC_9, KC_ASTR, KC_F12, - KC_DOWN, KC_4, KC_5, KC_6, KC_PLUS, KC_TRNS, - KC_TRNS, KC_AMPR, KC_1, KC_2, KC_3, KC_BSLS, KC_TRNS, - KC_0, KC_COMM, KC_DOT, KC_EQL, KC_TRNS, - KC_MPRV, KC_MNXT, - KC_STOP, - KC_MPLY, RGB_VAD, RGB_VAI -), -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - // dynamically generate these. - case EPRM: - if (record->event.pressed) { - eeconfig_init(); - } - return false; - break; - case VRSN: - if (record->event.pressed) { - SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); - } - return false; - break; - case RGB_SLD: - if (record->event.pressed) { - #ifdef RGBLIGHT_ENABLE - rgblight_mode(1); - #endif - } - return false; - break; - } - return true; -} - -// Runs just one time when the keyboard initializes. -void matrix_init_user(void) { - -}; - - -// Runs constantly in the background, in a loop. -void matrix_scan_user(void) { - - uint8_t layer = get_highest_layer(layer_state); - - ergodox_board_led_off(); - ergodox_right_led_1_off(); - ergodox_right_led_2_off(); - ergodox_right_led_3_off(); - switch (layer) { - // TODO: Make this relevant to the ErgoDox EZ. - case 1: - ergodox_right_led_1_on(); - break; - case 2: - ergodox_right_led_2_on(); - break; - default: - // none - break; - } - -}; diff --git a/keyboards/input_club/infinity60/keymaps/depariel/keymap.c b/keyboards/input_club/infinity60/keymaps/depariel/keymap.c deleted file mode 100755 index 22ac4fa5fa..0000000000 --- a/keyboards/input_club/infinity60/keymaps/depariel/keymap.c +++ /dev/null @@ -1,87 +0,0 @@ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Layer 0: Default Layer - * ,-----------------------------------------------------------. - * |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =| \| `| - * |-----------------------------------------------------------| - * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| Bksp| - * |-----------------------------------------------------------| - * |Contro| A| S| D| F| G| H| J| K| L| ;| '|Enter | - * |-----------------------------------------------------------| - * |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift |Fn2| - * |-----------------------------------------------------------' - * |Fn2 |Gui |Alt | Space |RAlt|Prv|PlPs|Next| - * `-----------------------------------------------------------' - */ - [0] = LAYOUT_60_ansi_split_bs_rshift( - KC_ESC, 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_BSLS, KC_GRV, - 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_BSPC, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, LT(5, KC_ENT), - SC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, MO(4), - MO(4), KC_LGUI, KC_LALT, LT(3, KC_SPC), KC_RALT, KC_MPRV, KC_MPLY, KC_MNXT), - - /* Layer 1: "Toggle" off SpaceFn for League of Legends - */ - [1] = LAYOUT_60_ansi_split_bs_rshift( - KC_ESC, 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_BSLS, KC_GRV, - 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_BSPC, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(4), - MO(4), KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_MPRV, KC_MPLY, KC_MNXT), - - /* Layer 2: "Toggle" off SpaceFn for MapleRoyals - */ - [2] = LAYOUT_60_ansi_split_bs_rshift( - KC_ESC, 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_BSLS, KC_GRV, - 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_BSPC, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_UP, KC_LSFT, - MO(4), KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT), - - /* Layer 3: FN layer 1 - */ - [3] = LAYOUT_60_ansi_split_bs_rshift( - KC_NO, 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_NO, KC_NO, - KC_NO, KC_BTN1, KC_MS_U, KC_BTN2, LALT(KC_F4), KC_HOME, KC_PGUP, KC_PSCR, KC_SCRL, KC_UP, KC_NO, KC_LPRN, KC_RPRN, KC_DEL, - MO(6), KC_MS_L, KC_MS_D, KC_MS_R, KC_NO, KC_END, KC_PGDN, KC_TILD, KC_LEFT, KC_DOWN, KC_RGHT, KC_NO, KC_NO, - LGUI(KC_SPC), KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_CALC, KC_MENU, KC_TRNS, TG(4), - KC_TRNS, KC_TRNS, KC_TRNS, LT(3, KC_SPC), KC_TRNS, KC_VOLD, KC_MUTE, KC_VOLU), - - /* Layer 4: FN layer 2 - */ - [4] = LAYOUT_60_ansi_split_bs_rshift( - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_PMNS, KC_PPLS, KC_PSLS, TG(2), - KC_CAPS, KC_NO, KC_UP, KC_NO, KC_NO, KC_NO, KC_NO, KC_PSCR, KC_NO, KC_P7, KC_P8, KC_P9, KC_PAST, KC_BSPC, - KC_LCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_P4, KC_P5, KC_P6, KC_PENT, - KC_LSFT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_P1, KC_P2, KC_P3, KC_RSFT, MO(4), - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_P0, KC_PDOT, KC_NO, TG(1)), - - /* Layer 5: FN layer 3 - */ - [5] = LAYOUT_60_ansi_split_bs_rshift( - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - KC_TAB , KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_F13, KC_F14, KC_F15, KC_F16, KC_NO, KC_TRNS, - KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_F17, KC_F18, KC_F19, KC_F20, LT(5, KC_ENT), - KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_F21, KC_F22, KC_F23, KC_F24, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_RALT, KC_NO, KC_NO, KC_NO), - - /* Layer 6: FN layer 4 - */ - [6] = LAYOUT_60_ansi_split_bs_rshift( - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - LCTL(LSFT(KC_TAB)), KC_NO, LGUI(KC_UP), KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - MO(6), LGUI(KC_LEFT), LGUI(KC_DOWN), LGUI(KC_RGHT), KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_NO, KC_NO, KC_NO), -}; - -// Runs just one time when the keyboard initializes. -void matrix_init_user(void) { - -}; - -// Runs constantly in the background, in a loop. -void matrix_scan_user(void) { - -}; diff --git a/keyboards/input_club/k_type/keymaps/andrew-fahmy/config.h b/keyboards/input_club/k_type/keymaps/andrew-fahmy/config.h deleted file mode 100644 index 5052271687..0000000000 --- a/keyboards/input_club/k_type/keymaps/andrew-fahmy/config.h +++ /dev/null @@ -1,20 +0,0 @@ -/* Copyright 2021 Andrew Fahmy - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_RAINDROPS -#define RGB_MATRIX_LED_FLUSH_LIMIT 100 diff --git a/keyboards/input_club/k_type/keymaps/andrew-fahmy/keymap.c b/keyboards/input_club/k_type/keymaps/andrew-fahmy/keymap.c deleted file mode 100644 index 264c760414..0000000000 --- a/keyboards/input_club/k_type/keymaps/andrew-fahmy/keymap.c +++ /dev/null @@ -1,60 +0,0 @@ -/* Copyright 2021 Andrew Fahmy - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H - -enum layer_names { - _MAIN, - _L1 -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_MAIN] = LAYOUT_tkl_ansi( - KC_ESC, 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_PSCR, KC_SCRL, KC_PAUS, - - 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_BSPC, KC_INS, KC_HOME, KC_PGUP, - 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, KC_DEL, KC_END, KC_PGDN, - MO(_L1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, _______, KC_LALT, KC_SPC, KC_RALT, MO(_L1), KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - [_L1] = LAYOUT_tkl_ansi( - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_TOG, RGB_MOD, _______, - - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_SPD, RGB_SPI, _______, RGB_HUI, RGB_SAI, RGB_VAI, - _______, KC_MPRV, KC_MPLY, KC_MNXT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_HUD, RGB_SAD, RGB_VAD, - _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_LGUI, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ) -}; - -void keyboard_post_init_user(void) { - // Customise these values to desired behaviour - // debug_enable=true; - // debug_matrix=true; - // debug_keyboard=true; - // debug_mouse=true; -} - -#ifdef RGB_MATRIX_ENABLE -// Turn off SDB -void keyboard_pre_init_user(void) { - palSetPadMode(GPIOB, 16, PAL_MODE_OUTPUT_PUSHPULL); - palSetPad(GPIOB, 16); -} - -#endif diff --git a/keyboards/input_club/k_type/keymaps/andrew-fahmy/rules.mk b/keyboards/input_club/k_type/keymaps/andrew-fahmy/rules.mk deleted file mode 100644 index aad92997d0..0000000000 --- a/keyboards/input_club/k_type/keymaps/andrew-fahmy/rules.mk +++ /dev/null @@ -1 +0,0 @@ -RGB_MATRIX_ENABLE = yes diff --git a/keyboards/input_club/whitefox/keymaps/matt3o/keymap.c b/keyboards/input_club/whitefox/keymaps/matt3o/keymap.c deleted file mode 100644 index 76237d4d30..0000000000 --- a/keyboards/input_club/whitefox/keymaps/matt3o/keymap.c +++ /dev/null @@ -1,95 +0,0 @@ -/* -Copyright 2015 Jun Wako - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ -#include QMK_KEYBOARD_H - -enum custom_keycodes { - AL_FILE = SAFE_RANGE, - AL_WWW, - AL_HELP, - AL_CMD -}; - -const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Layer 0: Default Layer - * ,---------------------------------------------------------------. - * |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =| \| `|Ins| - * |---------------------------------------------------------------| - * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]|Backs|Del| - * |---------------------------------------------------------------| - * |CapsLo| A| S| D| F| G| H| J| K| L| ;| '|Enter |PgU| - * |---------------------------------------------------------------| - * |Shif| | Z| X| C| V| B| N| M| ,| .| /|Shift |Up |PgD| - * |---------------------------------------------------------------| - * |Ctrl|Gui |Alt | Space |Fn0 |Alt |Gui | |Lef|Dow|Rig| - * `---------------------------------------------------------------' - */ - [0] = LAYOUT( - KC_ESC, 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_BSLS,KC_GRV, KC_MUTE, - 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_BSPC, KC_DEL, - MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN,KC_QUOT,KC_NUHS,KC_ENT, KC_PGUP, - KC_LSFT,KC_NUBS,KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH,KC_RSFT, KC_UP, KC_PGDN, - KC_LCTL,KC_LGUI,KC_LALT, KC_SPC, KC_RALT,MO(2), KC_RCTL, KC_LEFT,KC_DOWN,KC_RGHT - ), - [1] = LAYOUT( - KC_TRNS,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_TRNS,KC_TRNS,KC_TRNS, - KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_DEL , KC_INS , - KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, KC_VOLU, - KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, KC_PGUP,KC_VOLD, - KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS, KC_HOME,KC_PGDN,KC_END - ), - [2] = LAYOUT( - KC_SLEP,KC_P1, KC_P2, KC_P3, KC_P4, KC_P5, KC_P6, KC_P7, KC_P8, KC_P9, KC_P0, KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_NO, - KC_TRNS,KC_TRNS,AL_WWW ,AL_HELP ,KC_TRNS,AL_CMD ,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_PSCR,KC_TRNS,KC_TRNS,KC_TRNS, KC_NO, - KC_CAPS,KC_TRNS,KC_TRNS,KC_TRNS,AL_FILE ,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS, - KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_CALC,KC_TRNS,KC_TRNS,KC_TRNS,KC_MAIL,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS,KC_TRNS, - KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS - ), -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case AL_FILE: - if (record->event.pressed) { - host_consumer_send(0x1B4); // AL File Browser - } else { - host_consumer_send(0); - } - return false; - case AL_WWW: - if (record->event.pressed) { - host_consumer_send(0x196); // AL Internet Browser - } else { - host_consumer_send(0); - } - return false; - case AL_HELP: - if (record->event.pressed) { - host_consumer_send(0x1A6); // AL Integrated Help Center - } else { - host_consumer_send(0); - } - return false; - case AL_CMD: - if (record->event.pressed) { - host_consumer_send(0x1A0); // AL Command Line Processor/Run - } else { - host_consumer_send(0); - } - return false; - } - return true; -} diff --git a/keyboards/input_club/whitefox/keymaps/mattrighetti/keymap.c b/keyboards/input_club/whitefox/keymaps/mattrighetti/keymap.c deleted file mode 100644 index 584719ed25..0000000000 --- a/keyboards/input_club/whitefox/keymaps/mattrighetti/keymap.c +++ /dev/null @@ -1,81 +0,0 @@ - - /* - Copyright 2021 Mattia Righetti - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - */ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Base layer - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ - * │Esc│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ \ │ ` │ │ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼───┤ - * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │Bspc │Del│ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ - * │Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │PgU│ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ - * │ LShift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │RSfRCt│ ↑ │PgD│ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼───┤ - * │LCtl│LAlt│LGUI│ Space │RAlt│Lay1│ │ ← │ ↓ │ → │ - * └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘ - */ - [0] = LAYOUT_truefox( - KC_ESC, 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_GRV, KC_BSLS, _______, - 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_BSPC, KC_DEL, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, - KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT - ), - /* Function layer - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬─────┐ - * │ │F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│ │ │ │ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼─────┤ - * │ │ │ ↑ │ │ │ │ │ │ │ │ │ │ │Reset│ │ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼─────┤ - * │ │ ← │ ↓ │ → │ │ │ │ │ │ │ │ │ │ │ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼─────┤ - * │ │VoU│VoD│VoM│ │ │ │ │ │ │ │ │ │ │ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼─────┤ - * │ │ │ │ │Lay2│ │ │ │ │ │ - * └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴─────┘ - */ - [1] = LAYOUT_truefox( - _______, 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_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, _______, - _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, MO(2), KC_TRNS, _______, _______, _______ - ), - /* Third layer - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼───┤ - * │ │1 │2 │3 │4 │5 │6 │7 │8 │9 │0 │ │ │ │ │ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼───┤ - * │ │ │ │ │ │ │ │ │ │ │ - * └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘ - */ - [2] = LAYOUT_truefox( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______ - ) -}; diff --git a/keyboards/input_club/whitefox/keymaps/mattrighetti/rules.mk b/keyboards/input_club/whitefox/keymaps/mattrighetti/rules.mk deleted file mode 100644 index 7a421cc9ae..0000000000 --- a/keyboards/input_club/whitefox/keymaps/mattrighetti/rules.mk +++ /dev/null @@ -1,10 +0,0 @@ -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite - -# Keyboard-specific features -BACKLIGHT_ENABLE = no -VISUALIZER_ENABLE = no - -# Firmware size reduction -GRAVE_ESC_ENABLE = no -MAGIC_ENABLE = no -SPACE_CADET_ENABLE = no diff --git a/keyboards/input_club/whitefox/keymaps/truefox/keymap.c b/keyboards/input_club/whitefox/keymaps/truefox/keymap.c deleted file mode 100644 index 2af5467311..0000000000 --- a/keyboards/input_club/whitefox/keymaps/truefox/keymap.c +++ /dev/null @@ -1,60 +0,0 @@ -/* -Copyright 2015 Jun Wako - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ - * │Esc│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ ~ │ \ │PrS│ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼───┤ - * │Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │Backs│Del│ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ - * │Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │Enter │PgU│ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ - * │Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │Shift │ ↑ │PgD│ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼───┤ - * │Ctrl│GUI │Alt │ │Alt │Fn │ │ ← │ ↓ │ → │ - * └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘ - */ - [0] = LAYOUT_65_ansi_blocker_split_bs( - KC_ESC, 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_GRV, KC_BSLS, KC_PSCR, - 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_BSPC, KC_DEL, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT - ), - /* - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ - * │Fla│F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│PrS│ \ │Mut│ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼───┤ - * │Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │Delet│Del│ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ - * │Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │Enter │Vl+│ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ - * │Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │Shift │PgU│Vl-│ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼───┤ - * │Ctrl│GUI │Alt │ │Alt │Fn │ │Hom│PgD│End│ - * └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘ - */ - [1] = LAYOUT_65_ansi_blocker_split_bs( - QK_BOOT, 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_MUTE, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGUP, KC_VOLD, - _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END - ) -}; diff --git a/keyboards/jc65/v32u4/keymaps/coth/keymap.c b/keyboards/jc65/v32u4/keymaps/coth/keymap.c deleted file mode 100644 index 025c585852..0000000000 --- a/keyboards/jc65/v32u4/keymaps/coth/keymap.c +++ /dev/null @@ -1,25 +0,0 @@ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( - QK_GESC, 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_BSLS, KC_GRV, KC_INS, - 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_BSPC, KC_DEL, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, - KC_LALT, KC_LCTL, KC_LGUI, KC_SPACE, KC_SPACE, KC_SPACE, MO(1), KC_NO, MO(2), KC_LEFT, KC_DOWN, KC_RGHT - ), - [1] = LAYOUT( - KC_GRV, 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_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_BTN2, KC_MS_U, KC_BTN1, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_HOME, KC_END, KC_DEL, KC_TRNS, - KC_CAPS, KC_MS_L, KC_MS_D, KC_MS_R, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_UP, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_VOLU, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGDN, KC_PGUP, KC_TRNS, KC_TRNS, KC_PGUP, KC_VOLD, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_PGDN, KC_END - ), - [2] = LAYOUT( - RGB_TOG, RGB_M_P, RGB_M_B, RGB_M_R, RGB_M_SW, RGB_M_SN, RGB_M_K, RGB_M_X, RGB_M_G, RGB_MOD, RGB_RMOD, BL_STEP, BL_TOGG, KC_TRNS, KC_TRNS, QK_BOOT, - KC_TRNS, RGB_HUI, RGB_SAI, RGB_VAI, KC_TRNS, RGB_TOG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, BL_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_HUD, RGB_SAD, RGB_VAD, KC_TRNS, RGB_HUD, RGB_HUI, KC_TRNS, KC_TRNS, KC_TRNS, BL_DOWN, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, RGB_MOD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), -}; diff --git a/keyboards/jc65/v32u4/keymaps/coth/readme.md b/keyboards/jc65/v32u4/keymaps/coth/readme.md deleted file mode 100644 index 3d621859e7..0000000000 --- a/keyboards/jc65/v32u4/keymaps/coth/readme.md +++ /dev/null @@ -1,14 +0,0 @@ -ChildoftheHorn's Keymap -=== - -Layer 1: "HHKB Mac" Split backspace, 6.25u space, caps is cntl - -Layer 2: V60++ with mouse controls on WASD - -Layer 3: RGB control on number row, LED controls, and Reset - -Keymap Maintainer: [Stacy Devino](https://github.com/childofthehorn) - -Difference from base layout: Primarily the HHKB-ness - -Intended usage: Daily driver for programming diff --git a/keyboards/jc65/v32u4/keymaps/dead_encryption/keymap.c b/keyboards/jc65/v32u4/keymaps/dead_encryption/keymap.c deleted file mode 100644 index 0fca214f77..0000000000 --- a/keyboards/jc65/v32u4/keymaps/dead_encryption/keymap.c +++ /dev/null @@ -1,35 +0,0 @@ -#include QMK_KEYBOARD_H -// How long (in ms) to wait between animation steps for the breathing mode -const uint8_t RGBLED_BREATHING_INTERVALS[] PROGMEM = {30, 20, 10, 5}; - -// How long (in ms) to wait between animation steps for the rainbow mode -const uint8_t RGBLED_RAINBOW_MOOD_INTERVALS[] PROGMEM = {120, 60, 30}; - -// How long (in ms) to wait between animation steps for the swirl mode -const uint8_t RGBLED_RAINBOW_SWIRL_INTERVALS[] PROGMEM = {30, 20, 3}; - -// How long (in ms) to wait between animation steps for the snake mode -const uint8_t RGBLED_SNAKE_INTERVALS[] PROGMEM = {100, 50, 20}; - -// How long (in ms) to wait between animation steps for the knight modes -const uint8_t RGBLED_KNIGHT_INTERVALS[] PROGMEM = {127, 63, 31}; - -// These control which colors are selected for the gradient mode -const uint8_t RGBLED_GRADIENT_RANGES[] PROGMEM = {255, 170, 127, 85, 64}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( - QK_GESC, 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_BSLS, KC_GRV, KC_PSCR, - 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_BSPC, KC_PGUP, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_DEL, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPACE, KC_SPACE, KC_SPACE, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - [1] = LAYOUT( - QK_BOOT, 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_INS, KC_PAUS, KC_TRNS, - KC_TRNS, RGB_TOG, RGB_M_P, RGB_M_B, RGB_M_R, RGB_M_SW, RGB_M_SN, RGB_M_K, RGB_M_X, RGB_M_G, RGB_MOD, KC_VOLU, KC_VOLD, KC_MUTE, KC_TRNS, - KC_TRNS, RGB_HUI, RGB_SAI, RGB_VAI, RGB_HUD, RGB_SAD, RGB_VAD, KC_DOWN, KC_HOME, KC_PGUP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, BL_TOGG, BL_STEP, BL_UP, BL_DOWN, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, KC_PGDN, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_MPRV, KC_MPLY, KC_MPLY, KC_MPLY, KC_MNXT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), -}; diff --git a/keyboards/jc65/v32u4/keymaps/dead_encryption/readme.md b/keyboards/jc65/v32u4/keymaps/dead_encryption/readme.md deleted file mode 100644 index b48075db9f..0000000000 --- a/keyboards/jc65/v32u4/keymaps/dead_encryption/readme.md +++ /dev/null @@ -1,10 +0,0 @@ -Dead's Keymap -=== - -Split backspace, 6.25u space, 2 Function Layers, reset + rgb controls on layer(2) - -Intended usage: This is my daily driver keymap - -=== - -Encryption Complete \ No newline at end of file diff --git a/keyboards/jc65/v32u4/keymaps/gam3cat/config.h b/keyboards/jc65/v32u4/keymaps/gam3cat/config.h deleted file mode 100644 index e4df94be70..0000000000 --- a/keyboards/jc65/v32u4/keymaps/gam3cat/config.h +++ /dev/null @@ -1,10 +0,0 @@ -#pragma once - -//Force NKRO to be enabled. -#define FORCE_NKRO - -//GRAVE_ESC override for CTRL+SHIFT+ESC Windows task manager shortcut. -#define GRAVE_ESC_CTRL_OVERRIDE - -//Delay matrix scan for tap dance, reduce to activate modifier keys faster. -//#define TAPPING_TERM 200 diff --git a/keyboards/jc65/v32u4/keymaps/gam3cat/keymap.c b/keyboards/jc65/v32u4/keymaps/gam3cat/keymap.c deleted file mode 100644 index e0046073c6..0000000000 --- a/keyboards/jc65/v32u4/keymaps/gam3cat/keymap.c +++ /dev/null @@ -1,258 +0,0 @@ -#include QMK_KEYBOARD_H -#include "version.h" - -enum layers { - _BL = 0, // Base Layer - _WL, // Workman Layer - _NL, // Norman Layer - _DL, // Dvorak Layer - _CL, // Base Layer - _FL, // Function Layer - _AL, // Adjust Layer -}; - -enum custom_keycodes { - QMK_REV = SAFE_RANGE, - KC_WEB, - KC_SP4, - DYNAMIC_MACRO_RANGE -}; - -extern backlight_config_t backlight_config; - -#include "dynamic_macro.h" -#define FN_CAPS LT(_FL, KC_CAPS) -#define KC_DMR1 DM_REC1 -#define KC_DMR2 DM_REC2 -#define KC_DMP1 DM_PLY1 -#define KC_DMP2 DM_PLY2 -#define KC_DMRS DM_RSTP - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /*#### _BL: Base Layer - Mostly standard 65% QWERTY layout. - * .---------------------------------------------------------------. - * |GrE|1 |2 |3 |4 |5 |6 |7 |8 |9 |0 |- |= |Backsp |Ins| - * |---------------------------------------------------------------| - * |Tab |Q |W |E |R |T |Y |U |I |O |P |[ |] |\ |Del| - * |---------------------------------------------------------------| - * |FnCaps|A |S |D |F |G |H |J |K |L |; |' |Return |PgU| - * |---------------------------------------------------------------| - * |Shift |Z |X |C |V |B |N |M |, |. |/ |Shift |Up |PgD| - * |---------------------------------------------------------------| - * |Ctrl|Gui |Alt | Space |RAlt |Ctrl |Lft|Dwn|Rgt| - * *---------------------------------------------------------------* - */ - [_BL] = LAYOUT( - QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, XXXXXXX, KC_BSPC, KC_INS, - 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, KC_DEL, - FN_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, - KC_LSFT, XXXXXXX, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - /*#### _WL: Workman Layer. - * .---------------------------------------------------------------. - * | | | | | | | | | | | |- |= | | | - * |---------------------------------------------------------------| - * | |Q |D |R |W |B |J |F |U |P |; |[ |] |\ | | - * |---------------------------------------------------------------| - * | |A |S |H |T |G |Y |N |E |O |I |' | | | - * |---------------------------------------------------------------| - * | |Z |X |M |C |V |K |L |, |. |/ | | | | - * |---------------------------------------------------------------| - * | | | | | | | | | | - * *---------------------------------------------------------------* - */ - [_WL] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_Q , KC_D , KC_R , KC_W , KC_B , KC_J , KC_F , KC_U , KC_P , KC_SCLN, _______, _______, _______, _______, - _______, KC_A , KC_S , KC_H , KC_T , KC_G , KC_Y , KC_N , KC_E , KC_O , KC_I , _______, _______, _______, - _______, _______, KC_Z , KC_X , KC_M , KC_C , KC_V , KC_K , KC_L , KC_COMM, KC_DOT , KC_SLSH, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - /*#### _NL: Norman Layer. - * .---------------------------------------------------------------. - * | | | | | | | | | | | |- |= | | | - * |---------------------------------------------------------------| - * | |Q |W |D |F |K |J |U |R |L |; |[ |] |\ | | - * |---------------------------------------------------------------| - * | |A |S |E |T |G |Y |N |I |O |H |' | | | - * |---------------------------------------------------------------| - * | |Z |X |C |V |B |P |M |, |. |/ | | | | - * |---------------------------------------------------------------| - * | | | | | | | | | | - * *---------------------------------------------------------------* - */ - [_NL] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_Q , KC_W , KC_D , KC_F , KC_K , KC_J , KC_U , KC_R , KC_L , KC_SCLN, _______, _______, _______, _______, - _______, KC_A , KC_S , KC_E , KC_T , KC_G , KC_Y , KC_N , KC_I , KC_O , KC_H , _______, _______, _______, - _______, _______, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_P , KC_M , KC_COMM, KC_DOT , KC_SLSH, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - /*#### _DL: Dvorak Layer. - * .---------------------------------------------------------------. - * | | | | | | | | | | | |[ |] | | | - * |---------------------------------------------------------------| - * | |' |, |. |P |Y |F |G |C |R |L |/ |= |\ | | - * |---------------------------------------------------------------| - * | |A |O |E |U |I |D |H |T |N |S |- | | | - * |---------------------------------------------------------------| - * | |; |Q |J |K |X |B |M |W |V |Z | | | | - * |---------------------------------------------------------------| - * | | | | | | | | | | - * *---------------------------------------------------------------* - */ - [_DL] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LBRC, KC_RBRC, _______, _______, _______, - _______, KC_QUOT, KC_COMM, KC_DOT , KC_P , KC_Y , KC_F , KC_G , KC_C , KC_R , KC_L , KC_SLSH, KC_EQL , _______, _______, - _______, KC_A , KC_O , KC_E , KC_U , KC_I , KC_D , KC_H , KC_T , KC_N , KC_S , KC_MINS, _______, _______, - _______, _______, KC_SCLN, KC_Q , KC_J , KC_K , KC_X , KC_B , KC_M , KC_W , KC_V , KC_Z , _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - /*#### _CL: Colmak Layer. - * .---------------------------------------------------------------. - * | | | | | | | | | | | |- |= | | | - * |---------------------------------------------------------------| - * | |Q |W |F |P |G |J |L |U |Y |; |[ |] |\ | | - * |---------------------------------------------------------------| - * | |A |R |S |T |D |H |N |E |I |O |' | | | - * |---------------------------------------------------------------| - * | |Z |X |C |V |B |K |M |, |. |/ | | | | - * |---------------------------------------------------------------| - * | | | | | | | | | | - * *---------------------------------------------------------------* - */ - [_CL] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_Q , KC_W , KC_F , KC_P , KC_G , KC_J , KC_L , KC_U , KC_Y , KC_SCLN, _______, _______, _______, _______, - _______, KC_A , KC_R , KC_S , KC_T , KC_D , KC_H , KC_N , KC_E , KC_I , KC_O , _______, _______, _______, - _______, _______, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_K , KC_M , KC_COMM, KC_DOT , KC_SLSH, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - /*#### _FL: Function Layer. - * .---------------------------------------------------------------. - * |Web|F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12|SLock |PSc| - * |---------------------------------------------------------------| - * |Fn_AL| | | | | | | | | | | | | |Pau| - * |---------------------------------------------------------------| - * |FnCaps| | | | | |Lft|Dwn|Up |Rgt| | | |Hme| - * |---------------------------------------------------------------| - * | | | | | | | | | | | |VlMute|VlU|End| - * |---------------------------------------------------------------| - * | | |Menu| SP4 | | |WBk|VlD|WFw| - * *---------------------------------------------------------------* - */ - [_FL] = LAYOUT( - KC_WEB, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, XXXXXXX, KC_SCRL, KC_PSCR, - MO(_AL), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_PAUS, - _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, XXXXXXX, XXXXXXX, XXXXXXX, KC_HOME, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_MUTE, KC_VOLU, KC_END, - XXXXXXX, XXXXXXX, KC_MENU, KC_SP4, KC_SP4, KC_SP4, XXXXXXX, XXXXXXX, XXXXXXX, KC_WBAK, KC_VOLD, KC_WFWD - ), - /*#### _AL: Adjust Layer - Keymap select, RGB Underglow, LED backlight, and Dynamic Macro settings. - * .---------------------------------------------------------------. - * |Rev|Tog|Mod|H- |H+ |S- |S+ |V- |V+ | |BLT|BL-|BL+| |MP1| - * |---------------------------------------------------------------| - * |Fn_AL|_BL|_WL| | | | | | | | | | | |MR1| - * |---------------------------------------------------------------| - * |FnCaps| | |_DL| | | | | | | | | |MS | - * |---------------------------------------------------------------| - * | | | |_CL| |_BL|_NL| | | | | | |MR2| - * |---------------------------------------------------------------| - * |Rst | | | | | | | |MP2| - * *---------------------------------------------------------------* - */ - [_AL] = LAYOUT( - QMK_REV, RGB_TOG, RGB_MOD, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_VAD, RGB_VAI, XXXXXXX, BL_TOGG, BL_DOWN, BL_UP, XXXXXXX, XXXXXXX, KC_DMP1, - _______, DF(_BL), DF(_WL), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_DMR1, - _______, XXXXXXX, XXXXXXX, DF(_DL), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_DMRS, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, DF(_CL), XXXXXXX, DF(_BL), DF(_NL), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_DMR2, - QK_BOOT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_DMP2 - ), -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case QMK_REV: - if (record->event.pressed) { - SEND_STRING(QMK_KEYBOARD "/" QMK_KEYMAP "@" QMK_VERSION ":" QMK_BUILDDATE); - } - return false; - break; - case KC_WEB: - if (record->event.pressed) { - SEND_STRING(SS_LGUI("r")); - wait_ms(100); - SEND_STRING("chrome.exe https://geekhack.org/index.php?topic=86756.new;topicseen#new\n"); - } - return false; - break; - case KC_SP4: - if (record->event.pressed) { - SEND_STRING (" "); - } - return false; - break; - } - // Dynamic Macros. - if (!process_record_dynamic_macro(keycode, record)) { - return false; - } - return true; -} - -void custom_backlight_level(uint8_t level) { - if (level > BACKLIGHT_LEVELS) - level = BACKLIGHT_LEVELS; - backlight_config.level = level; - backlight_config.enable = !!backlight_config.level; - backlight_set(backlight_config.level); -} - -void matrix_init_user(void) { - #ifdef BACKLIGHT_ENABLE - custom_backlight_level(0); - #endif - #ifdef RGBLIGHT_ENABLE - rgblight_mode(1); - rgblight_sethsv_noeeprom(180,100,100); - #endif -} - -layer_state_t layer_state_set_user(layer_state_t state) { - switch (get_highest_layer(state)) { - case _BL: - custom_backlight_level(0); - rgblight_sethsv_noeeprom(180,100,255); - break; - case _WL: - custom_backlight_level(1); - rgblight_sethsv_noeeprom(180,95,240); - break; - case _NL: - custom_backlight_level(1); - rgblight_sethsv_noeeprom(180,90,225); - break; - case _DL: - custom_backlight_level(1); - rgblight_sethsv_noeeprom(180,85,210); - break; - case _CL: - custom_backlight_level(1); - rgblight_sethsv_noeeprom(180,80,195); - break; - case _FL: - custom_backlight_level(2); - rgblight_sethsv_noeeprom(230,255,255); - break; - case _AL: - custom_backlight_level(3); - rgblight_sethsv_noeeprom(250,255,255); - break; - default: - custom_backlight_level(0); - rgblight_sethsv_noeeprom(180,100,100); - break; - } - return state; -} diff --git a/keyboards/jc65/v32u4/keymaps/gam3cat/readme.md b/keyboards/jc65/v32u4/keymaps/gam3cat/readme.md deleted file mode 100644 index e79ce4ff7f..0000000000 --- a/keyboards/jc65/v32u4/keymaps/gam3cat/readme.md +++ /dev/null @@ -1,105 +0,0 @@ -# Keymap Maintainer: Gam3cat -make jc65/v32u4:gam3cat -## Layout Config: -2u backspace, 2.25u left shift/enter, 1.75u right shift. -(2x1.5u, 1x7.0u, 2x1.5u, 3x1u), (3x1.25u, 1x6.25u, 2x1.5u, 3x1u), or -(3x1.25u, 1x6.25u, 6x1u) bottom row. - - FN_CAPS = MO(_FL) when held, CAPS when tapped. - GRAVE_ESC + GUI = ` - GRAVE_ESC + SHIFT = ~ - -## Base Layer Selection: -(Caps+TAB+( )): (Q)WERTY, (W)orkman, (N)orman, (D)vorak, (C)olmak - -### Base Layer Options: -#### _BL: Base Layer - Mostly standard 65% QWERTY layout. - .---------------------------------------------------------------. - |GrE|1 |2 |3 |4 |5 |6 |7 |8 |9 |0 |- |= |Backsp |Ins| - |---------------------------------------------------------------| - |Tab |Q |W |E |R |T |Y |U |I |O |P |[ |] |\ |Del| - |---------------------------------------------------------------| - |FnCaps|A |S |D |F |G |H |J |K |L |; |' |Return |PgU| - |---------------------------------------------------------------| - |Shift |Z |X |C |V |B |N |M |, |. |/ |Shift |Up |PgD| - |---------------------------------------------------------------| - |Ctrl|Gui |Alt | Space |RAlt |Ctrl |Lft|Dwn|Rgt| - *---------------------------------------------------------------* - -#### _WL: Workman Layer. - .---------------------------------------------------------------. - | | | | | | | | | | | |- |= | | | - |---------------------------------------------------------------| - | |Q |D |R |W |B |J |F |U |P |; |[ |] |\ | | - |---------------------------------------------------------------| - | |A |S |H |T |G |Y |N |E |O |I |' | | | - |---------------------------------------------------------------| - | |Z |X |M |C |V |K |L |, |. |/ | | | | - |---------------------------------------------------------------| - | | | | | | | | | | - *---------------------------------------------------------------* - -#### _NL: Norman Layer. - .---------------------------------------------------------------. - | | | | | | | | | | | |- |= | | | - |---------------------------------------------------------------| - | |Q |W |D |F |K |J |U |R |L |; |[ |] |\ | | - |---------------------------------------------------------------| - | |A |S |E |T |G |Y |N |I |O |H |' | | | - |---------------------------------------------------------------| - | |Z |X |C |V |B |P |M |, |. |/ | | | | - |---------------------------------------------------------------| - | | | | | | | | | | - *---------------------------------------------------------------* - -#### _DL: Dvorak Layer. - .---------------------------------------------------------------. - | | | | | | | | | | | |[ |] | | | - |---------------------------------------------------------------| - | |' |, |. |P |Y |F |G |C |R |L |/ |= |\ | | - |---------------------------------------------------------------| - | |A |O |E |U |I |D |H |T |N |S |- | | | - |---------------------------------------------------------------| - | |; |Q |J |K |X |B |M |W |V |Z | | | | - |---------------------------------------------------------------| - | | | | | | | | | | - *---------------------------------------------------------------* - -#### _CL: Colmak Layer. - .---------------------------------------------------------------. - | | | | | | | | | | | |- |= | | | - |---------------------------------------------------------------| - | |Q |W |F |P |G |J |L |U |Y |; |[ |] |\ | | - |---------------------------------------------------------------| - | |A |R |S |T |D |H |N |E |I |O |' | | | - |---------------------------------------------------------------| - | |Z |X |C |V |B |K |M |, |. |/ | | | | - |---------------------------------------------------------------| - | | | | | | | | | | - *---------------------------------------------------------------* - -#### _FL: Function Layer. - .---------------------------------------------------------------. - |Web|F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12|SLock |PSc| - |---------------------------------------------------------------| - |Fn_AL| | | | | | | | | | | | | |Pau| - |---------------------------------------------------------------| - |FnCaps| | | | | |Lft|Dwn|Up |Rgt| | | |Hme| - |---------------------------------------------------------------| - | | | | | | | | | | | |VlMute|VlU|End| - |---------------------------------------------------------------| - | | |Menu| SP4 | | |WBk|VlD|WFw| - *---------------------------------------------------------------* - -#### _AL: Adjust Layer - Keymap select, RGB Underglow, LED backlight, and Dynamic Macro settings. - .---------------------------------------------------------------. - |Rev|Tog|Mod|H- |H+ |S- |S+ |V- |V+ | |BLT|BL-|BL+| |MP1| - |---------------------------------------------------------------| - |Fn_AL|_BL|_WL| | | | | | | | | | | |MR1| - |---------------------------------------------------------------| - |FnCaps| | |_DL| | | | | | | | | |MS | - |---------------------------------------------------------------| - | | | |_CL| |_BL|_NL| | | | | | |MR2| - |---------------------------------------------------------------| - |Rst | | | | | | | |MP2| - *---------------------------------------------------------------* diff --git a/keyboards/jc65/v32u4/keymaps/gam3cat/rules.mk b/keyboards/jc65/v32u4/keymaps/gam3cat/rules.mk deleted file mode 100644 index 5ff16d4710..0000000000 --- a/keyboards/jc65/v32u4/keymaps/gam3cat/rules.mk +++ /dev/null @@ -1,21 +0,0 @@ -# Build Options -# change to "no" to disable the options, or define them in the Makefile in -# the appropriate keymap folder that will get included automatically -# -TAP_DANCE_ENABLE = no # Enable TapDance functionality -RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys(+1500) -EXTRAKEY_ENABLE = yes # Audio control and System control(+450) -CONSOLE_ENABLE = no # Console for debug(+400) -COMMAND_ENABLE = no # Commands for debug and configuration -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend -NKRO_ENABLE = yes # Nkey Rollover - If this doesn't work, add this to config.h: #define FORCE_NKRO -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -MIDI_ENABLE = no # MIDI controls -UNICODE_ENABLE = no # Unicode -UNICODEMAP_ENABLE = no # Enable extended unicode -BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID -AUDIO_ENABLE = no # Audio output on port C6#VARIABLE_TRACE = no # Use this to debug changes to variable values -KEY_LOCK_ENABLE = no # This enables key lock(+260) -SPLIT_KEYBOARD = no # This enables split keyboard support and includes all necessary files located at quantum/split_common diff --git a/keyboards/jc65/v32u4/keymaps/na7thana/keymap.c b/keyboards/jc65/v32u4/keymaps/na7thana/keymap.c deleted file mode 100644 index 70ae80044d..0000000000 --- a/keyboards/jc65/v32u4/keymaps/na7thana/keymap.c +++ /dev/null @@ -1,18 +0,0 @@ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( - QK_GESC, 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_BSLS, KC_HOME, - 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_BSPC, KC_PGUP, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, MO(1), - KC_LCTL, KC_LALT, KC_LALT, KC_SPACE, KC_SPACE, KC_SPACE, KC_SPACE, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT - ), - [1] = LAYOUT( - QK_BOOT, 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_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_END, KC_DEL, KC_TRNS, - KC_CAPS, RGB_TOG, RGB_MOD, RGB_RMOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_MNXT, KC_MPLY, KC_MPLY, KC_VOLU, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_VOLD, KC_TRNS - ), -}; diff --git a/keyboards/jc65/v32u4/keymaps/na7thana/readme.md b/keyboards/jc65/v32u4/keymaps/na7thana/readme.md deleted file mode 100644 index 13430a630b..0000000000 --- a/keyboards/jc65/v32u4/keymaps/na7thana/readme.md +++ /dev/null @@ -1,10 +0,0 @@ -Default Keymap -=== - -Super simple default keymap with only a base layer. - -Keymap Maintainer: [Ethan Madden](https://github.com/jetpacktuxedo) - -Difference from base layout: This is (as close as I can tell) the same as the layout that ships on the boards other than default underglow color. - -Intended usage: This is mostly provided for testing before you build your own keymap and as a reference to a stock(ish) configuration diff --git a/keyboards/jd40/keymaps/vanagon/README.md b/keyboards/jd40/keymaps/vanagon/README.md deleted file mode 100644 index 09a4e23a6e..0000000000 --- a/keyboards/jd40/keymaps/vanagon/README.md +++ /dev/null @@ -1,17 +0,0 @@ -Vanagon -=== -Port of [evangs'](https://thevankeyboards.com) [MiniVan layout](https://www.massdrop.com/talk/115/where-did-all-my-keys-go-a-look-into-the-function-layers-of-the-mini-van) to the JD40. Includes colon/semicolon support, which is missing from the MiniVan layout. - -This layout uses a 44 key configuration similar to the following: - -``` -,------+------+------+------+------+------+------+------+------+------+------+------. -| | | | | | | | | | | | | -|------`------`------`------`------`------`------`------`------`------`------`------| -| | | | | | | | | | | | -|-------`------`------`------`------`------`------`------`------`------`------------| -| | | | | | | | | | | | -|---------`------`------`------`------`------'-------`------`------`------`---------| -| | | | | | | | | | | -`------+------+------+-------+----^^^-----+----^^^-----+-------+------+------+------' -``` diff --git a/keyboards/jd40/keymaps/vanagon/config.h b/keyboards/jd40/keymaps/vanagon/config.h deleted file mode 100644 index ed09b50ee4..0000000000 --- a/keyboards/jd40/keymaps/vanagon/config.h +++ /dev/null @@ -1,13 +0,0 @@ -#include "../../config.h" - -#define LAYOUT_VANAGON(\ - K01, K02, K03, K04, K05, K06, K07, K08, K09, K10, K11, K12, \ - K13, K14, K15, K16, K17, K18, K19, K20, K21, K22, K23, \ - K24, K25, K26, K27, K28, K29, K30, K31, K32, K33, K34, \ - K35, K36, K37, K38, K39, K40, K41, K42, K43, K44 \ -) { \ - { K01, K02, K03, K04, K05, K06, K07, K08, K09, K10, K11, K12 }, \ - { K13, K14, K15, K16, K17, K18, K19, K20, K21, K22, K23 }, \ - { K24, K25, K26, K27, K28, K29, K30, K31, K32, K33, K34 }, \ - { K35, K36, K37, K38, K39, KC_NO, K40, K41, K42, K43, K44 } \ -} diff --git a/keyboards/jd40/keymaps/vanagon/keymap.c b/keyboards/jd40/keymaps/vanagon/keymap.c deleted file mode 100644 index 5f1cfc3579..0000000000 --- a/keyboards/jd40/keymaps/vanagon/keymap.c +++ /dev/null @@ -1,26 +0,0 @@ -#include QMK_KEYBOARD_H -#include "action_layer.h" - -enum -{ - _BL = 0, - _AL1, - _AL2, -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BL] = LAYOUT_VANAGON( - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - MO(_AL1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, MO(_AL1), - SC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, - MO(_AL2), KC_LCTL, KC_LALT, KC_LGUI, KC_ENT, KC_SPC, KC_RGUI, KC_RALT, SC_RSPC, MO(_AL2)), - [_AL1] = LAYOUT_VANAGON( - KC_GRV, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LBRC, KC_RBRC, KC_TRNS, - KC_TRNS, KC_BSLS, KC_QUOT, KC_MINS, KC_EQL, KC_COLN, KC_LEFT, KC_UP, KC_DOWN, KC_RGHT, KC_TRNS, - KC_TRNS, KC_ESC, KC_VOLD, KC_VOLU, KC_MUTE, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), - [_AL2] = LAYOUT_VANAGON( - KC_TILD, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_TRNS, - KC_TRNS, KC_PIPE, KC_DQT, KC_UNDS, KC_PLUS, KC_SCLN, KC_TRNS, KC_4, KC_5, KC_6, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_0, KC_1, KC_2, KC_3, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS)}; diff --git a/keyboards/jd45/keymaps/mjt6u/config.h b/keyboards/jd45/keymaps/mjt6u/config.h deleted file mode 100644 index 41d1557c6f..0000000000 --- a/keyboards/jd45/keymaps/mjt6u/config.h +++ /dev/null @@ -1,3 +0,0 @@ -#pragma once - -#define USB_MAX_POWER_CONSUMPTION 50 diff --git a/keyboards/jd45/keymaps/mjt6u/keymap.c b/keyboards/jd45/keymaps/mjt6u/keymap.c deleted file mode 100644 index 30c6daaf39..0000000000 --- a/keyboards/jd45/keymaps/mjt6u/keymap.c +++ /dev/null @@ -1,153 +0,0 @@ -#include QMK_KEYBOARD_H - -enum jd45_layers -{ - _QWERTY, - _QWERTYNUMMODS, - _NUMSYM, - _FUNCTION, - _NUMPAD, - _FKEYNUMPAD, - _ADJUST -}; - -enum jd45_keycodes -{ - NUMSYM = SAFE_RANGE, - MACSLEEP, - USEFNMODS, - USENUMMODS, - DYNAMIC_MACRO_RANGE, -}; - -#include "dynamic_macro.h" - -#define LONGPRESS_DELAY 150 -#define LAYER_TOGGLE_DELAY 900 - -#define __MOD__ KC_TRNS -#define F_FNSPC LT(_NUMSYM, KC_SPC) -#define F_NUMSPC LT(_NUMPAD, KC_SPC) -#define F_FNTAB LT(_FUNCTION, KC_TAB) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_QWERTY] = LAYOUT( - F_FNTAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS, KC_BSPC, - CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, LT(_ADJUST, KC_QUOT), - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SFT_T(KC_ENT), - XXXXXXX, KC_LALT, KC_LGUI, XXXXXXX, XXXXXXX, F_FNSPC, XXXXXXX, MO(_FUNCTION), MO(_ADJUST), XXXXXXX - ), - - [_QWERTYNUMMODS] = LAYOUT( - F_FNTAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS, KC_BSPC, - CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, LT(_ADJUST, KC_QUOT), - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SFT_T(KC_ENT), - XXXXXXX, KC_LALT, KC_LGUI, XXXXXXX, XXXXXXX, F_NUMSPC, XXXXXXX, MO(_FKEYNUMPAD), MO(_ADJUST), XXXXXXX - ), - - [_NUMSYM] = LAYOUT( - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______, KC_DEL, - __MOD__, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______, - _______, _______, _______, _______, _______, KC_SPC, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, _______, - XXXXXXX, __MOD__, __MOD__, XXXXXXX, XXXXXXX, _______, XXXXXXX, __MOD__, __MOD__, XXXXXXX - ), - - [_FUNCTION] = LAYOUT( - __MOD__, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, - __MOD__, _______, _______, _______, _______, _______, KC_MPRV, KC_VOLD, KC_VOLU, KC_MNXT, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - XXXXXXX, __MOD__, __MOD__, XXXXXXX, XXXXXXX, _______, XXXXXXX, __MOD__, __MOD__, XXXXXXX - ), - - [_NUMPAD] = LAYOUT( - KC_GRV, _______, KC_UP, _______, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_PSCR, KC_LBRC, KC_RBRC, - _______, KC_LEFT, KC_DOWN, KC_RGHT, KC_4, KC_5, KC_6, KC_INS, KC_HOME, KC_PGUP, _______, _______, - _______, _______, _______, _______, KC_1, KC_2, KC_3, KC_DEL, KC_END, KC_PGDN, _______, _______, - XXXXXXX, _______, _______, XXXXXXX, XXXXXXX, _______, XXXXXXX, __MOD__, __MOD__, XXXXXXX - ), - - [_FKEYNUMPAD] = LAYOUT( - _______, _______, KC_VOLU, _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, _______, _______, - _______, KC_MPRV, KC_VOLD, KC_MNXT, KC_F4, KC_F5, KC_F6, KC_J, KC_K, KC_L, KC_SCLN, _______, - _______, _______, _______, _______, KC_F1, KC_F2, KC_F3, KC_MUTE, KC_MPRV, KC_MNXT, KC_MSTP, _______, - XXXXXXX, _______, _______, XXXXXXX, XXXXXXX, _______, XXXXXXX, __MOD__, __MOD__, XXXXXXX - ), - - [_ADJUST] = LAYOUT( - _______, QK_BOOT, _______, _______, _______, _______, _______, DM_REC1, DM_REC2, _______, KC_PSCR, _______, _______, - _______, _______, _______, _______, USEFNMODS, _______, _______, DM_PLY1, DM_PLY2, MACSLEEP, _______, _______, - _______, _______, _______, _______, _______, _______, USENUMMODS, _______, _______, _______, _______, _______, - XXXXXXX, _______, _______, XXXXXXX, XXXXXXX, _______, XXXXXXX, __MOD__, __MOD__, XXXXXXX - ) -}; - -void persistent_default_layer_set(uint16_t default_layer) -{ - eeconfig_update_default_layer(default_layer); - default_layer_set(default_layer); -} - -static bool singular_key = false; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) -{ - uint16_t macro_kc = (keycode == MO(_ADJUST) ? DM_RSTP : keycode); - if (!process_record_dynamic_macro(macro_kc, record)) - { - return false; - } - println(" "); - print("process record"); - - switch (keycode) - { - case MACSLEEP: - if (record->event.pressed) - { - // ACTION_MODS_KEY(MOD_LCTL | MOD_LSFT, KC_PWR); - register_code(KC_RSFT); - register_code(KC_RCTL); - register_code(KC_PWR); - unregister_code(KC_PWR); - unregister_code(KC_RCTL); - unregister_code(KC_RSFT); - } - return false; - break; - case USEFNMODS: - if (record->event.pressed) - { - persistent_default_layer_set(1UL << _QWERTY); -#ifdef AUDIO_ENABLE - PLAY_SONG(tone_fnpc); -#endif - print("Space-FN"); - } - return false; - break; - case USENUMMODS: - if (record->event.pressed) - { - persistent_default_layer_set(1UL << _QWERTYNUMMODS); -#ifdef AUDIO_ENABLE - PLAY_SONG(tone_fnmac); -#endif - print("Space-Numpad"); - } - return false; - break; - default: - singular_key = false; - break; - } - - return true; -}; - -void matrix_init_user(void) -{ -#ifdef AUDIO_ENABLE - startup_user(); -#endif - // debug_enable = true; -} diff --git a/keyboards/jd45/keymaps/mjt6u/readme.md b/keyboards/jd45/keymaps/mjt6u/readme.md deleted file mode 100644 index a43ddf5fca..0000000000 --- a/keyboards/jd45/keymaps/mjt6u/readme.md +++ /dev/null @@ -1,23 +0,0 @@ -# Mike's JD45 with 6u Spacebar - -- Early draft of numsym that misses a lot of symbols -- Numpad layer available for evaluation -- Works with iPhone Camera Adapter -- Dynamic macros - -## Layers - -Qwerty for letters and mods. - -Qwertymods layer switches some Modifiers around - -Numsym puts the number keys across the top row like a Planck. Arrows are on hjkl -which makes the other NumSym dynamic from my other boards fall apart - -Function layer replaces the top row numbers with Fkeys. - -Numpad layer makes a number pad in the center. - -Fkeynumpad replaces the numpad numbers with Fkeys. - -Adjust layer has macros and configuration. diff --git a/keyboards/jd45/keymaps/mjt6u/rules.mk b/keyboards/jd45/keymaps/mjt6u/rules.mk deleted file mode 100644 index 1d2e0f09e1..0000000000 --- a/keyboards/jd45/keymaps/mjt6u/rules.mk +++ /dev/null @@ -1,20 +0,0 @@ -# Build Options -# change to "no" to disable the options, or define them in the Makefile in -# the appropriate keymap folder that will get included automatically -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys(+4700) -EXTRAKEY_ENABLE = yes # Audio control and System control(+450) -CONSOLE_ENABLE = yes # Console for debug(+400) -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -MIDI_ENABLE = no # MIDI controls -AUDIO_ENABLE = no # Audio output on port C6 -UNICODE_ENABLE = no # Unicode -BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend - -DEBUG_ENABLE = yes - diff --git a/keyboards/jkdlab/binary_monkey/keymaps/ascii/keymap.c b/keyboards/jkdlab/binary_monkey/keymaps/ascii/keymap.c deleted file mode 100644 index e10df7ce08..0000000000 --- a/keyboards/jkdlab/binary_monkey/keymaps/ascii/keymap.c +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright 2021 JKDLAB. - * Copyright 2021 Jaehee - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, - * or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see https://www.gnu.org/licenses/. - */ - -#include QMK_KEYBOARD_H - -char ascii = 0; - -enum custom_keycodes { - BIN_0 = SAFE_RANGE, - BIN_1, - BIN_RETURN -}; - -enum layers { - _BASE = 0 -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BASE] = LAYOUT( - BIN_0, BIN_1, - BIN_RETURN - ) -}; - -bool process_record_user(uint16_t keycode, keyrecord_t* record) { - switch (keycode) { - case BIN_0: - if (record->event.pressed) { - ascii = ascii << 1; - } - - return true; - case BIN_1: - if (record->event.pressed) { - ascii = ascii << 1; - ++ascii; - } - - return true; - case BIN_RETURN: - if (record->event.pressed) { - char str[2] = { ascii & 127, '\0' }; - - send_string(str); - - ascii = 0; - } - - return true; - default: - return true; - } - - return true; -} diff --git a/keyboards/jm60/keymaps/poker3/keymap.c b/keyboards/jm60/keymaps/poker3/keymap.c deleted file mode 100644 index ee1583eab7..0000000000 --- a/keyboards/jm60/keymaps/poker3/keymap.c +++ /dev/null @@ -1,24 +0,0 @@ -#include QMK_KEYBOARD_H - -enum layer_names { - _BL, - _FL -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BL] = LAYOUT_60_ansi( - QK_GESC, 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_BSPC, - 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, - MO(_FL), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(_FL), KC_RCTL - ), - - [_FL] = LAYOUT_60_ansi( - KC_GRV, 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, - _______, KC_MPRV, KC_MPLY, KC_MNXT, _______, _______, _______, KC_PGUP, KC_UP, KC_PGDN, KC_PSCR, KC_SCRL, KC_PAUS, _______, - KC_CAPS, _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_INS, KC_DEL, _______, - _______, KC_APP, _______, _______, _______, _______, KC_END, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______ - ) -}; diff --git a/keyboards/joshajohnson/hub16/keymaps/peepeetee/config.h b/keyboards/joshajohnson/hub16/keymaps/peepeetee/config.h deleted file mode 100644 index 62b0df937b..0000000000 --- a/keyboards/joshajohnson/hub16/keymaps/peepeetee/config.h +++ /dev/null @@ -1,45 +0,0 @@ -/* -Copyright 2019 Josh Johnson - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - -#define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ -// /*== customize breathing effect ==*/ -// /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ -// #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 -// /*==== use exp() and sin() ====*/ -// #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 -// #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 -// #endif - -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 20 - -// Time out one shot layers after 3 seconds -#define ONESHOT_TIMEOUT 3000 - -// Undef and redefine default brightness to half of 255 -#undef RGBLIGHT_LIMIT_VAL -#define RGBLIGHT_LIMIT_VAL 255 - -//Define a preview timeout for RGB reviews -#define PREVIEW_TIMEOUT 5000 - -// Enable Light Layers implementation -#define RGBLIGHT_LAYERS -// Allow Light Layers to override RGB off configuration -#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF diff --git a/keyboards/joshajohnson/hub16/keymaps/peepeetee/keymap.c b/keyboards/joshajohnson/hub16/keymaps/peepeetee/keymap.c deleted file mode 100644 index dac88c8482..0000000000 --- a/keyboards/joshajohnson/hub16/keymaps/peepeetee/keymap.c +++ /dev/null @@ -1,209 +0,0 @@ -/* -Copyright 2019 Josh Johnson 2021 peepeetee - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -#if defined(RGBLIGHT_ENABLE) && defined(RGBLIGHT_LAYERS) -static uint32_t rgb_preview_timer = 0; -#endif - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - - // Layer 0 - Base Layer (F13 to F24, and One Shot Layer 1,2,3 or Toggle Layer 4) - [0] = LAYOUT( - KC_MPLY, KC_MUTE, - TG(3), TG(2), TG(1), TG(0), - KC_PSCR, KC_SCRL, KC_PAUS, A(KC_F4), - KC_INS, KC_HOME, KC_PGUP, KC_F12, //Transparent to let you go between layers - KC_DEL, A(KC_F4), KC_PGDN, KC_CALCULATOR - - ), - - [1] = LAYOUT( - KC_MPLY, KC_MUTE, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_F7, KC_F8, KC_F9, KC_F10, - KC_F4, KC_F5, KC_F6, KC_F11, - KC_F1, KC_F2, KC_F3, KC_F12 //Transparent to let you go between layers - ), - - - //Layer 5 - Keyboard Lights, Programming and Special Functions - [2] = LAYOUT( - KC_MPLY, KC_MUTE, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, //Transparent to let you go between layers - RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, - RGB_RMOD, RGB_HUD, RGB_SAD, RGB_VAD, - RGB_TOG, EE_CLR, QK_BOOT, KC_TRNS - ), - - [3] = LAYOUT( - KC_MPLY, KC_MUTE, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, //Transparent to let you go between layers - RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, - RGB_RMOD, RGB_HUD, RGB_SAD, RGB_VAD, - RGB_TOG, EE_CLR, QK_BOOT, KC_TRNS - ) - - - //Layer 0 - Base Layer (F13 to F24, and One Shot Layer 1,2,3 or Toggle Layer 4) - // [0] = LAYOUT( - // KC_MPLY, KC_MUTE, - // KC_F13, KC_F14, KC_F15, KC_F16, - // KC_F17, KC_F18, KC_F19, KC_F20, - // KC_F21, KC_F22, KC_F23, KC_F24, - // OSL(1), OSL(2), OSL(3), TG(4) //Transparent to let you go between layers - // ), - - // [1] = LAYOUT( - // KC_MPLY, KC_MUTE, - // LALT(KC_F13), LALT(KC_F14), LALT(KC_F15), LALT(KC_F16), - // LALT(KC_F17), LALT(KC_F18), LALT(KC_F19), LALT(KC_F20), - // LALT(KC_F21), LALT(KC_F22), LALT(KC_F23), LALT(KC_F24), - // KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS //Transparent to let you go between layers - // ), - - //Layer 2 - Shift + Function Key Layer - // [2] = LAYOUT( - // KC_MPLY, KC_MUTE, - // LSFT(KC_F13), LSFT(KC_F14), LSFT(KC_F15), LSFT(KC_F16), - // LSFT(KC_F17), LSFT(KC_F18), LSFT(KC_F19), LSFT(KC_F20), - // LSFT(KC_F21), LSFT(KC_F22), LSFT(KC_F23), LSFT(KC_F24), - // KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS //Transparent to let you go between layers - // ), - - // //Layer 3 - Control + Function Key - // [3] = LAYOUT( - // KC_MPLY, KC_MUTE, - // LCTL(KC_F13), LCTL(KC_F14), LCTL(KC_F15), LCTL(KC_F16), - // LCTL(KC_F17), LCTL(KC_F18), LCTL(KC_F19), LCTL(KC_F20), - // LCTL(KC_F21), LCTL(KC_F22), LCTL(KC_F23), LCTL(KC_F24), - // KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS //Transparent to let you go between layers - // ), - - // //Layer 4 - Multimedia - // [4] = LAYOUT( - // KC_MPLY, KC_MUTE, - // KC_MPRV, KC_MPLY, KC_U, KC_K, - // KC_NO, KC_NO, KC_ENT, KC_X, - // KC_NO, QK_BOOT, LSFT(KC_HASH), KC_J, - // TG(5), KC_TRNS, KC_TRNS, KC_TRNS //Transparent to let you go between layers - // ), - - // //Layer 5 - Keyboard Lights, Programming and Special Functions - // [5] = LAYOUT( - // KC_MPLY, KC_MUTE, - // RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, - // RGB_RMOD, RGB_HUD, RGB_SAD, RGB_VAD, - // RGB_TOG, EE_CLR, QK_BOOT, KC_LSFT, - // KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS //Transparent to let you go between layers - // ), -}; - -const rgblight_segment_t PROGMEM my_layer0_layer[] = RGBLIGHT_LAYER_SEGMENTS( - {0,16,HSV_WHITE} - ); -const rgblight_segment_t PROGMEM my_layer1_layer[] = RGBLIGHT_LAYER_SEGMENTS( - {0,16,HSV_ORANGE} - ); - const rgblight_segment_t PROGMEM my_layer2_layer[] = RGBLIGHT_LAYER_SEGMENTS( - {0,16,HSV_RED} - ); - const rgblight_segment_t PROGMEM my_layer3_layer[] = RGBLIGHT_LAYER_SEGMENTS( - {0,16,HSV_BLUE} - ); -// const rgblight_segment_t PROGMEM my_layer4_layer[] = RGBLIGHT_LAYER_SEGMENTS( -// {0,16,HSV_WHITE} -// ); -// const rgblight_segment_t PROGMEM my_layer5_layer[] = RGBLIGHT_LAYER_SEGMENTS( -// {0,16,HSV_TEAL} -// ); -const rgblight_segment_t* const PROGMEM my_rgb_layers[] = RGBLIGHT_LAYERS_LIST( - my_layer0_layer, - my_layer1_layer, - my_layer2_layer, - my_layer3_layer//, - // my_layer4_layer, - // my_layer5_layer - ); - -bool encoder_update_user(uint8_t index, bool clockwise) { - if (index == 0) { /* Left Encoder */ - if (clockwise) { - tap_code(KC_MPRV); - } else { - tap_code(KC_MNXT); - } - } else if (index == 1) { /* Right Encoder */ - if (clockwise) { - tap_code(KC_VOLD); - } else { - tap_code(KC_VOLU); - } - } - return true; -} -void post_process_record_user(uint16_t keycode, keyrecord_t *record) { - // Allow for a preview of changes when modifying RGB -# if defined(RGBLIGHT_ENABLE) && defined(RGBLIGHT_LAYERS) - switch (keycode) { - case RGB_TOG ... QK_VELOCIKEY_TOGGLE: - for (uint8_t i = 0; i < RGBLIGHT_MAX_LAYERS; i++) { - rgblight_set_layer_state(i, false); - } - rgb_preview_timer = timer_read32(); - break; - } -# endif - return; -} - -//Set the appropriate layer color -layer_state_t layer_state_set_user(layer_state_t state) { - rgblight_set_layer_state(0, false); - rgblight_set_layer_state(1, layer_state_cmp(state, 1)); - rgblight_set_layer_state(2, layer_state_cmp(state, 2)); - rgblight_set_layer_state(3, layer_state_cmp(state, 3)); - // rgblight_set_layer_state(4, layer_state_cmp(state, 4)); - // rgblight_set_layer_state(5, layer_state_cmp(state, 5)); - return state; -} - -void keyboard_post_init_user(void) { - //Enable the LED layers - rgblight_layers = my_rgb_layers; - layer_state_set_user(layer_state); -} - -void matrix_scan_user(void) { -# if defined(RGBLIGHT_ENABLE) && defined(RGBLIGHT_LAYERS) - // Allow preview for - if (rgb_preview_timer && TIMER_DIFF_32(timer_read32(), rgb_preview_timer) > PREVIEW_TIMEOUT) { - rgb_preview_timer = 0; - default_layer_state_set_user(default_layer_state); - layer_state_set_user(layer_state); - led_update_user((led_t) host_keyboard_leds()); - } -# endif -} - -//EEPROM Reset Function -void eeconfig_init_user(void) { - rgblight_enable(); // Enable RGB by default - rgblight_sethsv(HSV_ORANGE); // Set it to orange by default -} diff --git a/keyboards/joshajohnson/hub16/keymaps/peepeetee/rules.mk b/keyboards/joshajohnson/hub16/keymaps/peepeetee/rules.mk deleted file mode 100644 index f6737b8e4a..0000000000 --- a/keyboards/joshajohnson/hub16/keymaps/peepeetee/rules.mk +++ /dev/null @@ -1 +0,0 @@ -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite \ No newline at end of file diff --git a/keyboards/junco/keymaps/deluxe/config.h b/keyboards/junco/keymaps/deluxe/config.h deleted file mode 100644 index db185a4849..0000000000 --- a/keyboards/junco/keymaps/deluxe/config.h +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Dane Skalski (@Daneski13) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -/* Indicator LEDs */ -// LED index for caps lock key on the extension layer -#define CAPS_LOCK_LED_INDEX 25 -// LED index for num lock key on the symbol layer -#define NUM_LOCK_LED_INDEX 62 -// LED index for key that sticks the adjust layer -#define ADJST_LED_INDEX 19 - -// Number of Layers that can be used by VIA. -// Change this if you want more layers -#define DYNAMIC_KEYMAP_LAYER_COUNT 6 - -/* - Encoder settings - */ -#ifdef ENCODER_ENABLE -# define ENCODER_RESOLUTION 4 -#endif -#ifdef ENCODER_MAP_ENABLE -// Key delay for encoders (necessary for some keycodes) -# define ENCODER_MAP_KEY_DELAY 10 -#endif - -/* - - RGB Stuff - - All effects can be found in the QMK docs: - https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects -*/ -#ifdef RGB_MATRIX_ENABLE - -// Allows the indicator LEDs to work -# define SPLIT_LED_STATE_ENABLE -# define SPLIT_LAYER_STATE_ENABLE - -// Default effect when EEPROM cleared -# define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_RAINBOW_MOVING_CHEVRON - -// Turns off RGB effects when there is no longer a USB connection -# define RGB_MATRIX_SLEEP - -// Throttling of RGB to increase keyboard responsiveness, set to 1.5x the default limits -# define RGB_MATRIX_LED_PROCESS_LIMIT (RGB_MATRIX_LED_COUNT + 4) / 6 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) -# define RGB_MATRIX_LED_FLUSH_LIMIT 24 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms), the default, is equivalent to limiting to 60fps - -// Key press reactive animations -# define SPLIT_TRANSPORT_MIRROR // Necessary setting for key press animations -# define RGB_MATRIX_KEYPRESSES // Enables key press effects -# define ENABLE_RGB_MATRIX_MULTISPLASH - -// Normal effects -# define ENABLE_RGB_MATRIX_CYCLE_SPIRAL -# define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON -# define ENABLE_RGB_MATRIX_PIXEL_RAIN - -#endif diff --git a/keyboards/junco/keymaps/deluxe/keymap.c b/keyboards/junco/keymaps/deluxe/keymap.c deleted file mode 100644 index 42b6429b97..0000000000 --- a/keyboards/junco/keymaps/deluxe/keymap.c +++ /dev/null @@ -1,329 +0,0 @@ -// Copyright 2022 Dane Skalski (@Daneski13) -// SPDX-License-Identifier: GPL-2.0-or-later - -#include QMK_KEYBOARD_H - -// Layers enum -enum junco_layers { _QWERTY, _COLEMAK_DH, _SYMB, _EXT, _ADJUST }; - -// Custom keycodes -enum custom_keycodes { - // Keycode for toggling between macOS and Windows key mappings - // Actually just an alias to the GUI and Alt swap Magic keycode - KC_OS = MAGIC_TOGGLE_ALT_GUI, - // Keycode for swapping the base layer between QWERTY and Colemak-DH - KC_TOGGLE_BASE = SAFE_RANGE, - // Keycode for redo action (Ctrl + Y on windows, Ctrl + Shift + Z on macOS) - KC_REDO, - // Keycodes for next/previous word - KC_WNXT, - KC_WPRV, - // Keycode for sticking/unsticking the adjust layer - KC_ADJST -}; - -/* LED indicators */ -bool is_caps_lock_enabled(void) { // Caps lock - return (host_keyboard_led_state().caps_lock); -} -bool is_num_lock_enabled(void) { // Num lock - return (host_keyboard_led_state().num_lock); -} -bool is_adjust_layer_sticky(layer_state_t state) { // Adjust layer sticky - // Checks if the state is equal to just the adjust layer being active. - // Doing it this way can leverage SPLIT_LAYER_STATE_ENABLE - return (state == (1UL << _ADJUST)) ? true : false; -} -// Indicator color based on the RGB Matrix mode -RGB indicator_color(void) { - RGB rgb; - // Normally the indicator color is white to stand out in the RGB rainbow. - // When using the custom RGB mode that already is white, the indicator color - // is green to stand out. - if (rgb_matrix_config.mode == RGB_MATRIX_CUSTOM_WHITE_UNDERGLOW_CYCLE) { - // Green - rgb.r = 0; - rgb.g = 255; - rgb.b = 0; - } else { - // White - rgb.r = 255; - rgb.g = 255; - rgb.b = 255; - } - return rgb; -} - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // clang-format off - /* - Traditional QWERTY - ┌───┬───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┬───┐ - │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ - ├───┼───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┼───┤ - │Tab│ Q │ W │ E │ R │ T │ │ Y │ U │ I │ O │ P │Ent│ - ├───┼───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┼───┤ - │Esc│ A │ S │ D │ F │ G │ │ H │ J │ K │ L │ ; │ ' │ - ├───┼───┼───┼───┼───┼───┼───┐ ┌───┼───┼───┼───┼───┼───┼───┤ - │Sft│ Z │ X │ C │ V │ B │Mut│ │▶⏸ │ N │ M │ , │ . │ / │Sft│ - └───┴───┴───┴───┴───┴───┴───┘ └───┴───┴───┴───┴───┴───┴───┘ - ┌───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┐ - │Ctr│Win│Alt│Del│Spc│ │Sft│Bsp│Alt│Win│Ctr│ - └───┴───┴───┴───┴───┘ └───┴───┴───┴───┴───┘ - For macOS - GUI (cmd) and Alt (opt) swapped - */ - [_QWERTY] = LAYOUT_split4x6_r1( - KC_GRAVE, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINUS, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_ENTER, - KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SEMICOLON, KC_QUOTE, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_MUTE, KC_MPLY, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, - KC_LCTL, KC_LGUI, KC_LALT, LT(_EXT, KC_DEL), KC_SPC, KC_RSFT, LT(_SYMB, KC_BSPC), KC_RALT, KC_RGUI, KC_RCTL - ), - - /* - Colemak-DH - ┌───┬───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┬───┐ - │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ - ├───┼───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┼───┤ - │Tab│ Q │ W │ F │ P │ B │ │ J │ L │ U │ Y │ ; │Ent│ - ├───┼───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┼───┤ - │Esc│ A │ R │ S │ T │ G │ │ M │ N │ E │ I │ O │ ' │ - ├───┼───┼───┼───┼───┼───┼───┐ ┌───┼───┼───┼───┼───┼───┼───┤ - │Sft│ Z │ X │ C │ D │ V │Mut│ │▶⏸ │ K │ H │ , │ . │ / │Sft│ - └───┴───┴───┴───┴───┴───┴───┘ └───┴───┴───┴───┴───┴───┴───┘ - ┌───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┐ - │Ctr│Win│Alt│Del│Spc│ │Sft│Bsp│Alt│Win│Ctr│ - └───┴───┴───┴───┴───┘ └───┴───┴───┴───┴───┘ - For macOS - GUI/Win (cmd) and Alt (opt) swapped - */ - [_COLEMAK_DH] = LAYOUT_split4x6_r1( - KC_GRAVE, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINUS, - KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_SEMICOLON, KC_ENTER, - KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_G, KC_M, KC_N, KC_E, KC_I, KC_O, KC_QUOTE, - KC_LSFT, KC_Z, KC_X, KC_C, KC_D, KC_V, KC_MUTE, KC_MPLY, KC_K, KC_H, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, - KC_LCTL, KC_LGUI, KC_LALT, LT(_EXT, KC_DEL), KC_SPC, KC_RSFT, LT(_SYMB, KC_BSPC), KC_RALT, KC_RGUI, KC_RCTL - ), - - /* - Symbols/Numpad Layer - ┌───┬───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┬───┐ - │F1 │F2 │F3 │F4 │F5 │F6 │ │F7 │F8 │F9 │F10│F11│F12│ - ├───┼───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┼───┤ - │Tab│ ! │ @ │ # │ $ │ % │ │ * │ 7 │ 8 │ 9 │ + │Ent│ - ├───┼───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┼───┤ - │ \ │ _ │ [ │ { │ ( │ ^ │ │ = │ 4 │ 5 │ 6 │ 0 │NUM│ - ├───┼───┼───┼───┼───┼───┼───┐ ┌───┼───┼───┼───┼───┼───┼───┤ - │___│ | │ ] │ } │ ) │ & │___│ │___│ / │ 1 │ 2 │ 3 │ - │___│ - └───┴───┴───┴───┴───┴───┴───┘ └───┴───┴───┴───┴───┴───┴───┘ - ┌───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┐ - │___│___│___│___│___│ │___│___│___│___│___│ - └───┴───┴───┴───┴───┘ └───┴───┴───┴───┴───┘ - */ - [_SYMB] = LAYOUT_split4x6_r1( - 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_TAB, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_PAST, KC_P7, KC_P8, KC_P9, KC_PPLS, KC_ENTER, - KC_BSLS, KC_UNDS, KC_LBRC, KC_LCBR, KC_LPRN, KC_CIRC, KC_PEQL, KC_P4, KC_P5, KC_P6, KC_P0, KC_NUM, - _______, KC_PIPE, KC_RBRC, KC_RCBR, KC_RPRN, KC_AMPR, _______, _______, KC_PSLS, KC_P1, KC_P2, KC_P3, KC_PMNS, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - - /* - Extension/Function Layer - ┌────┬────┬────┬────┬────┬────┐ ┌────┬────┬────┬────┬────┬────┐ - │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ │ F7 │ F8 │ F9 │ F10│ F11│ F12│ - ├────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼────┤ - │ ⇤ │PGUP│End │ ↑ │Home│ │ │BRIU│ F7 │ F8 │ F9 │ F10│____│ - ├────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼────┤ - │Cps │PGDN│ ← │ ↓ │ → │ │ │BRID│ F4 │ F5 │ F6 │ F11│____│ - ├────┼────┼────┼────┼────┼────┼────┐ ┌────┼────┼────┼────┼────┼────┼────┤ - │____│ │ │ │ │ │____│ │____│ │ F1 │ F2 │ F3 │ F12│____│ - └────┴────┴────┴────┴────┴────┴────┘ └────┴────┴────┴────┴────┴────┴────┘ - ┌───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┐ - │___│___│___│___│___│ │___│___│___│___│___│ - └───┴───┴───┴───┴───┘ └───┴───┴───┴───┴───┘ - */ - [_EXT] = LAYOUT_split4x6_r1( - KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, - S(KC_TAB), KC_PGUP, KC_END, KC_UP, KC_HOME, _______, KC_BRIU, KC_F7, KC_F8, KC_F9, KC_F10, _______, - KC_CAPS, KC_PGDN, KC_LEFT, KC_DOWN, KC_RIGHT, _______, KC_BRID, KC_F4, KC_F5, KC_F6, KC_F11, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_F1, KC_F2, KC_F3, KC_F12, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - - /* - Adjust Layer, Keyboard Settings - ┌────┬────┬────┬────┬────┬────┐ ┌────┬────┬────┬────┬────┬────┐ - │ │ │ │ │ │ │ │ │ │ │ │ │ │ - ├────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼────┤ - │SpdU│HueU│SatU│ValU│Rnxt│Stck│ │ │EClr│Rbt │DBUG│BOOT│ │ - ├────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼────┤ - │SpdD│HueD│SatD│ValD│Rprv│RTgl│ │ │LOUT│ OS │ │ │ │ - ├────┼────┼────┼────┼────┼────┼────┐ ┌────┼────┼────┼────┼────┼────┼────┤ - │ │ │ │ │ │ │RTgl│ │ │ │ │ │ │ │ │ - └────┴────┴────┴────┴────┴────┴────┘ └────┴────┴────┴────┴────┴────┴────┘ - ┌───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┐ - │___│___│___│___│___│ │___│___│___│___│___│ - └───┴───┴───┴───┴───┘ └───┴───┴───┴───┴───┘ - */ - [_ADJUST] = LAYOUT_split4x6_r1( - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - RGB_SPI, RGB_HUI, RGB_SAI, RGB_VAI, RGB_MOD, KC_ADJST, KC_NO, EE_CLR, QK_RBT, DB_TOGG, QK_BOOT, KC_NO, - RGB_SPD, RGB_HUD, RGB_SAD, RGB_VAD, RGB_RMOD, RGB_TOG, KC_NO, KC_TOGGLE_BASE, KC_OS, KC_NO, KC_NO, KC_NO, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, RGB_TOG, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ) - // clang-format on -}; - -/* - --- Rotary Encoder Mappings --- - - Encoder mappings go from leftmost encoder to rightmost encoder on the physical board. - index 0 is the the optional leftmost encoder on the left half, index 1 is the right encoder - on the left half (by the thumb keys), index 2 is the left encoder on the right half (by the - thumb keys), and index 3 is the optional rightmost encoder on the right half. - - If you are only using the 2 required encoders by the thumb keys, you only need to worry about - index 1 and index 2. - - Note that the key to be sent for counter-clockwise rotation (CCW) goes first and then the key for - clockwise (CW) within ENCODER_CCW_CW. -*/ -#ifdef ENCODER_MAP_ENABLE -// clang-format off - -// Base layer encoder mappings: -const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { - // Base layers - // index 0: mouse wheel up (CCW)/down (CW) index 1: volume up/down index 2: media prev/next index 3: mouse wheel left/right - [_QWERTY] = { ENCODER_CCW_CW(KC_MS_WH_UP, KC_MS_WH_DOWN), ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_MPRV, KC_MNXT), ENCODER_CCW_CW(KC_WH_L, KC_WH_R) }, - [_COLEMAK_DH] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) }, - - // Passes through to base layer - [_SYMB] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) }, - // undo/redo previous word/next word - [_EXT] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_UNDO, KC_REDO), ENCODER_CCW_CW(KC_WPRV, KC_WNXT) }, - // RGB Speed down/up RGB previous mode/next mode RGB brightness down/up - [_ADJUST] = { ENCODER_CCW_CW(RGB_SPD, RGB_SPI), ENCODER_CCW_CW(RGB_RMOD, RGB_MOD), ENCODER_CCW_CW(RGB_VAD, RGB_VAI), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) }, - // clang-format on -}; - -#endif - -// Called whenever a layer is changed -layer_state_t layer_state_set_user(layer_state_t state) { - // Make sure the adjust layer isn't sticky - if (is_adjust_layer_sticky(state)) return state; - - // When both the symbol and extension layer keys are held, the Adjust layer is active. - return update_tri_layer_state(state, _SYMB, _EXT, _ADJUST); -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - // Toggle base layer - case KC_TOGGLE_BASE: - if (record->event.pressed) { - // Toggle swapping base layers between Colemak-DH and QWERTY. - // When base layer is QWERTY, swap to Colemak-DH and vice-versa - if (get_highest_layer(default_layer_state) == _QWERTY) { - default_layer_set(1UL << _COLEMAK_DH); - } else { - default_layer_set(1UL << _QWERTY); - } - } - return false; - - // Override undo in favor of the more modern undo action - case KC_UNDO: - if (record->event.pressed) { - // Use the correct modifier for macOS or Windows - uint16_t mod = keymap_config.swap_lalt_lgui ? KC_LGUI : KC_LCTL; - // Send Ctrl+Z/Cmd+Z - register_code(mod); - tap_code_delay(KC_Z, 10); - unregister_code(mod); - } - return false; - - // Redo action - case KC_REDO: - if (record->event.pressed) { - // Whether or not macOS mapping is enabled - if (keymap_config.swap_lalt_lgui) { - // macOS - Send Cmd+Shift+Z - register_code(KC_LGUI); - register_code(KC_LSFT); - tap_code_delay(KC_Z, 10); - unregister_code(KC_LSFT); - unregister_code(KC_LGUI); - } else { - // Windows - Send Ctrl+Y - register_code(KC_LCTL); - tap_code_delay(KC_Y, 10); - unregister_code(KC_LCTL); - } - } - return false; - - // Next word - case KC_WNXT: - if (record->event.pressed) { - // Use the correct modifier for macOS or Windows - uint16_t mod = keymap_config.swap_lalt_lgui ? KC_LALT : KC_LCTL; - // Send Ctrl+Right/Option+Right - register_code(mod); - tap_code_delay(KC_RGHT, 10); - unregister_code(mod); - } - return false; - - // Previous word - case KC_WPRV: - if (record->event.pressed) { - // Use the correct modifier for macOS or Windows - uint16_t mod = keymap_config.swap_lalt_lgui ? KC_LALT : KC_LCTL; - // Send Ctrl+Left/Option+Left - register_code(mod); - tap_code_delay(KC_LEFT, 10); - unregister_code(mod); - } - return false; - - // Stick / Unstick the adjust layer - case KC_ADJST: - if (record->event.pressed) { - // If currently not sticky, we want only the adjust layer to be active to make it stick. - // Otherwise we want the default layer, un-stick. - is_adjust_layer_sticky(layer_state) ? layer_state_set(default_layer_state) : layer_move(_ADJUST); - dprintf("Adjust layer is now %s\n", is_adjust_layer_sticky(layer_state) ? "stuck" : "un-stuck"); - } - return false; - default: - return true; - } -} - -/* Indicators (Caps Lock / Num Lock / Adjust Layer Sticky) */ -bool rgb_matrix_indicators_user(void) { - layer_state_t curr_layer_state = layer_state; - layer_state_t layer = get_highest_layer(curr_layer_state); - RGB rgb = indicator_color(); - - /* Only show the indicator on their respective layers */ - // Caps Lock is only on the extension layer - if (is_caps_lock_enabled() && layer == _EXT) { - rgb_matrix_set_color(CAPS_LOCK_LED_INDEX, rgb.r, rgb.g, rgb.b); - } - - // Num Lock is only on the symbol layer - if (is_num_lock_enabled() && layer == _SYMB) { - rgb_matrix_set_color(NUM_LOCK_LED_INDEX, rgb.r, rgb.g, rgb.b); - } - - // If the adjust layer is stuck/sticky, light it up. Don't need to care about - // checking the layer since it can only be active on the adjust layer anyway - if (is_adjust_layer_sticky(curr_layer_state)) rgb_matrix_set_color(ADJST_LED_INDEX, rgb.r, rgb.g, rgb.b); - - return false; -} diff --git a/keyboards/junco/keymaps/deluxe/readme.md b/keyboards/junco/keymaps/deluxe/readme.md deleted file mode 100644 index d52d315f7d..0000000000 --- a/keyboards/junco/keymaps/deluxe/readme.md +++ /dev/null @@ -1,43 +0,0 @@ -# Deluxe Junco Keymap - -This is my personal keymap for Junco at time of writing. It departs from the [default layout](../default/README.md) with the encoder mappings and some extra keycodes. This keymap also adds indicators when caps lock and num lock are enabled. When enabled, that key will become a static white (green on the white backlight mode) but only when the layer that respective key is on is active. - -I wanted that classic rainbow barf RGB effect for the underglow even if the per-key lighting is something else, so I added 2 custom RGB matrix animations: white per-key lighting with rainbow underglow and pixel rain with rainbow underglow. - -Here are some gifs of the animations: - -![White + Underglow Animation](https://i.imgur.com/2vCiZz0.gif) - -![Pixel Rain + Underglow Animation](https://i.imgur.com/f6t0OfD.gif) - -## Base Layers - -The base layers are the same as the default layout, except the right side's left encoder (by the thumb keys) is now media controls. Since I am using all 4 encoders it doesn't make sense to have 2 mouse scroll up/down, but for someone with just 2 encoders it may make sense to have media controls on a layer. - -QWERTY: - -![QWERTY Layer](https://i.imgur.com/vkS9Tceh.png) - -Colemak-DH: - -![Colemak-DH Layer](https://i.imgur.com/5YYgaUAh.png) - -## Symbol Layer - -Symbol layer is identical to the default layout. - -![Symbol Layer](https://i.imgur.com/6F35Z4Wh.png) - -## Extension Layer - -Encoders on the right side become undo/redo and scrolling horizontally by word. - -![Extension Layer](https://i.imgur.com/0VCStS8h.png) - -## Adjust Layer - -Pressing "Stick Adj Layer" will "stick" the adjust layer so you can use the rotary encoders for RGB settings rather than holding down both backspace and delete. To go back to the default layer, press that stick key again or press and release either Del or Backspace. When the adjust layer is currently "sticky" the sticky key will become the indicator color mentioned earlier. - -"Toggle Base" will toggle between QWERTY and Colemak-DH and toggle OS will toggle between macOS and Windows key-mappings (swapping WIN/Command with Alt/Option by the thumb keys and properly mapping redo/word scrolling). - -![Adjust layer](https://i.imgur.com/71ftNoNh.png) diff --git a/keyboards/junco/keymaps/deluxe/rgb_matrix_user.inc b/keyboards/junco/keymaps/deluxe/rgb_matrix_user.inc deleted file mode 100644 index 3efe506749..0000000000 --- a/keyboards/junco/keymaps/deluxe/rgb_matrix_user.inc +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Dane Skalski (@Daneski13) -// SPDX-License-Identifier: GPL-2.0-or-later - -RGB_MATRIX_EFFECT(WHITE_UNDERGLOW_CYCLE) -RGB_MATRIX_EFFECT(PIXEL_RAIN_UNDERGLOW_CYCLE) - -#ifdef RGB_MATRIX_CUSTOM_EFFECT_IMPLS - -// This is a modified version of the effect_runner_dx_dy_dist function from rgb_matrix -// that only applies the effect to the underglow LEDs of this keyboard -static bool underglow_effect_runner(effect_params_t* params, dx_dy_dist_f underglow_effect_func, bool backlight_white) { - RGB_MATRIX_USE_LIMITS(led_min, led_max); - - HSV hsv = rgb_matrix_config.hsv; - HSV white = {0, 0, hsv.v}; - RGB rgb = rgb_matrix_hsv_to_rgb(white); - uint8_t time = scale16by8(g_rgb_timer, rgb_matrix_config.speed / 2); - for (uint8_t i = led_min; i < led_max; i++) { - // Underglow LEDs are indicies 0 - 7 and 37 - 44 - if ((i <= 7) || (37 <= i && i <= 44)) { - // Apply the maths and colors to the underglow LEDs - RGB_MATRIX_TEST_LED_FLAGS(); - int16_t dx = g_led_config.point[i].x - k_rgb_matrix_center.x; - int16_t dy = g_led_config.point[i].y - k_rgb_matrix_center.y; - uint8_t dist = sqrt16(dx * dx + dy * dy); - RGB rgb = rgb_matrix_hsv_to_rgb(underglow_effect_func(hsv, dx, dy, dist, time)); - rgb_matrix_set_color(i, rgb.r, rgb.g, rgb.b); - } else { - // Set the backlight to white if needed - if (!backlight_white) continue; - rgb_matrix_set_color(i, rgb.r, rgb.g, rgb.b); - } - } - return rgb_matrix_check_finished_leds(led_max); -} - -// Solid white but the underglow is a rainbow spiral -static bool WHITE_UNDERGLOW_CYCLE(effect_params_t* params) { - return underglow_effect_runner(params, &CYCLE_SPIRAL_math, true); -} - -// Pixel rain effect but the underglow is a rainbow spiral -static bool PIXEL_RAIN_UNDERGLOW_CYCLE(effect_params_t* params) { - PIXEL_RAIN(params); - return underglow_effect_runner(params, &CYCLE_SPIRAL_math, false); -} - -#endif diff --git a/keyboards/junco/keymaps/deluxe/rules.mk b/keyboards/junco/keymaps/deluxe/rules.mk deleted file mode 100644 index b788c6155b..0000000000 --- a/keyboards/junco/keymaps/deluxe/rules.mk +++ /dev/null @@ -1,20 +0,0 @@ -# Enables Audio control and System control Keycodes -EXTRAKEY_ENABLE = yes -# Enables Mousekeys -MOUSEKEY_ENABLE = yes -# Encoder Support -ENCODER_ENABLE = yes -# Use Enocoder Mapping -ENCODER_MAP_ENABLE = yes - -# Enables RGB Lighting Effects -RGB_MATRIX_ENABLE = yes - -# Allows use of `qmk console` for debugging -CONSOLE_ENABLE = yes - -# Enables VIA -VIA_ENABLE = yes - -# Custom RGB Matrix Effect -RGB_MATRIX_CUSTOM_USER = yes diff --git a/keyboards/kagizaraya/scythe/keymaps/forties/keymap.c b/keyboards/kagizaraya/scythe/keymaps/forties/keymap.c deleted file mode 100644 index 024bc9d952..0000000000 --- a/keyboards/kagizaraya/scythe/keymaps/forties/keymap.c +++ /dev/null @@ -1,193 +0,0 @@ -/* Copyright 2019 ENDO Katsuhiro - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H - -// Defines the keycodes used by our macros in process_record_user -enum layer_names { - _QWERTY, - _HAPPY, - _LOWER, - _RAISE, - _ADJUST, -}; - -enum custom_keycodes { - QWERTY = SAFE_RANGE, - HAPPY, - LOWER, - RAISE, - ADJUST, -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -/* Qwerty - * - * ,------------------------------------------------. ,------------------------------------------------. - * | Esc | 1 | 2 | 3 | 4 | 5 | - | | = | 6 | 7 | 8 | 9 | 0 | \ | - * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------| - * | Tab | Q | W | E | R | T | [ | | ] | Y | U | I | O | P | BkSp | - * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------| - * | Ctrl | A | S | D | F | G | ` | | ' | H | J | K | L | ; |Enter | - * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------+------. - * |Shift | Z | X | C | V | B | Caps | | Del | N | M | , | . | / |Shift | Fn | - * `--------------------+------+------+------+------| |------+------+------+------+------+------+------+------' - * | LAlt | LGUI | LOWER|Ctr/Esc| |Spc/Sft | RAISE| LGUI | LAlt | - * `---------------------------' `---------------------------' - */ -[_QWERTY] = LAYOUT( - KC_ESC, 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_BSLS, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LBRC, KC_RBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_GRV, KC_QUOT, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_CAPS, KC_DEL, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, HAPPY, - KC_LALT, KC_LGUI, LOWER, MT(MOD_LCTL, KC_ESC), MT(MOD_LSFT, KC_SPC), RAISE, KC_RGUI, KC_RALT -), - -/* Happy - * - * ,------------------------------------------------. ,------------------------------------------------. - * | Pwr | F1 | F2 | F3 | F4 | F5 | | | | F6 | F7 | F8 | F9 | F0 | Del | - * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------| - * | Caps | F11 | F12 |BLTOGG| |BL INC|BL DEC| | | | Psc | Slk | Pus | Up | Ins | - * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------| - * | | Vol- | Vol+ | Mute |RGBHUI|RGBSAI|RGBVAI| | * | / | Home | PgUp | Left | Right| | - * |------+------+------+------+------+------+------| +------+------+------+------+------+------+------+------. - * | |RGBTOG|RGBMOD|RGBRMD|RGBHUD|RGBSAD|RGBVAD| | + | - | End | PgDn | Down | | | | - * `--------------------+------+------+------+------| |------+------+------+------+------+------+------+------' - * | | | | | | | | | | - * `---------------------------' `---------------------------' - */ -[_HAPPY] = LAYOUT( - KC_PWR, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, _______, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_DEL, - KC_CAPS, KC_F10, KC_F12, BL_TOGG, _______, BL_UP , BL_DOWN, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, KC_UP, KC_INS, - _______, KC_VOLD, KC_VOLU, KC_MUTE, RGB_HUI, RGB_SAI, RGB_VAI, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, _______, - _______, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUD, RGB_SAD, RGB_VAD, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______ -), - - -/* Raise - * - * ,------------------------------------------------. ,------------------------------------------------. - * | | | | | | | | | | | | | | | | - * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------| - * | | ! | @ | # | $ | % | | | | ^ | & | * | ( | ) | | - * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------| - * | | | _ | + | | | ~ | | | | : | " | > | { | } | | - * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------+------. - * | | | - | = | \ | ` | | | | ; | ' | < | [ | ] | | | - * `--------------------+------+------+------+------| |------+------+------+------+------+------+------+------' - * | | | | | | | | | | - * `---------------------------' `---------------------------' - */ -[_RAISE] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, _______, _______, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, - _______, _______, KC_UNDS, KC_PLUS, KC_PIPE, KC_TILD, _______, _______, KC_COLN, KC_DQUO, KC_GT, KC_LCBR, KC_RCBR, _______, - _______, _______, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, _______, _______, KC_SCLN, KC_QUOT, KC_LT, KC_LBRC, KC_RBRC, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______ -), - - -/* Lower - * - * ,------------------------------------------------. ,------------------------------------------------. - * | | | | | | | | | | | | | | | | - * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------| - * | | 1 | 2 | 3 | 4 | 5 | | | | 6 | 7 | 8 | 9 | 0 | | - * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------| - * | | | | | | | Enter| | | Left | Down | Up | Right| | | - * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------+------. - * | | | | | | | Del | | BkSp | | PgUp | PgDn | | | | | - * `--------------------+------+------+------+------| |------+------+------+------+------+------+------+------' - * | | | | | | | | | | - * `---------------------------' `---------------------------' - */ -[_LOWER] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_1, KC_2, KC_3, KC_4, KC_5, _______, _______, KC_6, KC_7, KC_8, KC_9, KC_0, _______, - _______, _______, _______, _______, _______, _______, KC_ENT, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______, - _______, _______, _______, _______, _______, _______, KC_DEL, KC_BSPC, _______, KC_PGUP, KC_PGDN, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______ -), - - -/* Adjust - * - * ,------------------------------------------------. ,------------------------------------------------. - * | | F1 | F2 | F3 | F4 | F5 | | | | F6 | F7 | F8 | F9 | F0 | Del | - * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------| - * | | F11 | F12 |BLTOGG| |BL INC|BL DEC| | | | | | | | | - * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------| - * | | | |RGBMOD|RGBHUI|RGBSAI|RGBVAI| | | | | | | | | - * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------+------. - * | | Reset| |RGBTOG|RGBHUD|RGBSAD|RGBVAD| | | Prev | Next | Vol- | Vol+ | Play | | | - * `--------------------+------+------+------+------| |------+------+------+------+------+------+------+------' - * | | | | | | | | | | - * `---------------------------' `---------------------------' - */ -[_ADJUST] = LAYOUT( - _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, _______, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______, - _______, KC_F10, KC_F12, BL_TOGG, _______, BL_UP , BL_DOWN, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, - _______, QK_BOOT, _______, RGB_TOG, RGB_HUD, RGB_SAD, RGB_VAD, _______, KC_MPRV, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______ -) - -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case QWERTY: - if (record->event.pressed) { - // persistant_default_layer_set(1UL<<_QWERTY); - set_single_persistent_default_layer(_QWERTY); - } - return false; - case HAPPY: - if (record->event.pressed) { - layer_on(_HAPPY); - } else { - layer_off(_HAPPY); - } - return false; - case LOWER: - if (record->event.pressed) { - layer_on(_LOWER); - update_tri_layer(_LOWER, _RAISE, _ADJUST); - } else { - layer_off(_LOWER); - update_tri_layer(_LOWER, _RAISE, _ADJUST); - } - return false; - case RAISE: - if (record->event.pressed) { - layer_on(_RAISE); - update_tri_layer(_LOWER, _RAISE, _ADJUST); - } else { - layer_off(_RAISE); - update_tri_layer(_LOWER, _RAISE, _ADJUST); - } - return false; - case ADJUST: - if (record->event.pressed) { - layer_on(_ADJUST); - } else { - layer_off(_ADJUST); - } - return false; - } - return true; -} diff --git a/keyboards/kagizaraya/scythe/keymaps/forties/readme.md b/keyboards/kagizaraya/scythe/keymaps/forties/readme.md deleted file mode 100644 index 162792dc37..0000000000 --- a/keyboards/kagizaraya/scythe/keymaps/forties/readme.md +++ /dev/null @@ -1,2 +0,0 @@ -# The forty percent compatible keymap for scythe - diff --git a/keyboards/kapcave/gskt00/keymaps/nachie/keymap.c b/keyboards/kapcave/gskt00/keymaps/nachie/keymap.c deleted file mode 100755 index 9b17187d05..0000000000 --- a/keyboards/kapcave/gskt00/keymaps/nachie/keymap.c +++ /dev/null @@ -1,37 +0,0 @@ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - /* QWERTY */ - LAYOUT_all( - KC_ESC, 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_GRV, KC_BSLS, - 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_BSPC, - MO(3), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, MO(3), - KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT, KC_LCTL), - - /* DVORAK */ - LAYOUT_all( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_LBRC, KC_RBRC, KC_GRV, KC_BSLS, - KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_SLSH, KC_EQL, KC_BSPC, - MO(3), KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_MINS, KC_ENT, - KC_LSFT, KC_NUBS, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_LSFT, MO(3), - KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT, KC_RCTL), - - /* COLEMAK */ - LAYOUT_all( - KC_ESC, 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_GRV, KC_BSLS, - KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_LBRC, KC_RBRC, KC_BSPC, - MO(3), KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, KC_ENT, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, MO(3), - KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT, KC_RCTL), - - /* FUNCTION */ - LAYOUT_all( - KC_GRV, 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_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT, KC_TRNS, KC_TRNS, KC_PGUP, KC_UP, KC_PGDN, KC_PSCR, KC_SCRL, KC_PAUS, KC_BSPC, - KC_TRNS, KC_TRNS, KC_MPRV, KC_MPLY, KC_MNXT, KC_TRNS, KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, - KC_CAPS, KC_TRNS, KC_TRNS, KC_MUTE, KC_VOLD, KC_VOLU, KC_TRNS, KC_END, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_MOD, KC_TRNS, RGB_TOG) - -}; diff --git a/keyboards/kapcave/paladinpad/keymaps/aek/keymap.c b/keyboards/kapcave/paladinpad/keymaps/aek/keymap.c deleted file mode 100644 index 26168f7d2b..0000000000 --- a/keyboards/kapcave/paladinpad/keymaps/aek/keymap.c +++ /dev/null @@ -1,38 +0,0 @@ -/* -Copyright 2021 KapCave - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ -#include QMK_KEYBOARD_H - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - /* DEFAULT */ - LAYOUT_numpad_aek( - MO(1), KC_PEQL, KC_PSLS, KC_PAST, - KC_P7, KC_P8, KC_P9, KC_PMNS, - KC_P4, KC_P5, KC_P6, KC_PPLS, - KC_P1, KC_P2, KC_P3, - KC_P0, KC_PDOT, KC_PENT), - - /* FUNCTION */ - LAYOUT_numpad_aek( - KC_TRNS, RGB_TOG, RGB_MOD, KC_TRNS, - RGB_HUI, RGB_SAI, RGB_VAI, KC_TRNS, - RGB_HUD, RGB_SAD, RGB_VAD, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, QK_BOOT, KC_NUM) -}; - diff --git a/keyboards/kapcave/paladinpad/keymaps/aek/readme.md b/keyboards/kapcave/paladinpad/keymaps/aek/readme.md deleted file mode 100644 index 44b106fa6b..0000000000 --- a/keyboards/kapcave/paladinpad/keymaps/aek/readme.md +++ /dev/null @@ -1 +0,0 @@ -The keymap for PaladinPad which resembles the AEK Numpad \ No newline at end of file diff --git a/keyboards/kbdfans/kbd67/hotswap/keymaps/stevanmilic/config.h b/keyboards/kbdfans/kbd67/hotswap/keymaps/stevanmilic/config.h deleted file mode 100644 index 16497ddf0f..0000000000 --- a/keyboards/kbdfans/kbd67/hotswap/keymaps/stevanmilic/config.h +++ /dev/null @@ -1,19 +0,0 @@ -#pragma once - -#define FORCE_NKRO - -#define MOUSEKEY_DELAY 50 -#define MOUSEKEY_INTERVAL 15 -#define MOUSEKEY_MAX_SPEED 4 -#define MOUSEKEY_TIME_TO_MAX 50 -#define MOUSEKEY_WHEEL_MAX_SPEED 1 -#define MOUSEKEY_WHEEL_TIME_TO_MAX 50 - -#define NO_ACTION_FUNCTION -#define NO_ACTION_MACRO -#define NO_ACTION_ONESHOT - -#define PERMISSIVE_HOLD -#define TAPPING_TERM 200 -#define TAPPING_TOGGLE 2 -#define TAP_HOLD_CAPS_DELAY 50 diff --git a/keyboards/kbdfans/kbd67/hotswap/keymaps/stevanmilic/keymap.c b/keyboards/kbdfans/kbd67/hotswap/keymaps/stevanmilic/keymap.c deleted file mode 100644 index 4b00cc63ff..0000000000 --- a/keyboards/kbdfans/kbd67/hotswap/keymaps/stevanmilic/keymap.c +++ /dev/null @@ -1,79 +0,0 @@ -#include QMK_KEYBOARD_H - -#define FN MO(L_FN) -#define FN_CAPS LT(L_FN, KC_CAPS) -#define FN_ESC LT(L_FN, KC_ESC) -#define FN_FNLK TT(L_FN) - -#define MV_UP LCTL(KC_UP) -#define MV_DOWN LCTL(KC_DOWN) -#define MV_LEFT LCTL(KC_LEFT) -#define MV_RGHT LCTL(KC_RGHT) -#define TOP LCTL(KC_HOME) -#define BOTTOM LCTL(KC_END) - -enum keycodes { - CLEAR = SAFE_RANGE, -}; - -enum layers { - L_BASE, - L_FN, -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case CLEAR: - if (record->event.pressed) { - SEND_STRING(SS_LCTL("a") SS_TAP(X_DELETE)); - } - return false; - - default: - return true; - } -} - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Base layer - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ - * │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ \ │ ` │PSc│ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼───┤ - * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │Bspc │Del│ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ - * │FnEsc │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │PgU│ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ - * │ LShift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │RShift│ ↑ │PgD│ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼───┤ - * │LCtl│LGui│LAlt│ Space │RAlt│FnLk│ │ ← │ ↓ │ → │ - * └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘ - */ - [L_BASE] = LAYOUT( - 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_BSLS, KC_GRV, KC_PSCR, - 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_BSPC, KC_DEL, - FN_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, FN_FNLK, KC_LEFT, KC_DOWN, KC_RGHT - ), - - /* Function layer - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ - * │ │F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│NLk│SLk│Pau│ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼───┤ - * │ │M2 │M↑ │M1 │M3 │ │ │ │ │Stp│Ply│Prv│Nxt│Clear│Ins│ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ - * │ │M← │M↓ │M→ │MW↑│ │ │Mv←│ ↓ │ ↑ │Mv→│ │ │Top│ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ - * │ │MA0│MA2│MW←│MW→│ │ │App│Vo-│Vo+│Mut│ │PgU│Btm│ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼───┤ - * │ │DtPR│DtNA│ MW↓ │ │ │ │Hom│PgD│End│ - * └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘ - */ - [L_FN] = LAYOUT( - _______, 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_NUM, KC_SCRL, KC_PAUS, - _______, KC_BTN2, KC_MS_U, KC_BTN1, KC_BTN3, _______, _______, _______, _______, KC_MSTP, KC_MPLY, KC_MPRV, KC_MNXT, CLEAR, KC_INS, - _______, KC_MS_L, KC_MS_D, KC_MS_R, KC_WH_U, _______, MV_LEFT, KC_DOWN, KC_UP, MV_RGHT, _______, _______, _______, TOP, - _______, KC_ACL0, KC_ACL2, KC_WH_L, KC_WH_R, _______, _______, KC_APP, KC_VOLD, KC_VOLU, KC_MUTE, _______, KC_PGUP, BOTTOM, - _______, _______, _______, KC_WH_D, _______, _______, KC_HOME, KC_PGDN, KC_END - ), -}; diff --git a/keyboards/kbdfans/kbd67/hotswap/keymaps/stevanmilic/rules.mk b/keyboards/kbdfans/kbd67/hotswap/keymaps/stevanmilic/rules.mk deleted file mode 100644 index 0bef91295e..0000000000 --- a/keyboards/kbdfans/kbd67/hotswap/keymaps/stevanmilic/rules.mk +++ /dev/null @@ -1,6 +0,0 @@ -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -COMMAND_ENABLE = yes -CONSOLE_ENABLE = yes -EXTRAKEY_ENABLE = yes -MOUSEKEY_ENABLE = yes -NKRO_ENABLE = yes diff --git a/keyboards/kbdfans/kbd67/mkii_soldered/keymaps/adamdehaven/config.h b/keyboards/kbdfans/kbd67/mkii_soldered/keymaps/adamdehaven/config.h deleted file mode 100644 index 4fcd773552..0000000000 --- a/keyboards/kbdfans/kbd67/mkii_soldered/keymaps/adamdehaven/config.h +++ /dev/null @@ -1,3 +0,0 @@ -#pragma once - -#define TAPPING_TERM 200 diff --git a/keyboards/kbdfans/kbd67/mkii_soldered/keymaps/adamdehaven/keymap.c b/keyboards/kbdfans/kbd67/mkii_soldered/keymaps/adamdehaven/keymap.c deleted file mode 100644 index 637ea3e2c8..0000000000 --- a/keyboards/kbdfans/kbd67/mkii_soldered/keymaps/adamdehaven/keymap.c +++ /dev/null @@ -1,71 +0,0 @@ -#include QMK_KEYBOARD_H - -// Compile from qmk_firmware folder with the following command: -// $ make kbdfans/kbd67/mkii-soldered:adamdehaven - -// Each layer gets a name for readability. The underscores don't mean anything - you can have a layer called STUFF or any other name. -// Layer names don't all need to be of the same length, and you can also skip them entirely and just use numbers. -#define _QWERTY 0 -#define _FN1 1 - -// Tap Dance Definitions -enum tapdance { - TD_HOME = 0, - TD_END -}; - -tap_dance_action_t tap_dance_actions[] = { - // Tap once for Home, twice for PageUp - [TD_HOME] = ACTION_TAP_DANCE_DOUBLE(KC_HOME, KC_PGUP), - // Tap once for End, twice for PageDown - [TD_END] = ACTION_TAP_DANCE_DOUBLE(KC_END, KC_PGDN) -}; - -/* - * You can use _______ in place for KC_TRNS (transparent) - * Or you can use XXXXXXX for KC_NO (NOOP) - */ -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - /* 0: _QWERTY - * ┌─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┐ - * │ QK_GESC │ 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_BSPC (2) │ KC_DEL │ - * ├─────────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬──────────────┼─────────┤ - * │ 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 │ TD_HOME │ - * ├──────────────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴──────────────┼─────────┤ - * │ KC_CAPS │ KC_A │ KC_S │ KC_D │ KC_F │ KC_G │ KC_H │ KC_J │ KC_K │ KC_L │ KC_SCLN │ KC_QUOT │ KC_ENT │ TD_END │ - * ├────────────────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────────────┬─────────┼─────────┤ - * │ KC_LSFT (2) │ KC_Z │ KC_X │ KC_C │ KC_V │ KC_B │ KC_N │ KC_M │ KC_COMM │ KC_DOT │ KC_SLSH │ KC_RSFT │ KC_UP │ MO(_FN1)│ - * ├───────────┬─────────┴─┬───────┴───┬─────┴─────────┴─────────┴─────────┴─────────┴─────────┴───────┬─┴───────┬┴────────┬─┴───────┬─────────┼─────────┼─────────┤ - * │ KC_LCTL │ KC_LGUI │ KC_LALT │ KC_SPC │ KC_RALT │ KC_RCTL │ │ KC_LEFT │ KC_DOWN │ KC_RGHT │ - * └───────────┴───────────┴───────────┴───────────────────────────────────────────────────────────────┴─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘ - */ - [_QWERTY] = LAYOUT_all( - QK_GESC, 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_BSPC, KC_BSPC, KC_DEL, - 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, TD(TD_HOME), - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, TD(TD_END), - KC_LSFT, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, MO(_FN1), - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - - /* 1: _FN1 - * ┌─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬───────────────────┬─────────┐ - * │ QK_BOOT │ KC_F1 │ KC_F2 │ KC_F3 │ KC_F4 │ KC_F5 │ KC_F6 │ KC_F7 │ KC_F8 │ KC_F9 │ KC_F10 │ KC_F11 │ KC_F12 │ _______ (2) │ KC_MUTE │ - * ├─────────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬──────────────┼─────────┤ - * │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ KC_PSCR │ _______ │ _______ │ _______ │ KC_VOLU │ - * ├──────────────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴──────────────┼─────────┤ - * │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ KC_VOLD │ - * ├────────────────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────────────┬─────────┼─────────┤ - * │ _______ (2) │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ KC_MPLY │ _______ │ - * ├───────────┬─────────┴─┬───────┴───┬─────┴─────────┴─────────┴─────────┴─────────┴─────────┴───────┬─┴───────┬─┴───────┬─┴───────┬─────────┼─────────┼─────────┤ - * │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ │ KC_MPRV │ KC_MPLY │ KC_MNXT │ - * └───────────┴───────────┴───────────┴───────────────────────────────────────────────────────────────┴─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘ - */ - [_FN1] = LAYOUT_all( - QK_BOOT, 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_MUTE, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, _______, _______, _______, KC_VOLU, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, _______, - _______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MPLY, KC_MNXT - ) -}; diff --git a/keyboards/kbdfans/kbd67/mkii_soldered/keymaps/adamdehaven/rules.mk b/keyboards/kbdfans/kbd67/mkii_soldered/keymaps/adamdehaven/rules.mk deleted file mode 100644 index e5ddcae8d9..0000000000 --- a/keyboards/kbdfans/kbd67/mkii_soldered/keymaps/adamdehaven/rules.mk +++ /dev/null @@ -1 +0,0 @@ -TAP_DANCE_ENABLE = yes diff --git a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/dnsnrk/config.h b/keyboards/kbdfans/kbd67/mkiirgb/keymaps/dnsnrk/config.h deleted file mode 100644 index bb3409256c..0000000000 --- a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/dnsnrk/config.h +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright 2019 dnsnrk - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -/* place overrides here */ -#undef DEBOUNCE -#define DEBOUNCE 8 -#undef TAPPING_TOGGLE -#define TAPPING_TOGGLE 2 diff --git a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/dnsnrk/keymap.c b/keyboards/kbdfans/kbd67/mkiirgb/keymaps/dnsnrk/keymap.c deleted file mode 100644 index 826977fbf5..0000000000 --- a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/dnsnrk/keymap.c +++ /dev/null @@ -1,96 +0,0 @@ -/* Copyright 2019 dnsnrk - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H - -#define RC_ENT RCTL_T(KC_ENT) -#define LC_CPS LCTL_T(KC_CAPS) - -enum { - _LAYER0 = 0, - _LAYER1, - _LAYER2 -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_LAYER0] = LAYOUT_65_ansi_blocker( /* Base Layer */ - KC_ESC, 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_BSPC, KC_GRV, - 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, KC_PGUP, - LC_CPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, RC_ENT, KC_PGDN, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, TT(2), - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, TT(1), KC_LEFT, KC_DOWN, KC_RIGHT), - [_LAYER1] = LAYOUT_65_ansi_blocker( /* FN, RGB Controls */ - KC_GRV, 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, KC_PWR, - _______, RGB_TOG, RGB_SPI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_INS, KC_HOME, - _______, RGB_RMOD, RGB_SPD, RGB_MOD, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_END, - _______, _______, _______, _______, _______, _______, _______, _______, RGB_SAD, RGB_SAI, _______, _______, RGB_VAI, _______, - _______, _______, _______, _______, _______, _______, RGB_HUD, RGB_VAD, RGB_HUI), - [_LAYER2] = LAYOUT_65_ansi_blocker( /* Media, Programming */ - _______, KC_BRMD, KC_BRMU, _______, _______, _______, _______, KC_MRWD, KC_MPLY, KC_MFFD, KC_MUTE, KC_VOLD, KC_VOLU, KC_EJCT, _______, - _______, _______, _______, EE_CLR, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, AG_NORM, AG_SWAP, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______) -}; - -void set_hsv_at(HSV hsv, uint8_t index); - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - return true; -} - -bool rgb_matrix_indicators_user(void) { - if (rgb_matrix_config.enable) { - HSV hsv = rgb_matrix_config.hsv; - if (host_keyboard_led_state().caps_lock) { - HSV hsv_inv_hue = {hsv.h + 128, hsv.s, hsv.v}; - set_hsv_at(hsv_inv_hue, 30); - } - // indicate which higher layer is currently active on which key - HSV hsv1 = {hsv.h - 64, hsv.s, hsv.v}; - HSV hsv2 = {hsv.h + 64, hsv.s, hsv.v}; - // except when we are in any animated LED mode - if (rgb_matrix_config.mode < RGB_MATRIX_BREATHING || rgb_matrix_config.mode > RGB_MATRIX_JELLYBEAN_RAINDROPS) { - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - for (uint8_t col = 0; col < MATRIX_COLS; col++) { - keypos_t pos = {col, row}; - uint8_t key_layer = layer_switch_get_layer(pos); - uint8_t key_led = g_led_config.matrix_co[row][col]; - if (key_led != NO_LED) { - switch(key_layer) { - case _LAYER2: - set_hsv_at(hsv2, key_led); - break; - case _LAYER1: - set_hsv_at(hsv1, key_led); - break; - default: - break; - } - } - } - } - } - // sticky layer indicators regardless of RGB mode. Hardcoded for lack of better idea. - set_hsv_at(hsv1, 63); - set_hsv_at(hsv2, 57); - } - return false; -} - -void set_hsv_at(HSV hsv, uint8_t index) { - RGB rgb = hsv_to_rgb(hsv); - rgb_matrix_set_color(index, rgb.r, rgb.g, rgb.b); -} diff --git a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/dnsnrk/readme.md b/keyboards/kbdfans/kbd67/mkiirgb/keymaps/dnsnrk/readme.md deleted file mode 100644 index 5554b03e5d..0000000000 --- a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/dnsnrk/readme.md +++ /dev/null @@ -1,41 +0,0 @@ -# dnsnrk's KDB67 MKII Layout - -* This is a three layer layout wih some consolidated functionality in the second and third layer. -* The keyboard is mostly used on macOS, but also on Linux and therefore it can swap ALT/CMD. -* There are additional CTRL keys for left and right when caps lock or enter key is held. -* Layers can be toggled (tap twice) or actived momentarily (hold). -* There are 2 seperate FN keys to activate layer 1 and 2 separately, indicated by different RGB colors. -* The main custom feature is using RGB to indicate the current active layer for each key. This is best achieved in solid color RGB modes. - -## Layer 0 - -This is the base QUERTY layer. - -* Grave is provided in the top right corner. -* Caps lock is tapped once on and off and indicated by hue inverted LED when on. -* Caps lock and enter become CTRL when held. -* Primary Fn in the last row activates layer 1, indicated by hue shifted LED color. -* Secondary Fn right to the up arrow key activates layer 2, indicated by 2nd hue shifted LED color. -* Toggle layers by tapping Fn twice or switch on by holding Fn. - -## Layer 1 - -This layer activates function keys and provides RGB controls. Keys acting on this layer are indicated by an LED color matching the current Fn key's LED color. - -* Number keys become equivalent function keys. -* ESC becomes Grave. -* Grave becomes POWER (very useful on macOS only). -* Q toggles RGB. -* WASD for navigating through RGB modes and adjusting speed. -* <> control RGB saturation. -* Arrow keys shift hue and adjust brightness. -* PgUp, PgDown become HOME and END respectively. -* Backspace acts as delete, pipe as insert. - -## Layer 2 - -This layer comprises most macOS media keys at the top row and some additional programming options. Keys acting on this layer are indicated by an LED color matching the current Fn key's LED color. - -* N, M swap ALT/CMD for (N)ormal or (M)acOS. -* E resets (E)EPROM. -* R (R)esets keyboard. diff --git a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/kemmeldev/import-for-qmk-configurator/kemmeldev-4-layered-layout.json b/keyboards/kbdfans/kbd67/mkiirgb/keymaps/kemmeldev/import-for-qmk-configurator/kemmeldev-4-layered-layout.json deleted file mode 100644 index c15ab8c85a..0000000000 --- a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/kemmeldev/import-for-qmk-configurator/kemmeldev-4-layered-layout.json +++ /dev/null @@ -1 +0,0 @@ -{"keyboard":"kbdfans/kbd67/mkiirgb","keymap":"default_37b6a2a","layout":"LAYOUT_65_ansi_blocker","layers":[["QK_GESC","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_BSPC","KC_CALC","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","KC_PGUP","MO(1)","KC_A","KC_S","KC_D","KC_F","KC_G","KC_H","KC_J","KC_K","KC_L","KC_SCLN","KC_QUOT","KC_ENT","KC_PGDN","KC_LSFT","KC_Z","KC_X","KC_C","KC_V","KC_B","KC_N","KC_M","KC_COMM","KC_DOT","KC_SLSH","KC_RSFT","KC_UP","KC_END","KC_LCTL","KC_LGUI","KC_LALT","KC_SPC","KC_RALT","KC_RCTL","KC_LEFT","KC_DOWN","KC_RGHT"],["KC_GRV","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","KC_CALC","KC_CAPS","KC_BTN1","KC_MS_U","KC_BTN2","KC_WH_U","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_UP","KC_PSCR","KC_SCRL","KC_PAUS","QK_BOOT","KC_MYCM","KC_TRNS","KC_MS_L","KC_MS_D","KC_MS_R","KC_WH_D","KC_TRNS","RGB_SAI","RGB_SAD","KC_LEFT","KC_DOWN","KC_RGHT","KC_TRNS","EE_CLR","KC_HOME","KC_LSFT","RGB_TOG","RGB_MOD","RGB_VAI","RGB_VAD","RGB_SPI","RGB_SPD","RGB_HUI","RGB_HUD","KC_TRNS","KC_TRNS","KC_TRNS","KC_VOLU","KC_MUTE","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","TO(2)","KC_MPRV","KC_VOLD","KC_MNXT"],["QK_GESC","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_BSPC","KC_CALC","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","KC_PGUP","MO(3)","KC_A","KC_S","KC_D","KC_F","KC_G","KC_H","KC_J","KC_K","KC_L","KC_SCLN","KC_QUOT","KC_ENT","KC_PGDN","KC_LSFT","KC_Z","KC_X","KC_C","KC_V","KC_B","KC_N","KC_M","KC_COMM","KC_DOT","KC_SLSH","KC_RSFT","KC_UP","KC_END","KC_LCTL","KC_LGUI","KC_LALT","KC_SPC","KC_RALT","KC_TRNS","KC_LEFT","KC_DOWN","KC_RGHT"],["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_DEL","KC_CALC","KC_CAPS","KC_BTN1","KC_MS_U","KC_BTN2","KC_WH_U","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_UP","KC_PSCR","KC_SCRL","KC_PAUS","QK_BOOT","KC_MYCM","KC_TRNS","KC_MS_L","KC_MS_D","KC_MS_R","KC_WH_D","KC_TRNS","RGB_SAI","RGB_SAD","KC_LEFT","KC_DOWN","KC_RGHT","KC_TRNS","EE_CLR","KC_HOME","KC_LSFT","RGB_TOG","RGB_MOD","RGB_VAI","RGB_VAD","RGB_SPI","RGB_SPD","RGB_HUI","RGB_HUD","KC_TRNS","KC_TRNS","KC_TRNS","KC_VOLU","KC_MUTE","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","TO(0)","KC_MPRV","KC_VOLD","KC_MNXT"]],"author":"","notes":""} \ No newline at end of file diff --git a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/kemmeldev/keymap.c b/keyboards/kbdfans/kbd67/mkiirgb/keymaps/kemmeldev/keymap.c deleted file mode 100644 index 10ccb4ca46..0000000000 --- a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/kemmeldev/keymap.c +++ /dev/null @@ -1,8 +0,0 @@ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_65_ansi_blocker(QK_GESC, 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_BSPC, KC_CALC, 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, KC_PGUP, MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), - [1] = LAYOUT_65_ansi_blocker(KC_GRV, 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, KC_CALC, KC_CAPS, KC_BTN1, KC_MS_U, KC_BTN2, KC_WH_U, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_PSCR, KC_SCRL, KC_PAUS, QK_BOOT, KC_MYCM, KC_TRNS, KC_MS_L, KC_MS_D, KC_MS_R, KC_WH_D, KC_TRNS, RGB_SAI, RGB_SAD, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, EE_CLR, KC_HOME, KC_LSFT, RGB_TOG, RGB_MOD, RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD, RGB_HUI, RGB_HUD, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, KC_MUTE, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, TO(2), KC_MPRV, KC_VOLD, KC_MNXT), - [2] = LAYOUT_65_ansi_blocker(QK_GESC, 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_BSPC, KC_CALC, 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, KC_PGUP, MO(3), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT), - [3] = LAYOUT_65_ansi_blocker(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_DEL, KC_CALC, KC_CAPS, KC_BTN1, KC_MS_U, KC_BTN2, KC_WH_U, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_PSCR, KC_SCRL, KC_PAUS, QK_BOOT, KC_MYCM, KC_TRNS, KC_MS_L, KC_MS_D, KC_MS_R, KC_WH_D, KC_TRNS, RGB_SAI, RGB_SAD, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, EE_CLR, KC_HOME, KC_LSFT, RGB_TOG, RGB_MOD, RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD, RGB_HUI, RGB_HUD, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, KC_MUTE, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, TO(0), KC_MPRV, KC_VOLD, KC_MNXT) -}; diff --git a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/kemmeldev/layers.json b/keyboards/kbdfans/kbd67/mkiirgb/keymaps/kemmeldev/layers.json deleted file mode 100644 index 4fe0b20d9b..0000000000 --- a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/kemmeldev/layers.json +++ /dev/null @@ -1 +0,0 @@ -[["QK_GESC", "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_BSPC", "KC_CALC", "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", "KC_PGUP", "MO(1)", "KC_A", "KC_S", "KC_D", "KC_F", "KC_G", "KC_H", "KC_J", "KC_K", "KC_L", "KC_SCLN", "KC_QUOT", "KC_ENT", "KC_PGDN", "KC_LSFT", "KC_Z", "KC_X", "KC_C", "KC_V", "KC_B", "KC_N", "KC_M", "KC_COMM", "KC_DOT", "KC_SLSH", "KC_RSFT", "KC_UP", "KC_END", "KC_LCTL", "KC_LGUI", "KC_LALT", "KC_SPC", "KC_RALT", "KC_RCTL", "KC_LEFT", "KC_DOWN", "KC_RGHT"], ["KC_GRV", "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", "KC_CALC", "KC_CAPS", "KC_BTN1", "KC_MS_U", "KC_BTN2", "KC_WH_U", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_UP", "KC_PSCR", "KC_SCRL", "KC_PAUS", "QK_BOOT", "KC_MYCM", "KC_TRNS", "KC_MS_L", "KC_MS_D", "KC_MS_R", "KC_WH_D", "KC_TRNS", "RGB_SAI", "RGB_SAD", "KC_LEFT", "KC_DOWN", "KC_RGHT", "KC_TRNS", "EE_CLR", "KC_HOME", "KC_LSFT", "RGB_TOG", "RGB_MOD", "RGB_VAI", "RGB_VAD", "RGB_SPI", "RGB_SPD", "RGB_HUI", "RGB_HUD", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_VOLU", "KC_MUTE", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "TO(2)", "KC_MPRV", "KC_VOLD", "KC_MNXT"], ["QK_GESC", "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_BSPC", "KC_CALC", "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", "KC_PGUP", "MO(3)", "KC_A", "KC_S", "KC_D", "KC_F", "KC_G", "KC_H", "KC_J", "KC_K", "KC_L", "KC_SCLN", "KC_QUOT", "KC_ENT", "KC_PGDN", "KC_LSFT", "KC_Z", "KC_X", "KC_C", "KC_V", "KC_B", "KC_N", "KC_M", "KC_COMM", "KC_DOT", "KC_SLSH", "KC_RSFT", "KC_UP", "KC_END", "KC_LCTL", "KC_LGUI", "KC_LALT", "KC_SPC", "KC_RALT", "KC_TRNS", "KC_LEFT", "KC_DOWN", "KC_RGHT"], ["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_DEL", "KC_CALC", "KC_CAPS", "KC_BTN1", "KC_MS_U", "KC_BTN2", "KC_WH_U", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_UP", "KC_PSCR", "KC_SCRL", "KC_PAUS", "QK_BOOT", "KC_MYCM", "KC_TRNS", "KC_MS_L", "KC_MS_D", "KC_MS_R", "KC_WH_D", "KC_TRNS", "RGB_SAI", "RGB_SAD", "KC_LEFT", "KC_DOWN", "KC_RGHT", "KC_TRNS", "EE_CLR", "KC_HOME", "KC_LSFT", "RGB_TOG", "RGB_MOD", "RGB_VAI", "RGB_VAD", "RGB_SPI", "RGB_SPD", "RGB_HUI", "RGB_HUD", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_VOLU", "KC_MUTE", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "TO(0)", "KC_MPRV", "KC_VOLD", "KC_MNXT"]] \ No newline at end of file diff --git a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/kemmeldev/readme.md b/keyboards/kbdfans/kbd67/mkiirgb/keymaps/kemmeldev/readme.md deleted file mode 100644 index 8a7b230dbf..0000000000 --- a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/kemmeldev/readme.md +++ /dev/null @@ -1,54 +0,0 @@ -# Layout description - -* This layout features 4 layers. The caps lock key has been replaced by the FN key. -* The first layer features ESC/~ and numbers and symbols on the top row of the keyboard. -* The top right key launches calculator. -* Pressing the FN key activates a temporary second layer. This layer contains: - * ESC/~ is now `/~ - * WASD to move your mouse up, left, down, right respectively. - * Q and E click left and right mouse respectively. - * R and F scroll mousewheel up and down respectively. - * IJKL act as up, left, down, right arrows respectively. - * UP/DOWN keys act as volume UP/DOWN - * LEFT/RIGHT keys act as previous/next track. - * The key below the calculator key launches 'This PC' - * RGB Controls - * Z toggles ON/OFF - * X toggles RGB_MODE - * C and V increase/decrease brightness - * B and N increase/decrease effect - * M and , increase/decrease hue - * H and J increase/decrease saturation -* Pressing RIGHT CTRL whilst holding the FN key allows you to swap to the third layer. - * This layer can switch to the fourth layer by holding the FN key. -* The third and fourth layer are essentially copies of the first and second layer and offer the same functionalities, however the third and fourth layer have the F-keys and Num/Symbol keys swapped. - -## Layer 0 - -![](https://i.imgur.com/9U9PaTw.png) - -## Layer 1 - -![](https://i.imgur.com/rqqjiyn.png) - -## Layer 2 - -![](https://i.imgur.com/A7YkrTF.png) - -## Layer 3 - -![](https://i.imgur.com/sxJ1ocF.png) - -# Generated Keymap Layout - -This layout was generated by the QMK API. You can find the JSON data used to -generate this keymap in the file layers.json. - -To make use of this file you will need follow the following steps: - -* Download or Clone QMK Firmware: -* Extract QMK Firmware to a location on your hard drive -* Copy this folder into %s -* You are now ready to compile or use your keymap with the source - -More information can be found in the QMK docs: \ No newline at end of file diff --git a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/pascalpfeil/config.h b/keyboards/kbdfans/kbd67/mkiirgb/keymaps/pascalpfeil/config.h deleted file mode 100644 index a1ba1fd43e..0000000000 --- a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/pascalpfeil/config.h +++ /dev/null @@ -1,29 +0,0 @@ -/* Copyright 2021 Pascal Pfeil - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -/* 1000Hz USB polling */ -#define USB_POLLING_INTERVAL_MS 1 - -/* Force NKRO on boot up */ -#define FORCE_NKRO - -#ifdef RGB_MATRIX_ENABLE -# define RGB_MATRIX_SLEEP -# undef RGB_MATRIX_TIMEOUT -# define RGB_MATRIX_TIMEOUT 900000 -#endif diff --git a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/pascalpfeil/keymap.c b/keyboards/kbdfans/kbd67/mkiirgb/keymaps/pascalpfeil/keymap.c deleted file mode 100644 index df4bceed3f..0000000000 --- a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/pascalpfeil/keymap.c +++ /dev/null @@ -1,48 +0,0 @@ -/* Copyright 2021 Pascal Pfeil - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_65_ansi_blocker( - QK_GESC, 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_BSPC, KC_PSCR, - 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, KC_DEL, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_HOME, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, - KC_LCTL, KC_LGUI, KC_LALT, LT(1, KC_SPC), KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT - ), - [1] = LAYOUT_65_ansi_blocker( - QK_GESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, BS_NORM, RGB_VAI, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, BS_SWAP, RGB_HUI, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_TOG, RGB_SPI, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_MOD, - KC_TRNS, AG_NORM, AG_SWAP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), - [2] = LAYOUT_65_ansi_blocker( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), - [3] = LAYOUT_65_ansi_blocker( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), -}; diff --git a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/pascalpfeil/rules.mk b/keyboards/kbdfans/kbd67/mkiirgb/keymaps/pascalpfeil/rules.mk deleted file mode 100644 index 36b7ba9cbc..0000000000 --- a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/pascalpfeil/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes diff --git a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/spx01/config.h b/keyboards/kbdfans/kbd67/mkiirgb/keymaps/spx01/config.h deleted file mode 100644 index c66f49213a..0000000000 --- a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/spx01/config.h +++ /dev/null @@ -1,41 +0,0 @@ -/* Copyright 2022 spx01 (@spx01) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -/* --- custom defines only used in my own code --- */ - -/* easily switch on debugging features */ -#define CUSTOM_DEBUG false - -/* hexrgb mode special keys, these shouldn't be KC_A to KC_F or KC_0 to KC_9 */ -/* keycode that triggers saving the current rgb_static color into eeprom */ -#define HEXRGB_SAVE_KC KC_S -/* keycode that triggers resetting rgb_static to the color saved in the eeprom */ -#define HEXRGB_RESET_KC KC_R - -/* --- keyboard configuration macros --- */ - -#if CUSTOM_DEBUG -# define NO_DEBUG -# define NO_PRINT -#endif - -#define RETRO_TAPPING -#define PERMISSIVE_HOLD - -#undef RGB_MATRIX_DEFAULT_MODE -#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CUSTOM_RGB_STATIC diff --git a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/spx01/keymap.c b/keyboards/kbdfans/kbd67/mkiirgb/keymaps/spx01/keymap.c deleted file mode 100644 index 8c814b86bb..0000000000 --- a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/spx01/keymap.c +++ /dev/null @@ -1,158 +0,0 @@ -/* Copyright 2022 spx01 (@spx01) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H -#include "print.h" - -enum CustomKeycodes { - CK_HEXRGB = SAFE_RANGE, - /* esc when shift is held, grave otherwise; particularly useful for windows' task manager shortcut */ - CK_ESCG, -}; - -enum Layers { - _LAYER1, - _LAYER2, -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // clang-format off - [_LAYER1] = LAYOUT_65_ansi_blocker( - QK_GESC, 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_BSPC, KC_HOME, - 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, KC_PGUP, - LT(_LAYER2, KC_CAPS), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT), - [_LAYER2] = LAYOUT_65_ansi_blocker( - CK_ESCG, 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, KC_INS, - KC_TRNS, KC_TRNS, KC_TRNS, EE_CLR, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, KC_TRNS, KC_TRNS, QK_BOOT, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MUTE, KC_TRNS, KC_TRNS, CK_HEXRGB, KC_MPLY, KC_VOLU, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, RGB_TOG, KC_TRNS, KC_TRNS, KC_MPRV, KC_VOLD, KC_MNXT), - /* [] = LAYOUT_65_ansi_blocker( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), */ - // clang-format on -}; - -/* exported by the rgb_static effect */ -void RGB_STATIC_save_eeprom(void); -void RGB_STATIC_reset(void); -extern uint8_t g_rgb_static_color[3]; - -/* returns number corresponding to hex digit represented by keycode or -1 if keycode isn't a valid hex digit */ -static int8_t key_hexdigit(uint16_t keycode) { - if (keycode >= KC_A && keycode <= KC_F) { - return keycode - KC_A + 10; - } - if (keycode >= KC_1 && keycode <= KC_0) { - int8_t res = keycode - KC_1 + 1; - /* mod 10 considering res is between 1 and 10 */ - res *= res != 10; - return res; - } - return -1; -} - -typedef struct { - bool active; - uint8_t color[3]; - uint8_t count; -} RGBHexState; -static RGBHexState hexrgb; - -/* handles input mode for an rgb value */ -static void hexrgb_input(uint16_t keycode) { - /* only check for special keys when input mode has just been triggered */ - if (hexrgb.count == 0) { - switch (keycode) { - case HEXRGB_SAVE_KC: - RGB_STATIC_save_eeprom(); - hexrgb.active = false; - return; - case HEXRGB_RESET_KC: - RGB_STATIC_reset(); - hexrgb.active = false; - return; - default: - } - } - - int8_t digit = key_hexdigit(keycode); - /* exit input mode if an invalid key has been pressed */ - if (digit == -1) { - hexrgb.count = 0; - hexrgb.active = false; - return; - } - - /* append digit to current color */ - uint8_t idx = hexrgb.count / 2; - hexrgb.color[idx] <<= 4; - hexrgb.color[idx] |= digit; - - ++hexrgb.count; - /* done with input */ - if (hexrgb.count == 6) { - hexrgb.active = false; - hexrgb.count = 0; - /* copy color to rgb_static's buffer */ - for (int8_t i = 0; i < 3; ++i) { - g_rgb_static_color[i] = hexrgb.color[i]; - hexrgb.color[i] = 0; - } - } -} - -void keyboard_post_init_user(void) { -#if CUSTOM_DEBUG - debug_enable = true; - debug_matrix = true; -#endif -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - /* shift status last time ck_escg was pressed so that the correct key can be released */ - static bool ck_escg_last_shifted; - - if (hexrgb.active && record->event.pressed) { - hexrgb_input(keycode); - /* while in input mode nothing passes through */ - return false; - } - - switch (keycode) { - case CK_HEXRGB: - hexrgb.active = record->event.pressed; - return false; - case CK_ESCG: - /* if pressed, inject key, otherwise delete it */ - if (record->event.pressed) { - bool shifted = get_mods() & MOD_BIT(KC_LSFT); - add_key(shifted ? KC_ESC : KC_GRV); - ck_escg_last_shifted = shifted; - } else { - del_key(ck_escg_last_shifted ? KC_ESC : KC_GRV); - } - send_keyboard_report(); - return false; - default: - } - return true; -} diff --git a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/spx01/readme.md b/keyboards/kbdfans/kbd67/mkiirgb/keymaps/spx01/readme.md deleted file mode 100644 index 86b90772b0..0000000000 --- a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/spx01/readme.md +++ /dev/null @@ -1,23 +0,0 @@ -# spx01's KBD67 MKIIRGB Layout - -This is a fairly simple QWERTY 2 layer layout, full list of particularities below: - -* Besides Fn acting like a standard layer switch, CapsLock is set to switch to layer 2 while held and activate CapsLock when tapped. -* The Esc key/grave key (top left) is set to QMK's "Grave Escape" (sends Esc when tapped alone, Grave when tapped together with Shift/Ctrl/GUI), but on the 2nd layer it's set to the CK_ESCG custom keycode, acting like grave when tapped alone and as Esc when Shift is also held down. This means that there is easy access to both the characters (grave and tilde) and the Esc key while also allowing for shortcuts such as Ctrl+Shift+Esc with Ctrl+Shift+Caps+Esc (the Windows Task Manager shortcut). -* The default RGB Matrix effect is set to a custom one, RGB_STATIC, which sets a solid RGB color based on a global variable, featuring EEPROM saving and automatic loading independent on the HSV EEPROM memory that the standard effects use. This was done in order to accomodate the next feature. -* The HexRGB mode is triggered by pressing the '/' key in the second layer (CK_HEXRGB) and enables the user to type a 6 digit hexadecimal color code that is then stored as the color for the RGB_STATIC effect. If any invalid key is pressed during color input, the keymap will go back to its normal behavior without any changes to RGB. -* Besides keys representing hexadecimal digits (0-9 and a-f), there are also 2 more keys that provide functionality in the HexRGB input mode (only as a first keypress). HEXRGB_SAVE_KC (set by default to S) triggers the RGB_STATIC effect to save the currently set RGB color to EEPROM and the HEXRGB_RESET_KC (set by default to R) resets the RGB color to the one currently saved in EEPROM. These 2 keys can be reassigned in config.h. - -Various 2nd layer keys: -* 1 to '+' for F1-12 -* P for PrtSc/Print -* Backspace for Delete -* Home (top right key) for Insert -* E for resetting EEPROM -* '\\' for bootloader mode -* Space for toggling RGB on or off -* Right Shift for pausing media -* Left/Right for previous track/next track -* Up/Down for volume up/down - -**Note: I disabled VIA in rules.mk because I don't use it, but there is enough memory space for it to be enabled.** diff --git a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/spx01/rgb_matrix_user.inc b/keyboards/kbdfans/kbd67/mkiirgb/keymaps/spx01/rgb_matrix_user.inc deleted file mode 100644 index 85c4dc2cad..0000000000 --- a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/spx01/rgb_matrix_user.inc +++ /dev/null @@ -1,68 +0,0 @@ -/* Copyright 2022 spx01 (@spx01) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -RGB_MATRIX_EFFECT(RGB_STATIC) - -#define UNWRAP_RGB_PARAMS(x) x[0], x[1], x[2] -#ifdef RGB_MATRIX_CUSTOM_EFFECT_IMPLS - -/* eeprom saved data structure */ -typedef struct { - union { - uint32_t whole; - uint8_t rgb[3]; - }; -} UserData; - -uint8_t g_rgb_static_color[3]; - -/* save current colors to eeprom */ -void RGB_STATIC_save_eeprom(void) { - UserData data = {0}; - for (int8_t i = 0; i < 3; ++i) { - data.rgb[i] = g_rgb_static_color[i]; - } - eeconfig_update_user(data.whole); -} - -/* initialize by loading the eeprom colors */ -static void RGB_STATIC_init(void) { - UserData data; - data.whole = eeconfig_read_user(); - for (int8_t i = 0; i < 3; ++i) { - g_rgb_static_color[i] = data.rgb[i]; - } -} - -/* reset colors to eeprom values */ -void RGB_STATIC_reset(void) { - RGB_STATIC_init(); -} - -static bool RGB_STATIC(effect_params_t *params) { - if (params->init) { - RGB_STATIC_init(); - } - RGB_MATRIX_USE_LIMITS(led_min, led_max); - for (uint8_t i = led_min; i < led_max; i++) { - RGB_MATRIX_TEST_LED_FLAGS(); - rgb_matrix_set_color(i, UNWRAP_RGB_PARAMS(g_rgb_static_color)); - } - return rgb_matrix_check_finished_leds(led_max); -} - -#endif -#undef UNWRAP_RGB_PARAMS diff --git a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/spx01/rules.mk b/keyboards/kbdfans/kbd67/mkiirgb/keymaps/spx01/rules.mk deleted file mode 100644 index 2700c035cc..0000000000 --- a/keyboards/kbdfans/kbd67/mkiirgb/keymaps/spx01/rules.mk +++ /dev/null @@ -1,4 +0,0 @@ -VIA_ENABLE = no -LTO_ENABLE = yes -CONSOLE_ENABLE = no -RGB_MATRIX_CUSTOM_USER = yes diff --git a/keyboards/kbdfans/kbd6x/keymaps/othi/config.h b/keyboards/kbdfans/kbd6x/keymaps/othi/config.h deleted file mode 100644 index d5bc8ab7ec..0000000000 --- a/keyboards/kbdfans/kbd6x/keymaps/othi/config.h +++ /dev/null @@ -1,10 +0,0 @@ -#pragma once -#define ONESHOT_TAP_TOOGLE 2 -#define ONESHOT_TIMEOUT 2000 -// tap dance configurations -#define TAPPING_TERM 200 -#define TAPPING_TOGGLE 2 -#define PERMISSIVE_HOLD -// Fix QK_GESC conflict with Cmd+Alt+Esc on macros -#define GRAVE_ESC_GUI_OVERRIDE - diff --git a/keyboards/kbdfans/kbd6x/keymaps/othi/keymap.c b/keyboards/kbdfans/kbd6x/keymaps/othi/keymap.c deleted file mode 100644 index d748a2f736..0000000000 --- a/keyboards/kbdfans/kbd6x/keymaps/othi/keymap.c +++ /dev/null @@ -1,189 +0,0 @@ -/* Copyright 2018 Othi - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H - -// read README.md for rundown of what does what - -// #define BL 0 -#define CL 0 -#define NM_MODE 2 -#define VI_MODE 3 -#define FN3 4 -#define ACCENT 5 -#define ACCENT_CAP 6 - -//Unicode keymaps -void eeconfig_init_user(void) { - set_unicode_input_mode(UNICODE_MODE_LINUX); -} -#define DE_ADIA UC(0x00E4) -#define DE_SS UC(0x00DF) -#define DE_ODIA UC(0x00F6) -#define DE_UDIA UC(0x00FC) -#define DE_ADIA_CAP UC(0x00C4) -#define DE_ODIA_CAP UC(0x00D6) -#define DE_UDIA_CAP UC(0x00DC) - -layer_state_t layer_state_set_user(layer_state_t state) { - switch (get_highest_layer(state)) { - case NM_MODE: - rgblight_setrgb (0x00, 0x66, 0x00); - break; - case VI_MODE: - rgblight_setrgb (0x66, 0x66, 0x00); - break; - case ACCENT: - rgblight_setrgb (0x7A, 0x00, 0xFF); - break; - case ACCENT_CAP: - rgblight_setrgb (0x7A, 0xFF, 0xFF); - break; - default: // for any other layers, or the default layer - rgblight_setrgb (0xFF, 0x00, 0x00); - break; - } - return state; -} - -//Tap Dance Declarations -enum { - CTL_NM = 0, - ALT_NM = 1, - SFT_NM = 2, - GUI_NM = 3 -}; - -void dance_CTL_NM_finished (tap_dance_state_t *state, void *user_data) { - if (state->count == 1) { - set_oneshot_mods(MOD_LCTL); - } else { - register_code (KC_LCTL); - layer_on(NM_MODE); - } -} - -void dance_CTL_NM_reset (tap_dance_state_t *state, void *user_data) { - if (state->count == 1) { - unregister_code (KC_LCTL); - } else { - unregister_code (KC_LCTL); - layer_off(NM_MODE); - } -} - -void dance_GUI_NM_finished (tap_dance_state_t *state, void *user_data) { - if (state->count == 1) { - register_code (KC_LGUI); - } else { - register_code (KC_LGUI); - layer_on(NM_MODE); - } -} - -void dance_GUI_NM_reset (tap_dance_state_t *state, void *user_data) { - if (state->count == 1) { - unregister_code (KC_LGUI); - } else { - unregister_code (KC_LGUI); - layer_off(NM_MODE); - } -} - -void dance_ALT_NM_finished (tap_dance_state_t *state, void *user_data) { - if (state->count == 1) { - register_code (KC_LALT); - } else { - register_code (KC_LALT); - layer_on(NM_MODE); - } -} - -void dance_ALT_NM_reset (tap_dance_state_t *state, void *user_data) { - if (state->count == 1) { - unregister_code (KC_LALT); - } else { - unregister_code (KC_LALT); - layer_off(NM_MODE); - } -} - -void dance_SFT_NM_finished (tap_dance_state_t *state, void *user_data) { - if (state->count == 1) { - register_code (KC_LSFT); - set_oneshot_mods(MOD_LSFT); - } else { - register_code (KC_LSFT); - layer_on(NM_MODE); - } -} - -void dance_SFT_NM_reset (tap_dance_state_t *state, void *user_data) { - if (state->count == 1) { - unregister_code (KC_LSFT); - } else { - unregister_code (KC_LSFT); - layer_off(NM_MODE); - } -} - - -tap_dance_action_t tap_dance_actions[] = { - [CTL_NM] = ACTION_TAP_DANCE_FN_ADVANCED (NULL, dance_CTL_NM_finished, dance_CTL_NM_reset), - [GUI_NM] = ACTION_TAP_DANCE_FN_ADVANCED (NULL, dance_GUI_NM_finished, dance_GUI_NM_reset), - [ALT_NM] = ACTION_TAP_DANCE_FN_ADVANCED (NULL, dance_ALT_NM_finished, dance_ALT_NM_reset), - [SFT_NM] = ACTION_TAP_DANCE_FN_ADVANCED (NULL, dance_SFT_NM_finished, dance_SFT_NM_reset) -}; - -// backup -// old R3 capslock, LT(NM_MODE,KC_BSPC), -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [CL] = LAYOUT( - QK_GESC, 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_BSLS, KC_DEL, - MT(MOD_LGUI,KC_TAB), LT(NM_MODE,KC_Q), KC_W, LT(ACCENT,KC_F), KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_LBRC, KC_RBRC, KC_BSPC, - MT(MOD_LCTL,KC_BSPC), KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, KC_ENT, - TD(SFT_NM), KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, MT(MOD_LCTL,KC_COMM), MT(MOD_LSFT,KC_DOT), MT(MOD_LALT,KC_SLSH), LM(CL,MOD_LGUI|MOD_LSFT), TT(NM_MODE), - _______, TD(CTL_NM), TD(ALT_NM), KC_SPC, LM(CL,MOD_LGUI|MOD_LALT), OSL(ACCENT) , _______ - ), - [NM_MODE] = LAYOUT( - KC_GRV, KC_MPRV, KC_MNXT, KC_MPLY, KC_END, _______, _______, _______, _______, _______, KC_HOME, _______, _______, QK_BOOT, KC_INS, - LGUI(KC_TAB), _______, LCTL(KC_RGHT), _______, _______, _______, _______, KC_UP, KC_PGUP, _______, _______, _______, TG(CL), KC_DEL, - _______, KC_LEFT, _______, KC_RGHT, _______, KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, _______, KC_ENT, KC_QUOT, KC_LGUI, - KC_LSFT, _______, _______, _______, _______, LCTL(KC_LEFT), _______, _______, _______, _______, _______, TG(VI_MODE), TO(CL), - _______, TD(CTL_NM), TD(ALT_NM), KC_SPC, LM(CL,MOD_LGUI|MOD_LALT), OSL(ACCENT), _______ - ), - - [VI_MODE] = LAYOUT( - KC_GRV, KC_MPRV, KC_MNXT, KC_MPLY, LSFT(KC_END), KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, LSFT(KC_HOME), KC_F11, KC_F12, QK_BOOT, KC_INS, - LGUI(KC_TAB), _______, LSFT(LCTL(KC_RGHT)), _______, _______, _______, _______, LSFT(KC_UP), _______, _______, _______, _______, TG(CL), KC_BSPC, - _______, _______, _______, _______, _______, _______, LSFT(LCTL(KC_LEFT)), LSFT(KC_DOWN), LSFT(KC_RGHT), _______, KC_SCLN, KC_QUOT, KC_LGUI, - KC_LSFT, _______, _______, _______, _______, LSFT(LCTL(KC_LEFT)), _______, _______, _______, _______, KC_SLSH, OSM(MOD_LSFT), TO(CL), - _______, TD(CTL_NM), TD(ALT_NM), KC_SPC, LM(CL,MOD_LGUI|MOD_LALT), OSL(ACCENT), _______ - ), - [ACCENT] = LAYOUT( - _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, - _______, RGB_TOG, RGB_MODE_PLAIN, _______, _______, _______, _______, _______, DE_UDIA, _______, _______, _______, _______, _______, - _______, DE_ADIA, UC_Z, DE_SS, _______, _______, _______, _______, _______, _______, DE_ODIA, _______, _______, - OSL(ACCENT_CAP), _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, TO(CL), - _______, _______, _______, _______, _______, _______, _______ - ), - [ACCENT_CAP] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, DE_UDIA_CAP, _______, _______, _______, _______, _______, - _______, DE_ADIA_CAP, _______, DE_SS, _______, _______, _______, _______, _______, _______, DE_ODIA_CAP, _______, TO(CL), - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______ - ), -}; diff --git a/keyboards/kbdfans/kbd6x/keymaps/othi/readme.md b/keyboards/kbdfans/kbd6x/keymaps/othi/readme.md deleted file mode 100644 index 95be36d057..0000000000 --- a/keyboards/kbdfans/kbd6x/keymaps/othi/readme.md +++ /dev/null @@ -1,56 +0,0 @@ -## Othi's Universal HHKB keymap - -### Goals -- Colemak layout. If you don't use Colemak then you'll need to also change the arrow key bindigns in other layers - -- Vim-like navigation layer so you can use vim binding arrowkeys in non-vim environment - -- Good modifier support so you don't have to hold 14 modifier keys at the same time - -- RGB indicating layer change(only work with plain colors so far, don't put your rgb to pulsing or any non static animation) - -### Layers -- **CL:** - - The base layer, default is Colemak - -- **NM_MODE:** - - Vim-like arrowkeys in the home row, it's `LHNE` for *JENK Colemak* and `HJKL` for *QWERTY* - - Also `HOME`, `END` and next/prev word (`Ctrl + Left/Right`) in `0, 4, w, b` like in vim - -- **VI_MODE:** - - The same as `NM_MODE` but with `KC_LSFT` held down for mostly highlighting - -- **ACCENT + ACCENT_CAP:** - - Function row and Unicode characters - -### Modifiers and Tap Dance keys -**LHS:** - -- Any Tap Dance key with the format of `TD(XXX_NM)` act as normal XXX modifier upon hold, but will hold **and** put you to `NM_MODE` when double click hold(a tap before the hold)(eg you can produce `Alt + PgUp` by pressing `Alt + Alt + U`) - -- `KC_TAB` acts as both `KC_TAB` on tap and `KC_LGUI` on hold - -- R3 CapsLock acts as both `KC_BSPC` on tap and `KC_LCTL` on hold - -- Holding `KC_Q` also puts you into `NM_MODE` - -- Holding `KC_F` puts you into `VI_MODE` for fast function keys - -**RHS:** - -- 3 keys `KC_SCLN`, `KC_DOT` and `KC_SLSH` in `CL` layer can also be held down for respectively `KC_LCTL`, `KC_LSFT`, `KC_LALT` for easier 2-hand modifier holding - -- Right modifiers hold the selected modifier with `KC_LGUI` at the same time, mainly for i3wm, you can change this to whatever combination you want - -### Misc. functionalities - -**Unicode:** - -- In case the keyboard output the 4-digit codepoint instead of the actual unicode, you need to change the rewrite input mode of the keyboard into the EEPROM(you only have to do this if the EEPROM was cleared or your current machine use another unicode compose method other than IBus/Linux's `Ctrl + Shift + U`). Change the corresponding Input `void eeconfig_init_user(void)`. See [this](https://docs.qmk.fm/#/feature_unicode) for availble input modes. - -- **NOTE:** make sure to keep your qmk env up to date with upstream diff --git a/keyboards/kbdfans/kbd6x/keymaps/othi/rules.mk b/keyboards/kbdfans/kbd6x/keymaps/othi/rules.mk deleted file mode 100644 index 9a4459c289..0000000000 --- a/keyboards/kbdfans/kbd6x/keymaps/othi/rules.mk +++ /dev/null @@ -1,16 +0,0 @@ -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys(+4700) -EXTRAKEY_ENABLE = yes # Audio control and System control(+450) -CONSOLE_ENABLE = no # Console for debug(+400) -COMMAND_ENABLE = no # Commands for debug and configuration -# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend -# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -NKRO_ENABLE = yes # USB Nkey Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default -MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) -UNICODE_ENABLE = yes # Unicode -BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID -RGBLIGHT_ENABLE = yes -AUDIO_ENABLE = no # Audio output on port C6 -TAP_DANCE_ENABLE=yes diff --git a/keyboards/kbdfans/kbdpad/mk2/keymaps/iracing_replay/keymap.c b/keyboards/kbdfans/kbdpad/mk2/keymaps/iracing_replay/keymap.c deleted file mode 100644 index 5bbd8666ae..0000000000 --- a/keyboards/kbdfans/kbdpad/mk2/keymaps/iracing_replay/keymap.c +++ /dev/null @@ -1,156 +0,0 @@ -/* Copyright 2021 Aaron VerDow - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H - -// Layer declarations -enum { - DEF_LAYER, - MOD_LAYER, -}; - -// Tap Dance declarations -enum { - TD_CAR, - TD_PRINT, - TD_CAM_UP, - TD_CAM_DN -}; - -void camera_number(uint16_t tens, uint16_t ones) { -/* Switch to a specific camera number - * - * I haven't been able to find official docs for this. - * - * To determine the number click the dropdown in UI and - * count from the top. The list can change with updates. - * - * Shift must be held between both * presses or the combo - * won't be recognized. - */ - - register_code16(KC_LSFT); - tap_code(KC_8); - tap_code(KC_8); - unregister_code16(KC_LSFT); - tap_code(tens); - tap_code(ones); - tap_code(KC_ENT); -} - -void cam_up(tap_dance_state_t *state, void *user_data) { - switch (state->count) { - case 1: - tap_code(KC_C); // tap once for next cam - break; - case 2: - camera_number(KC_2,KC_0); // tap twice for reverse chase cam - break; - } -} - -void cam_down(tap_dance_state_t *state, void *user_data) { - switch (state->count) { - case 1: - tap_code16(LSFT(KC_C)); // tap once for prev cam - break; - case 2: - camera_number(KC_1,KC_8); // tap twice for chase cam - break; - } -} - -// Tap Dance definitions -tap_dance_action_t tap_dance_actions[] = { - [TD_CAR] = ACTION_TAP_DANCE_DOUBLE( - LSFT(KC_V), // tap once for prev car - LCTL(KC_V) // tap twice for my car - ), - [TD_PRINT] = ACTION_TAP_DANCE_DOUBLE( - LCTL(LALT(LSFT(KC_S))), // tap once for iRacing screenshot (must be enabled in options) - LGUI(KC_PSCR) // tap twice for Windows print screen and save to file - ), - [TD_CAM_UP] = ACTION_TAP_DANCE_FN(cam_up), - [TD_CAM_DN] = ACTION_TAP_DANCE_FN(cam_down) -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [DEF_LAYER] = LAYOUT_ortho_6x4( /* Base */ - - TD(TD_CAM_UP), // next cam, double tap for reverse chase cam - KC_V, // next car - LSFT(KC_P3), // next lap - LCTL(KC_P3), // next inc - - TD(TD_CAM_DN), // prev cam, double tap for chase cam - TD(TD_CAR), // prev car, double tap for my car - LSFT(KC_P1), // prev lap - LCTL(KC_P1), // prev inc - - LSFT(KC_P4), // rewind - KC_P5, // play/pause - LSFT(KC_P6), // fast forward - KC_P8, // slow mo - - KC_P4, // prev frame - KC_W, // up - KC_P6, // next frame - TD(TD_PRINT), // print screen - - KC_A, // left - KC_S, // down - KC_D, // right - LALT(KC_K), // toggle click and drag ui elements (in car) - - KC_LCTL, // ctrl - KC_LALT, // alt - LCTL(KC_F12), // camera tool - LT(MOD_LAYER, KC_SPACE) // press once for UI, hold for MOD layer - ), - - [MOD_LAYER] = LAYOUT_ortho_6x4( /* Base */ - - KC_B, // next sub cam - KC_PGUP, // next driver cam - LCTL(KC_P6), // next session - KC_P7, // start - - LSFT(KC_B), // prev sub cam - KC_PGDN, // prev driver cam - LCTL(KC_P4), // prev session - KC_P1, // end - - KC_RBRC, // FOV up - KC_EQL, // step factor up - _______, - _______, - - KC_LBRC, // FOV down - KC_MINS, // step factor down - _______, - _______, - - _______, - _______, - _______, - _______, - - _______, - LALT(KC_M), // cycle aim - RALT(KC_ENTER), // fullscreen (unreliable) - _______ - ), -}; diff --git a/keyboards/kbdfans/kbdpad/mk2/keymaps/iracing_replay/readme.md b/keyboards/kbdfans/kbdpad/mk2/keymaps/iracing_replay/readme.md deleted file mode 100644 index a574499c6b..0000000000 --- a/keyboards/kbdfans/kbdpad/mk2/keymaps/iracing_replay/readme.md +++ /dev/null @@ -1,17 +0,0 @@ -# iRacing Replay Tool - -![](https://imgur.com/0948eBGh.jpg) - -Replay/camera tool for iRacing. This uses the default keybindings for the game so nothing should need to be mapped. This makes replays much easier to view in VR and makes waiting through heats a lot more enjoyable. - -To make full use of the arrow keys open the camera tool (you can close the UI after) and optionally switch the AIM to static. - -The code to generate stl files for the keycap set are ![available here.](https://github.com/AaronVerDow/KeyV2/blob/numpad/src/layouts/numpad/iracing.scad) - -Other notes: -* Hold MOD (UI key) to access features on the front of -* Double tap car down is a shortcut for your car -* Double tap cam down is a shortcut for chase cam -* Double tap cam up is a shortcut for reverse chase cam -* The record button takes a screenshot using iRacing. Double tap record button to auto save a screenshot using Windows. -* The key above UI is unassigned diff --git a/keyboards/kbdfans/kbdpad/mk2/keymaps/iracing_replay/rules.mk b/keyboards/kbdfans/kbdpad/mk2/keymaps/iracing_replay/rules.mk deleted file mode 100644 index e5ddcae8d9..0000000000 --- a/keyboards/kbdfans/kbdpad/mk2/keymaps/iracing_replay/rules.mk +++ /dev/null @@ -1 +0,0 @@ -TAP_DANCE_ENABLE = yes diff --git a/keyboards/kbdfans/niu_mini/keymaps/planck/config.h b/keyboards/kbdfans/niu_mini/keymaps/planck/config.h deleted file mode 100644 index 0c42bb5060..0000000000 --- a/keyboards/kbdfans/niu_mini/keymaps/planck/config.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef CONFIG_USER_H -#define CONFIG_USER_H - -#include "../../config.h" - -#define MUSIC_MASK (keycode != KC_NO) - -/* - * MIDI options - */ - -/* enable basic MIDI features: - - MIDI notes can be sent when in Music mode is on -*/ - -#define MIDI_BASIC - -/* enable advanced MIDI features: - - MIDI notes can be added to the keymap - - Octave shift and transpose - - Virtual sustain, portamento, and modulation wheel - - etc. -*/ -//#define MIDI_ADVANCED - -/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ -//#define MIDI_TONE_KEYCODE_OCTAVES 2 - -#endif diff --git a/keyboards/kbdfans/niu_mini/keymaps/planck/keymap.c b/keyboards/kbdfans/niu_mini/keymaps/planck/keymap.c deleted file mode 100644 index fb82d320a4..0000000000 --- a/keyboards/kbdfans/niu_mini/keymaps/planck/keymap.c +++ /dev/null @@ -1,261 +0,0 @@ -/* Copyright 2015-2017 Jack Humbert - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H - -extern keymap_config_t keymap_config; - -enum layers { - _QWERTY, - _COLEMAK, - _DVORAK, - _LOWER, - _RAISE, - _PLOVER, - _ADJUST -}; - -enum keycodes { - QWERTY = SAFE_RANGE, - COLEMAK, - DVORAK, - PLOVER, - LOWER, - RAISE, - BACKLIT, - EXT_PLV -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -/* Qwerty - * ,-----------------------------------------------------------------------------------. - * | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Esc | A | S | D | F | G | H | J | K | L | ; | " | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | Shift| Z | X | C | V | B | N | M | , | . | / |Enter | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Brite| Ctrl | Alt | GUI |Lower | Space |Raise | Left | Down | Up |Right | - * `-----------------------------------------------------------------------------------' - */ -[_QWERTY] = LAYOUT_planck_mit( - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , - BACKLIT, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - -/* Colemak - * ,-----------------------------------------------------------------------------------. - * | Tab | Q | W | F | P | G | J | L | U | Y | ; | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Esc | A | R | S | T | D | H | N | E | I | O | " | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | Shift| Z | X | C | V | B | K | M | , | . | / |Enter | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Brite| Ctrl | Alt | GUI |Lower | Space |Raise | Left | Down | Up |Right | - * `-----------------------------------------------------------------------------------' - */ -[_COLEMAK] = LAYOUT_planck_mit( - KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, - KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , - BACKLIT, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - -/* Dvorak - * ,-----------------------------------------------------------------------------------. - * | Tab | " | , | . | P | Y | F | G | C | R | L | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Esc | A | O | E | U | I | D | H | T | N | S | / | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | Shift| ; | Q | J | K | X | B | M | W | V | Z |Enter | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Brite| Ctrl | Alt | GUI |Lower | Space |Raise | Left | Down | Up |Right | - * `-----------------------------------------------------------------------------------' - */ -[_DVORAK] = LAYOUT_planck_mit( - KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC, - KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, - KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT , - BACKLIT, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - -/* Lower - * ,-----------------------------------------------------------------------------------. - * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO ~ |ISO | | Home | End | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | Next | Vol- | Vol+ | Play | - * `-----------------------------------------------------------------------------------' - */ -[_LOWER] = LAYOUT_planck_mit( - KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, - KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, - _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, S(KC_NUHS), S(KC_NUBS), KC_HOME, KC_END, _______, - _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY -), - -/* Raise - * ,-----------------------------------------------------------------------------------. - * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Del | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO # |ISO / |Pg Up |Pg Dn | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | Next | Vol- | Vol+ | Play | - * `-----------------------------------------------------------------------------------' - */ -[_RAISE] = LAYOUT_planck_mit( - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, - KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, - _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_PGUP, KC_PGDN, _______, - _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY -), - -/* Plover layer (http://opensteno.org) - * ,-----------------------------------------------------------------------------------. - * | # | # | # | # | # | # | # | # | # | # | # | # | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | S | T | P | H | * | * | F | P | L | T | D | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | S | K | W | R | * | * | R | B | G | S | Z | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Exit | | | A | O | | E | U | | | | - * `-----------------------------------------------------------------------------------' - */ - -[_PLOVER] = LAYOUT_planck_mit( - KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, - XXXXXXX, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, - XXXXXXX, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - EXT_PLV, XXXXXXX, XXXXXXX, KC_C, KC_V, XXXXXXX, KC_N, KC_M, XXXXXXX, XXXXXXX, XXXXXXX -), - -/* Adjust (Lower + Raise) - * ,-----------------------------------------------------------------------------------. - * | | Reset| | | | | | | | | | Del | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | | |Aud on|Audoff|AGnorm|AGswap|Qwerty|Colemk|Dvorak|Plover| | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | |Voice-|Voice+|Mus on|Musoff|MIDIon|MIDIof| | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | | | | - * `-----------------------------------------------------------------------------------' - */ -[_ADJUST] = LAYOUT_planck_mit( - _______, QK_BOOT, DB_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL , - _______, _______, MU_NEXT, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, PLOVER, _______, - _______, AU_PREV, AU_NEXT, MU_ON, MU_OFF, MI_ON, MI_OFF, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -) - - -}; - -#ifdef AUDIO_ENABLE - float plover_song[][2] = SONG(PLOVER_SOUND); - float plover_gb_song[][2] = SONG(PLOVER_GOODBYE_SOUND); -#endif - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case QWERTY: - if (record->event.pressed) { - print("mode just switched to qwerty and this is a huge string\n"); - set_single_persistent_default_layer(_QWERTY); - } - return false; - break; - case COLEMAK: - if (record->event.pressed) { - set_single_persistent_default_layer(_COLEMAK); - } - return false; - break; - case DVORAK: - if (record->event.pressed) { - set_single_persistent_default_layer(_DVORAK); - } - return false; - break; - case LOWER: - if (record->event.pressed) { - layer_on(_LOWER); - update_tri_layer(_LOWER, _RAISE, _ADJUST); - } else { - layer_off(_LOWER); - update_tri_layer(_LOWER, _RAISE, _ADJUST); - } - return false; - break; - case RAISE: - if (record->event.pressed) { - layer_on(_RAISE); - update_tri_layer(_LOWER, _RAISE, _ADJUST); - } else { - layer_off(_RAISE); - update_tri_layer(_LOWER, _RAISE, _ADJUST); - } - return false; - break; - case BACKLIT: - if (record->event.pressed) { - register_code(KC_RSFT); - #ifdef BACKLIGHT_ENABLE - backlight_step(); - #endif - } else { - unregister_code(KC_RSFT); - } - return false; - break; - case PLOVER: - if (record->event.pressed) { - #ifdef AUDIO_ENABLE - stop_all_notes(); - PLAY_SONG(plover_song); - #endif - layer_off(_RAISE); - layer_off(_LOWER); - layer_off(_ADJUST); - layer_on(_PLOVER); - if (!eeconfig_is_enabled()) { - eeconfig_init(); - } - keymap_config.raw = eeconfig_read_keymap(); - keymap_config.nkro = 1; - eeconfig_update_keymap(keymap_config.raw); - } - return false; - break; - case EXT_PLV: - if (record->event.pressed) { - #ifdef AUDIO_ENABLE - PLAY_SONG(plover_gb_song); - #endif - layer_off(_PLOVER); - } - return false; - break; - } - return true; -} diff --git a/keyboards/kbdfans/niu_mini/keymaps/planck/readme.md b/keyboards/kbdfans/niu_mini/keymaps/planck/readme.md deleted file mode 100644 index de9680b498..0000000000 --- a/keyboards/kbdfans/niu_mini/keymaps/planck/readme.md +++ /dev/null @@ -1,2 +0,0 @@ -# The Default Planck Layout - diff --git a/keyboards/kbdfans/tiger80/keymaps/micros24/config.h b/keyboards/kbdfans/tiger80/keymaps/micros24/config.h deleted file mode 100644 index adafb144e5..0000000000 --- a/keyboards/kbdfans/tiger80/keymaps/micros24/config.h +++ /dev/null @@ -1,37 +0,0 @@ -/* Copyright 2022 micros24 - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#pragma once - -/* Disable locking support */ -#ifdef LOCKING_SUPPORT_ENABLE - #undef LOCKING_SUPPORT_ENABLE -#endif - -/* Disable locking support */ -#ifdef LOCKING_RESYNC_ENABLE - #undef LOCKING_RESYNC_ENABLE -#endif - -/* Increasing performance */ -#define MATRIX_IO_DELAY 20 -#define FORCE_NKRO - -/* Disable unused features to save space */ -#define NO_ACTION_LAYER -#define NO_ACTION_ONESHOT - -/* Tap-Hold configuration */ -#define TAPPING_TERM 200 \ No newline at end of file diff --git a/keyboards/kbdfans/tiger80/keymaps/micros24/keymap.c b/keyboards/kbdfans/tiger80/keymaps/micros24/keymap.c deleted file mode 100644 index 6b9b70a8a4..0000000000 --- a/keyboards/kbdfans/tiger80/keymaps/micros24/keymap.c +++ /dev/null @@ -1,80 +0,0 @@ -/* Copyright 2022 micros24 - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H - -enum layers { - _LAYER0 -}; - -enum custom_keycodes { - M_CHARSELECT = SAFE_RANGE, - TAPHOLD_RALT, - TAPHOLD_RCTRL -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [_LAYER0] = LAYOUT_tkl_f13_ansi_tsangan( - KC_ESC, 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_MPLY, KC_PSCR, KC_VOLD, KC_VOLU, - 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_BSPC, KC_INS, KC_HOME, KC_PGUP, - 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, KC_DEL, KC_END, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, TAPHOLD_RALT, M_CHARSELECT, TAPHOLD_RCTRL, KC_LEFT, KC_DOWN, KC_RGHT - ) - -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - static uint16_t my_hash_timer; - switch (keycode) { - /* RWIN key */ - case M_CHARSELECT: - tap_code(KC_F9); - wait_ms(100); - tap_code(KC_ENT); - break; - /* RALT key */ - case TAPHOLD_RALT: - if(record->event.pressed) { - my_hash_timer = timer_read(); - register_code(KC_RALT); // Change the key to be held here - } - else { - unregister_code(KC_RALT); // Change this key to be the same as above - if (timer_elapsed(my_hash_timer) < TAPPING_TERM) { - tap_code(KC_MPRV); // The key to be pressed on tap - } - } - return false; // We handled this keypress - break; - /* RCTRL key */ - case TAPHOLD_RCTRL: - if(record->event.pressed) { - my_hash_timer = timer_read(); - register_code(KC_RCTL); // Change the key to be held here - } - else { - unregister_code(KC_RCTL); // Change this key to be the same as above - if (timer_elapsed(my_hash_timer) < TAPPING_TERM) { - tap_code(KC_MNXT); // The key to be pressed on tap - } - } - break; - return false; // We handled this keypress - } - return true; -}; \ No newline at end of file diff --git a/keyboards/kbdfans/tiger80/keymaps/micros24/readme.md b/keyboards/kbdfans/tiger80/keymaps/micros24/readme.md deleted file mode 100644 index 30e28e5f07..0000000000 --- a/keyboards/kbdfans/tiger80/keymaps/micros24/readme.md +++ /dev/null @@ -1,15 +0,0 @@ -## KEYMAP BY MICROS24 -Keymap by Micros24 for optimized gaming performance and media controls. RGB underglow is disabled as I don't use it. -* SCROLL LOCK and PAUSE BREAK keys have been replaced with VOL- and VOL+ respectively. -* F13 have been replaced with PLAY/PAUSE MEDIA. -* RWIN is configured as F9 + ENTER macro. - -RALT and RCTRL have tap and hold configured as follows: - -RALT: -* TAP is configured as PREVIOUS MEDIA -* HOLD is configured as normal RALT - -RCTRL: -* TAP is configured as NEXT MEDIA -* HOLD is configured as normal RCTRL \ No newline at end of file diff --git a/keyboards/kbdfans/tiger80/keymaps/micros24/rules.mk b/keyboards/kbdfans/tiger80/keymaps/micros24/rules.mk deleted file mode 100644 index 670e7c8907..0000000000 --- a/keyboards/kbdfans/tiger80/keymaps/micros24/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -RGBLIGHT_ENABLE = no -MOUSEKEY_ENABLE = no -DEBOUNCE_TYPE = sym_eager_pk -VIA_ENABLE = yes -LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/kc60/keymaps/wigguno/keymap.c b/keyboards/kc60/keymaps/wigguno/keymap.c deleted file mode 100644 index ba4571c4e4..0000000000 --- a/keyboards/kc60/keymaps/wigguno/keymap.c +++ /dev/null @@ -1,52 +0,0 @@ -// This keymap was designed to close to the default kc60 layout, with some useful changes, such as adding media keys. -// It also moves the reset key off the base layer, as in the default kc60 layout for this firmware. -// I have swapped FN and RGUI as my rainbow keyset has them in the opposite order. - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - /* Basic QWERTY - * ,-----------------------------------------------------------. - * |Esc | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp | - * |-----------------------------------------------------------| - * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ | - * |-----------------------------------------------------------| - * |CAPS | A| S| D| F| G| H| J| K| L| ;| '|Return | - * |-----------------------------------------------------------| - * |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift | - * |-----------------------------------------------------------| - * |Ctrl|Gui |Alt | Space |Alt |FN |Gui |Ctrl | - * `-----------------------------------------------------------' - */ - [0] = LAYOUT_all( - KC_ESC, 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_BSPC, KC_NO, - 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, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NO, KC_ENT, - KC_LSFT, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_NO, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RGUI, KC_RCTL - ), - - /* - * ,-----------------------------------------------------------. - * | ` |F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12| Del | - * |-----------------------------------------------------------| - * | | | Up| | | | | | | | PS| | | | - * |-----------------------------------------------------------| - * | |Lft|Dwn|Rgt| |BL-|BL+| | | | | | | - * |-----------------------------------------------------------| - * | |Prv| PP|Nxt| | | | |Hom|End| | | - * |-----------------------------------------------------------| - * | Rst| | | BL | | | | | - * `-----------------------------------------------------------' - * PS = Print Screen - * PP = Play/Pause - */ - [1] = LAYOUT_all( /* Function Layer */ - KC_GRV, 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, KC_NO, - KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, BL_DOWN, BL_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_MPRV, KC_MPLY, KC_MNXT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_END, KC_TRNS, KC_TRNS, KC_TRNS, - QK_BOOT, KC_TRNS, KC_TRNS, BL_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), -}; diff --git a/keyboards/kc60/keymaps/wigguno/readme.md b/keyboards/kc60/keymaps/wigguno/readme.md deleted file mode 100644 index 55a9f60c7c..0000000000 --- a/keyboards/kc60/keymaps/wigguno/readme.md +++ /dev/null @@ -1,14 +0,0 @@ -Wigguno's KC60 Layout -====================== - -## Quantum MK Firmware -For the full Quantum feature list, see [the parent readme.md](/readme.md). - -## Changes from default QMK layout -The default QMK layout for KC60 does not have a function layer. It also has the bootloader-mode reset key bound. This keymap fixes both of these by adding a sensible function layer (including moving the reset key onto it, far away from the FN key). - -### Changes from the default KC60 layout -The default KC60 layout is good, but it was missing media keys. I've added previous, play/pause and next. I've also removed some of the keys from the function layer I didn't use. - -### Build -To enable NKRO you must be in the keymaps/wigguno directory when running make. diff --git a/keyboards/kc60/keymaps/wigguno/rules.mk b/keyboards/kc60/keymaps/wigguno/rules.mk deleted file mode 100644 index f9b4b86766..0000000000 --- a/keyboards/kc60/keymaps/wigguno/rules.mk +++ /dev/null @@ -1,19 +0,0 @@ - - -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys(+4700) -EXTRAKEY_ENABLE = yes # Audio control and System control(+450) -CONSOLE_ENABLE = no # Console for debug(+400) -COMMAND_ENABLE = no # Commands for debug and configuration -# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend -# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -NKRO_ENABLE = yes # USB Nkey Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -MIDI_ENABLE = no # MIDI controls -UNICODE_ENABLE = no # Unicode -BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID -AUDIO_ENABLE = no # Audio output on port C6 diff --git a/keyboards/keebio/bdn9/keymaps/mousepad/config.h b/keyboards/keebio/bdn9/keymaps/mousepad/config.h deleted file mode 100644 index a2eb1a95f0..0000000000 --- a/keyboards/keebio/bdn9/keymaps/mousepad/config.h +++ /dev/null @@ -1,3 +0,0 @@ -#define MK_3_SPEED -#define TERMINAL_HELP - diff --git a/keyboards/keebio/bdn9/keymaps/mousepad/keymap.c b/keyboards/keebio/bdn9/keymaps/mousepad/keymap.c deleted file mode 100644 index 268dd8002a..0000000000 --- a/keyboards/keebio/bdn9/keymaps/mousepad/keymap.c +++ /dev/null @@ -1,82 +0,0 @@ -/* Copyright 2019 Danny Nguyen - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H - - -bool is_alt_tab_active = false; // ADD this near the begining of keymap.c -uint16_t alt_tab_timer = 0; // we will be using them soon. - -enum custom_keycodes { // Make sure have the awesome keycode ready - ALT_TAB = SAFE_RANGE, -}; - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( - KC_MS_BTN1, KC_MS_BTN2, KC_MS_BTN3, - KC_WH_U, ALT_TAB, KC_WH_L, - KC_WH_D, TT(1), KC_WH_R - ), - [1] = LAYOUT( - QK_BOOT, KC_ACL0, KC_ACL1, - KC_VOLU, KC_ACL2, KC_BRIU, - KC_VOLD, TO(1), KC_BRID - ), -}; - -bool encoder_update_user(uint8_t index, bool clockwise) { - if (index == 0) { - if (clockwise) { - tap_code(KC_MS_LEFT); - } else { - tap_code(KC_MS_RIGHT); - } - } - else if (index == 1) { - if (clockwise) { - tap_code(KC_MS_U); - } else { - tap_code(KC_MS_D); - } - } - return true; -} -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { // This will do most of the grunt work with the keycodes. - case ALT_TAB: - if (record->event.pressed) { - if (!is_alt_tab_active) { - is_alt_tab_active = true; - register_code(KC_LALT); - } - alt_tab_timer = timer_read(); - register_code(KC_TAB); - } else { - unregister_code(KC_TAB); - } - break; - } - return true; -} - -void matrix_scan_user(void) { // The very important timer. - if (is_alt_tab_active) { - if (timer_elapsed(alt_tab_timer) > 1000) { - unregister_code(KC_LALT); - is_alt_tab_active = false; - } - } -} diff --git a/keyboards/keebio/bdn9/keymaps/mousepad/readme.md b/keyboards/keebio/bdn9/keymaps/mousepad/readme.md deleted file mode 100644 index fc843929db..0000000000 --- a/keyboards/keebio/bdn9/keymaps/mousepad/readme.md +++ /dev/null @@ -1,16 +0,0 @@ -# Mousepad layout for BDN9 -##### 2 encoders required -Why use a movable mouse when you can "Etech-a-sketch" style mousepad. -The left encoder will move the X axis; leaving the right to handle the Y axis - -| | | | -|:-:|:-:|:-:| -| Left Click | Middle Click | Right Click | -| Scroll Up | Super ALT↯TAB | Scroll Left | -| Scroll Down | ADJUSTMENT Layer | Scroll Right| - -| | | | -|:-:|:-:|:-:| -| RESET | Mouse ACL0 | Mouse ACL1 | -| VOL UP | Mouse ACL2 | Brightness UP | -| VOL Down | Adjustment Layer OFF | Brightness Down | diff --git a/keyboards/keebio/bdn9/keymaps/mousepad/rules.mk b/keyboards/keebio/bdn9/keymaps/mousepad/rules.mk deleted file mode 100644 index ff752ab42c..0000000000 --- a/keyboards/keebio/bdn9/keymaps/mousepad/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -MOUSEKEY_ENABLE = yes -TAPDANCE_ENABLE = yes diff --git a/keyboards/keebio/dsp40/keymaps/bakingpy/config.h b/keyboards/keebio/dsp40/keymaps/bakingpy/config.h deleted file mode 100644 index 21bdbf97e3..0000000000 --- a/keyboards/keebio/dsp40/keymaps/bakingpy/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright 2021 Danny Nguyen - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - -#define TAPPING_TERM 150 diff --git a/keyboards/keebio/dsp40/keymaps/bakingpy/keymap.c b/keyboards/keebio/dsp40/keymaps/bakingpy/keymap.c deleted file mode 100644 index 29414c0976..0000000000 --- a/keyboards/keebio/dsp40/keymaps/bakingpy/keymap.c +++ /dev/null @@ -1,214 +0,0 @@ -/* Copyright 2021 Danny Nguyen - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -enum layer_names { - _MAC, - _WINDOWS, - _TESTMODE, - _LOWER, - _RAISE, - _FKEYS, - _ADJUST, -}; - -enum custom_keycodes { - MAC = SAFE_RANGE, - WINDOWS, - TESTMODE, - LOWER, - RAISE, - ADJUST, -}; - -#define KC_ KC_TRNS - -#define KC_CAPW LGUI(LSFT(KC_3)) // Capture whole screen -#define KC_CPYW LGUI(LSFT(LCTL(KC_3))) // Copy whole screen -#define KC_CAPP LGUI(LSFT(KC_4)) // Capture portion of screen -#define KC_CPYP LGUI(LSFT(LCTL(KC_4))) // Copy portion of screen -#define KC_ESCC MT(MOD_LCTL, KC_ESC) -#define KC_LOWR LOWER -#define KC_RASE RAISE -#define KC_GRVF LT(_FKEYS, KC_GRV) -#define KC_ENTS MT(MOD_LSFT, KC_ENT) -#define KC_BL_S BL_STEP -#define KC_BL_T BL_TOGG -#define KC_RMOD RGB_MOD - -#ifndef LAYOUT_kc_ortho_4x12 -#define LAYOUT_kc_ortho_4x12( \ - L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ - L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ - L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ - L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35 \ - ) \ - LAYOUT_ortho_4x12( \ - KC_##L00, KC_##L01, KC_##L02, KC_##L03, KC_##L04, KC_##L05, KC_##R00, KC_##R01, KC_##R02, KC_##R03, KC_##R04, KC_##R05, \ - KC_##L10, KC_##L11, KC_##L12, KC_##L13, KC_##L14, KC_##L15, KC_##R10, KC_##R11, KC_##R12, KC_##R13, KC_##R14, KC_##R15, \ - KC_##L20, KC_##L21, KC_##L22, KC_##L23, KC_##L24, KC_##L25, KC_##R20, KC_##R21, KC_##R22, KC_##R23, KC_##R24, KC_##R25, \ - KC_##L30, KC_##L31, KC_##L32, KC_##L33, KC_##L34, KC_##L35, KC_##R30, KC_##R31, KC_##R32, KC_##R33, KC_##R34, KC_##R35 \ - ) - -#endif - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [_MAC] = LAYOUT_kc_ortho_4x12( - //┌────┬────┬────┬────┬────┬────┐ ┌────┬────┬────┬────┬────┬────┐ - TAB , Q , W , E , R , T , Y , U , I , O , P ,MINS, - //├────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼────┤ - ESCC, A , S , D , F , G , H , J , K , L ,SCLN,QUOT, - //├────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼────┤ - LSFT, Z , X , C , V , B , N , M ,COMM,DOT ,SLSH,ENTS, - //├────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼────┤ - GRVF,LCTL,LALT,LGUI,LOWR,SPC , BSPC,RASE,LEFT,DOWN, UP ,RGHT - //└────┴────┴────┴────┴────┴────┘ └────┴────┴────┴────┴────┴────┘ - ), - - [_WINDOWS] = LAYOUT_kc_ortho_4x12( - //┌────┬────┬────┬────┬────┬────┐ ┌────┬────┬────┬────┬────┬────┐ - TAB , Q , W , E , R , T , Y , U , I , O , P ,MINS, - //├────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼────┤ - ESCC, A , S , D , F , G , H , J , K , L ,SCLN,QUOT, - //├────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼────┤ - LSFT, Z , X , C , V , B , N , M ,COMM,DOT ,SLSH,ENTS, - //├────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼────┤ - GRVF,LALT,LGUI,LCTL,LOWR,SPC , BSPC,RASE,LEFT,DOWN, UP ,RGHT - //└────┴────┴────┴────┴────┴────┘ └────┴────┴────┴────┴────┴────┘ - ), - - [_TESTMODE] = LAYOUT_kc_ortho_4x12( - //┌────┬────┬────┬────┬────┬────┐ ┌────┬────┬────┬────┬────┬────┐ - TAB , Q , W , E , R , T , Y , U , I , O , P ,MINS, - //├────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼────┤ - RMOD,BL_S, S , D , F , G , RMOD,BL_S, K , L ,SCLN,QUOT, - //├────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼────┤ - LSFT, Z , X , C , V , B , N , M ,COMM,DOT ,SLSH,ENTS, - //├────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼────┤ - GRVF,LALT,LGUI,LCTL,LOWR,SPC , BSPC,RASE,LEFT,DOWN, UP ,RGHT - //└────┴────┴────┴────┴────┴────┘ └────┴────┴────┴────┴────┴────┘ - ), - - [_LOWER] = LAYOUT_kc_ortho_4x12( - //┌────┬────┬────┬────┬────┬────┐ ┌────┬────┬────┬────┬────┬────┐ - , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 0 , , - //├────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼────┤ - DEL ,CAPP,LEFT,RGHT, UP ,LBRC, RBRC, P4 , P5 , P6 ,PLUS,PIPE, - //├────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼────┤ - ,CPYP, , ,DOWN,LCBR, RCBR, P1 , P2 , P3 ,MINS, , - //├────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼────┤ - BL_S,BL_T, , , ,DEL , DEL , , P0 ,PDOT, , - //└────┴────┴────┴────┴────┴────┘ └────┴────┴────┴────┴────┴────┘ - ), - - [_RAISE] = LAYOUT_kc_ortho_4x12( - //┌────┬────┬────┬────┬────┬────┐ ┌────┬────┬────┬────┬────┬────┐ - ,EXLM, AT ,HASH,DLR ,PERC, CIRC,AMPR,ASTR,LPRN,RPRN, , - //├────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼────┤ - DEL ,MPRV,MNXT,VOLU,PGUP,UNDS, EQL ,HOME, , , ,BSLS, - //├────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼────┤ - MUTE,MSTP,MPLY,VOLD,PGDN,MINS, PLUS,END , , , , , - //├────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼────┤ - , , , , , , , , , , , - //└────┴────┴────┴────┴────┴────┘ └────┴────┴────┴────┴────┴────┘ - ), - - [_FKEYS] = LAYOUT_kc_ortho_4x12( - //┌────┬────┬────┬────┬────┬────┐ ┌────┬────┬────┬────┬────┬────┐ - F12 , F1 , F2 , F3 , F4 , F5 , F6 , F7 , F8 , F9 ,F10 ,F11 , - //├────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼────┤ - , , , , , , , , , , , , - //├────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼────┤ - , , , , , , , , , , , , - //├────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼────┤ - , , , , , , , , , , , - //└────┴────┴────┴────┴────┴────┘ └────┴────┴────┴────┴────┴────┘ - ), - -/* Adjust (Lower + Raise) - * ,-----------------------------------------------------------------------------------. - * | | Reset|RGB Tg|RGB Md|Hue Up|Hue Dn|Sat Up|Sat Dn|Val Up|Val Dn| | | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | | |Aud on|Audoff|AGnorm|AGswap|Qwerty|Colemk|Dvorak| | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | | | | | | | | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | | | | - * `-----------------------------------------------------------------------------------' - */ - [_ADJUST] = LAYOUT_ortho_4x12( - _______, QK_BOOT, RGB_TOG, RGB_MOD, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_VAD, RGB_VAI, _______, _______, - _______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, MAC, WINDOWS, TESTMODE,_______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ) - - -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case MAC: - if (record->event.pressed) { - set_single_persistent_default_layer(_MAC); - } - return false; - break; - case WINDOWS: - if (record->event.pressed) { - set_single_persistent_default_layer(_WINDOWS); - } - return false; - break; - case TESTMODE: - if (record->event.pressed) { - set_single_persistent_default_layer(_TESTMODE); - } - return false; - break; - case LOWER: - if (record->event.pressed) { - layer_on(_LOWER); - update_tri_layer(_LOWER, _RAISE, _ADJUST); - } else { - layer_off(_LOWER); - update_tri_layer(_LOWER, _RAISE, _ADJUST); - } - return false; - break; - case RAISE: - if (record->event.pressed) { - layer_on(_RAISE); - update_tri_layer(_LOWER, _RAISE, _ADJUST); - } else { - layer_off(_RAISE); - update_tri_layer(_LOWER, _RAISE, _ADJUST); - } - return false; - break; - case ADJUST: - if (record->event.pressed) { - layer_on(_ADJUST); - } else { - layer_off(_ADJUST); - } - return false; - break; - } - return true; -} diff --git a/keyboards/keebio/foldkb/keymaps/forrcaho/keymap.c b/keyboards/keebio/foldkb/keymaps/forrcaho/keymap.c deleted file mode 100644 index 024a9aad2e..0000000000 --- a/keyboards/keebio/foldkb/keymaps/forrcaho/keymap.c +++ /dev/null @@ -1,306 +0,0 @@ -/* Copyright 2022 Forrest Cahoon - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - - -// Milliseconds the backlight is off (or on) when blinking to show -// caps lock is on. In other words, half the time of a full blink cycle. -#define CAPS_LOCK_BLINK_MS 350 - -#include QMK_KEYBOARD_H - -enum layer { - _QWERTY, - _PG, // for "programming" - _MS, // for "mouse" -}; - -enum custom_keycodes { - PG_ARRO = SAFE_RANGE, - PG_BANG, - PG_ENDC, - PG_EQEQ, - PG_EQL, - PG_LBRK, - PG_LPAR, - PG_MINS, - PG_NEEQ, - PG_RBRK, - PG_RPAR, - PG_SLAS, - PG_VBAR, - MS_BTN, -}; - -// clang-format off -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_QWERTY] = LAYOUT( -// ┌────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┐ - MS_BTN, KC_ESC, 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_BSPC, -// ├────────┼───┬────┴────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┤ - MO(_PG), 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, -// ├────────┼───┼─────────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┼────────┴────────┤ - MO(_MS), KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, -// ├────────┼───┴─────────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┴────┬────────┬───┘ - TG(_PG), KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, TG(_MS), -// ├────────┼───┬──────────┬──┴──────┬─┴────────┼────────┼────────┼────────┤ ├────────┴─┬──────┴──────┬─┴────────┼────────┴─┬─────────┬─┴────────┤ - TG(_MS), KC_LGUI, KC_LCTL, KC_LALT, MO(_PG), KC_SPC, KC_SPC, KC_SPC, KC_SPC, MO(_PG), KC_RALT, KC_RCTL, KC_RGUI -// └────────┴───┴──────────┴─────────┴──────────┴────────┴────────┴────────┘ └──────────┴─────────────┴──────────┴──────────┴─────────┴──────────┘ - ), - [_PG] = LAYOUT( -// ┌────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┐ - KC_MUTE, QK_BOOT, _______, 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, -// ├────────┼───┬────┴────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┤ - _______, _______, _______, PG_SLAS, PG_LPAR, PG_RPAR, PG_NEEQ, _______, KC_HOME, KC_UP, KC_PGUP, KC_INS, _______, _______, _______, -// ├────────┼───┼─────────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┼────────┴────────┤ - _______, _______, PG_ENDC, PG_VBAR, PG_LBRK, PG_RBRK, PG_EQEQ, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_BSPC, -// ├────────┼───┴─────────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┴────┬────────┬───┘ - _______, _______, _______, PG_MINS, PG_EQL, PG_BANG, PG_ARRO, _______, KC_END, KC_DOWN, KC_PGDN, KC_DEL, _______, _______, -// ├────────┼───┬──────────┬──┴──────┬─┴────────┼────────┼────────┼────────┤ ├────────┴─┬──────┴──────┬─┴────────┼────────┴─┬─────────┬─┴────────┤ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -// └────────┴───┴──────────┴─────────┴──────────┴────────┴────────┴────────┘ └──────────┴─────────────┴──────────┴──────────┴─────────┴──────────┘ - ), - [_MS] = LAYOUT( -// ┌────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┐ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -// ├────────┼───┬────┴────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┤ - _______, _______, _______, _______, _______, _______, _______, _______, KC_BTN1, KC_MS_U, KC_BTN2, _______, _______, _______, _______, -// ├────────┼───┼─────────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┼────────┴────────┤ - _______, _______, _______, _______, _______, _______, _______, _______, KC_MS_L, KC_MS_D, KC_MS_R, KC_BTN3, _______, _______, -// ├────────┼───┴─────────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┴────┬────────┬───┘ - _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MS_D, _______, _______, _______, _______, -// ├────────┼───┬──────────┬──┴──────┬─┴────────┼────────┼────────┼────────┤ ├────────┴─┬──────┴──────┬─┴────────┼────────┴─┬─────────┬─┴────────┤ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -// └────────┴───┴──────────┴─────────┴──────────┴────────┴────────┴────────┘ └──────────┴─────────────┴──────────┴──────────┴─────────┴──────────┘ - ), -}; -// clang-format on - -const key_override_t pg_lbrk_none = ko_make_with_layers_and_negmods(0, PG_LBRK, KC_LEFT_CURLY_BRACE, ~0, ~0); -const key_override_t pg_lbrk_shift = ko_make_with_layers_and_negmods(MOD_MASK_SHIFT, PG_LBRK, KC_LEFT_BRACKET, ~0, ~MOD_MASK_SHIFT); - -const key_override_t pg_lpar_none = ko_make_with_layers_and_negmods(0, PG_LPAR, KC_LEFT_PAREN, ~0, ~0); -const key_override_t pg_lpar_shift = ko_make_with_layers_and_negmods(MOD_MASK_SHIFT, PG_LPAR, KC_LEFT_ANGLE_BRACKET, ~0, ~MOD_MASK_SHIFT); - -const key_override_t pg_rbrk_none = ko_make_with_layers_and_negmods(0, PG_RBRK, KC_RIGHT_CURLY_BRACE, ~0, ~0); -const key_override_t pg_rbrk_shift = ko_make_with_layers_and_negmods(MOD_MASK_SHIFT, PG_RBRK, KC_RIGHT_BRACKET, ~0, ~MOD_MASK_SHIFT); - -const key_override_t pg_rpar_none = ko_make_with_layers_and_negmods(0, PG_RPAR, KC_RIGHT_PAREN, ~0, ~0); -const key_override_t pg_rpar_shift = ko_make_with_layers_and_negmods(MOD_MASK_SHIFT, PG_RPAR, KC_RIGHT_ANGLE_BRACKET, ~0, ~MOD_MASK_SHIFT); - -const key_override_t pg_slas_none = ko_make_with_layers_and_negmods(0, PG_SLAS, KC_SLASH, ~0, ~0); -const key_override_t pg_slas_shift = ko_make_with_layers_and_negmods(MOD_MASK_SHIFT, PG_SLAS, KC_BACKSLASH, ~0, ~MOD_MASK_SHIFT); - -const key_override_t ms_btn_none = ko_make_with_layers_and_negmods(0, MS_BTN, KC_MS_BTN1, ~0, ~0); -const key_override_t ms_btn_shift = ko_make_with_layers_and_negmods(MOD_MASK_SHIFT, MS_BTN, KC_MS_BTN2, ~0, ~MOD_MASK_SHIFT); - -// clang-format off -const key_override_t **key_overrides = (const key_override_t *[]){ - &pg_lbrk_none, &pg_lbrk_shift, - &pg_lpar_none, &pg_lpar_shift, - &pg_rbrk_none, &pg_rbrk_shift, - &pg_rpar_none, &pg_rpar_shift, - &pg_slas_none, &pg_slas_shift, - &ms_btn_none, &ms_btn_shift, - NULL}; -// clang-format on - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - uint8_t std_mods = get_mods(); - uint8_t oneshot_mods = get_oneshot_mods(); - uint8_t all_mods = std_mods | oneshot_mods; - bool shift_on = all_mods & MOD_MASK_SHIFT; - bool ctrl_on = all_mods & MOD_MASK_CTRL; - - // None of our special keycodes use ALT or GUI mods (so far), so we - // check once here at the top and let other code handle it if any of - // these are set. - if (all_mods & (MOD_MASK_ALT | MOD_MASK_GUI)) return true; - - switch (keycode) { - case KC_CAPS: - // On caps lock release, if caps lock just got turned off, ensure that - // backlight is enabled when it stops blinking. - if (!record->event.pressed) { - if (!host_keyboard_led_state().caps_lock) { - backlight_enable(); - // In this case, we want to continue processing - return true; - } - } - break; - case PG_ARRO: - if (record->event.pressed) { - clear_mods(); - clear_oneshot_mods(); - if (shift_on) { - if (!ctrl_on) SEND_STRING(" "); - SEND_STRING("=>"); - if (!ctrl_on) SEND_STRING(" "); - } else { - if (ctrl_on) SEND_STRING(" "); - SEND_STRING("->"); - if (ctrl_on) SEND_STRING(" "); - } - set_mods(std_mods); - set_oneshot_mods(oneshot_mods); - return false; - } - break; - case PG_BANG: - if (record->event.pressed) { - clear_mods(); - clear_oneshot_mods(); - if (shift_on) { - if (!ctrl_on) SEND_STRING(" "); - SEND_STRING("*"); - if (!ctrl_on) SEND_STRING(" "); - } else { - if (ctrl_on) SEND_STRING(" "); - SEND_STRING("!"); - if (!ctrl_on) SEND_STRING(" "); - } - set_mods(std_mods); - set_oneshot_mods(oneshot_mods); - return false; - } - break; - case PG_ENDC: - if (record->event.pressed) { - clear_mods(); - clear_oneshot_mods(); - SEND_STRING(SS_TAP(X_END)); - if (!shift_on) SEND_STRING(";"); - if (!ctrl_on) SEND_STRING(SS_TAP(X_ENTER)); - set_mods(std_mods); - set_oneshot_mods(oneshot_mods); - return false; - } - break; - case PG_EQEQ: - if (record->event.pressed) { - clear_mods(); - clear_oneshot_mods(); - if (!ctrl_on) SEND_STRING(" "); - shift_on ? SEND_STRING("==") : SEND_STRING("==="); - if (!ctrl_on) SEND_STRING(" "); - set_mods(std_mods); - set_oneshot_mods(oneshot_mods); - return false; - } - break; - case PG_EQL: - if (record->event.pressed) { - clear_mods(); - clear_oneshot_mods(); - if (!ctrl_on) SEND_STRING(" "); - shift_on ? SEND_STRING("+") : SEND_STRING("="); - if (!ctrl_on) SEND_STRING(" "); - set_mods(std_mods); - set_oneshot_mods(oneshot_mods); - return false; - } - break; - case PG_MINS: - if (record->event.pressed) { - clear_mods(); - clear_oneshot_mods(); - if (shift_on) { - if (ctrl_on) SEND_STRING(" "); - SEND_STRING("_"); - if (ctrl_on) SEND_STRING(" "); - } else { - if (!ctrl_on) SEND_STRING(" "); - SEND_STRING("-"); - if (!ctrl_on) SEND_STRING(" "); - } - set_mods(std_mods); - set_oneshot_mods(oneshot_mods); - return false; - } - break; - case PG_NEEQ: - if (record->event.pressed) { - clear_mods(); - clear_oneshot_mods(); - if (!ctrl_on) SEND_STRING(" "); - shift_on ? SEND_STRING("!=") : SEND_STRING("!=="); - if (!ctrl_on) SEND_STRING(" "); - set_mods(std_mods); - set_oneshot_mods(oneshot_mods); - return false; - } - break; - case PG_VBAR: - if (record->event.pressed) { - clear_mods(); - clear_oneshot_mods(); - if (!ctrl_on) SEND_STRING(" "); - shift_on ? SEND_STRING("&") : SEND_STRING("|"); - if (!ctrl_on) SEND_STRING(" "); - set_mods(std_mods); - set_oneshot_mods(oneshot_mods); - return false; - } - break; - } - return true; -} - -// I have only one encoder on my FoldKB and I want it to always be a scroll wheel. -bool encoder_update_user(uint8_t index, bool clockwise) { - if (clockwise) { - tap_code(KC_MS_WH_DOWN); - } else { - tap_code(KC_MS_WH_UP); - } - return false; -} - -static uint16_t caps_lock_blink_timer = 0; - -// This is called after every matrix scan. We make the backlight blink -// when caps lock is on here. To ensure the backlight is in the on state -// when caps lock is turned off, we also watch for the relase of the caps -// lock key in process_record_user(). -void housekeeping_task_user(void) { - if (host_keyboard_led_state().caps_lock) { - if (timer_elapsed(caps_lock_blink_timer) >= CAPS_LOCK_BLINK_MS) { - backlight_toggle(); - caps_lock_blink_timer = timer_read(); - } - } -} - -// The backlight level shows which layer we are in: -// Mouse layer: dim | QWERTY layer: medium | Programming layer: bright -layer_state_t layer_state_set_user(layer_state_t state) { - switch (get_highest_layer(state)) { - case _MS: - backlight_level(1); - break; - case _PG: - backlight_level(3); - break; - default: - backlight_level(2); - break; - } - return state; -} - -void keyboard_post_init(void) { - backlight_level(2); -} diff --git a/keyboards/keebio/foldkb/keymaps/forrcaho/readme.md b/keyboards/keebio/foldkb/keymaps/forrcaho/readme.md deleted file mode 100644 index 74ac4507b8..0000000000 --- a/keyboards/keebio/foldkb/keymaps/forrcaho/readme.md +++ /dev/null @@ -1,23 +0,0 @@ -# Keebio FoldKB rev1 - -My layout for the FoldKB has three layers: - -* A default standard QWERTY layer, - -* a second "programming" layer with - * function keys for the corresponding numbers - * arrow and other navigation keys (such as home) on the right half, and - * various alternate keymappings and macros useful for programming on the - left half. - -* a third "mouse" layer with mouse keys on the right half. No special functions -have been added to the left half for this layer (yet). - -This was written for a FoldKB with one encoder, and that is made to function as -a mouse scroll wheel on all layers. Pressing it is a mouse left click and -shift-pressing it is a mouse right click. (Presumably both encoders would do the -same thing on a FoldKB with two.) - -The backgound lighting levels indicate the layer: dimmest for the default -QWERTY layer, middle brightness for the mouse layer, and brightest for the -programming layer. diff --git a/keyboards/keebio/foldkb/keymaps/forrcaho/rules.mk b/keyboards/keebio/foldkb/keymaps/forrcaho/rules.mk deleted file mode 100644 index 959e428661..0000000000 --- a/keyboards/keebio/foldkb/keymaps/forrcaho/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -KEY_OVERRIDE_ENABLE = yes -MOUSEKEY_ENABLE = yes -ENCODER_ENABLE = yes diff --git a/keyboards/keebio/fourier/keymaps/maxim/keymap.c b/keyboards/keebio/fourier/keymaps/maxim/keymap.c deleted file mode 100644 index 23e65be477..0000000000 --- a/keyboards/keebio/fourier/keymaps/maxim/keymap.c +++ /dev/null @@ -1,45 +0,0 @@ -#include QMK_KEYBOARD_H - -extern keymap_config_t keymap_config; - -// Each layer gets a name for readability, which is then used in the keymap matrix below. -// The underscores don't mean anything - you can have a layer called STUFF or any other name. -// Layer names don't all need to be of the same length, obviously, and you can also skip them -// entirely and just use numbers. -#define _BASE 0 -#define _FN1 1 -#define _FN2 2 - -enum custom_keycodes { - QWERTY = SAFE_RANGE, -}; - - -#define FN1 MO(_FN1) -#define FN2 MO(_FN2) -#define SPFN1 LT(_FN1, KC_SPACE) -#define BSFN2 LT(_FN2, KC_BSPC) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BASE] = LAYOUT( - KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, KC_BSPC, - KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, - XXXXXXX, KC_LCTL, KC_LALT, XXXXXXX, KC_SPC, FN1, KC_RCTL, KC_RGUI, FN2, XXXXXXX - ), - - [_FN1] = LAYOUT( - 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, - QK_BOOT, RGB_HUI, RGB_SAI, RGB_VAI, KC_VOLU, KC_LBRC, KC_RBRC, KC_4, KC_5, KC_6, KC_SCLN, _______, - RGB_MOD, RGB_HUD, RGB_SAD, RGB_VAD, KC_VOLD, KC_LCBR, KC_RCBR, KC_1, KC_2, KC_3, KC_UP, _______, - RGB_TOG, _______, _______, _______, _______, KC_DEL, KC_0, KC_LEFT, KC_DOWN, KC_RGHT - ), - - [_FN2] = LAYOUT( - KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_UNDS, KC_PLUS, - _______, _______, _______, KC_INS, KC_PGUP, KC_HOME, _______, _______, _______, _______, KC_COLN, _______, - _______, _______, _______, KC_DEL, KC_PGDN, KC_END, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, KC_DEL, _______, _______, _______, _______, _______ - ) - -}; diff --git a/keyboards/keebio/quefrency/rev2/keymaps/xeal/config.h b/keyboards/keebio/quefrency/rev2/keymaps/xeal/config.h deleted file mode 100644 index c87e45d053..0000000000 --- a/keyboards/keebio/quefrency/rev2/keymaps/xeal/config.h +++ /dev/null @@ -1,40 +0,0 @@ -/* -This is the c configuration file for the keymap - -Copyright 2012 Jun Wako -Copyright 2015 Jack Humbert -Copyright 2018 Danny Nguyen -Copyright 2021 Roger Billerey-Mosier - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - -/* Use I2C or Serial, not both */ - -//#define DEBUG_MATRIX_SCAN_RATE - -#define FORCE_NKRO - -#undef RGBLIGHT_EFFECT_SNAKE -#undef RGBLIGHT_EFFECT_KNIGHT -#undef RGBLIGHT_EFFECT_CHRISTMAS -#undef RGBLIGHT_EFFECT_STATIC_GRADIENT -#undef RGBLIGHT_EFFECT_RGB_TEST -#undef RGBLIGHT_EFFECT_ALTERNATING -#undef RGBLIGHT_EFFECT_TWINKLE - -#define LAYER_STATE_8BIT -#define MAX_LAYER 3 diff --git a/keyboards/keebio/quefrency/rev2/keymaps/xeal/keymap.c b/keyboards/keebio/quefrency/rev2/keymaps/xeal/keymap.c deleted file mode 100644 index 530ea8527f..0000000000 --- a/keyboards/keebio/quefrency/rev2/keymaps/xeal/keymap.c +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2022 Danny Nguyen (@nooges) -// SPDX-License-Identifier: GPL-2.0-or-later - -#include QMK_KEYBOARD_H - -// Each layer gets a name for readability, which is then used in the keymap matrix below. -// The underscores don't mean anything - you can have a layer called STUFF or any other name. -// Layer names don't all need to be of the same length, obviously, and you can also skip them -// entirely and just use numbers. -enum custom_layer { - _BASE, - _FN1, - _FN2, -}; - -enum custom_keycodes { - QWERTY = SAFE_RANGE, -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BASE] = LAYOUT_60( - KC_ESC, 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_BSPC, - 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, - MO(_FN1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, _______, - KC_LCTL, KC_LGUI, KC_LALT, MO(_FN2),KC_SPC, _______, KC_SPC, KC_RALT, MO(_FN1), _______, KC_MENU, KC_RCTL - ), - - [_FN1] = LAYOUT_60( - KC_GRV, 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, - KC_CAPS, KC_PGUP, KC_UP, KC_PGDN, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGUP, KC_UP, KC_PGDN, KC_PSCR, KC_SCRL, KC_PAUS, KC_TRNS, - KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_HOME, KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_INS, KC_DEL, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, KC_END, KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_TRNS, _______, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), - - [_FN2] = LAYOUT_60( - KC_GRV, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, _______, KC_TRNS, - _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ) -}; diff --git a/keyboards/keebio/quefrency/rev2/keymaps/xeal/rules.mk b/keyboards/keebio/quefrency/rev2/keymaps/xeal/rules.mk deleted file mode 100644 index 3d5257b7b4..0000000000 --- a/keyboards/keebio/quefrency/rev2/keymaps/xeal/rules.mk +++ /dev/null @@ -1,4 +0,0 @@ -NKRO_ENABLE = yes # Enable N-Key Rollover -DEBOUNCE_TYPE = sym_eager_pk # Eager; per key -CONSOLE_ENABLE = no # debug console -ENCODER_ENABLE = no \ No newline at end of file diff --git a/keyboards/keebio/rorschach/keymaps/insertsnideremarks/config.h b/keyboards/keebio/rorschach/keymaps/insertsnideremarks/config.h deleted file mode 100644 index c02549e477..0000000000 --- a/keyboards/keebio/rorschach/keymaps/insertsnideremarks/config.h +++ /dev/null @@ -1,18 +0,0 @@ -#pragma once - -#define USE_I2C - -/* Select hand configuration */ - -// #define MASTER_LEFT -// #define MASTER_RIGHT -#define EE_HANDS - -#define TAPPING_TERM 150 -#define TAPPING_TOGGLE 2 - -// #undef RGBLED_NUM -// #define RGBLED_NUM 12 -// #define RGBLIGHT_HUE_STEP 8 -// #define RGBLIGHT_SAT_STEP 8 -// #define RGBLIGHT_VAL_STEP 8 diff --git a/keyboards/keebio/rorschach/keymaps/insertsnideremarks/keymap.c b/keyboards/keebio/rorschach/keymaps/insertsnideremarks/keymap.c deleted file mode 100644 index c2aa0c60fa..0000000000 --- a/keyboards/keebio/rorschach/keymaps/insertsnideremarks/keymap.c +++ /dev/null @@ -1,281 +0,0 @@ -#include QMK_KEYBOARD_H - -extern keymap_config_t keymap_config; - -enum rorschach_layers { - _COLEMAK, // Colemak (default layer) - _QWERTY, // Qwerty - _NUMBERS, // Numbers & Symbols - _NUMBERS2, // Numbers & Function Keys (similar to _NUMBERS; used with _NUMBERS for tri-layer access to _ADJUST) - _FUNCTION, // Function - _FUNCTION2, // Function 2 (identical as _FUNCTION; used to allow for easier use of space and backspace while using function layer arrows) - _NUMPAD, // Numpad - _ADJUST, // Adjust layer, accessed via tri-layer feature) - _ADJUST2 // Second Adjust layer, accessed outside of tri-layer feature) -}; - -enum rorschach_keycodes { - COLEMAK = SAFE_RANGE, - QWERTY, - NUMPAD = TG(_NUMPAD), - ADJUST = MO(_ADJUST2), - SPCFN = LT(_FUNCTION, KC_SPC), - BSPCFN = LT(_FUNCTION2, KC_BSPC), - ENTNS = LT(_NUMBERS, KC_ENT), - DELNS = LT(_NUMBERS2, KC_DEL), - CTLESC = CTL_T(KC_ESC), - ALTAPP = ALT_T(KC_APP), - NKROTG = MAGIC_TOGGLE_NKRO, -}; - -//Tap Dance Declarations -enum { - ADJ = 0, - LBCB, - RBCB, - EQPL, - PLEQ, - MNUN, - SLAS, - GVTL, - PPLEQ, - PMNUN, - PSLPAS -}; - -void dance_LAYER_finished(tap_dance_state_t *state, void *user_data) { - if (state->count == 2) { - layer_on(_ADJUST2); - set_oneshot_layer(_ADJUST2, ONESHOT_START); - } -} -void dance_LAYER_reset(tap_dance_state_t *state, void *user_data) { - if (state->count == 2) { - layer_off(_ADJUST2); - clear_oneshot_layer_state(ONESHOT_PRESSED); - } -} - -tap_dance_action_t tap_dance_actions[] = { -[ADJ] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, dance_LAYER_finished, dance_LAYER_reset), // Double-tap to activate Adjust layer via oneshot layer -[LBCB] = ACTION_TAP_DANCE_DOUBLE(KC_LBRC, KC_LCBR), // Left bracket on a single-tap, left brace on a double-tap -[RBCB] = ACTION_TAP_DANCE_DOUBLE(KC_RBRC, KC_RCBR), // Right bracket on a single-tap, right brace on a double-tap -[EQPL] = ACTION_TAP_DANCE_DOUBLE(KC_EQL, KC_PLUS), // Plus sign on a single-tap, equal sign on a double-tap -[PLEQ] = ACTION_TAP_DANCE_DOUBLE(KC_PLUS, KC_EQL), // Equal sign on a single-tap, plus sign on a double-tap -[MNUN] = ACTION_TAP_DANCE_DOUBLE(KC_MINS, KC_UNDS), // Minus sign on a single-tap, underscore on a double-tap -[SLAS] = ACTION_TAP_DANCE_DOUBLE(KC_SLSH, KC_ASTR), // Slash in a single-tap, asterisk in a double-tap -[GVTL] = ACTION_TAP_DANCE_DOUBLE(KC_GRV, KC_TILD), // Grave on a single-tap, tilde on a double-tap -[PPLEQ] = ACTION_TAP_DANCE_DOUBLE(KC_PPLS, KC_EQL), // Numpad plus sign on a single-tap, equal sign on a double-tap -[PMNUN] = ACTION_TAP_DANCE_DOUBLE(KC_PMNS, KC_UNDS), // Numpad minus sign on a single-tap, underscore on a double-tap -[PSLPAS] = ACTION_TAP_DANCE_DOUBLE(KC_PSLS, KC_PAST) // Numpad slash on a single-tap, numpad asterisk on a double-tap -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -/* Colemak -* (Defauit layer; keys separated by /: tap for first, hold for second; uses Space Cadet Shifts) -* ,-----------------------------------------------. ,-----------------------------------------------. -* | Tab | Q | W | F | P | G | | J | L | U | Y | ; | \ | -* |-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------| -* |Esc/Ctl| A | R | S | T | D | | H | N | E | I | O | ' | -* |-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------| -* | SC Sft| Z | X | C | V | B | | K | M | , | . | / | SC Sft| -* |-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------' -* | Ins | ` | [ | ] |App/Alt| Spc/FN| |Bsp/Fn2| RGUI | Left | Down | Up | Right | -* `---------------------------------------+-------+-------. ,-------+-------+---------------------------------------' -* | Ent/NS| Bspc | | Enter |Del/NS2| -* `---------------' `---------------' -*/ -[_COLEMAK] = LAYOUT( - KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSLS, - CTLESC, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, - SC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, - KC_INS, KC_GRV, KC_LBRC, KC_RBRC, ALTAPP, SPCFN, BSPCFN, KC_RGUI, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, - ENTNS, KC_BSPC, KC_ENT, DELNS -), - -/* QWERTY -* (Keys separated by /: tap for first, hold for second; uses Space Cadet Shifts) -* ,-----------------------------------------------. ,-----------------------------------------------. -* | Tab | Q | W | E | R | T | | Y | U | I | O | P | \ | -* |-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------| -* |Esc/Ctl| A | S | D | F | G | | H | J | K | L | ; | ' | -* |-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------| -* | SC Sft| Z | X | C | V | B | | N | M | , | . | / | SC Sft| -* |-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------' -* | Ins | ` | [ | ] |App/Alt| Spc/FN| |Bsp/Fn2| RGUI | Left | Down | Up | Right | -* `---------------------------------------+-------+-------. ,-------+-------+---------------------------------------' -* | Ent/NS| Bspc | | Enter |Del/NS2| -* `---------------' `---------------' -*/ -[_QWERTY] = LAYOUT( - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, - CTLESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - SC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, - KC_INS, KC_GRV, KC_LBRC, KC_RBRC, ALTAPP, SPCFN, BSPCFN, KC_RGUI, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, - ENTNS, KC_BSPC, KC_ENT, DELNS -), - -/* Number/symbol layer -* (Multiple characters: single-tap for first, double-tap for second) -* ,-----------------------------------------------. ,-----------------------------------------------. -* | | 6 | 7 | 8 | 9 | 0 | | ^ | & | * | ( | ) | | -* |-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------| -* | | 1 | 2 | 3 | 4 | 5 | | ! | @ | # | $ | % | | -* |-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------| -* | | | . | / * | - _ | + = | | ` ~ | [ { | ] } | | | | -* |-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------' -* | ( | ) | [ { | ] } | | | | | | | | | | -* `---------------------------------------+-------+-------. ,-------+-------+---------------------------------------' -* | | | | | | -* `---------------' `---------------' -*/ -[_NUMBERS] = LAYOUT( - _______, KC_6, KC_7, KC_8, KC_9, KC_0, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, - _______, KC_1, KC_2, KC_3, KC_4, KC_5, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, _______, - _______, _______, KC_DOT, TD(SLAS), TD(MNUN), TD(PLEQ), TD(GVTL), TD(LBCB), TD(RBCB), _______, _______, _______, - KC_LPRN, KC_RPRN, TD(LBCB), TD(RBCB), _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______ -), - -/* Number/Function Key layer -* (Multiple characters: single-tap for first, double-tap for second) -* ,-----------------------------------------------. ,-----------------------------------------------. -* | | 6 | 7 | 8 | 9 | 0 | | F7 | F8 | F9 | F10 | F11 | F12 | -* |-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------| -* | | 1 | 2 | 3 | 4 | 5 | | F1 | F2 | F3 | F4 | F5 | F6 | -* |-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------| -* | | | . | / * | - _ | + = | | ` ~ | [ { | ] } | | | | -* |-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------' -* | ( | ) | [ { | ] } | | | | | | | | | | -* `---------------------------------------+-------+-------. ,-------+-------+---------------------------------------' -* | | | | | | -* `---------------' `---------------' -*/ -[_NUMBERS2] = LAYOUT( - _______, KC_6, KC_7, KC_8, KC_9, KC_0, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, - _______, KC_1, KC_2, KC_3, KC_4, KC_5, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, - _______, _______, KC_DOT, TD(SLAS), TD(MNUN), TD(PLEQ), TD(GVTL), TD(LBCB), TD(RBCB), _______, _______, _______, - KC_LPRN, KC_RPRN, TD(LBCB), TD(RBCB), _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______ -), - -/* Function layer -* ,-----------------------------------------------. ,-----------------------------------------------. -* | | | | Up | | | | | | Up | Ctrl+Y| | | -* |-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------| -* | | Ctrl+A| Left | Down | Right |C+A+Tab| | PgUp | Right | Down | Left | Home | | -* |-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------| -* | | Ctrl+Z| Ctrl+X| Ctrl+C| Ctrl+V| Bspc | | PgDn | Mute | Vol- | Vol+ | End | | -* |-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------' -* | | | | | | | | | | Prev | Play | Next | Stop | -* `---------------------------------------+-------+-------. ,-------+-------+---------------------------------------' -* | | | | | | -* `---------------' `---------------' -*/ -[_FUNCTION] = LAYOUT( - _______, _______, _______, KC_UP, _______, _______, _______, _______, KC_UP, LCTL(KC_Y), _______, _______, - _______, LCTL(KC_A), KC_LEFT, KC_DOWN, KC_RGHT, LCA(KC_TAB), KC_PGUP, KC_LEFT, KC_DOWN, KC_RGHT, KC_HOME, _______, - _______, LCTL(KC_Z), LCTL(KC_X), LCTL(KC_C), LCTL(KC_V), KC_BSPC, KC_PGDN, KC_MUTE, KC_VOLD, KC_VOLU, KC_END, _______, - _______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MPLY, KC_MNXT, KC_MSTP, - _______, _______, _______, _______ -), - -[_FUNCTION2] = LAYOUT( - _______, _______, _______, KC_UP, _______, _______, _______, _______, KC_UP, LCTL(KC_Y), _______, _______, - _______, LCTL(KC_A), KC_LEFT, KC_DOWN, KC_RGHT, LCA(KC_TAB), KC_PGUP, KC_LEFT, KC_DOWN, KC_RGHT, KC_HOME, _______, - _______, LCTL(KC_Z), LCTL(KC_X), LCTL(KC_C), LCTL(KC_V), KC_BSPC, KC_PGDN, KC_MUTE, KC_VOLD, KC_VOLU, KC_END, _______, - _______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MPLY, KC_MNXT, KC_MSTP, - _______, _______, _______, _______ -), - -/* Numpad layer -* (Left side duplicates layout from the Numbers layer, just with numpad output; right side layout close to PC numpad layout) -* ,-----------------------------------------------. ,-----------------------------------------------. -* | | KP 6 | KP 7 | KP 8 | KP 9 | KP 0 | | NumLk | KP 7 | KP 8 | KP 9 | KP / | | -* |-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------| -* | | KP 1 | KP 2 | KP 3 | KP 4 | KP 5 | | Tab | KP 4 | KP 5 | KP 6 | KP * | | -* |-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------| -* | | NumLk | KP . |KP/ KP*| KP- _ | KP+ = | | | KP 1 | KP 2 | KP 3 | KP - | | -* |-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------' -* | ( | ) | [ { | ] } | | | | | KP 0 | = | KP . | KP + | | -* `---------------------------------------+-------+-------. ,-------+-------+---------------------------------------' -* | | | | KP Ent| | -* `---------------' `---------------' -*/ -[_NUMPAD] = LAYOUT( - _______, KC_P6, KC_P7, KC_P8, KC_P9, KC_P0, KC_NUM, KC_P7, KC_P8, KC_P9, KC_PSLS, _______, - _______, KC_P1, KC_P2, KC_P3, KC_P4, KC_P5, KC_TAB, KC_P4, KC_P5, KC_P6, KC_PAST, _______, - _______, KC_NUM, KC_PDOT, TD(PSLPAS), TD(PMNUN), TD(PPLEQ), _______, KC_P1, KC_P2, KC_P3, KC_PMNS, _______, - KC_LPRN, KC_RPRN, TD(LBCB), TD(RBCB), _______, _______, _______, KC_P0, KC_EQL, KC_PDOT, KC_PPLS, _______, - _______, _______, KC_PENT, _______ -), - -/* Adjust layer -* (Enter/Number + Delete/Number2 to access; Numpad is a toggle) -* ,-----------------------------------------------. ,-----------------------------------------------. -* | |Colemak| Qwerty| | | | | Numpad| | | Ctrl+Y| | QK_BOOT | -* |-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------| -* | | | | | | | | |NKROTog| | | | | -* |-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------| -* | | | | | | | | | | | | | | -* |-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------' -* | | | | | | | | | | | | | | -* `---------------------------------------+-------+-------. ,-------+-------+---------------------------------------' -* | | | | | | -* `---------------' `---------------' -*/ -[_ADJUST] = LAYOUT( - _______, COLEMAK, QWERTY, _______, _______, _______, NUMPAD, _______, _______, _______, _______, QK_BOOT, - _______, _______, _______, _______, _______, _______, _______, NKROTG, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______ -), - -[_ADJUST2] = LAYOUT( - _______, COLEMAK, QWERTY, _______, _______, _______, NUMPAD, _______, _______, _______, _______, QK_BOOT, - _______, _______, _______, _______, _______, _______, _______, NKROTG, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______ -) - -}; - -layer_state_t layer_state_set_user(layer_state_t state) { - return update_tri_layer_state(state, _NUMBERS, _NUMBERS2, _ADJUST); -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case COLEMAK: - if (record->event.pressed) { - default_layer_set(1UL << _COLEMAK); - layer_off ( _QWERTY); - layer_off ( _NUMBERS); - layer_off ( _NUMBERS2); - layer_off ( _FUNCTION); - layer_off ( _FUNCTION2); - layer_off ( _NUMPAD); - layer_off ( _ADJUST); - layer_off ( _ADJUST2); - } - return false; - break; - case QWERTY: - if (record->event.pressed) { - default_layer_set(1UL << _QWERTY); - layer_off ( _COLEMAK); - layer_off ( _NUMBERS); - layer_off ( _NUMBERS2); - layer_off ( _FUNCTION); - layer_off ( _FUNCTION2); - layer_off ( _NUMPAD); - layer_off ( _ADJUST); - layer_off ( _ADJUST2); - } - return false; - break; - } - return true; -} diff --git a/keyboards/keebio/rorschach/keymaps/insertsnideremarks/readme.md b/keyboards/keebio/rorschach/keymaps/insertsnideremarks/readme.md deleted file mode 100644 index 152c8ba01a..0000000000 --- a/keyboards/keebio/rorschach/keymaps/insertsnideremarks/readme.md +++ /dev/null @@ -1 +0,0 @@ -## I've changed my folder name to match my GitHub username. Please see https://github.com/qmk/qmk_firmware/tree/master/keyboards/keebio/rorschach/keymaps/tuesdayjohn for my current keymap files. diff --git a/keyboards/keebio/rorschach/keymaps/insertsnideremarks/rules.mk b/keyboards/keebio/rorschach/keymaps/insertsnideremarks/rules.mk deleted file mode 100644 index 390cb3fd60..0000000000 --- a/keyboards/keebio/rorschach/keymaps/insertsnideremarks/rules.mk +++ /dev/null @@ -1,19 +0,0 @@ -# Build Options -# change to "no" to disable the options, or define them in the Makefile in -# the appropriate keymap folder that will get included automatically -# - -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys(+4700) -EXTRAKEY_ENABLE = yes # Audio control and System control(+450) -CONSOLE_ENABLE = yes # Console for debug(+400) -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -MIDI_ENABLE = no # MIDI controls -AUDIO_ENABLE = no # Audio output on port C6 -UNICODE_ENABLE = yes # Unicode -BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend -TAP_DANCE_ENABLE = yes # Enable Tap Dancing function diff --git a/keyboards/keebio/rorschach/keymaps/tuesdayjohn/config.h b/keyboards/keebio/rorschach/keymaps/tuesdayjohn/config.h deleted file mode 100644 index 9d65e8da70..0000000000 --- a/keyboards/keebio/rorschach/keymaps/tuesdayjohn/config.h +++ /dev/null @@ -1,18 +0,0 @@ -#pragma once - -#define USE_I2C - -/* Select hand configuration */ - -// #define MASTER_LEFT -// #define MASTER_RIGHT -#define EE_HANDS - -#define TAPPING_TERM 175 -#define TAPPING_TOGGLE 2 - -// #undef RGBLED_NUM -// #define RGBLED_NUM 12 -// #define RGBLIGHT_HUE_STEP 8 -// #define RGBLIGHT_SAT_STEP 8 -// #define RGBLIGHT_VAL_STEP 8 diff --git a/keyboards/keebio/rorschach/keymaps/tuesdayjohn/keymap.c b/keyboards/keebio/rorschach/keymaps/tuesdayjohn/keymap.c deleted file mode 100644 index db5677e3b6..0000000000 --- a/keyboards/keebio/rorschach/keymaps/tuesdayjohn/keymap.c +++ /dev/null @@ -1,296 +0,0 @@ -#include QMK_KEYBOARD_H - -extern keymap_config_t keymap_config; - -enum rorschach_layers { - _COLEMAK, // Colemak (default layer) - _QWERTY, // Qwerty - _NUMBERS, // Numbers & Symbols - _NUMBERS2, // Numbers & Function Keys (similar to _NUMBERS; used with _NUMBERS for tri-layer access to _ADJUST) - _FUNCTION, // Function - _FUNCTION2, // Function 2 (identical as _FUNCTION; used to allow for easier use of space and backspace while using function layer arrows) - _NUMPAD, // Numpad - _ADJUST, // Adjust layer, accessed via tri-layer feature) - _ADJUST2 // Second Adjust layer, accessed outside of tri-layer feature) -}; - -enum rorschach_keycodes { - COLEMAK = SAFE_RANGE, - QWERTY -}; - -//Tap Dance Declarations -enum { - ADJ = 0, - LBCB, - RBCB, - EQPL, - PLEQ, - MNUN, - SLAS, - GVTL, - PPEQ, - PMUN, - PSPA -}; - -void dance_LAYER_finished(tap_dance_state_t *state, void *user_data) { - if (state->count == 2) { - layer_on(_ADJUST2); - set_oneshot_layer(_ADJUST2, ONESHOT_START); - } -} -void dance_LAYER_reset(tap_dance_state_t *state, void *user_data) { - if (state->count == 2) { - layer_off(_ADJUST2); - clear_oneshot_layer_state(ONESHOT_PRESSED); - } -} - -tap_dance_action_t tap_dance_actions[] = { -[ADJ] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, dance_LAYER_finished, dance_LAYER_reset), // Double-tap to activate Adjust layer via oneshot layer -[LBCB] = ACTION_TAP_DANCE_DOUBLE(KC_LBRC, KC_LCBR), // Left bracket on a single-tap, left brace on a double-tap -[RBCB] = ACTION_TAP_DANCE_DOUBLE(KC_RBRC, KC_RCBR), // Right bracket on a single-tap, right brace on a double-tap -[EQPL] = ACTION_TAP_DANCE_DOUBLE(KC_EQL, KC_PLUS), // Plus sign on a single-tap, equal sign on a double-tap -[PLEQ] = ACTION_TAP_DANCE_DOUBLE(KC_PLUS, KC_EQL), // Equal sign on a single-tap, plus sign on a double-tap -[MNUN] = ACTION_TAP_DANCE_DOUBLE(KC_MINS, KC_UNDS), // Minus sign on a single-tap, underscore on a double-tap -[SLAS] = ACTION_TAP_DANCE_DOUBLE(KC_SLSH, KC_ASTR), // Slash in a single-tap, asterisk in a double-tap -[GVTL] = ACTION_TAP_DANCE_DOUBLE(KC_GRV, KC_TILD), // Grave on a single-tap, tilde on a double-tap -[PPEQ] = ACTION_TAP_DANCE_DOUBLE(KC_PPLS, KC_EQL), // Numpad plus sign on a single-tap, equal sign on a double-tap -[PMUN] = ACTION_TAP_DANCE_DOUBLE(KC_PMNS, KC_UNDS), // Numpad minus sign on a single-tap, underscore on a double-tap -[PSPA] = ACTION_TAP_DANCE_DOUBLE(KC_PSLS, KC_PAST) // Numpad slash on a single-tap, numpad asterisk on a double-tap -}; - -//Aliases for longer keycodes -#define NUMPAD TG(_NUMPAD) -#define ADJUST MO(_ADJUST2) -#define SPCFN LT(_FUNCTION, KC_SPC) -#define BSPCFN LT(_FUNCTION2, KC_BSPC) -#define ENTNS LT(_NUMBERS, KC_ENT) -#define DELNS LT(_NUMBERS2, KC_DEL) -#define CTLESC CTL_T(KC_ESC) -#define ALTAPP ALT_T(KC_APP) -#define CTL_A LCTL(KC_A) -#define CTL_C LCTL(KC_C) -#define CTL_V LCTL(KC_V) -#define CTL_X LCTL(KC_X) -#define CTL_Z LCTL(KC_Z) -#define CTL_Y LCTL(KC_Y) -#define CA_TAB LCA(KC_TAB) -#define HYPER ALL_T(KC_NO) -#define TD_ADJ TD(ADJ) -#define TD_LBCB TD(LBCB) -#define TD_RBCB TD(RBCB) -#define TD_EQPL TD(EQPL) -#define TD_PLEQ TD(PLEQ) -#define TD_MNUN TD(MNUN) -#define TD_SLAS TD(SLAS) -#define TD_GVTL TD(GVTL) -#define TD_PPEQ TD(PPEQ) -#define TD_PMUN TD(PMUN) -#define TD_PSPA TD(PSPA) -#define NKROTG MAGIC_TOGGLE_NKRO - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -/* -Colemak -(Defauit layer; keys separated by /: tap for first, hold for second; uses Space Cadet Shifts) - ,-----------------------------------------------------. ,-----------------------------------------------------. - | Tab | Q | W | F | P | G | | J | L | U | Y | ; | \ | - |--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| - | Esc/Ctl| A | R | S | T | D | | H | N | E | I | O | ' | - |--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| - |SC Shift| Z | X | C | V | B | | K | M | , | . | / |SC Shift| - |--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------' - | Ins | ` | [ | ] | App/Alt| Spc/FN | | Bsp/Fn2| RGUI | Left | Down | Up | Right | - `--------------------------------------------+--------+--------. ,--------+--------+--------------------------------------------' - | Ent/NS | Bspc | | Enter | Del/NS2| - `-----------------' `-----------------' -*/ -[_COLEMAK] = LAYOUT( - KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSLS, - CTLESC, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, - SC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, - KC_INS, KC_GRV, KC_LBRC, KC_RBRC, ALTAPP, SPCFN, BSPCFN, KC_RGUI, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, - ENTNS, KC_BSPC, KC_ENT, DELNS -), - -/* -QWERTY -(Keys separated by /: tap for first, hold for second; uses Space Cadet Shifts) - ,-----------------------------------------------------. ,-----------------------------------------------------. - | Tab | Q | W | E | R | T | | Y | U | I | O | P | \ | - |--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| - | Esc/Ctl| A | S | D | F | G | | H | J | K | L | ; | ' | - |--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| - |SC Shift| Z | X | C | V | B | | N | M | , | . | / |SC Shift| - |--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------' - | Ins | ` | [ | ] | App/Alt| Spc/FN | | Bsp/Fn2| RGUI | Left | Down | Up | Right | - `--------------------------------------------+--------+--------. ,--------+--------+--------------------------------------------' - | Ent/NS | Bspc | | Enter | Del/NS2| - `-----------------' `-----------------' -*/ -[_QWERTY] = LAYOUT( - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, - CTLESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - SC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, - KC_INS, KC_GRV, KC_LBRC, KC_RBRC, ALTAPP, SPCFN, BSPCFN, KC_RGUI, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, - ENTNS, KC_BSPC, KC_ENT, DELNS -), - -/* -Number/symbol layer -(Multiple characters: single-tap for first, double-tap for second) - ,-----------------------------------------------------. ,-----------------------------------------------------. - | | 6 | 7 | 8 | 9 | 0 | | ^ | & | * | ( | ) | | - |--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| - | | 1 | 2 | 3 | 4 | 5 | | ! | @ | # | $ | % | | - |--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| - | | | . | / * | - _ | + = | | ` ~ | [ { | ] } | | | | - |--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| - | ( | ) | [ { | ] } | | | | | | | | | | - `--------------------------------------------+--------+--------. ,--------+--------+--------------------------------------------' - | | | | | | - `-----------------' `-----------------' -*/ -[_NUMBERS] = LAYOUT( - _______, KC_6, KC_7, KC_8, KC_9, KC_0, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, - _______, KC_1, KC_2, KC_3, KC_4, KC_5, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, _______, - _______, _______, KC_DOT, TD_SLAS, TD_MNUN, TD_PLEQ, TD_GVTL, TD_LBCB, TD_RBCB, _______, _______, _______, - KC_LPRN, KC_RPRN, TD_LBCB, TD_RBCB, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______ -), - -/* -Number/Function Key layer -(Multiple characters: single-tap for first, double-tap for second) - ,-----------------------------------------------------. ,-----------------------------------------------------. - | | 6 | 7 | 8 | 9 | 0 | | F7 | F8 | F9 | F10 | F11 | F12 | - |--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| - | | 1 | 2 | 3 | 4 | 5 | | F1 | F2 | F3 | F4 | F5 | F6 | - |--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| - | | | . | / * | - _ | + = | | ` ~ | [ { | ] } | | | | - |--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| - | ( | ) | [ { | ] } | | | | | | | | | | - `--------------------------------------------+--------+--------. ,--------+--------+--------------------------------------------' - | | | | | | - `-----------------' `-----------------' -*/ -[_NUMBERS2] = LAYOUT( - _______, KC_6, KC_7, KC_8, KC_9, KC_0, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, - _______, KC_1, KC_2, KC_3, KC_4, KC_5, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, - _______, _______, KC_DOT, TD_SLAS, TD_MNUN, TD_PLEQ, TD_GVTL, TD_LBCB, TD_RBCB, _______, _______, _______, - KC_LPRN, KC_RPRN, TD_LBCB, TD_RBCB, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______ -), - -/* -Function layer - ,-----------------------------------------------------. ,-----------------------------------------------------. - | | | | Up | | | | | | Up | Ctrl+Y | | | - |--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| - | | Ctrl+A | Left | Down | Right | C+A+Tab| | PgUp | Right | Down | Left | Home | | - |--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| - | | Ctrl+Z | Ctrl+X | Ctrl+C | Ctrl+V | Bspc | | PgDn | Mute | Vol- | Vol+ | End | | - |--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| - | | | | | | | | | | Prev | Play | Next | Stop | - `--------------------------------------------+--------+--------. ,--------+--------+--------------------------------------------' - | | | | | | - `-----------------' `-----------------' -*/ -[_FUNCTION] = LAYOUT( - _______, _______, _______, KC_UP, _______, _______, _______, _______, KC_UP, CTL_Y, _______, _______, - _______, CTL_A, KC_LEFT, KC_DOWN, KC_RGHT, CA_TAB, KC_PGUP, KC_LEFT, KC_DOWN, KC_RGHT, KC_HOME, _______, - _______, CTL_Z, CTL_X, CTL_C, CTL_V, KC_BSPC, KC_PGDN, KC_MUTE, KC_VOLD, KC_VOLU, KC_END, _______, - _______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MPLY, KC_MNXT, KC_MSTP, - _______, _______, _______, _______ -), - -[_FUNCTION2] = LAYOUT( - _______, _______, _______, KC_UP, _______, _______, _______, _______, KC_UP, CTL_Y, _______, _______, - _______, CTL_A, KC_LEFT, KC_DOWN, KC_RGHT, CA_TAB, KC_PGUP, KC_LEFT, KC_DOWN, KC_RGHT, KC_HOME, _______, - _______, CTL_Z, CTL_X, CTL_C, CTL_V, KC_BSPC, KC_PGDN, KC_MUTE, KC_VOLD, KC_VOLU, KC_END, _______, - _______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MPLY, KC_MNXT, KC_MSTP, - _______, _______, _______, _______ -), - -/* -Numpad layer -(Left side duplicates layout from the Numbers layer, just with numpad output; right side layout close to PC numpad layout) - ,-----------------------------------------------------. ,-----------------------------------------------------. - | | KP 6 | KP 7 | KP 8 | KP 9 | KP 0 | | NumLk | KP 7 | KP 8 | KP 9 | KP / | | - |--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| - | | KP 1 | KP 2 | KP 3 | KP 4 | KP 5 | | Tab | KP 4 | KP 5 | KP 6 | KP * | | - |--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| - | | NumLk | KP . | KP/ KP*| KP- _ | KP+ = | | | KP 1 | KP 2 | KP 3 | KP - | | - |--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| - | ( | ) | [ { | ] } | | | | | KP 0 | = | KP . | KP + | | - `--------------------------------------------+--------+--------. ,--------+--------+--------------------------------------------' - | | | | KP Ent | | - `-----------------' `-----------------' -*/ -[_NUMPAD] = LAYOUT( - _______, KC_P6, KC_P7, KC_P8, KC_P9, KC_P0, KC_NUM, KC_P7, KC_P8, KC_P9, KC_PSLS, _______, - _______, KC_P1, KC_P2, KC_P3, KC_P4, KC_P5, KC_TAB, KC_P4, KC_P5, KC_P6, KC_PAST, _______, - _______, KC_NUM, KC_PDOT, TD_PSPA, TD_PMUN, TD_PPEQ, _______, KC_P1, KC_P2, KC_P3, KC_PMNS, _______, - KC_LPRN, KC_RPRN, TD_LBCB, TD_RBCB, _______, _______, _______, KC_P0, KC_EQL, KC_PDOT, KC_PPLS, _______, - _______, _______, KC_PENT, _______ -), - -/* -Adjust layer -(Enter/Number + Delete/Number2 to access; Numpad is a toggle) - ,-----------------------------------------------------. ,-----------------------------------------------------. - | | Colemak| Qwerty | | | | | Numpad | | | | | QK_BOOT | - |--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| - | | | | | | | | |NKRO Tog| | | | | - |--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| - | | | | | | | | | | | | | | - |--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| - | | | | | | | | | | | | | | - `--------------------------------------------+--------+--------. ,--------+--------+--------------------------------------------' - | | | | | | - `-----------------' `-----------------' -*/ -[_ADJUST] = LAYOUT( - _______, COLEMAK, QWERTY, _______, _______, _______, NUMPAD, _______, _______, _______, _______, QK_BOOT, - _______, _______, _______, _______, _______, _______, _______, NKROTG, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______ -), - -[_ADJUST2] = LAYOUT( - _______, COLEMAK, QWERTY, _______, _______, _______, NUMPAD, _______, _______, _______, _______, QK_BOOT, - _______, _______, _______, _______, _______, _______, _______, NKROTG, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______ -) - -}; - -layer_state_t layer_state_set_user(layer_state_t state) { - return update_tri_layer_state(state, _NUMBERS, _NUMBERS2, _ADJUST); -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case COLEMAK: - if (record->event.pressed) { - default_layer_set(1UL << _COLEMAK); - layer_move (_COLEMAK); - - } - return false; - break; - case QWERTY: - if (record->event.pressed) { - default_layer_set(1UL << _QWERTY); - layer_move (_QWERTY); - } - return false; - break; - } - return true; -} diff --git a/keyboards/keebio/rorschach/keymaps/tuesdayjohn/rules.mk b/keyboards/keebio/rorschach/keymaps/tuesdayjohn/rules.mk deleted file mode 100644 index 390cb3fd60..0000000000 --- a/keyboards/keebio/rorschach/keymaps/tuesdayjohn/rules.mk +++ /dev/null @@ -1,19 +0,0 @@ -# Build Options -# change to "no" to disable the options, or define them in the Makefile in -# the appropriate keymap folder that will get included automatically -# - -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys(+4700) -EXTRAKEY_ENABLE = yes # Audio control and System control(+450) -CONSOLE_ENABLE = yes # Console for debug(+400) -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -MIDI_ENABLE = no # MIDI controls -AUDIO_ENABLE = no # Audio output on port C6 -UNICODE_ENABLE = yes # Unicode -BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend -TAP_DANCE_ENABLE = yes # Enable Tap Dancing function diff --git a/keyboards/keebio/sinc/keymaps/lickel/keymap.c b/keyboards/keebio/sinc/keymaps/lickel/keymap.c deleted file mode 100644 index 97111e9dda..0000000000 --- a/keyboards/keebio/sinc/keymaps/lickel/keymap.c +++ /dev/null @@ -1,65 +0,0 @@ -/* Copyright 2021 @ Adam Lickel - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H - -// clang-format off - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_80_with_macro( - KC_MUTE, KC_ESC, KC_BRID, KC_BRIU, KC_MCTL, KC_LPAD, BL_DOWN, BL_UP, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_DEL, KC_MPLY, - KC_F1, KC_F2, 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_BSPC, KC_BSPC, KC_HOME, - KC_F3, KC_F4, 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, KC_PGUP, - KC_F5, KC_F6, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, - KC_F7, KC_F8, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, - KC_F9, KC_F10, KC_LCTL, KC_LALT, KC_LGUI, MO(1), KC_SPC, KC_SPC, MO(1), KC_SPC, KC_RGUI, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - [1] = LAYOUT_80_with_macro( - _______, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, RGB_TOG, RGB_MOD, RGB_VAI, RGB_HUI, RGB_SAI, RGB_SPI, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, RGB_RMOD,RGB_VAD, RGB_HUD, RGB_SAD, RGB_SPD, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - [2] = LAYOUT_80_with_macro( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - [3] = LAYOUT_80_with_macro( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), -}; - -// clang-format on - -#ifdef ENCODER_MAP_ENABLE -const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { - [0] = { ENCODER_CCW_CW(KC_PGUP, KC_PGDN), ENCODER_CCW_CW(KC_VOLU, KC_VOLD) }, - [1] = { ENCODER_CCW_CW(RGB_MOD, RGB_RMOD), ENCODER_CCW_CW(KC_MNXT, KC_MPRV) }, - [2] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) }, - [3] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) }, -}; -#endif diff --git a/keyboards/keebio/sinc/keymaps/lickel/readme.md b/keyboards/keebio/sinc/keymaps/lickel/readme.md deleted file mode 100644 index faf130dec5..0000000000 --- a/keyboards/keebio/sinc/keymaps/lickel/readme.md +++ /dev/null @@ -1,26 +0,0 @@ -# lickel's Sinc keymap - -- Via support is enabled by default -- Function Row is optimized for macOS -- RGB controls mimic the stock Keychron Q1 layout -- F3 opens Mission Control and F4 opens Launchpad -- Left macros are: F1->F10 -- Right macros are: Play, Home, Pg Up, Pg Dn, End, Right - -![Layout](https://i.imgur.com/0uXXrJY.png) - -([KLE](http://www.keyboard-layout-editor.com/#/gists/e0350d8914cac3166abcca6abfd093b7)) - -## Changelog - -### 2022-12-09 - 1.2 - -- Add ENCODER_MAP_ENABLE from default VIA definition - -### 2022-03-04 - 1.1 - -- Correct function row to change LED backlights, not underglow - -### 2021-11-27 - 1.0 - -- Initial release diff --git a/keyboards/keebio/sinc/keymaps/lickel/rules.mk b/keyboards/keebio/sinc/keymaps/lickel/rules.mk deleted file mode 100644 index 1189f4ad19..0000000000 --- a/keyboards/keebio/sinc/keymaps/lickel/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes -ENCODER_MAP_ENABLE = yes diff --git a/keyboards/keebio/tragicforce68/keymaps/buswerks/keymap.c b/keyboards/keebio/tragicforce68/keymaps/buswerks/keymap.c deleted file mode 100644 index 6e5afacff8..0000000000 --- a/keyboards/keebio/tragicforce68/keymaps/buswerks/keymap.c +++ /dev/null @@ -1,60 +0,0 @@ -#include QMK_KEYBOARD_H - -#define _QWERTY 0 -#define _COLEMAK 1 -#define _FN1 2 - -#define WORD_L LALT(KC_LEFT) -#define WORD_R LALT(KC_RGHT) -#define LINE_L LGUI(KC_LEFT) -#define LINE_R LGUI(KC_RGHT) - -#define DESK_L LCTL(KC_LEFT) -#define DESK_R LCTL(KC_RGHT) -#define MSN_CTL LCTL(KC_UP) - -#define LT_FN LT(_FN1, KC_ESC) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_QWERTY] = LAYOUT( - //┌────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────────────┐ ┌────────┬────────┐ - KC_ESC, 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_BSPC, KC_INS, KC_PGUP, - //├────────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────────────┤ ├────────┼────────┤ - 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, KC_DEL, KC_PGDN, - //├────────────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴────────────┤ └────────┴────────┘ - LT_FN, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENTER, - //├──────────────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───────────────────┤ ┌────────┐ - SC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, KC_UP, - //├──────────┬───────┴──┬─────┴────┬───┴────────┴────────┴────────┴────────┴────────┴──────┬─┴────────┼────────┴─┬──────────┬────┬──────┴─┬────────┼────────┐ - KC_LCTL, KC_LGUI, KC_LALT, KC_SPACE, KC_RALT, KC_CAPS, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - //└──────────┴──────────┴──────────┴───────────────────────────────────────────────────────┴──────────┴──────────┴──────────┘ └────────┴────────┴────────┘ - ), - - [_COLEMAK] = LAYOUT( - //┌────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────────────┐ ┌────────┬────────┐ - KC_ESC, 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_BSPC, KC_INS, KC_PGUP, - //├────────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────────────┤ ├────────┼────────┤ - KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_PGDN, - //├────────────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴────────────┤ └────────┴────────┘ - LT_FN, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, KC_ENTER, - //├──────────────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───────────────────┤ ┌────────┐ - SC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, KC_UP, - //├──────────┬───────┴──┬─────┴────┬───┴────────┴────────┴────────┴────────┴────────┴──────┬─┴────────┼────────┴─┬──────────┬────┬──────┴─┬────────┼────────┐ - KC_LCTL, KC_LGUI, KC_LALT, KC_SPACE, KC_RALT, KC_CAPS, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - //└──────────┴──────────┴──────────┴───────────────────────────────────────────────────────┴──────────┴──────────┴──────────┘ └────────┴────────┴────────┘ - ), - - [_FN1] = LAYOUT( - //┌────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────────────┐ ┌────────┬────────┐ - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, QK_BOOT, KC_HOME, - //├────────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────────────┤ ├────────┼────────┤ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_END, - //├────────────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴────────────┤ └────────┴────────┘ - _______, DESK_L, MSN_CTL, DESK_R, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______, _______, - //├──────────────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───┬────┴───────────────────┤ ┌────────┐ - _______, _______, _______, _______, _______, _______, LINE_L, WORD_L, WORD_R, LINE_R, _______, _______, BL_UP, - //├──────────┬───────┴──┬─────┴────┬───┴────────┴────────┴────────┴────────┴────────┴──────┬─┴────────┼────────┴─┬──────────┬────┬──────┴─┬────────┼────────┐ - _______, _______, _______, KC_BSPC, _______, _______, KC_MENU, BL_BRTG, BL_DOWN, BL_TOGG - //└──────────┴──────────┴──────────┴───────────────────────────────────────────────────────┴──────────┴──────────┴──────────┘ └────────┴────────┴────────┘ - ) -}; \ No newline at end of file diff --git a/keyboards/keebio/viterbi/keymaps/met/keymap.c b/keyboards/keebio/viterbi/keymaps/met/keymap.c deleted file mode 100644 index 4848038bef..0000000000 --- a/keyboards/keebio/viterbi/keymaps/met/keymap.c +++ /dev/null @@ -1,321 +0,0 @@ -#include QMK_KEYBOARD_H - -// Each layer gets a name for readability, which is then used in the keymap matrix below. -// The underscores don't mean anything - you can have a layer called STUFF or any other name. -// Layer names don't all need to be of the same length, obviously, and you can also skip them -// entirely and just use numbers. - -#define CANCEL LCTL(KC_C) -#define TERM LCTL(LALT(KC_T)) -#define ALPHAMOD LT(_ALPHA, KC_VOLD) -#define CTLBSP MT(MOD_LCTL, KC_BSPC) -#define GUIDEL MT(MOD_LGUI, KC_DEL) -#define ALTSPC MT(MOD_LALT, KC_SPACE) -#define SPCMOD LT(_MOD, KC_SPACE) -#define JUMPBACK LSFT(KC_TAB) -#define NTAB LCTL(KC_T) -#define CTAB LCTL(KC_W) -#define TAB1 LCTL(KC_1) -#define TAB2 LCTL(KC_2) -#define TAB3 LCTL(KC_3) -#define TAB4 LCTL(KC_4) -#define BWORD LCTL(KC_BSPC) -#define LWORD LCTL(KC_LEFT) -#define RWORD LCTL(KC_RIGHT) -#define TABMOD LT(_MOD, KC_TAB) -#define ENTMOD LT(_ENT, KC_ENTER) - -enum layer_names { - _BASE, - _PLAYING, - _PLAYED, - _NUMS, - _FN, - _TEST, - _ALPHA, - _QWERTY, - _REV, - _DEL, - _MOD, - _ENT -}; - -enum custom_keycodes { - MET = SAFE_RANGE, - SET, - GO, - STOP, - RESUME, - NEWRESUME, - SYNC, - SHUTDOWN, - REBOOT, - SOURCE, - PUSH, - TEST, - TST, - ENAME, - SNAME, - LNAME, - BUS, - PMERGE, - CSPEAK -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case SET: - if (record->event.pressed) { - layer_on(_NUMS); - SEND_STRING("met "); -} - break; - case GO: - if (record->event.pressed) { - layer_off(_NUMS); - layer_off(_ALPHA); - layer_off(_PLAYED); - layer_on(_PLAYING); - SEND_STRING(SS_TAP(X_ENTER)); -} - break; - case STOP: - if (record->event.pressed) { - layer_off(_PLAYING); - layer_on(_PLAYED); - layer_off(_NUMS); - layer_off(_ALPHA); - SEND_STRING(SS_TAP(X_N)); - SEND_STRING(SS_TAP(X_N)); - SEND_STRING(SS_LCTL(SS_TAP(X_C))); -} - break; - case RESUME: - if (record->event.pressed) { - layer_off(_PLAYED); - layer_on(_PLAYING); - SEND_STRING(SS_LCTL(SS_TAP(X_C))); - SEND_STRING(SS_TAP(X_UP)); - SEND_STRING(SS_TAP(X_ENTER)); -} - break; - case NEWRESUME: - if (record->event.pressed) { - layer_off(_NUMS); - layer_off(_ALPHA); - layer_off(_PLAYED); - layer_on(_PLAYING); - SEND_STRING(SS_TAP(X_R)); - SEND_STRING(SS_TAP(X_ENTER)); -} - break; - case SYNC: - if (record->event.pressed) { - SEND_STRING(SS_TAP(X_N)); -} - break; - case SHUTDOWN: - if (record->event.pressed) { - SEND_STRING(SS_LCTL(SS_TAP(X_C))); - SEND_STRING("shutdown now"); - SEND_STRING(SS_TAP(X_ENTER)); -} - break; - case REBOOT: - if (record->event.pressed) { - SEND_STRING(SS_LCTL(SS_TAP(X_C))); - SEND_STRING("reboot"); - SEND_STRING(SS_TAP(X_ENTER)); - } - break; - case SOURCE: - if (record->event.pressed) { - SEND_STRING("source .bashrc"); - SEND_STRING(SS_TAP(X_ENTER)); - } - break; - case PUSH: - if (record->event.pressed) { - SEND_STRING("ftp rossmontsinger.net"); - _delay_ms(250); - SEND_STRING(SS_TAP(X_ENTER)); - _delay_ms(2250); - SEND_STRING("met@rossmontsinger.net"); - _delay_ms(250); - SEND_STRING(SS_TAP(X_ENTER)); - _delay_ms(2500); - SEND_STRING("metboard"); - _delay_ms(250); - SEND_STRING(SS_TAP(X_ENTER)); - } - break; - case TEST: - if (record->event.pressed) { - layer_off(_NUMS); - layer_off(_ALPHA); - layer_off(_PLAYED); - layer_on(_PLAYING); - SEND_STRING(SS_LCTL(SS_TAP(X_C))); - _delay_ms(250); - SEND_STRING("play Desktop/met/a_lazoom.mp3"); - SEND_STRING(SS_TAP(X_ENTER)); - } - case TST: - if (record->event.pressed) { - SEND_STRING("tst"); - SEND_STRING(SS_TAP(X_ENTER)); - } - break; - case ENAME: - if (record->event.pressed) { - SEND_STRING("sname "); - layer_on(_NUMS); - layer_on(_ALPHA); - } - break; - case SNAME: - if (record->event.pressed) { - SEND_STRING(SS_TAP(X_ENTER)); - layer_off(_NUMS); - layer_off(_ALPHA); - } - break; - case LNAME: - if (record->event.pressed) { - SEND_STRING("met $"); - layer_off(_NUMS); - layer_on(_ALPHA); - } - break; - case BUS: - if (record->event.pressed) { - SEND_STRING("met $bus"); - layer_off(_NUMS); - layer_off(_ALPHA); - layer_off(_PLAYED); - layer_on(_PLAYING); - SEND_STRING(SS_TAP(X_ENTER)); - } - break; - case PMERGE: - if (record->event.pressed) { - SEND_STRING(SS_TAP(X_HOME)); - SEND_STRING(SS_TAP(X_BACKSPACE)); - SEND_STRING(SS_TAP(X_SPACE)); - SEND_STRING(SS_LCTL(SS_TAP(X_BACKSPACE))); - SEND_STRING(SS_TAP(X_SPACE)); - } -break; -case CSPEAK: - if (record->event.pressed) { - SEND_STRING(SS_TAP(X_PAGE_DOWN)); - SEND_STRING(SS_TAP(X_ENTER)); - SEND_STRING(SS_TAP(X_ENTER)); - SEND_STRING(SS_TAP(X_PAGE_DOWN)); -} - break; -}; - - return true; -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BASE] = LAYOUT_ortho_5x14( - KC_NO, STOP , TST , _______, _______, _______, BUS , _______, _______, _______, _______, _______, _______, _______, - KC_NO, _______, SET , SET , SET , _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO, _______, SET , SET , SET , _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO, LNAME , SET , SET , SET , _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO, MO(_FN), _______, SET , _______, _______, _______, TG(_QWERTY),KC_B, _______, _______, _______, _______, _______ - ), - - [_PLAYING] = LAYOUT_ortho_5x14( - KC_NO, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO, _______, _______, _______, _______, _______, STOP , _______, _______, _______, _______, _______, _______, _______ - ), - - [_PLAYED] = LAYOUT_ortho_5x14( - KC_NO, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO, _______,_______, _______, _______, _______,NEWRESUME, _______, _______, _______, _______, _______, _______, _______ - ), - - [_NUMS] = LAYOUT_ortho_5x14( - KC_NO, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO, _______, KC_7 , KC_8 , KC_9 , _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO, _______, KC_4 , KC_5 , KC_6 , _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO, _______, KC_1 , KC_2 , KC_3 , _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO, _______, _______, KC_0 , _______, _______, GO , _______, _______, _______, _______, _______, _______, _______ - ), - - [_FN] = LAYOUT_ortho_5x14( - KC_NO, SHUTDOWN,_______, _______, _______, _______, KC_VOLU, _______, _______, _______, _______, _______, _______, _______, - KC_NO, REBOOT , _______, _______, _______, _______, KC_VOLD, _______, _______, _______, _______, _______, _______, _______, - KC_NO, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO, ENAME , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO, _______, _______, _______, _______, _______, SOURCE , _______, _______, _______, _______, _______, _______, _______ - ), - - [_TEST] = LAYOUT_ortho_5x14( - KC_NO, TST , TST , TST , TST , TST , TST , _______, _______, _______, _______, _______, _______, _______, - KC_NO, TST , TST , TST , TST , TST , TST , _______, _______, _______, _______, _______, _______, _______, - KC_NO, TST , TST , TST , TST , TST , TST , _______, _______, _______, _______, _______, _______, _______, - KC_NO, TST , TST , TST , TST , TST , TST , _______, _______, _______, _______, _______, _______, _______, - KC_NO, TST , TST , TST , TST , TST , TST , _______, _______, _______, _______, _______, _______, _______ - ), - - [_ALPHA] = LAYOUT_ortho_5x14( - KC_NO, _______, KC_Y , KC_U , KC_I , KC_O , KC_P , _______, _______, _______, _______, _______, _______, _______, - KC_NO, KC_N , KC_Q , KC_W , KC_E , KC_R , KC_T , _______, _______, _______, _______, _______, _______, _______, - KC_NO, KC_M , KC_A , KC_S , KC_D , KC_F , KC_G , _______, _______, _______, _______, _______, _______, _______, - KC_NO, _______, KC_Z , KC_X , KC_C , KC_V , KC_B , _______, _______, _______, _______, _______, _______, _______, - KC_NO, _______, KC_H , KC_J , KC_K , KC_L , GO , _______, _______, _______, _______, _______, _______, _______ - ), - - [_QWERTY] = LAYOUT_ortho_5x14( - KC_NO, KC_ESC , 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_CAPS, 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_NO, KC_CAPS, KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L , KC_SCLN, KC_QUOT, KC_PGUP , - KC_NO, KC_LSFT, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M , KC_COMM, KC_DOT , KC_SLSH, KC_UP, KC_PGDN , - KC_NO, CTLBSP , GUIDEL , KC_ENTER, ALTSPC, TABMOD , KC_BSPC, ENTMOD , SPCMOD ,MO(_DEL), KC_BSLS, KC_LEFT, KC_DOWN, KC_RIGHT - ), - - - [_REV] = LAYOUT_ortho_5x14( - KC_NO , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO , _______, _______, _______, _______, KC_TAB , KC_PGDN, _______, _______, _______, _______, _______, _______, _______ - ), - - - [_DEL] = LAYOUT_ortho_5x14( - KC_NO , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO , _______, _______, _______, _______, KC_BSPC, BWORD , _______, _______, _______, _______, _______, _______, _______ - ), - - [_MOD] = LAYOUT_ortho_5x14( - KC_NO , KC_GRAVE,KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , KC_F6 , KC_F7 , KC_F8 , KC_F9 , KC_F10 , KC_F11 , NTAB , - KC_NO , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, CTAB, - KC_NO , _______, _______, _______, _______, _______, _______, KC_HOME, KC_LEFT, KC_UP ,KC_RIGHT, KC_END , _______, _______, - KC_NO , _______, _______, _______, _______, _______, _______, _______, PMERGE , KC_DOWN, _______, _______, _______, _______, - KC_NO , _______, _______, _______, _______, LWORD , RWORD , TG(_QWERTY),_______,_______,_______,_______, _______, _______ - ), - - [_ENT] = LAYOUT_ortho_5x14( - KC_NO , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_NO , _______, _______, _______, _______, _______, CSPEAK , _______, _______, _______, _______, _______, _______, _______ - ) -}; - diff --git a/keyboards/keebio/viterbi/keymaps/met/rules.mk b/keyboards/keebio/viterbi/keymaps/met/rules.mk deleted file mode 100644 index 1e3cebb145..0000000000 --- a/keyboards/keebio/viterbi/keymaps/met/rules.mk +++ /dev/null @@ -1 +0,0 @@ -RGBLIGHT_ENABLE = yes diff --git a/keyboards/keebwerk/mega/ansi/keymaps/jesusvallejo/keymap.c b/keyboards/keebwerk/mega/ansi/keymaps/jesusvallejo/keymap.c deleted file mode 100644 index 307eac90e1..0000000000 --- a/keyboards/keebwerk/mega/ansi/keymaps/jesusvallejo/keymap.c +++ /dev/null @@ -1,176 +0,0 @@ -/* Copyright 2020 Yiancar - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H -#include "drivers/led/issi/is31fl3733.h" - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -[0] = LAYOUT_65_ansi( /* Base */ - QK_GESC, 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_BSPC, KC_HOME, - 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, KC_PGUP, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), - -[1] = LAYOUT_65_ansi( /* FN */ - KC_GRV, 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, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, S1_DEC, S1_INC, S2_DEC, S2_INC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, EF_DEC, EF_INC, H1_DEC, H1_INC, H2_DEC, H2_INC, BR_DEC, BR_INC, ES_DEC, ES_INC, KC_TRNS, KC_TRNS, KC_TRNS, - KC_VOLU, KC_VOLD, KC_MUTE, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), - -[2] = LAYOUT_65_ansi( /* Empty for dynamic keymaps */ - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), - -[3] = LAYOUT_65_ansi( /* Empty for dynamic keymaps */ - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), -}; - - -static uint16_t ledTimer; - -uint8_t r = 0; /* First led*/ -uint8_t g = 0; /* Second led*/ -uint8_t b = 0; /* Third led*/ - -/* Boot animation parameters */ - -uint8_t bootFirst=3; /* Number of increment slides. */ -uint8_t bootSec=3; /* Number of full blink. */ - -/* Breathing animation parameters */ - -const uint16_t travelTime = 1000; /* Time the leds take to go from off to on or on to off. */ -const uint16_t fadeStep = 5; /* Steps for the fade in and out, 0-255 by steps of 10. */ -const uint16_t fadeTime = 20; /* Time between each fade step. */ -const uint8_t maxBrightness=255; /* keep them multipliers of fade Step between 0 and 255. */ -const uint8_t minBrightness=0; - -uint16_t previousTime = 0; -uint16_t time = 0; - -bool bootAnimation(void){ - if (bootFirst>0 || bootSec>0){ - if(bootFirst!=0){ - if (timer_elapsed(ledTimer) > 150){ - g = 255; - r = 0; - b = 0; - is31fl3733_set_color( 6+64-1, r, g, b ); - } - if (timer_elapsed(ledTimer) > 300){ - g = 255; - r = 255; - b = 0; - is31fl3733_set_color( 6+64-1, r, g, b ); - } - if (timer_elapsed(ledTimer) > 400){ - g = 255; - r = 255; - b = 255; - is31fl3733_set_color( 6+64-1, r, g, b ); - } - if (timer_elapsed(ledTimer) > 500){ - g = 0; - r = 0; - b = 0; - is31fl3733_set_color( 6+64-1, r, g, b ); - ledTimer = timer_read(); - bootFirst--; - } - } - if (bootFirst==0 && bootSec!=0){ - if (timer_elapsed(ledTimer) > 200) { - g = 255; - r = 255; - b = 255; - is31fl3733_set_color( 6+64-1, r, g, b ); - } - if (timer_elapsed(ledTimer) > 400){ - g = 0; - r = 0; - b = 0; - is31fl3733_set_color( 6+64-1, r, g, b ); - ledTimer = timer_read(); - bootSec--; - } - } - return false; - } - return true; -} - - -void breathing(void) { - if(timer_elapsed(ledTimer) fadeTime && r fadeTime && r>minBrightness){ - g-=fadeStep; - r-=fadeStep; - b-=fadeStep; - is31fl3733_set_color( 6+64-1, r, g, b ); - previousTime = time; - } - } - else { - r=0; - g=0; - b=0; - is31fl3733_set_color( 6+64-1, r, g, b ); - previousTime = 0; - time = 0; - ledTimer=timer_read(); - } -} - -/* this avoids turning off the led each matrix_scan_user() call */ -bool capsState; -bool prevCapsState; - -void matrix_scan_user(void){ - if(bootAnimation()){ - capsState = host_keyboard_led_state().caps_lock; - if (capsState) { - breathing(); - prevCapsState = capsState; - } - else if(!capsState && capsState != prevCapsState){ - g = 0; - r = 0; - b = 0; - is31fl3733_set_color( 6+64-1, r, g, b ); - prevCapsState = capsState; - } - } -} diff --git a/keyboards/keebwerk/mega/ansi/keymaps/jesusvallejo/readme.md b/keyboards/keebwerk/mega/ansi/keymaps/jesusvallejo/readme.md deleted file mode 100644 index 5910222a46..0000000000 --- a/keyboards/keebwerk/mega/ansi/keymaps/jesusvallejo/readme.md +++ /dev/null @@ -1,9 +0,0 @@ -# The jesusvallejo keymap for ANSI Keebwerk Mega. VIA support enabled. - -![Layer 0](https://i.imgur.com/RcuLofrl.png) - -![Layer 1](https://i.imgur.com/NJOORcdl.png) - -- Default layer is normal ANSI 65%. -- Leds slide and blink bootup animation. -- Leds fade Caps Lock animation. diff --git a/keyboards/keebwerk/mega/ansi/keymaps/jesusvallejo/rules.mk b/keyboards/keebwerk/mega/ansi/keymaps/jesusvallejo/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/keebwerk/mega/ansi/keymaps/jesusvallejo/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/keebwerk/nano_slider/keymaps/midi2vol/keymap.c b/keyboards/keebwerk/nano_slider/keymaps/midi2vol/keymap.c deleted file mode 100644 index bd1f399086..0000000000 --- a/keyboards/keebwerk/nano_slider/keymaps/midi2vol/keymap.c +++ /dev/null @@ -1,154 +0,0 @@ -/* Copyright 2020 Duckle, 2021 Jesús Vallejo - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - - -#include QMK_KEYBOARD_H -#include "analog.h" -#include "qmk_midi.h" - -/* -This keymap works with midi2vol: linux version https://github.com/jesusvallejo/Midi2Vol-Linux -and windows version https://github.com/jesusvallejo/Midi2Vol - -Enables the user to change the volume on the host computer if running midi2vol software. - -Example to extend usability is provided check VLC in: enum custom_keycodes {} and bool process_record_user(uint16_t keycode, keyrecord_t *record) {} -Remember to give allways the new volume control a hex value not used by other volume control, -and add it to the midi2vol software. -Check respective midi2vol readme on how to do so.In linux change config.json,in windows you can use configuration option. - -A compiled version of this keymap is provided in here: https://github.com/jesusvallejo/nanokeymaps/ - -*/ - -uint8_t midi2vol = 0x3E; - -/* Defines names for use in layer keycodes and the keymap */ - -enum custom_layers { - _MEDIA, /* Controls Pause, Mute , Forward ... */ - _NAV, /* Nav arrows, Enter, Space*/ - _VOLUME, /* Changes midi2vol int to interface with midi2vol program: Chrome Volume, General Volume */ - _DISCORD, /* FXX unsused keys to interface with Discord: Mute , Silence */ - _LIGHTS, /* Edits underglow and retroilumination */ - _EDIT, /* Cut, Copy ,Paste */ - _QK_BOOT, /* Layer to set nano in bootloader mode */ - _TOOGLE, /* Momentary layer to switch between layers */ -}; - - - -/* Defines the keycodes used by our macros in process_record_user */ -enum custom_keycodes { /* In order to add more volume controls, add here a custom keycode, ex: VLC */ - DEFAULT= SAFE_RANGE,SPOTIFY,DISCORD,CHROME/*,VLC*/ -}; - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Base */ - [_MEDIA] = LAYOUT( - MO(_TOOGLE), - KC_MPLY, KC_MNXT, KC_COPY, - KC_MUTE, KC_MPRV, KC_PASTE, KC_ENTER - ), - [_NAV] = LAYOUT( - MO(_TOOGLE), - KC_SPC, KC_UP, KC_BSPC, - KC_LEFT, KC_DOWN, KC_RIGHT, KC_ENTER - ), - [_VOLUME] = LAYOUT( - MO(_TOOGLE), - SPOTIFY, DISCORD, CHROME, - KC_NO, KC_NO, KC_NO, DEFAULT - ), - [_DISCORD] = LAYOUT( - MO(_TOOGLE), - KC_F18, KC_F19, KC_F20, - KC_F21, KC_F22, KC_F23, KC_F24 - ), - [_LIGHTS] = LAYOUT( - MO(_TOOGLE), - RGB_TOG, RGB_MOD, RGB_VAI, - RGB_SAI, BL_BRTG, BL_STEP, KC_LSFT - ), - [_EDIT] = LAYOUT( - MO(_TOOGLE), - KC_MENU, KC_CUT, KC_COPY, - KC_FIND, KC_UNDO, KC_PASTE, KC_MPLY - ), - [_RESET] = LAYOUT( - MO(_TOOGLE), - KC_NO, KC_NO, KC_NO, - KC_NO, KC_NO, KC_NO, QK_BOOT - ), - [_TOOGLE] = LAYOUT( - MO(_TOOGLE), - TO(_MEDIA), TO(_NAV), TO(_VOLUME), - TO(_DISCORD), TO(_LIGHTS), TO(_EDIT), TO(_RESET) - ) -}; -/* In order to add more volume controls, add here code to detect custom keycode, ex: VLC */ -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case DEFAULT: - if (record->event.pressed) { - /* when keycode DEFAULT is pressed */ - midi2vol= 0x3E; - } else { - /* when keycode DEFAULT is released */ - } - break; - case SPOTIFY: - if (record->event.pressed) { - midi2vol= 0x3F; - } - break; - case DISCORD: - if (record->event.pressed) { - - midi2vol= 0x40; - } - break; - case CHROME: - if (record->event.pressed) { - - midi2vol= 0x41; - } - break; - /* - case VLC: - if (record->event.pressed) { - midi2vol= 0x42; - } - break; - */ - } - return true; -} - -uint8_t divisor = 0; - - -void slider(void) { - if (divisor++) { /* only run the slider function 1/256 times it's called */ - return; - } - midi_send_cc(&midi_device, 2, midi2vol, 0x7F - (analogReadPin(SLIDER_PIN) >> 3)); -} - -void matrix_scan_user(void) { - slider(); -} diff --git a/keyboards/keebwerk/nano_slider/keymaps/midi2vol/readme.md b/keyboards/keebwerk/nano_slider/keymaps/midi2vol/readme.md deleted file mode 100644 index 869baef07f..0000000000 --- a/keyboards/keebwerk/nano_slider/keymaps/midi2vol/readme.md +++ /dev/null @@ -1,2 +0,0 @@ -# The Midi2Vol keymap for nano_slider -This keymap has the code for the nano_slider to work with [Midi2Vol](https://github.com/jesusvallejo/Midi2Vol). diff --git a/keyboards/keyboardio/atreus/keymaps/ardumont/keymap.c b/keyboards/keyboardio/atreus/keymaps/ardumont/keymap.c deleted file mode 100644 index 92296cbc55..0000000000 --- a/keyboards/keyboardio/atreus/keymaps/ardumont/keymap.c +++ /dev/null @@ -1,137 +0,0 @@ -// Copyright (C) 2019, 2020 Keyboard.io, Inc -// 2021 Antoine R. Dumont (@ardumont) -// -// this is the style you want to emulate. -// This is the canonical layout file for the Quantum project. If you want to add another keyboard, - -#include QMK_KEYBOARD_H - -// Each layer gets a name for readability, which is then used in the keymap matrix below. -// The underscores don't mean anything - you can have a layer called STUFF or any other name. -// Layer names don't all need to be of the same length, obviously, and you can also skip them -// entirely and just use numbers. -enum layer_names { - _QW, - _RS, - _LW, -}; - -// tap: z // hold: SHIFT -#define Z_SFT SFT_T(KC_Z) -// tap: / // hold: SHIFT -#define SLSH_SFT SFT_T(KC_SLSH) - -// tap: ` // hold: SHIFT -#define GRAVE_SFT SFT_T(KC_GRAVE) -// tap: [ // hold: SHIFT -#define RBRC_SFT SFT_T(KC_RBRC) - -// Layer movment -#define FN0 MO(_RS) // move to layer 1 (L1) -#define FN1 TG(_LW) // move to layer 2 (L2) -#define FN2 TO(_QW) // move to layer 0 (L0) - - /* - * q w e r t || y u i/tab o p - * a s d f g || h j k l ; - * z/sft x c v b ` || \ n m , . //sft - * ctl esc super alt L1 spc || spc L1 alt - ' ctl - */ - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_QW] = LAYOUT( /* Qwerty */ - KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P , - KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN , - Z_SFT, KC_X, KC_C, KC_V, KC_B, KC_GRAVE, KC_BSLS, KC_N, KC_M, KC_COMM, KC_DOT, SLSH_SFT, - KC_LCTL, KC_ESC, KC_LGUI, KC_LALT, KC_SPC, FN0, FN0, KC_SPC, KC_LALT, KC_MINS, KC_QUOT, KC_LCTL - ), - - /* - * 1 2 3 4 5 || 6 7 8 9 0 - * ! @ # $ % || ^ & * ( ) - * `/sft ~ ? ? ? ~ || | + - / [ ]/sft - * ctl esc super alt spc L2 || L2 spc alt = esc ctl - */ - [_RS] = LAYOUT( /* [> RAISE <] */ - KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0 , - KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN , - GRAVE_SFT, KC_TILD, KC_NO, KC_NO, KC_NO, _______, _______, KC_PLUS, KC_MINS, KC_SLSH, KC_LBRC, RBRC_SFT, - _______, _______, _______, _______, _______, FN1, FN1, _______, _______, KC_EQL, _______, _______ - ), - - /* - * F1 F2 F3 F4 F5 || F6 F7 F8 F9 F10 - * __ __ __ __ F11 || F12 __ __ __ __ - * __ __ __ dbg rst eep-rst || __ __ __ __ __ __ - * ctl esc super alt __ L0 || L0 __ alt __ esc ctl - */ - [_LW] = LAYOUT( /* [> LOWER <] */ - KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, - KC_NO, KC_NO, KC_NO, KC_NO, KC_F11, KC_F12, KC_NO, KC_NO, KC_NO, KC_NO , - KC_NO, KC_NO, KC_NO, DB_TOGG, QK_BOOT, EE_CLR, _______, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO , - _______, _______, _______, _______, _______, FN2, FN2, _______, _______, KC_NO, KC_ESC, _______ - ) -}; - -// Initialize variable holding the binary -// representation of active modifiers. -uint8_t mod_state; - -bool substitute_keycode(uint16_t keycode, keyrecord_t *record, uint8_t mod_state, uint16_t substitute_keycode) { - /* Substitute keycode if condition matches */ - // Initialize a boolean variable that keeps track - // of the delete key status: registered or not? - static bool key_registered; - // ctrl activated? - if ((mod_state & MOD_BIT(KC_LCTL)) == MOD_BIT(KC_LCTL)) { - if (record->event.pressed) { - // No need to register KC_LCTL because it's already active. - unregister_code(KC_LCTL); - // Send substitute code - register_code(substitute_keycode); - // Update the boolean variable to reflect the status of the register - key_registered = true; - // Reapplying modifier state so that the held shift key(s) - // still work even after having tapped the Backspace/Delete key. - set_mods(mod_state); - // Do not let QMK process the keycode further - return false; - } else { - // In case substitude_keycode is still even after release of the key - if (key_registered) { - unregister_code(substitute_keycode); - key_registered = false; - // Do not let QMK process the keycode further - return false; - } - } - } else { // ctrl got released - // In case substitude_keycode is still sent after release of the ctrl key - if (key_registered) { - unregister_code(substitute_keycode); - key_registered = false; - } - } - // Else, let QMK process the keycode as usual - return true; -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - // Store the current modifier state in the variable for later reference - mod_state = get_mods(); - switch (keycode) { - case KC_I: - return substitute_keycode(keycode, record, mod_state, KC_TAB); - case KC_M: - return substitute_keycode(keycode, record, mod_state, KC_ENTER); - case KC_H: - return substitute_keycode(keycode, record, mod_state, KC_BSPC); - case KC_D: - return substitute_keycode(keycode, record, mod_state, KC_DEL); - case KC_N: - return substitute_keycode(keycode, record, mod_state, KC_DOWN); - case KC_P: - return substitute_keycode(keycode, record, mod_state, KC_UP); - } - return true; -}; diff --git a/keyboards/keyboardio/atreus/keymaps/ardumont/readme.md b/keyboards/keyboardio/atreus/keymaps/ardumont/readme.md deleted file mode 100644 index d2532d7e97..0000000000 --- a/keyboards/keyboardio/atreus/keymaps/ardumont/readme.md +++ /dev/null @@ -1,23 +0,0 @@ -![ardumont layout](https://i.imgur.com/tuk64AI.png) - -# ardumont layout - -This is a qwerty layout for the keyboardio/atreus. For the most part, it's a -straightforward layout. Only the modifiers key are not organized like the default -layout. Those modifier keys are mostly symmetrically configured. - -The idea is that when using a modifier key, some users may expect to use both side of -the keyboard symmetrically (as in emacs, qutebrowser, terminal/tmux). - -Exceptions to the rules are the `Escape` and the `Super` which only exists on the left -Side of the keyboard. Those are mostly unused. - -Note that some keys are not present in the keyboard (e.g `Tab`, `Enter`, ...) since they -are available from the legacy terminal bindings: - -- Ctrl-i: Tab -- Ctrl-m: Enter -- Ctrl-h: Backspace -- Ctrl-d: Del -- Ctrl-n: Down -- Ctrl-p: Up diff --git a/keyboards/keyboardio/atreus/keymaps/kkokdae/config.h b/keyboards/keyboardio/atreus/keymaps/kkokdae/config.h deleted file mode 100644 index c34fa270b4..0000000000 --- a/keyboards/keyboardio/atreus/keymaps/kkokdae/config.h +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright 2022 kkokdae - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once -//#define PERMISSIVE_HOLD -#define TAPPING_TERM 200 -#define ONESHOT_TAP_TOGGLE 5 -#define ONESHOT_TIMEOUT 5000 - -#define AUTO_SHIFT_DISABLED_AT_STARTUP -#define AUTO_SHIFT_TIMEOUT 0 -#define NO_AUTO_SHIFT_SPECIAL -#define NO_AUTO_SHIFT_NUMERIC diff --git a/keyboards/keyboardio/atreus/keymaps/kkokdae/keymap.c b/keyboards/keyboardio/atreus/keymaps/kkokdae/keymap.c deleted file mode 100644 index de8491d246..0000000000 --- a/keyboards/keyboardio/atreus/keymaps/kkokdae/keymap.c +++ /dev/null @@ -1,110 +0,0 @@ -/* Copyright 2022 kkokdae - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H - -enum my_layers { - _COLEMAK, - _QWERTY, - _FUNC, - _NUMPAD, - _SYMBOL -}; - -enum my_tds { - TdH, - TdL -}; - -#define FUNC LT(_FUNC, KC_SPC) -#define NUMPAD LT(_NUMPAD, KC_BSPC) -#define DNUMPAD LT(_NUMPAD, KC_DEL) -#define SYMBOL OSL(_SYMBOL) - -#define OSMCMD OSM(MOD_LGUI) -#define OSMOPT OSM(MOD_LALT) -#define OSMCTL OSM(MOD_LCTL) -#define OSMSFT OSM(MOD_LSFT) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_COLEMAK] = LAYOUT( - KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_QUOT, - KC_A, KC_R, KC_S, KC_T, KC_G, KC_M, KC_N, KC_E, KC_I, KC_O, - KC_Z, KC_X, KC_C, KC_D, KC_V, _______, _______, KC_K, KC_H, KC_COMM, KC_DOT, KC_ENT, - OSMCMD, OSMOPT, OSMCTL, OSMSFT, FUNC, KC_TAB, KC_ESC, NUMPAD, SYMBOL, OSMCTL, OSMOPT, OSMCMD - ), - - [_QWERTY] = LAYOUT( - KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, - KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, - KC_Z, KC_X, KC_C, KC_V, KC_B, _______, _______, KC_N, KC_M, KC_COMM, KC_DOT, KC_ENT, - OSMCMD, OSMOPT, OSMCTL, OSMSFT, FUNC, KC_TAB, KC_ESC, NUMPAD, SYMBOL, OSMCTL, OSMOPT, OSMCMD - ), - - [_FUNC] = LAYOUT( - KC_MRWD, KC_VOLU, KC_VOLD, KC_MFFD, KC_MPLY, KC_INS, KC_F7, KC_F8, KC_F9, KC_CAPS, - KC_LEFT, KC_UP, KC_DOWN, KC_RGHT, KC_BRIU, KC_F12, KC_F4, KC_F5, KC_F6, TD(TdL), - KC_HOME, KC_PGUP, KC_PGDN, KC_END, KC_BRID, _______, _______, KC_F10, KC_F1, KC_F2, KC_F3, KC_F11, - _______, _______, _______, CW_TOGG, _______, _______, _______, DNUMPAD, _______, _______, _______, _______ - ), - - [_NUMPAD] = LAYOUT( - _______, _______, _______, _______, _______, S(KC_E), KC_7, KC_8, KC_9, S(KC_F), - TD(TdL), KC_EQL, KC_ASTR, KC_PLUS, _______, S(KC_C), KC_4, KC_5, KC_6, S(KC_D), - TD(TdH), KC_DOT, KC_SLSH, KC_MINS, _______, _______, _______, S(KC_A), KC_1, KC_2, KC_3, S(KC_B), - _______, _______, _______, CW_TOGG, _______, _______, _______, _______, KC_0, _______, _______, _______ - ), - - [_SYMBOL] = LAYOUT( - KC_LCBR, KC_LBRC, KC_RBRC, KC_RCBR, KC_CIRC, KC_DLR, KC_BSLS, KC_PERC, KC_AT, KC_DQUO, - KC_QUES, KC_EXLM, KC_HASH, KC_ASTR, KC_AMPR, KC_PIPE, KC_MINS, KC_PLUS, KC_UNDS, KC_EQL, - KC_LT, KC_LPRN, KC_RPRN, KC_GT, KC_GRV, _______, _______, KC_TILD, KC_SLSH, C(KC_B), KC_COLN, KC_SCLN, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), -}; - -void dance_hex(tap_dance_state_t *state, void *user_data) { - switch(state->count) { - case 1: - SEND_STRING("0x"); - break; - case 2: - SEND_STRING("\\x"); - break; - } -} - -void dance_lang(tap_dance_state_t *state, void *user_data) { - uint32_t default_layer; - switch(state->count) { - case 1: - SEND_STRING(SS_LCTL(" ") SS_DELAY(200) SS_TAP(X_ENT)); - case 2: - default_layer = get_highest_layer(default_layer_state); - if (default_layer == _COLEMAK) { - set_single_persistent_default_layer(_QWERTY); - } - else if (default_layer == _QWERTY) { - set_single_persistent_default_layer(_COLEMAK); - } - break; - } -} - -tap_dance_action_t tap_dance_actions[] = { - [TdH] = ACTION_TAP_DANCE_FN(dance_hex), - [TdL] = ACTION_TAP_DANCE_FN(dance_lang) -}; diff --git a/keyboards/keyboardio/atreus/keymaps/kkokdae/readme.md b/keyboards/keyboardio/atreus/keymaps/kkokdae/readme.md deleted file mode 100644 index f7f85f70a6..0000000000 --- a/keyboards/keyboardio/atreus/keymaps/kkokdae/readme.md +++ /dev/null @@ -1,5 +0,0 @@ -# kkokdae keymap - Keyboardio Atreus - -This is the keymap available for keyboardio/atreus keyboards. - -The default layout used [Colemak Mod-DH](https://colemakmods.github.io/mod-dh/). The prefix keys for vim/tmux users. The symbol is designed for ease of use by programmers. diff --git a/keyboards/keyboardio/atreus/keymaps/kkokdae/rules.mk b/keyboards/keyboardio/atreus/keymaps/kkokdae/rules.mk deleted file mode 100644 index 75ebcd912b..0000000000 --- a/keyboards/keyboardio/atreus/keymaps/kkokdae/rules.mk +++ /dev/null @@ -1,4 +0,0 @@ -MOUSEKEY_ENABLE = no -COMMAND_ENABLE = no -TAP_DANCE_ENABLE = yes -CAPS_WORD_ENABLE = yes diff --git a/keyboards/keyboardio/atreus/keymaps/poweredbyporridge/config.h b/keyboards/keyboardio/atreus/keymaps/poweredbyporridge/config.h deleted file mode 100644 index 0fa53c2d67..0000000000 --- a/keyboards/keyboardio/atreus/keymaps/poweredbyporridge/config.h +++ /dev/null @@ -1,45 +0,0 @@ -/* Copyright 2023 @PoweredByPorridge - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -#define AUTO_SHIFT_TIMEOUT 210 - -#define NO_AUTO_SHIFT_NUMERIC -// #define NO_AUTO_SHIFT_SPECIAL - -// retro shift is auto shift on home row mods -// I no longer use home row mods, but do find this setting helps -// avoid 'fat fingered' keypresses. - -// If RETRO_SHIFT is defined to a value, hold times greater -// than that value will not produce a tap on release. This enables -// modifiers to be held for combining with mouse clicks without -// generating taps on release. -#define RETRO_SHIFT 425 - -// can also be defined without a value -// #define RETRO_SHIFT - -// Configure the global tapping term (default: 200ms) -// Lower than 210 and I can't tap dance brackets without a run up. -#define TAPPING_TERM 210 - -#define TAPPING_TERM_PER_KEY - -// Apply the modifier on keys that are tapped during a short hold of a modtap -// Prevents slurred typing (of home row mods) -#define PERMISSIVE_HOLD diff --git a/keyboards/keyboardio/atreus/keymaps/poweredbyporridge/keymap.c b/keyboards/keyboardio/atreus/keymaps/poweredbyporridge/keymap.c deleted file mode 100644 index 40c8b0b5aa..0000000000 --- a/keyboards/keyboardio/atreus/keymaps/poweredbyporridge/keymap.c +++ /dev/null @@ -1,224 +0,0 @@ -/* Copyright 2023 @PoweredByPorridge - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H - -// Tap Dance keycodes -enum td_keycodes { - L_BRAX, // Used in the keymap, add additional keycodes for each tapdance. - R_BRAX, - QUOTS, - TACHE -}; - -// Define a type containing as many tapdance states as you need -typedef enum { - SINGLE_TAP, - DOUBLE_TAP, // SINGLE_HOLD, - TRIPLE_TAP // DOUBLE_SINGLE_TAP -} td_state_t; - -// Create a global instance of the tapdance state type -static td_state_t td_state; - -// Declare your tapdance functions: - -// Function to determine the current tapdance state -uint8_t cur_dance(tap_dance_state_t *state); - -// `finished` and `reset` functions for each tapdance keycode -void lbrax_finished(tap_dance_state_t *state, void *user_data); -void lbrax_reset(tap_dance_state_t *state, void *user_data); - -void rbrax_finished(tap_dance_state_t *state, void *user_data); -void rbrax_reset(tap_dance_state_t *state, void *user_data); - -void quots_finished(tap_dance_state_t *state, void *user_data); -void quots_reset(tap_dance_state_t *state, void *user_data); - -void tache_finished(tap_dance_state_t *state, void *user_data); -void tache_reset(tap_dance_state_t *state, void *user_data); - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT(KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, - KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, - KC_Z, KC_X, KC_C, KC_V, KC_B, KC_NUBS, KC_SLSH, KC_N, KC_M, KC_COMM, KC_DOT, KC_ENT, - LCTL_T(KC_ESC), KC_LALT, KC_LGUI, KC_LSFT, MO(1), KC_SPC, KC_SPC, MO(2), TD(QUOTS), KC_RSFT, KC_LALT, LCTL_T(KC_TAB)), - - [1] = LAYOUT(KC_EXLM, KC_DQUO, LSFT(KC_3), KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_DEL, KC_BSPC, - KC_F24, LALT(KC_F3), KC_NO, KC_NO, TD(L_BRAX), TD(R_BRAX), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, - LCTL(KC_F12), LALT(KC_X), KC_NO, KC_NO, KC_NO, TD(QUOTS), TD(TACHE), KC_MINS, KC_EQL, KC_COMM, KC_DOT, KC_ENT, - KC_TRNS, KC_NO, KC_NO, MO(3), KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, LSFT(KC_TAB)), - - [2] = LAYOUT(KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, - KC_NO, LALT(KC_F3), KC_NO, KC_NO, TD(L_BRAX), TD(R_BRAX), KC_HOME, KC_PGDN, KC_PGUP, KC_END, - LCTL(KC_F12), LALT(KC_X), KC_NO, KC_NO, KC_NO, TD(QUOTS), TD(TACHE), KC_MINS, KC_EQL, KC_COMM, KC_DOT, KC_NO, - KC_TRNS, KC_NO, KC_NO, KC_NO, MO(3), KC_NO, KC_NO, KC_NO, MO(3), KC_NO, KC_NO, KC_TRNS), - - [3] = LAYOUT(KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, - AS_TOGG, KC_F24, KC_NO, KC_NO, KC_NO, KC_NO, LSA(KC_LEFT), LSA(KC_DOWN), LSA(KC_UP), LSA(KC_RGHT), - KC_LCTL, LALT(KC_DEL),KC_NO, KC_NO, KC_NO, KC_NO, KC_VOLU, KC_NO, KC_F12, KC_F13, KC_F14, KC_NO, - KC_TRNS, KC_F23, KC_LCTL, KC_NO, KC_TRNS, KC_NO, KC_VOLD, KC_MPLY, KC_LSFT, KC_NO, KC_NO, KC_TRNS) -}; - -/* -Notes on keys -or, why on earth do I have keymap -lower-shift-z is CTRL-F12 - Darkroom mode in emacs -lower-x is ALT-X - emacs -layer3-a is toggle autoshift -layer3-s is F24 - i3 controls popup reminder -lower-s is ALT-F3 - multi-select in Sublime text -*/ - - -// Determine the tapdance state to return -uint8_t cur_dance(tap_dance_state_t *state) { - if (state->count == 1) { - return SINGLE_TAP; - } else if (state->count == 2) { - return DOUBLE_TAP; - } else if (state->count == 3) { - return TRIPLE_TAP; - } else { - reset_tap_dance (state); - return 3; - } -} - - -// Handle the possible states for each tapdance keycode you define: - -void lbrax_finished(tap_dance_state_t *state, void *user_data) { - td_state = cur_dance(state); - switch (td_state) { - case SINGLE_TAP: - register_code16(LSFT(KC_9)); - break; - case DOUBLE_TAP: - register_code16(KC_LBRC); - break; - case TRIPLE_TAP: - register_code16(LSFT(KC_LBRC)); - } -} - -void lbrax_reset(tap_dance_state_t *state, void *user_data) { - switch (td_state) { - case SINGLE_TAP: - unregister_code16(LSFT(KC_9)); - break; - case DOUBLE_TAP: - unregister_code16(KC_LBRC); - break; - case TRIPLE_TAP: - unregister_code16(LSFT(KC_LBRC)); - } -} - -// Handle the possible states for each tapdance keycode you define: - -void rbrax_finished(tap_dance_state_t *state, void *user_data) { - td_state = cur_dance(state); - switch (td_state) { - case SINGLE_TAP: - register_code16(LSFT(KC_0)); - break; - case DOUBLE_TAP: - register_code16(KC_RBRC); - break; - case TRIPLE_TAP: - register_code16(LSFT(KC_RBRC)); - } -} - - -void rbrax_reset(tap_dance_state_t *state, void *user_data) { - switch (td_state) { - case SINGLE_TAP: - unregister_code16(LSFT(KC_0)); - break; - case DOUBLE_TAP: - unregister_code16(KC_RBRC); - break; - case TRIPLE_TAP: - unregister_code16(LSFT(KC_RBRC)); - } -} - -void quots_finished(tap_dance_state_t *state, void *user_data) { - td_state = cur_dance(state); - switch (td_state) { - case SINGLE_TAP: - register_code16(KC_QUOT); - break; - case DOUBLE_TAP: - register_code16(KC_AT); - break; - case TRIPLE_TAP: - register_code16(KC_DQUO); - } -} - -void quots_reset(tap_dance_state_t *state, void *user_data) { - switch (td_state) { - case SINGLE_TAP: - unregister_code16(KC_QUOT); - break; - case DOUBLE_TAP: - unregister_code16(KC_AT); - break; - case TRIPLE_TAP: - unregister_code16(KC_DQUO); - } -} - -void tache_finished(tap_dance_state_t *state, void *user_data) { - td_state = cur_dance(state); - switch (td_state) { - case SINGLE_TAP: - register_code16(KC_NUHS); - break; - case DOUBLE_TAP: - - register_code16(LSFT(KC_NUHS)); - break; - case TRIPLE_TAP: - register_code16(KC_GRV); - } -} - -void tache_reset(tap_dance_state_t *state, void *user_data) { - switch (td_state) { - case SINGLE_TAP: - unregister_code16(KC_NUHS); - break; - case DOUBLE_TAP: - unregister_code16(LSFT(KC_NUHS)); - break; - case TRIPLE_TAP: - unregister_code16(KC_GRV); - } -} - -// Define `ACTION_TAP_DANCE_FN_ADVANCED()` for each tapdance keycode, passing in `finished` and `reset` functions - -tap_dance_action_t tap_dance_actions[] = { - [L_BRAX] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, lbrax_finished, lbrax_reset), - [R_BRAX] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, rbrax_finished, rbrax_reset), - [QUOTS] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, quots_finished, quots_reset), - [TACHE] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, tache_finished, tache_reset) -}; diff --git a/keyboards/keyboardio/atreus/keymaps/poweredbyporridge/readme.md b/keyboards/keyboardio/atreus/keymaps/poweredbyporridge/readme.md deleted file mode 100644 index 619654186d..0000000000 --- a/keyboards/keyboardio/atreus/keymaps/poweredbyporridge/readme.md +++ /dev/null @@ -1,35 +0,0 @@ -# Keyboardio Atreus with an SLF layout from PoweredByPorridge - -SLF stands for [Stiff Little Fingers](https://en.wikipedia.org/wiki/Stiff_Little_Fingers) who were a great punk band from Belfast, Northern Ireland. Stiff Little Fingers is also a good way of describing my hands, a condition which I ascribe to too many winters cycling without gloves. So, I need a keyboard and layout to cope. - -I use a Keyboardio Atreus, in fact, they're so good, I use two. I tried all sorts of layouts, and finally came up with the one that suits my stiff fingers. - -It has four layers: - -0 - Normal - letters and punctuation. - -![layer 0](https://i.imgur.com/3Z8PZtI.png) - -1 - Symbols (shifted numbers), arrow keys, assorted function keys, Del and Backspace. - -![layer 1](https://i.imgur.com/9rJalxV.png) - -2 - Numbers, page up, page down, home, and end. Similar assorted functions. - -![layer 2](https://i.imgur.com/TYY11b5.png) - -3 - F1 to F14, play/pause, volume up/down, Left-shift-Alt left, right, up, down. - -![layer 3](https://i.imgur.com/MuWNPTz.png) - -Autoshift is important, I use it all the time. - -I use tap dance (one, two, or three key presses) for: - -* Braces, brackets, and curly brackets. TD(L_BRAX) and TD(R_BRAX) -* Hash (pound), tilde, and backtick. TD(TACHE) -* Single quote, double quote, and @. TD(QUOTS) - -There are odd keys that are there for a particular reason: -* F24 - my [I3](https://i3wm.org/) popup to remind me of stuff I always forget. -* Alt-shift-left/right/up/down - multi-select in Sublime text. \ No newline at end of file diff --git a/keyboards/keyboardio/atreus/keymaps/poweredbyporridge/rules.mk b/keyboards/keyboardio/atreus/keymaps/poweredbyporridge/rules.mk deleted file mode 100644 index 3285414f97..0000000000 --- a/keyboards/keyboardio/atreus/keymaps/poweredbyporridge/rules.mk +++ /dev/null @@ -1,7 +0,0 @@ -BOOTMAGIC_ENABLE = no -MOUSEKEY_ENABLE = no -CONSOLE_ENABLE = no -COMMAND_ENABLE = no -UNICODE_ENABLE = no -AUTO_SHIFT_ENABLE = yes -TAP_DANCE_ENABLE = yes diff --git a/keyboards/keyboardio/atreus/keymaps/slotthe/autocorrect_data.h b/keyboards/keyboardio/atreus/keymaps/slotthe/autocorrect_data.h deleted file mode 100644 index 155b1fbc54..0000000000 --- a/keyboards/keyboardio/atreus/keymaps/slotthe/autocorrect_data.h +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2023 QMK -// SPDX-License-Identifier: GPL-2.0-or-later - -/******************************************************************************* - 88888888888 888 d8b .d888 d8b 888 d8b - 888 888 Y8P d88P" Y8P 888 Y8P - 888 888 888 888 - 888 88888b. 888 .d8888b 888888 888 888 .d88b. 888 .d8888b - 888 888 "88b 888 88K 888 888 888 d8P Y8b 888 88K - 888 888 888 888 "Y8888b. 888 888 888 88888888 888 "Y8888b. - 888 888 888 888 X88 888 888 888 Y8b. 888 X88 - 888 888 888 888 88888P' 888 888 888 "Y8888 888 88888P' - 888 888 - 888 888 - 888 888 - .d88b. .d88b. 88888b. .d88b. 888d888 8888b. 888888 .d88b. .d88888 - d88P"88b d8P Y8b 888 "88b d8P Y8b 888P" "88b 888 d8P Y8b d88" 888 - 888 888 88888888 888 888 88888888 888 .d888888 888 88888888 888 888 - Y88b 888 Y8b. 888 888 Y8b. 888 888 888 Y88b. Y8b. Y88b 888 - "Y88888 "Y8888 888 888 "Y8888 888 "Y888888 "Y888 "Y8888 "Y88888 - 888 - Y8b d88P - "Y88P" -*******************************************************************************/ - -#pragma once - -// Autocorrection dictionary (4 entries): -// :alot -> a lot -// accesories -> accessories -// accomodate -> accommodate -// alledge -> allege - -#define AUTOCORRECT_MIN_LENGTH 5 // ":alot" -#define AUTOCORRECT_MAX_LENGTH 10 // "accesories" -#define DICTIONARY_SIZE 73 - -static const uint8_t autocorrect_data[DICTIONARY_SIZE] PROGMEM = { - 0x48, 0x0A, 0x00, 0x16, 0x2C, 0x00, 0x17, 0x3E, 0x00, 0x00, 0x4A, 0x11, 0x00, 0x17, 0x1B, 0x00, - 0x00, 0x07, 0x08, 0x0F, 0x0F, 0x04, 0x00, 0x82, 0x67, 0x65, 0x00, 0x04, 0x07, 0x12, 0x10, 0x12, - 0x06, 0x06, 0x04, 0x00, 0x84, 0x6D, 0x6F, 0x64, 0x61, 0x74, 0x65, 0x00, 0x08, 0x0C, 0x15, 0x12, - 0x16, 0x08, 0x06, 0x06, 0x04, 0x00, 0x84, 0x73, 0x6F, 0x72, 0x69, 0x65, 0x73, 0x00, 0x12, 0x0F, - 0x04, 0x2C, 0x00, 0x82, 0x20, 0x6C, 0x6F, 0x74, 0x00 -}; diff --git a/keyboards/keyboardio/atreus/keymaps/slotthe/config.h b/keyboards/keyboardio/atreus/keymaps/slotthe/config.h deleted file mode 100644 index 26235c9d91..0000000000 --- a/keyboards/keyboardio/atreus/keymaps/slotthe/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* © 2023 Tony Zorman (@slotThe) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or (at - * your option) any later version. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#define BOTH_SHIFTS_TURNS_ON_CAPS_WORD -#define TAPPING_TERM 175 -#define HOLD_ON_OTHER_KEY_PRESS diff --git a/keyboards/keyboardio/atreus/keymaps/slotthe/keymap.c b/keyboards/keyboardio/atreus/keymaps/slotthe/keymap.c deleted file mode 100644 index 6188f14ab9..0000000000 --- a/keyboards/keyboardio/atreus/keymaps/slotthe/keymap.c +++ /dev/null @@ -1,328 +0,0 @@ -/* © 2023 Tony Zorman (@slotThe) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or (at - * your option) any later version. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H - -// NOTE: `M-x occur RET /// RET' gives a good overview. - -/// General macros - -#define LSPR_SC LGUI_T(KC_SCLN) -#define LALT_BR LALT_T(KC_LBRC) -#define LSFT_INS LSFT(KC_INS) -#define OSMSFT OSM(MOD_LSFT) -#define Z_SFT LSFT_T(KC_Z) -#define ZE_SFT LSFT_T(KC_0) -#define SL_SFT RSFT_T(KC_SLSH) -#define RETSPR LGUI_T(KC_ENT) - -/// Tap dance declarations - -// So far, tap dances do different things on -// -// - a single press, -// - a double press, -// - when held, -// -// so expect this many keys as comments. -enum tap_dances { - ALT_BR, // [ ] lalt (also works shifted, which gets us { and } for free) - CTL_PR, // ( ) lctl - SFT_CI, // ^ ^ lsft (working around LSFT_T not being able to output shifted keys) - SFT_EX, // ! ! lsft (ditto) -}; - -#define CTLPAR TD(CTL_PR) -#define ALTBRC TD(ALT_BR) -#define SFTCRC TD(SFT_CI) -#define SFTEXL TD(SFT_EX) - -/// Macro declarations - -enum custom_keycodes { - // -> <- =<< >>= <*> <* *> <$> <&> <|> => :: - RARR = SAFE_RANGE, LARR, LBND, RBND, APP, RAPP, LAPP, FMAP, PAMF, AALT, IMPLS, DCOL, -}; - -/// Key overrides - -const key_override_t **key_overrides = (const key_override_t *[]){ - &ko_make_basic(MOD_MASK_SHIFT, KC_BSPC, KC_DEL), // S-BSP ≡ DEL - // Emacs got me used to these, so let's convince other programs that - // we are in fact sending the correct keys. - &ko_make_basic(MOD_MASK_CTRL, KC_I, KC_TAB), // C-i ≡ Tab - &ko_make_basic(MOD_MASK_CTRL, KC_M, KC_ENT), // C-m ≡ Return - NULL // Null terminate the array of overrides -}; - -/// Layers - -enum layer_names { _COLEMAK_DH, _LOWER, _RAISE, _ADJUST }; - -#define LOWER MO(_LOWER) -#define RAISE MO(_RAISE) -#define ADJUST MO(_ADJUST) -#define D_RAISE LT(_RAISE, KC_DOT) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Colemak base layer - .-----.-----.-----.-----.-----. .-----.-----.-----.-----.-----. - | Q | W | F | P | B | | J | L | U | Y | ;+S | - .-----.-----.-----.-----.-----. .-----.-----.-----.-----.-----. - | A | R | S | T | G | | M | N | E | I | O | - .-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----. - | S+Z | X | C | D | V | ARP | REP | K | H | , | . | S+/ | - .-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----. - | ESC | TAB | SPR | L1 | SPC | A[] | BSC | C() | L2 | - | ' | RET | - .-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----. - */ - [_COLEMAK_DH] = LAYOUT( - KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, LSPR_SC, - KC_A, KC_R, KC_S, KC_T, KC_G, KC_M, KC_N, KC_E, KC_I, KC_O, - Z_SFT, KC_X, KC_C, KC_D, KC_V, QK_AREP, QK_REP, KC_K, KC_H, KC_COMM, D_RAISE, SL_SFT, - KC_ESC, KC_TAB, KC_LGUI, LOWER, KC_SPC, ALTBRC, KC_BSPC, CTLPAR, RAISE, KC_MINS, KC_QUOT, KC_ENT), - - /* Layer 1 (LOWER) - .-----.-----.-----.-----.-----. .-----.-----.-----.-----.-------. - | & | *> | >>= | <&> | | | = | + | * | - | RET+M | - .-----.-----.-----.-----.-----. .-----.-----.-----.-----.-------. - | :: | => | =<< | <|> | @ | | LFT | UP | DWN | RGT | \ | - .-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-------. - | !+S | <* | <*> | <$> | <- | | MEN | -> | $ | # | % | ^+S | - .-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-------. - | | | | | | | | | L3 | ALT | | S-I | - .-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-------. - */ - [_LOWER] = LAYOUT( - KC_AMPR, RAPP, RBND, PAMF, _______, KC_EQL, KC_PLUS, KC_ASTR, KC_MINS, RETSPR, - DCOL, IMPLS, LBND, AALT, KC_AT, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_BSLS, - SFTEXL, LAPP, APP, FMAP, LARR, _______, KC_APP, RARR, KC_DLR, KC_HASH, KC_PERC, SFTCRC, - _______, _______, _______, _______, _______, _______, _______, _______, ADJUST, KC_LALT, _______, LSFT_INS), - - /* Layer 2 (RAISE) - .-----.-----.-----.-----.-----. .-----.-----.-----.-----.-----. - | | 7 | 8 | 9 | | | | + | * | - | | - .-----.-----.-----.-----.-----. .-----.-----.-----.-----.-----. - | : | 4 | 5 | 6 | = | | & | ` | _ | ' | " | - .-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----. - | 0+S | 1 | 2 | 3 | | | | | ! | # | % | ^+S | - .-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----. - | | | | L3 | | | | | | | | | - .-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----. - */ - [_RAISE] = LAYOUT( - KC_DOT, KC_7, KC_8, KC_9, _______, _______, KC_PLUS, KC_ASTR, KC_MINS, _______, - KC_COLN, KC_4, KC_5, KC_6, KC_EQL, KC_AMPR, KC_GRV, KC_UNDS, KC_QUOT, KC_DQT, - ZE_SFT, KC_1, KC_2, KC_3, _______, _______, _______, _______, KC_EXLM, KC_HASH, KC_PERC, SFTCRC, - _______, _______, _______, ADJUST, _______, _______, _______, _______, _______, _______, _______, _______), - - /* Layer 3 (ADJUST) - .-----.-----.-----.-----.-----. .-----.-----.-----.-----.-----. - | | | | | | | | F7 | F8 | F9 | F10 | - .-----.-----.-----.-----.-----. .-----.-----.-----.-----.-----. - | | | | | | | | F4 | F5 | F6 | F11 | - .-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----. - | | | | | | | | | F1 | F2 | F3 | F12 | - .-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----. - | | | | | | | | | | | | | - .-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----. - */ - [_ADJUST] = LAYOUT( - _______, _______, _______, _______, AC_TOGG, _______, KC_F7, KC_F8, KC_F9, KC_F10, - _______, _______, _______, _______, _______, _______, KC_F4, KC_F5, KC_F6, KC_F11, - _______, _______, _______, _______, _______, _______, _______, _______, KC_F1, KC_F2, KC_F3, KC_F12, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______) -}; - -/// Macro definitions - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case RARR: - if (record->event.pressed) SEND_STRING("->"); break; - case LARR: - if (record->event.pressed) SEND_STRING("<-"); break; - case LBND: - if (record->event.pressed) SEND_STRING("=<<"); break; - case RBND: - if (record->event.pressed) SEND_STRING(">>="); break; - case APP: - if (record->event.pressed) SEND_STRING("<*>"); break; - case RAPP: - if (record->event.pressed) SEND_STRING("*>"); break; - case LAPP: - if (record->event.pressed) SEND_STRING("<*"); break; - case FMAP: - if (record->event.pressed) SEND_STRING("<$>"); break; - case PAMF: - if (record->event.pressed) SEND_STRING("<&>"); break; - case AALT: - if (record->event.pressed) SEND_STRING("<|>"); break; - case IMPLS: - if (record->event.pressed) SEND_STRING("=>"); break; - case DCOL: - if (record->event.pressed) SEND_STRING("::"); break; - } - return true; -}; - -//// Tap dance definitions - -// Heavily inspired by: -// -// https://docs.qmk.fm/?ref=blog.splitkb.com#/feature_tap_dance?id=example-4 - -typedef enum { - TD_NONE, - TD_UNKNOWN, - TD_SINGLE_TAP, - TD_SINGLE_HOLD, - TD_DOUBLE_TAP, -} td_state_t; - -typedef struct { - bool is_press_action; - td_state_t state; -} td_tap_t; - -// Return an integer that corresponds to what kind of tap dance should -// be executed. -// -// Interrupted: If the state of a dance is "interrupted", that means -// that another key has been hit under the tapping term. -// -// Pressed: Whether or not the key is still being pressed. If this value -// is true, that means the tapping term has ended, but the key is still -// being pressed down. This generally means the key is being "held". -td_state_t cur_dance(tap_dance_state_t *state) { - if (state->count == 1) { - if (state->pressed) return TD_SINGLE_HOLD; - else return TD_SINGLE_TAP; - } else if (state->count == 2) return TD_DOUBLE_TAP; - else return TD_UNKNOWN; -} - -//// ALT_BR - -static td_tap_t alt_br_state = { - .is_press_action = true, - .state = TD_NONE -}; - -void lalt_br_finished(tap_dance_state_t *state, void *user_data) { - alt_br_state.state = cur_dance(state); - switch (alt_br_state.state) { - case TD_SINGLE_TAP: register_code(KC_LBRC); break; - case TD_SINGLE_HOLD: register_code(KC_LALT); break; - case TD_DOUBLE_TAP: register_code(KC_RBRC); break; - default: break; - } -} - -void lalt_br_reset(tap_dance_state_t *state, void *user_data) { - switch (alt_br_state.state) { - case TD_SINGLE_TAP: unregister_code(KC_LBRC); break; - case TD_SINGLE_HOLD: unregister_code(KC_LALT); break; - case TD_DOUBLE_TAP: unregister_code(KC_RBRC); break; - default: break; - } - alt_br_state.state = TD_NONE; -} - -//// LCTL_PR - -static td_tap_t lctl_pr_state = { - .is_press_action = true, - .state = TD_NONE -}; - -void lctl_pr_finished(tap_dance_state_t *state, void *user_data) { - lctl_pr_state.state = cur_dance(state); - switch (lctl_pr_state.state) { - case TD_SINGLE_TAP: register_code16(KC_LPRN); break; - case TD_SINGLE_HOLD: register_code(KC_LCTL); break; - case TD_DOUBLE_TAP: register_code16(KC_RPRN); break; - default: break; - } -} - -void lctl_pr_reset(tap_dance_state_t *state, void *user_data) { - switch (lctl_pr_state.state) { - case TD_SINGLE_TAP: unregister_code16(KC_LPRN); break; - case TD_SINGLE_HOLD: unregister_code(KC_LCTL); break; - case TD_DOUBLE_TAP: unregister_code16(KC_RPRN); break; - default: break; - } - lctl_pr_state.state = TD_NONE; -} - -//// SFT_CI - -static td_tap_t lsft_ci_state = { - .is_press_action = true, - .state = TD_NONE -}; - -void lsft_ci_finished(tap_dance_state_t *state, void *user_data) { - lsft_ci_state.state = cur_dance(state); - switch (lsft_ci_state.state) { - case TD_SINGLE_TAP: register_code16(KC_CIRC); break; - case TD_SINGLE_HOLD: register_code(KC_LSFT); break; - default: break; - } -} - -void lsft_ci_reset(tap_dance_state_t *state, void *user_data) { - switch (lsft_ci_state.state) { - case TD_SINGLE_TAP: unregister_code16(KC_CIRC); break; - case TD_SINGLE_HOLD: unregister_code(KC_LSFT); break; - default: break; - } - lsft_ci_state.state = TD_NONE; -} - -//// SFT_EX - -static td_tap_t lsft_ex_state = { - .is_press_action = true, - .state = TD_NONE -}; - -void lsft_ex_finished(tap_dance_state_t *state, void *user_data) { - lsft_ex_state.state = cur_dance(state); - switch (lsft_ex_state.state) { - case TD_SINGLE_TAP: register_code16(KC_EXLM); break; - case TD_SINGLE_HOLD: register_code(KC_LSFT); break; - default: break; - } -} - -void lsft_ex_reset(tap_dance_state_t *state, void *user_data) { - switch (lsft_ex_state.state) { - case TD_SINGLE_TAP: unregister_code16(KC_EXLM); break; - case TD_SINGLE_HOLD: unregister_code(KC_LSFT); break; - default: break; - } - lsft_ex_state.state = TD_NONE; -} - -//// Actually define the tap-dance actions - -tap_dance_action_t tap_dance_actions[] = { - [ALT_BR] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, lalt_br_finished, lalt_br_reset), - [CTL_PR] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, lctl_pr_finished, lctl_pr_reset), - [SFT_CI] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, lsft_ci_finished, lsft_ci_reset), - [SFT_EX] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, lsft_ex_finished, lsft_ex_reset), -}; diff --git a/keyboards/keyboardio/atreus/keymaps/slotthe/readme.md b/keyboards/keyboardio/atreus/keymaps/slotthe/readme.md deleted file mode 100644 index d83bce1d2f..0000000000 --- a/keyboards/keyboardio/atreus/keymaps/slotthe/readme.md +++ /dev/null @@ -1,251 +0,0 @@ -# SlotThe's Keyboardio Atreus Keymap - -Note: the following is (a relevant and shortened) excerpt from [this -rewiev](https://tony-zorman.com/posts/atreus-review.html) of the -keyboard itself. See there for, e.g., some thoughts about modifier -placement. - -## Base layer - - .-----.-----.-----.-----.-----. .-----.-----.-----.-----.------. - | Q | W | F | P | B | | J | L | U | Y | M4+; | - .-----.-----.-----.-----.-----. .-----.-----.-----.-----.------. - | A | R | S | T | G | | M | N | E | I | O | - .-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.------. - | S+Z | X | C | D | V | ARP | REP | K | H | , | . | S+/ | - .-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.------. - | ESC | TAB | M4 | L1 | SPC | A[] | BSC | C() | L2 | - | ' | RET | - .-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.------. - -I use [Colemak Mod-DH][colemak-dh] as my layout, so this takes up most of the base of the keyboard. - -Perhaps strikingly, I opted for not putting Shift on the thumb, -but recreating the "ordinary" one-on-each-side setup from the good old typewriter days. -While I already have a key to access the `LOWER` (L1) layer with my left thumb, -I had to sacrifice Shift so I could fit a key to the `RAISE` (L2) layer on the right thumb. -This also jumps to the `ADJUST` (L3) layer when both `LOWER` and `RAISE` are held at the same time. -I will gladly trade two layers for one Shift key. - -One of the most basic things—besides having layers—that one can do with QMK is [mod-taps][qmk:mod-tap]. -These are keys that act as modifiers when held, and as "ordinary" keys when pressed. -For example, all of the `S+«key»` keys emit Shift when held and `«key»` when pressed. -There is a slight delay between pressing the key and the press registering, -since we have to wait for a possible tap, -which keeps me from using modifiers on the home-row, as some people like to do. -Likewise, the `M4+;` key acts as Super when held and as `;` when pressed. -At this point, it is actually my main way to press the Super key, -even though I don't find the real `M4` key particularly hard to hit with my thumb. -Sometimes these things just happen, -I suppose, -though it may help that I press both outer keys of the top row (that is, `q` and `;`) with my ring finger -instead of my pinky. - -The `A[]` and `C()` keys are utilising [tap dances][qmk:tap-dance], -in order to do even more. -Tap dances are very similar to mod-taps, -only in addition to just differentiating between a "pressed" and a "held" state, -QMK now also keeps track of *how often* a key has been tapped. -So far, [my setup][qmk:slotthe:tapdances] here is quite basic; -I only check whether a key was pressed once, twice, or is being held. -This allows me to not need extra keys for parentheses, -as they can fit on the modifier keys: - - - `A[]`: Alt when held, `[` when pressed once, and `]` when pressed twice. - This one is especially neat, since tap dances play well with other modifiers, - so pressing `S-M1` once will result in `{` and pressing it twice gives `}`. - - - `C()`: Control when held, `(` when pressed once, and `)` when pressed twice. - -I don't mind having the extra indirection for the respective closed delimiter, -as [paredit][emacs:paredit], -[puni][emacs:puni], -`electric-pair-mode`, -or a different package of choice usually takes care of inserting it. - -The `REP` and `AREP` keys make use of the [Repeat Key][qmk:repeat-key] functionality; -basically, `REP` executes the key chord that was last pressed. -On the other hand, -`AREP` is an alternative, configurable, of "repeating" things; -by default, it turns some directional movements -around—e.g., `M-f` becomes `M-b`—but -it can be made to pretty much input anything one wants. - -## Layer 1 - - .-----.-----.-----.-----.-----. .-----.-----.-----.-----.-------. - | & | *> | >>= | <&> | | | = | + | * | - | M4+RT | - .-----.-----.-----.-----.-----. .-----.-----.-----.-----.-------. - | :: | => | =<< | <|> | @ | | LFT | UP | DWN | RGT | \ | - .-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-------. - | S+! | <* | <*> | <$> | <- | | MEN | -> | $ | # | % | S+^ | - .-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-------. - | | | | | | | | | L3 | ALT | | S-Ins | - .-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-------. - -Guess which programming language I like based on this layer's [macros][qmk:macros] :). - -Crucially, keys that were "Shift when held, -*something* when pressed" on the base layer retain the Shift part of that functionality. -This is used for the commutativity of the modifier -keys—i.e., it does not matter whether I press `S-L1-«key»` or `L1-S-«key»`—which -would otherwise drive me insane. -The same goes for all fall-through keys: -keys that appear blank in the above layout. -These aren't blocked or anything, -just no new functionality is added -so the key falls back to what's on the next lowest layer. -In plain terms, -the key to the left of `L3` will still be Control, -as I can comfortably press that while holding down something with my left hand. -The same can't be said for the Alt key, -which is on the left hand by default, -so a separate binding for it has to be created on the right hand. -Thus, -as the two don't commute, -key chords involving the LOWER layer and Alt are to be avoided if possible. - -The `S-Ins` key is not some sort of tap, -but actually just emits a Shift-Insert, -which can be used to paste stuff from the [X11 primary selection][x11:clipboard]. - -## Layer 2 - - .-----.-----.-----.-----.-----. .-----.-----.-----.-----.-----. - | | 7 | 8 | 9 | | | | + | * | - | | - .-----.-----.-----.-----.-----. .-----.-----.-----.-----.-----. - | : | 4 | 5 | 6 | = | | | ` | _ | ' | " | - .-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----. - | S+0 | 1 | 2 | 3 | | | | | | # | % | S+^ | - .-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----. - | | | | L3 | | | | | | | | | - .-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----. - -A relatively unspectacular layer, -RAISE is mainly used for numbers, -and number adjacent things. -Some symbols related to this, -like `=`, `+`, `*`, and `-`, -are replicated from the LOWER layer. -This is due to the above mentioned issues of inserting arithmetic. -This layer also features \` and `'` quite prominently, -as these are important for [CDLaTeX]. -Plus, putting `'` and `"` on this layer circumvents the difficult to hit key on the base layer. - -## Layer 3 - - .-----.-----.-----.-----.-----. .-----.-----.-----.-----.-----. - | | | | | | | | F7 | F8 | F9 | F10 | - .-----.-----.-----.-----.-----. .-----.-----.-----.-----.-----. - | | | | | | | | F4 | F5 | F6 | F11 | - .-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----. - | | | | | | | | | F1 | F2 | F3 | F12 | - .-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----. - | | | | | | | | | | | | | - .-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----.-----. - -So far, only the seldom used F-keys are present here. -As should be obvious, this is the least developed layer, -and also the one that'll probably change the most in the future. -Currently, I'm thinking of putting some XMonad specific bindings on here, -which could even to free up the Super key to be used inside of Emacs -for certain things—that would certainly be a worthwhile experiment. -Other thoughts include things like volume and brightness controls, -although this is less critical since my laptop keyboard is never far away. - -## Other features - -There are some features that aren't necessarily reflected in the keys themselves, -yet are quite essential for day-to-day use. -The TL;DR can be found in [rules.mk][./rules.mk]. - -### [Key overrides][qmk:key-overrides] - -Quoting from the documentation - -> Key overrides allow you to override modifier-key combinations to send a different modifier-key combination -> or perform completely custom actions. - -Some keys on the keyboard are quite hard to hit. -On the default layout, -one of these turns out to be the Tab key, -which is nonetheless important in a lot of situations. -Conveniently, Emacs interprets `C-i` as Tab, so there is less need to actually hit the "real" key. -However, not all programs are quite so understanding—or old, I guess. -With key overrides, one can send a real `TAB` whenever `C-i` is pressed; -no special convention on how to interpret certain key chords required! -I also rebound `C-m` to `RET` (with the same justification), and `S-BSP` to `DEL`. - -This is one of those features that I didn't know I needed, -yet now couldn't live without anymore. -I'm definitely looking forward to discovering new and interesting ways of using this! - -### [Autocorrect][qmk:autocorrect] - -This is a quaint little feature: auto-correct inside of your keyboard's firmware! -I promise that it's not as bad as it sounds. -It does not work automatically, thankfully, but is based off a given list of replacements. -For example, - - widht -> width - -would fire anytime one writes `widht`, which then gets replaced by `width`. -This is based on (a trie of) the most recently pressed keys, -so whenever one actually wants to write `widht` -all that's needed is pressing, for example, any modifier during the insertion. - -As I've really just been trying this out for a laugh, my current word list is quite short: - - :alot -> a lot - accesories -> accessories - accomodate -> accommodate - alledge -> allege - -In general, -I think the solution to stop misspelling a word is not to remap key sequences on the firmware level, -but to—you know—learn how to spell that word. -Still, -I can imagine at least one or two use-cases where something like this could be useful, -so I figured it might be nice to make people aware of this features' existence. - -In addition—as I've found out on three separate occasions so far—using the words "auto-correct, but in firmware" -makes people stare in utter disbelief and/or disgust at your keyboard. -That alone makes this feature worth it. - -### [Caps Word][qmk:caps-word] - -Caps Word is a clever alternative to Caps Lock, -which I enable by pressing both Shift keys together. -After that, -all of the letter keys are shifted, -and `-` becomes `_` -until a different key (excluding common sense ones like backspace) is pressed. -This is very useful for, e.g., -writing long constants, -as these tend to have capital names separated with underscores: -writing `BOTH_SHIFTS_TURNS_ON_CAPS_WORD` has never been easier! - -One thing to note is that, -while layer switching works just fine in "Caps Word mode", -the [Tri Layer][qmk:tri-layer] feature does not seem to play nicely with it; -i.e., the mode gets disabled when switching to these layers. -This is also the reason why I have an explicit LOWER, RAISE, and ADJUST setup, -instead of just using Tri Layer. -One could fiddle with the `caps_word_press_user` callback, -but it seemed much easier to just create one additional layer toggle instead. -I haven't looked at how hard it would be to hack this into Caps Word, -so maybe this is a future pull request. - -[CDLaTeX]: https://github.com/cdominik/cdlatex -[colemak-dh]: https://colemakmods.github.io/mod-dh/ -[emacs:paredit]: https://paredit.org/ -[emacs:puni]: https://github.com/AmaiKinono/puni -[qmk:autocorrect]: https://docs.qmk.fm/#/feature_autocorrect -[qmk:caps-word]: https://docs.qmk.fm/#/feature_caps_word -[qmk:key-overrides]: https://docs.qmk.fm/#/feature_key_overrides -[qmk:macros]: https://docs.qmk.fm/#/feature_macros -[qmk:mod-tap]: https://docs.qmk.fm/#/mod_tap -[qmk:repeat-key]: https://docs.qmk.fm/#/feature_repeat_key -[qmk:slotthe:tapdances]: https://github.com/slotThe/qmk_firmware/blob/keyboardio/atreus/slotThe/keyboards/keyboardio/atreus/keymaps/slotThe/keymap.c#L187 -[qmk:tap-dance]: https://docs.qmk.fm/#/feature_tap_dance -[qmk:tri-layer]: https://docs.qmk.fm/#/feature_tri_layer -[x11:clipboard]: https://www.uninformativ.de/blog/postings/2017-04-02/0/POSTING-en.html diff --git a/keyboards/keyboardio/atreus/keymaps/slotthe/rules.mk b/keyboards/keyboardio/atreus/keymaps/slotthe/rules.mk deleted file mode 100644 index b603193f85..0000000000 --- a/keyboards/keyboardio/atreus/keymaps/slotthe/rules.mk +++ /dev/null @@ -1,9 +0,0 @@ -TAP_DANCE_ENABLE = yes -KEY_OVERRIDE_ENABLE = yes -AUTOCORRECT_ENABLE = yes -CAPS_WORD_ENABLE = yes -REPEAT_KEY_ENABLE = yes - -LTO_ENABLE = yes -COMMAND_ENABLE = no -MOUSEKEY_ENABLE = no diff --git a/keyboards/keyboardio/model01/keymaps/tw1t611/keymap.c b/keyboards/keyboardio/model01/keymaps/tw1t611/keymap.c deleted file mode 100644 index 900a3f29aa..0000000000 --- a/keyboards/keyboardio/model01/keymaps/tw1t611/keymap.c +++ /dev/null @@ -1,50 +0,0 @@ -#include QMK_KEYBOARD_H -#include "keymap_german.h" - -/* layer constants */ -enum { - DEF = 0, - MOD, -}; - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -[DEF] = LAYOUT( - _______, KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , DE_SS , - KC_ESC , KC_Q , KC_W , KC_E , KC_R , KC_T , RGB_MOD, KC_MUTE, KC_Y , KC_U , KC_I , KC_O , KC_P , DE_ADIA, - KC_TAB , KC_A , KC_S , KC_D , KC_F , KC_G , DE_SECT, _______, KC_H , KC_J , KC_K , KC_L , DE_SLSH, DE_ODIA, - DE_PIPE, KC_Z , KC_X , KC_C , KC_V , KC_B , _______, _______, KC_N , KC_M , DE_COMM, DE_DOT , DE_MINS, DE_UDIA, - KC_LALT, KC_LGUI, - KC_SPC , KC_ENT , - KC_LSFT, MO(MOD), - KC_BSPC, KC_DEL , - KC_LCTL, KC_RCTL - ), -[MOD] = LAYOUT( - KC_F12 , KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , KC_F6 , KC_F7 , KC_F8 , KC_F9 , KC_F10 , KC_F11 , - DE_CIRC, DE_QUOT, DE_DQUO, DE_LCBR, DE_RCBR, DE_GRV , RGB_TOG, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END , DE_EQL , DE_PERC, - DE_TILD, DE_EXLM, DE_DLR , DE_LPRN, DE_RPRN, DE_AMPR, _______, _______, KC_LEFT, KC_DOWN, KC_UP , KC_RGHT, DE_QUES, DE_ASTR, - DE_BSLS, DE_HASH, DE_LABK, DE_LBRC, DE_RBRC, DE_RABK, _______, QK_BOOT, DE_AT , DE_EURO, DE_SCLN, DE_COLN, DE_UNDS, DE_PLUS, - _______, _______, - _______, _______, - _______, _______, - _______, _______, - _______, _______ - ) -}; - -/* template for new layouts: -LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, - _______, _______, - _______, _______, - _______, _______, - _______, _______ - ) -*/ - -/* vim: set ts=2 sw=2 et: */ diff --git a/keyboards/keyboardio/model01/keymaps/tw1t611/readme.md b/keyboards/keyboardio/model01/keymaps/tw1t611/readme.md deleted file mode 100644 index b9d728831c..0000000000 --- a/keyboards/keyboardio/model01/keymaps/tw1t611/readme.md +++ /dev/null @@ -1,5 +0,0 @@ -# Keymap for Keyboardio's Model01 by tw1t611 - -Features: -- german keymap -- vim optimized diff --git a/keyboards/keychron/q1v1/ansi/keymaps/gtg465x/README.md b/keyboards/keychron/q1v1/ansi/keymaps/gtg465x/README.md deleted file mode 100644 index c2d5799bb8..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/gtg465x/README.md +++ /dev/null @@ -1,21 +0,0 @@ -# gtg465x's Keychron Q1 keymap - -- On macOS, F3 opens Mission Control and F4 opens Launchpad without needing to configure shortcuts in System Preferences -- RGB lighting turns off when the computer sleeps -- Caps Lock and alpha keys turn red to indicate when Caps Lock is on -- When the Fn layer is active, RGB lighting turns off for keys that are not assigned - -## Changelog - -### 10/3/2021 - 1.0.3 - -- Feature: When the Fn layer is active, RGB lighting turns off for keys that are not assigned - -### 10/1/2021 - 1.0.2 - -- Added Caps Lock indicator (my implementation is different, but this was inspired by mkillewald) -- Mission Control and Launchpad custom keycodes are now defined using the VIA user keycodes range so they can be labeled properly in VIA - -### 9/28/2021 - 1.0.1 - -- Initial release diff --git a/keyboards/keychron/q1v1/ansi/keymaps/gtg465x/config.h b/keyboards/keychron/q1v1/ansi/keymaps/gtg465x/config.h deleted file mode 100644 index 4bab25c923..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/gtg465x/config.h +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright 2021 @ Grayson Carr - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -/* RGB Matrix Configuration */ -#ifdef RGB_MATRIX_ENABLE -# define RGB_MATRIX_SLEEP -# define CAPS_LOCK_INDICATOR_COLOR RGB_RED -# define CAPS_LOCK_INDICATOR_LIGHT_ALPHAS -# define FN_LAYER_TRANSPARENT_KEYS_OFF -#endif diff --git a/keyboards/keychron/q1v1/ansi/keymaps/gtg465x/keymap.c b/keyboards/keychron/q1v1/ansi/keymaps/gtg465x/keymap.c deleted file mode 100644 index 8da475c3c6..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/gtg465x/keymap.c +++ /dev/null @@ -1,70 +0,0 @@ -/* Copyright 2021 @ Grayson Carr - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H -#include "keymap_user.h" -#ifdef RGB_MATRIX_ENABLE -# include "rgb_matrix_user.h" -#endif - -// clang-format off - -#define KC_TASK LGUI(KC_TAB) -#define KC_FLXP LGUI(KC_E) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -[MAC_BASE] = LAYOUT_ansi_82( - KC_ESC, KC_BRID, KC_BRIU, KC_MCTL, KC_LPAD, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_DEL, KC_INS, - 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_BSPC, KC_PGUP, - 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, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_HOME, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, MO(MAC_FN),KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), - -[MAC_FN] = LAYOUT_ansi_82( - KC_TRNS, 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_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - RGB_TOG, RGB_MOD, RGB_VAI, RGB_HUI, RGB_SAI, RGB_SPI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_RMOD, RGB_VAD, RGB_HUD, RGB_SAD, RGB_SPD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), - -[WIN_BASE] = LAYOUT_ansi_82( - KC_ESC, 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, KC_INS, - 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_BSPC, KC_PGUP, - 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, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_HOME, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(WIN_FN),KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), - -[WIN_FN] = LAYOUT_ansi_82( - KC_TRNS, KC_BRID, KC_BRIU, KC_TASK, KC_FLXP, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - RGB_TOG, RGB_MOD, RGB_VAI, RGB_HUI, RGB_SAI, RGB_SPI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_RMOD, RGB_VAD, RGB_HUD, RGB_SAD, RGB_SPD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) - -}; - -// clang-format on - -void matrix_init_user(void) { -#ifdef RGB_MATRIX_ENABLE - rgb_matrix_init_user(); -#endif -} diff --git a/keyboards/keychron/q1v1/ansi/keymaps/gtg465x/keymap_user.h b/keyboards/keychron/q1v1/ansi/keymaps/gtg465x/keymap_user.h deleted file mode 100644 index 728114d556..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/gtg465x/keymap_user.h +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright 2021 @ Grayson Carr - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -// clang-format off - -enum layers { - MAC_BASE, - MAC_FN, - WIN_BASE, - WIN_FN -}; - -// clang-format on diff --git a/keyboards/keychron/q1v1/ansi/keymaps/gtg465x/rgb_matrix_user.c b/keyboards/keychron/q1v1/ansi/keymaps/gtg465x/rgb_matrix_user.c deleted file mode 100644 index b7d12f9466..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/gtg465x/rgb_matrix_user.c +++ /dev/null @@ -1,72 +0,0 @@ -/* Copyright 2021 @ Grayson Carr - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H -#include "rgb_matrix_user.h" -#include "keymap_user.h" - -keypos_t led_index_key_position[RGB_MATRIX_LED_COUNT]; - -void rgb_matrix_init_user(void) { - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - for (uint8_t col = 0; col < MATRIX_COLS; col++) { - uint8_t led_index = g_led_config.matrix_co[row][col]; - if (led_index != NO_LED) { - led_index_key_position[led_index] = (keypos_t){.row = row, .col = col}; - } - } - } -} - -bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { - uint8_t current_layer = get_highest_layer(layer_state); - switch (current_layer) { - case MAC_BASE: - case WIN_BASE: -#ifdef CAPS_LOCK_INDICATOR_COLOR - if (host_keyboard_led_state().caps_lock) { - rgb_matrix_set_color_by_keycode(led_min, led_max, current_layer, is_caps_lock_indicator, CAPS_LOCK_INDICATOR_COLOR); - } -#endif - break; - case MAC_FN: - case WIN_FN: -#ifdef FN_LAYER_TRANSPARENT_KEYS_OFF - rgb_matrix_set_color_by_keycode(led_min, led_max, current_layer, is_transparent, RGB_OFF); -#endif - break; - } - return false; -} - -void rgb_matrix_set_color_by_keycode(uint8_t led_min, uint8_t led_max, uint8_t layer, bool (*is_keycode)(uint16_t), uint8_t red, uint8_t green, uint8_t blue) { - for (uint8_t i = led_min; i < led_max; i++) { - uint16_t keycode = keymap_key_to_keycode(layer, led_index_key_position[i]); - if ((*is_keycode)(keycode)) { - rgb_matrix_set_color(i, red, green, blue); - } - } -} - -bool is_caps_lock_indicator(uint16_t keycode) { -#ifdef CAPS_LOCK_INDICATOR_LIGHT_ALPHAS - return (KC_A <= keycode && keycode <= KC_Z) || keycode == KC_CAPS; -#else - return keycode == KC_CAPS; -#endif -} - -bool is_transparent(uint16_t keycode) { return keycode == KC_TRNS; } diff --git a/keyboards/keychron/q1v1/ansi/keymaps/gtg465x/rgb_matrix_user.h b/keyboards/keychron/q1v1/ansi/keymaps/gtg465x/rgb_matrix_user.h deleted file mode 100644 index dead454167..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/gtg465x/rgb_matrix_user.h +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright 2021 @ Grayson Carr - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -void rgb_matrix_init_user(void); - -void rgb_matrix_set_color_by_keycode(uint8_t led_min, uint8_t led_max, uint8_t layer, bool (*is_keycode)(uint16_t), uint8_t red, uint8_t green, uint8_t blue); - -bool is_caps_lock_indicator(uint16_t keycode); -bool is_transparent(uint16_t keycode); diff --git a/keyboards/keychron/q1v1/ansi/keymaps/gtg465x/rules.mk b/keyboards/keychron/q1v1/ansi/keymaps/gtg465x/rules.mk deleted file mode 100644 index 42ba38028d..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/gtg465x/rules.mk +++ /dev/null @@ -1,6 +0,0 @@ -VIA_ENABLE = yes -MOUSEKEY_ENABLE = no - -ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes) - SRC += rgb_matrix_user.c -endif diff --git a/keyboards/keychron/q1v1/ansi/keymaps/mkillewald/config.h b/keyboards/keychron/q1v1/ansi/keymaps/mkillewald/config.h deleted file mode 100644 index acd208b8c6..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/mkillewald/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* Copyright 2021 @ Mike Killewald - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -#ifdef RGB_MATRIX_ENABLE -# define RGB_MATRIX_SLEEP -# define CAPS_LOCK_INDICATOR_COLOR RGB_RED -# define FN_LAYER_COLOR RGB_ORANGE -#endif \ No newline at end of file diff --git a/keyboards/keychron/q1v1/ansi/keymaps/mkillewald/keymap.c b/keyboards/keychron/q1v1/ansi/keymaps/mkillewald/keymap.c deleted file mode 100644 index 4fc8ad58e5..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/mkillewald/keymap.c +++ /dev/null @@ -1,153 +0,0 @@ -/* Copyright 2021 @ Mike Killewald - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H -#include "keymap_user.h" -#ifdef RGB_MATRIX_ENABLE -# include "rgb_matrix_user.h" -#endif - -// clang-format off - -typedef union { - uint32_t raw; - struct { - bool caps_lock_light_tab :1; - bool caps_lock_light_alphas :1; - bool fn_layer_transparent_keys_off :1; - bool fn_layer_color_enable :1; - }; -} user_config_t; - -user_config_t user_config; - -enum custom_keycodes { - KC_LIGHT_TAB_TOGGLE = QK_KB_2, // TECH DEBT: Starts at QK_KB_2 to maintain ordering with VIA definitions. See #19884. Revert to QK_KB_0 when VIA catches up with QMK. - KC_LIGHT_ALPHAS_TOGGLE, - KC_FN_LAYER_TRANSPARENT_KEYS_TOGGLE, - KC_FN_LAYER_COLOR_TOGGLE -}; - -#define KC_LTTOG KC_LIGHT_TAB_TOGGLE -#define KC_LATOG KC_LIGHT_ALPHAS_TOGGLE -#define KC_TKTOG KC_FN_LAYER_TRANSPARENT_KEYS_TOGGLE -#define KC_FCTOG KC_FN_LAYER_COLOR_TOGGLE -#define KC_TASK LGUI(KC_TAB) -#define KC_FLXP LGUI(KC_E) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -[MAC_BASE] = LAYOUT_ansi_82( - KC_ESC, KC_BRID, KC_BRIU, KC_MCTL, KC_LPAD, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_DEL, KC_INS, - 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_BSPC, KC_PGUP, - 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, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_HOME, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, MO(MAC_FN),KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), - -[MAC_FN] = LAYOUT_ansi_82( - KC_TRNS, 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_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - RGB_TOG, RGB_MOD, RGB_VAI, RGB_HUI, RGB_SAI, RGB_SPI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_RMOD, RGB_VAD, RGB_HUD, RGB_SAD, RGB_SPD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_LTTOG, KC_LATOG, KC_TKTOG, KC_FCTOG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), - -[WIN_BASE] = LAYOUT_ansi_82( - KC_ESC, 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, KC_INS, - 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_BSPC, KC_PGUP, - 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, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_HOME, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(WIN_FN),KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), - -[WIN_FN] = LAYOUT_ansi_82( - KC_TRNS, KC_BRID, KC_BRIU, KC_TASK, KC_FLXP, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - RGB_TOG, RGB_MOD, RGB_VAI, RGB_HUI, RGB_SAI, RGB_SPI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_RMOD, RGB_VAD, RGB_HUD, RGB_SAD, RGB_SPD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_LTTOG, KC_LATOG, KC_TKTOG, KC_FCTOG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) - -}; - -// clang-format on - -void matrix_init_user(void) { -#ifdef RGB_MATRIX_ENABLE - rgb_matrix_init_user(); -#endif -} - -void keyboard_post_init_user(void) { - user_config.raw = eeconfig_read_user(); -} - -void eeconfig_init_user(void) { - user_config.raw = 0; - user_config.caps_lock_light_tab = false; - user_config.caps_lock_light_alphas = false; - user_config.fn_layer_transparent_keys_off = true; - user_config.fn_layer_color_enable = false; - eeconfig_update_user(user_config.raw); -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case KC_LIGHT_TAB_TOGGLE: - if (record->event.pressed) { - user_config.caps_lock_light_tab ^= 1; // bitwise xor to toggle status bit - eeconfig_update_user(user_config.raw); - } - return false; // Skip all further processing of this key - case KC_LIGHT_ALPHAS_TOGGLE: - if (record->event.pressed) { - user_config.caps_lock_light_alphas ^= 1; - eeconfig_update_user(user_config.raw); - } - return false; // Skip all further processing of this key - case KC_FN_LAYER_TRANSPARENT_KEYS_TOGGLE: - if (record->event.pressed) { - user_config.fn_layer_transparent_keys_off ^= 1; - eeconfig_update_user(user_config.raw); - } - return false; // Skip all further processing of this key - case KC_FN_LAYER_COLOR_TOGGLE: - if (record->event.pressed) { - user_config.fn_layer_color_enable ^= 1; - eeconfig_update_user(user_config.raw); - } - return false; // Skip all further processing of this key - default: - return true; // Process all other keycodes normally - } -} - -bool get_caps_lock_light_tab(void) { - return user_config.caps_lock_light_tab; -} - -bool get_caps_lock_light_alphas(void) { - return user_config.caps_lock_light_alphas; -} - -bool get_fn_layer_transparent_keys_off(void) { - return user_config.fn_layer_transparent_keys_off; -} - -bool get_fn_layer_color_enable(void) { - return user_config.fn_layer_color_enable; -} diff --git a/keyboards/keychron/q1v1/ansi/keymaps/mkillewald/keymap_user.h b/keyboards/keychron/q1v1/ansi/keymaps/mkillewald/keymap_user.h deleted file mode 100644 index 87b1baf47f..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/mkillewald/keymap_user.h +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright 2021 @ Mike Killewald - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -// clang-format off - -enum layers { - MAC_BASE, - MAC_FN, - WIN_BASE, - WIN_FN -}; - -// clang-format on - -bool get_caps_lock_light_tab(void); -bool get_caps_lock_light_alphas(void); -bool get_fn_layer_transparent_keys_off(void); -bool get_fn_layer_color_enable(void); \ No newline at end of file diff --git a/keyboards/keychron/q1v1/ansi/keymaps/mkillewald/readme.md b/keyboards/keychron/q1v1/ansi/keymaps/mkillewald/readme.md deleted file mode 100644 index 8ff2dbcc2c..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/mkillewald/readme.md +++ /dev/null @@ -1,54 +0,0 @@ -## mkillewald's Keychron Q1 keymap (ANSI rev_0100) v1.0.4 - -This keymap builds on the keymap by Grayson Carr (gtg465x) but adds a couple options. - -## Features: -- On macOS, F3 opens Mission Control and F4 opens Launchpad without needing to configure shortcuts in System Preferences -- RGB lighting turns off when the computer sleeps -- Caps Lock RGB indicator - - the Caps Lock key will light when Caps Lock is enabled with the following options: - - #define CAPS_LOCK_INDICATOR_COLOR [color] in config.h to set the backlight color used for the indicator when Caps Lock is enabled (default: red) - - Fn+Z will toggle lighting the TAB key when Caps Lock is enabled. This is useful with non backlit keycaps/legends. (default: off) - - Fn+X will toggle lighting all the alpha keys when Caps Lock is enabled. (default: off) - -- Dynamic Fn layer RGB indicator - - When the Fn key is held down, any keys defined on the Fn layer in this firmware or in VIA will be highlighted with the following options: - - #define FN_LAYER_COLOR [color] in config.h to set a static color for defined keys (default: orange) - - Fn+C will toggle turning off RGB for keys with no definition (default: RGB off) - - Fn+V will toggle lighting the defined Fn layer keys with the static color set with FN_LAYER_COLOR (default: static color off) - -- All custom keycodes can be moved to different keys in VIA by using the ANY key with the following keycodes: - - USER(0) (default: F3) macOS Mission Control - - USER(1) (default: F4) macOS Launchpad - - USER(2) (default: Fn+Z) Caps Lock light Tab toggle - - USER(3) (default: Fn+X) Caps Lock light alphas toggle - - USER(4) (default: Fn+C) Fn layer non-defined keys RGB toggle - - USER(5) (default: Fn+V) Fn layer defined keys static color toggle - -RGB must be toggled on for all indicators to function. If you do not want an RGB mode active but still want the indicators, toggle RGB on and turn the brightness all the way off. The indicators will remain at full brightness. - -Please make sure to save any customizations you have made in VIA to a .json file before flashing the firmware. Sometimes it has been necessary to re-apply those changes in VIA after flashing the firmware. If that is the case, you will most likely need to manually add the USER(0) through USER(5) custom keycodes after loading your customizations from the saved .json file. Then re-save a new .json file which will have your previous customizations and the custom keycodes for future use as needed. - -#### USE AT YOUR OWN RISK - -## Changelog: - -v1.0.4 October 9, 2021 -- Caps Lock and Fn layer toggles are now stored in eeprom so settings will remain when Q1 is unplugged - -v1.0.3 October 8, 2021 -- now using keycode toggles instead of preprocessor directive to set the various Caps Lock and Fn Layer RGB lighting options. This allows for setting the options from user space without having to recompile. - -v1.0.2 October 7, 2021 -- adapted Grayson Carr's (gtg465x) Caps Lock alphas and dynamic Fn layer RGB routines -- added CAPS_LOCK_INDICATOR_LIGHT_TAB config option to enable/disable lighting Tab with Caps Lock indicator -- added FN_LAYER_COLOR config option to set FN layer static color - -v1.0.1 October 7, 2021 -- Mission Control and Launchpad custom keycodes are now defined using the VIA user keycodes range so thay can be labeled properly in VIA (adopted change from gtg465x) - -v1.0.0 September 30, 2021 -- Initial release built upon keymap by Grayson Carr (gtg465x) -- defined Mission Control (F3) and Launchpad (F4) keycodes for macOs -- RGB backlight turns off when computer sleeps -- added Caps Lock indicator lighting both the Caps Lock and Tab LEDs for better effect on non-backlit keycaps diff --git a/keyboards/keychron/q1v1/ansi/keymaps/mkillewald/rgb_matrix_user.c b/keyboards/keychron/q1v1/ansi/keymaps/mkillewald/rgb_matrix_user.c deleted file mode 100644 index c6fa5f1f15..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/mkillewald/rgb_matrix_user.c +++ /dev/null @@ -1,84 +0,0 @@ -/* Copyright 2021 @ Mike Killewald - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H -#include "rgb_matrix_user.h" -#include "keymap_user.h" - -keypos_t led_index_key_position[RGB_MATRIX_LED_COUNT]; - -void rgb_matrix_init_user(void) { - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - for (uint8_t col = 0; col < MATRIX_COLS; col++) { - uint8_t led_index = g_led_config.matrix_co[row][col]; - if (led_index != NO_LED) { - led_index_key_position[led_index] = (keypos_t){.row = row, .col = col}; - } - } - } -} - -bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { - uint8_t current_layer = get_highest_layer(layer_state); - switch (current_layer) { - case MAC_BASE: - case WIN_BASE: -#ifdef CAPS_LOCK_INDICATOR_COLOR - if (host_keyboard_led_state().caps_lock) { - rgb_matrix_set_color_by_keycode(led_min, led_max, current_layer, is_caps_lock_indicator, CAPS_LOCK_INDICATOR_COLOR); - } -#endif - break; - case MAC_FN: - case WIN_FN: -#ifdef FN_LAYER_COLOR - if (get_fn_layer_color_enable()) { - rgb_matrix_set_color_by_keycode(led_min, led_max, current_layer, is_not_transparent, FN_LAYER_COLOR); - } -#endif - if (get_fn_layer_transparent_keys_off()) { - rgb_matrix_set_color_by_keycode(led_min, led_max, current_layer, is_transparent, RGB_OFF); - } - break; - } - return false; -} - -void rgb_matrix_set_color_by_keycode(uint8_t led_min, uint8_t led_max, uint8_t layer, bool (*is_keycode)(uint16_t), uint8_t red, uint8_t green, uint8_t blue) { - for (uint8_t i = led_min; i < led_max; i++) { - uint16_t keycode = keymap_key_to_keycode(layer, led_index_key_position[i]); - if ((*is_keycode)(keycode)) { - rgb_matrix_set_color(i, red, green, blue); - } - } -} - -bool is_caps_lock_indicator(uint16_t keycode) { - bool indicator = keycode == KC_CAPS; - - if (get_caps_lock_light_tab()) { - indicator = keycode == KC_TAB || keycode == KC_CAPS; - } - - if (get_caps_lock_light_alphas()) { - return (KC_A <= keycode && keycode <= KC_Z) || indicator; - } else { - return indicator; - } -} - -bool is_transparent(uint16_t keycode) { return keycode == KC_TRNS; } -bool is_not_transparent(uint16_t keycode) { return keycode != KC_TRNS; } diff --git a/keyboards/keychron/q1v1/ansi/keymaps/mkillewald/rgb_matrix_user.h b/keyboards/keychron/q1v1/ansi/keymaps/mkillewald/rgb_matrix_user.h deleted file mode 100644 index 1fb79c0b2a..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/mkillewald/rgb_matrix_user.h +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright 2021 @ Mike Killewald - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -void rgb_matrix_init_user(void); - -void rgb_matrix_set_color_by_keycode(uint8_t led_min, uint8_t led_max, uint8_t layer, bool (*is_keycode)(uint16_t), uint8_t red, uint8_t green, uint8_t blue); - -bool is_caps_lock_indicator(uint16_t keycode); -bool is_transparent(uint16_t keycode); -bool is_not_transparent(uint16_t keycode); - diff --git a/keyboards/keychron/q1v1/ansi/keymaps/mkillewald/rules.mk b/keyboards/keychron/q1v1/ansi/keymaps/mkillewald/rules.mk deleted file mode 100644 index af720e37ee..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/mkillewald/rules.mk +++ /dev/null @@ -1,6 +0,0 @@ -VIA_ENABLE = yes -MOUSEKEY_ENABLE = no - -ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes) - SRC += rgb_matrix_user.c -endif \ No newline at end of file diff --git a/keyboards/keychron/q1v1/ansi/keymaps/teimor/config.h b/keyboards/keychron/q1v1/ansi/keymaps/teimor/config.h deleted file mode 100644 index cd49d7b3d8..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/teimor/config.h +++ /dev/null @@ -1,32 +0,0 @@ -/* Copyright 2022 @ Teimor Epstein - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -#undef TAPPING_TERM -#define TAPPING_TERM 200 - -/* RGB Matrix Configuration */ -#ifdef RGB_MATRIX_ENABLE -# define RGB_MATRIX_SLEEP -# define MAC_LAYER_DEFAULT_COLOR RGB_CYAN -# define WIN_LAYER_DEFAULT_COLOR RGB_GREEN -# define CAPS_LOCK_INDICATOR_COLOR RGB_RED -# define CAPS_LOCK_INDICATOR_LIGHT_60 -# define FN_LAYER_TRANSPARENT_KEYS_OFF -# define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_SOLID_COLOR // Sets the default mode, if none has been set -# define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS // Sets the default brightness value, if none has been set -#endif diff --git a/keyboards/keychron/q1v1/ansi/keymaps/teimor/keymap.c b/keyboards/keychron/q1v1/ansi/keymaps/teimor/keymap.c deleted file mode 100644 index 77af30c5b6..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/teimor/keymap.c +++ /dev/null @@ -1,67 +0,0 @@ -/* Copyright 2022 @ Teimor Epstein - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H -#include "keymap_user.h" -#ifdef RGB_MATRIX_ENABLE -# include "rgb_matrix_user.h" -#endif - -// clang-format off - -#define TG_NKRO MAGIC_TOGGLE_NKRO - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [MAC_BASE] = LAYOUT_ansi_82( - KC_ESC, 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, KC_HOME, - 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_BSPC, KC_END, - 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, KC_PGUP, - KC_LGMAC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_MACFN, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), - - [MAC_FN] = LAYOUT_ansi_82( - _______, KC_BRID, KC_BRIU, KC_MCTL, KC_LPAD, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_MACPS, KC_INS, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - RGB_TOG, RGB_MOD, RGB_VAI, RGB_HUI, RGB_SAI, RGB_SPI, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, _______, - KC_CAPS, RGB_RMOD, RGB_VAD, RGB_HUD, RGB_SAD, RGB_SPD, _______, _______, _______, KC_LMAC, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, TG_NKRO, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), - - [WIN_BASE] = LAYOUT_ansi_82( - KC_ESC, 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, KC_HOME, - 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_BSPC, KC_END, - 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, KC_PGUP, - KC_LGWIN, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_WINFN, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), - - [WIN_FN] = LAYOUT_ansi_82( - _______, KC_BRID, KC_BRIU, KC_TASK, KC_FLXP, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_PSCR, KC_INS, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - RGB_TOG, RGB_MOD, RGB_VAI, RGB_HUI, RGB_SAI, RGB_SPI, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, _______, - KC_CAPS, RGB_RMOD, RGB_VAD, RGB_HUD, RGB_SAD, RGB_SPD, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, TG_NKRO, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______) -}; - -// clang-format on - -void matrix_init_user(void) { -#ifdef RGB_MATRIX_ENABLE - rgb_matrix_init_user(); -#endif -} diff --git a/keyboards/keychron/q1v1/ansi/keymaps/teimor/keymap_user.h b/keyboards/keychron/q1v1/ansi/keymaps/teimor/keymap_user.h deleted file mode 100644 index 57ac5258c2..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/teimor/keymap_user.h +++ /dev/null @@ -1,48 +0,0 @@ -/* Copyright 2022 @ Teimor Epstein - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -// clang-format off - -enum layers { - MAC_BASE, - MAC_FN, - WIN_BASE, - WIN_FN -}; - -// clang-format on - -// Tap dance enums -enum { - MAC_CAPS_LANGUAGE_CHANGE, - WIN_CAPS_LANGUAGE_CHANGE, -}; - -#ifdef TAP_DANCE_ENABLE -# define KC_LGMAC TD(MAC_CAPS_LANGUAGE_CHANGE) -# define KC_LGWIN TD(WIN_CAPS_LANGUAGE_CHANGE) -#else -# define KC_LGMAC KC_CAPS -# define KC_LGWIN KC_CAPS -#endif -#define KC_MACFN MO(MAC_FN) -#define KC_WINFN MO(WIN_FN) -#define KC_LMAC C(G(KC_Q)) -#define KC_MACPS G(S(KC_5)) -#define KC_TASK G(KC_TAB) -#define KC_FLXP G(KC_E) diff --git a/keyboards/keychron/q1v1/ansi/keymaps/teimor/readme.md b/keyboards/keychron/q1v1/ansi/keymaps/teimor/readme.md deleted file mode 100644 index 9aa16f9a89..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/teimor/readme.md +++ /dev/null @@ -1,13 +0,0 @@ -# teimor's Keychron Q1 keymap - -- Via Enabled. -- Tap dance enabled. -- On macOS, F3 opens Mission Control and F4 opens Launchpad without needing to configure shortcuts in System Preferences. -- RGB lighting turns off when the computer sleeps. -- The RGB lighting for keys that are not assigned turns off when the Fn layer is active -- 60% layout turns red to indicate when Caps Lock is on. -- Windows and macOS: A single tap will quickly change the language, and holding will trigger Caps Lock. (Using Tap Dance) -- RGB Matrix based on layout - macOS base layout will turn on cyan color, Windows base layout will turn on green color. -- `fn + N` will toggle NKRO, useful when using the keyboard on freebsd. -- `fn + L` on macOS will lock the system. -- `fn + del` will trigger screenshot on macOS and Windows. diff --git a/keyboards/keychron/q1v1/ansi/keymaps/teimor/rgb_matrix_user.c b/keyboards/keychron/q1v1/ansi/keymaps/teimor/rgb_matrix_user.c deleted file mode 100644 index fbc37fb5bf..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/teimor/rgb_matrix_user.c +++ /dev/null @@ -1,92 +0,0 @@ -/* Copyright 2022 @ Teimor Epstein - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H -#include "rgb_matrix_user.h" -#include "keymap_user.h" - -keypos_t led_index_key_position[RGB_MATRIX_LED_COUNT]; - -void rgb_matrix_init_user(void) { - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - for (uint8_t col = 0; col < MATRIX_COLS; col++) { - uint8_t led_index = g_led_config.matrix_co[row][col]; - if (led_index != NO_LED) { - led_index_key_position[led_index] = (keypos_t){.row = row, .col = col}; - } - } - } -} - -bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { - uint8_t current_layer = get_highest_layer(layer_state | default_layer_state); - switch (current_layer) { - case MAC_BASE: - case WIN_BASE: -#if defined CAPS_LOCK_INDICATOR_COLOR && defined MAC_LAYER_DEFAULT_COLOR && defined WIN_LAYER_DEFAULT_COLOR - if (host_keyboard_led_state().caps_lock) { - rgb_matrix_set_color_by_keycode(led_min, led_max, current_layer, is_caps_lock_indicator, CAPS_LOCK_INDICATOR_COLOR); - } else if (current_layer == MAC_BASE) - rgb_matrix_set_color_all(MAC_LAYER_DEFAULT_COLOR); - else if (current_layer == WIN_BASE) - rgb_matrix_set_color_all(WIN_LAYER_DEFAULT_COLOR); -#endif - break; - case MAC_FN: - case WIN_FN: -#if defined MAC_LAYER_DEFAULT_COLOR && defined WIN_LAYER_DEFAULT_COLOR - if (current_layer == MAC_FN) { - rgb_matrix_set_color_by_keycode(led_min, led_max, current_layer, is_not_transparent, MAC_LAYER_DEFAULT_COLOR); - } else if (current_layer == WIN_FN) { - rgb_matrix_set_color_by_keycode(led_min, led_max, current_layer, is_not_transparent, WIN_LAYER_DEFAULT_COLOR); - } -#endif -#ifdef FN_LAYER_TRANSPARENT_KEYS_OFF - rgb_matrix_set_color_by_keycode(led_min, led_max, current_layer, is_transparent, RGB_OFF); -#endif - break; - } - return false; -} - -void rgb_matrix_set_color_by_keycode(uint8_t led_min, uint8_t led_max, uint8_t layer, bool (*is_keycode)(uint16_t), uint8_t red, uint8_t green, uint8_t blue) { - for (uint8_t i = led_min; i < led_max; i++) { - uint16_t keycode = keymap_key_to_keycode(layer, led_index_key_position[i]); - if ((*is_keycode)(keycode)) { - rgb_matrix_set_color(i, red, green, blue); - } -#if defined MAC_LAYER_DEFAULT_COLOR && defined WIN_LAYER_DEFAULT_COLOR - else { - if (layer == MAC_BASE) - rgb_matrix_set_color(i, MAC_LAYER_DEFAULT_COLOR); - else if (layer == WIN_BASE) - rgb_matrix_set_color(i, WIN_LAYER_DEFAULT_COLOR); - } -#endif - } -} - -bool is_caps_lock_indicator(uint16_t keycode) { - bool indicator = keycode == KC_CAPS || keycode == KC_LGMAC || keycode == KC_LGWIN; -#ifdef CAPS_LOCK_INDICATOR_LIGHT_60 - return (KC_A <= keycode && keycode <= KC_CAPS) || (KC_LEFT_CTRL <= keycode && keycode <= KC_RIGHT_GUI) || keycode == KC_MACFN || keycode == KC_WINFN || indicator; -#else - return indicator; -#endif -} - -bool is_transparent(uint16_t keycode) { return keycode == KC_TRNS; } -bool is_not_transparent(uint16_t keycode) { return keycode != KC_TRNS; } diff --git a/keyboards/keychron/q1v1/ansi/keymaps/teimor/rgb_matrix_user.h b/keyboards/keychron/q1v1/ansi/keymaps/teimor/rgb_matrix_user.h deleted file mode 100644 index 5b53b5b8ec..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/teimor/rgb_matrix_user.h +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright 2022 @ Teimor Epstein - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -void rgb_matrix_init_user(void); - -void rgb_matrix_set_color_by_keycode(uint8_t led_min, uint8_t led_max, uint8_t layer, bool (*is_keycode)(uint16_t), uint8_t red, uint8_t green, uint8_t blue); - -bool is_caps_lock_indicator(uint16_t keycode); -bool is_transparent(uint16_t keycode); -bool is_not_transparent(uint16_t keycode); diff --git a/keyboards/keychron/q1v1/ansi/keymaps/teimor/rules.mk b/keyboards/keychron/q1v1/ansi/keymaps/teimor/rules.mk deleted file mode 100644 index bafb40484b..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/teimor/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -VIA_ENABLE = yes -MOUSEKEY_ENABLE = no -TAP_DANCE_ENABLE = yes - -ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes) - SRC += rgb_matrix_user.c -endif - -ifeq ($(strip $(TAP_DANCE_ENABLE)), yes) - SRC += tap_dance_user.c - SRC += tap_dance_setup.c - SRC += tap_dance_mac_caps.c - SRC += tap_dance_win_caps.c -endif diff --git a/keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_mac_caps.c b/keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_mac_caps.c deleted file mode 100644 index dfb0346ff1..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_mac_caps.c +++ /dev/null @@ -1,50 +0,0 @@ -/* Copyright 2021 @ Teimor Epstein - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -/* macOS CapsLock language change */ -#include "tap_dance_mac_caps.h" - -static td_tap_t mac_caps_language_tap_state = {.is_press_action = true, .state = TD_NONE}; - -void mac_caps_language_finished(tap_dance_state_t *state, void *user_data) { - mac_caps_language_tap_state.state = current_dance(state); - switch (mac_caps_language_tap_state.state) { - case TD_SINGLE_TAP: - register_code(KC_LCTL); - register_code(KC_SPACE); - break; - case TD_SINGLE_HOLD: - register_code(KC_CAPS_LOCK); - break; - default: - break; - } -} - -void mac_caps_language_reset(tap_dance_state_t *state, void *user_data) { - switch (mac_caps_language_tap_state.state) { - case TD_SINGLE_TAP: - unregister_code(KC_SPACE); - unregister_code(KC_LCTL); - break; - case TD_SINGLE_HOLD: - unregister_code(KC_CAPS_LOCK); - break; - default: - break; - } - mac_caps_language_tap_state.state = TD_NONE; -} diff --git a/keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_mac_caps.h b/keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_mac_caps.h deleted file mode 100644 index ef552a2c2c..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_mac_caps.h +++ /dev/null @@ -1,23 +0,0 @@ -/* Copyright 2021 @ Teimor Epstein - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -/* macOS CapsLock language change */ -#pragma once - -#include "tap_dance_setup.h" - -void mac_caps_language_finished(tap_dance_state_t *state, void *user_data); -void mac_caps_language_reset(tap_dance_state_t *state, void *user_data); diff --git a/keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_setup.c b/keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_setup.c deleted file mode 100644 index 07257e556a..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_setup.c +++ /dev/null @@ -1,49 +0,0 @@ -/* Copyright 2022 @ Teimor Epstein - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include "tap_dance_setup.h" - -td_state_t current_dance(tap_dance_state_t *state) { - if (state->count == 1) { - if (state->interrupted || !state->pressed) return TD_SINGLE_TAP; - /* Key has not been interrupted, but the key is still held. Means you w ant to send a 'HOLD'. */ - else - return TD_SINGLE_HOLD; - } else if (state->count == 2) { - /* TD_DOUBLE_SINGLE_TAP is to distinguish between typing "pepper", and actually wanting a double tap - action when hitting 'pp'. Suggested use case for this return value is when you want to send two - keystrokes of the key, and not the 'double tap' action/macro. */ - if (state->interrupted) - return TD_DOUBLE_SINGLE_TAP; - else if (state->pressed) - return TD_DOUBLE_HOLD; - else - return TD_DOUBLE_TAP; - } - - /* Assumes no one is trying to type the same letter three times (at least not quickly). - If your tap dance key is 'KC_W', and you want to type "www." quickly - then you will need to add - an exception here to return a 'TD_TRIPLE_SINGLE_TAP', and define that enum just like 'TD_DOUBLE_SINGLE_TAP' */ - if (state->count == 3) { - if (state->interrupted) - return TD_TRIPLE_SINGLE_TAP; - else if (state->pressed) - return TD_TRIPLE_HOLD; - else - return TD_TRIPLE_TAP; - - } else - return TD_UNKNOWN; -} diff --git a/keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_setup.h b/keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_setup.h deleted file mode 100644 index 5d2f4acd57..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_setup.h +++ /dev/null @@ -1,38 +0,0 @@ -/* Copyright 2022 @ Teimor Epstein - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#pragma once - -#include QMK_KEYBOARD_H - -typedef enum { - TD_NONE, - TD_UNKNOWN, - TD_SINGLE_TAP, - TD_SINGLE_HOLD, - TD_DOUBLE_TAP, - TD_DOUBLE_HOLD, - TD_DOUBLE_SINGLE_TAP, // Send two single taps - TD_TRIPLE_TAP, - TD_TRIPLE_HOLD, - TD_TRIPLE_SINGLE_TAP // Send three single tap -} td_state_t; - -typedef struct { - bool is_press_action; - td_state_t state; -} td_tap_t; - -td_state_t current_dance(tap_dance_state_t *state); diff --git a/keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_user.c b/keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_user.c deleted file mode 100644 index ed8120572e..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_user.c +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright 2022 @ Teimor Epstein - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include "keymap_user.h" -#include "tap_dance_mac_caps.h" -#include "tap_dance_win_caps.h" - -// clang-format off - -tap_dance_action_t tap_dance_actions[] = { - [MAC_CAPS_LANGUAGE_CHANGE] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, mac_caps_language_finished, mac_caps_language_reset), - [WIN_CAPS_LANGUAGE_CHANGE] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, win_caps_language_finished, win_caps_language_reset) -}; - -// clang-format on diff --git a/keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_win_caps.c b/keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_win_caps.c deleted file mode 100644 index 1c7c438d2e..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_win_caps.c +++ /dev/null @@ -1,50 +0,0 @@ -/* Copyright 2022 @ Teimor Epstein - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -/* Windows CapsLock language change */ -#include "tap_dance_win_caps.h" - -static td_tap_t win_caps_language_tap_state = {.is_press_action = true, .state = TD_NONE}; - -void win_caps_language_finished(tap_dance_state_t *state, void *user_data) { - win_caps_language_tap_state.state = current_dance(state); - switch (win_caps_language_tap_state.state) { - case TD_SINGLE_TAP: - register_code(KC_LGUI); - register_code(KC_SPACE); - break; - case TD_SINGLE_HOLD: - register_code(KC_CAPS_LOCK); - break; - default: - break; - } -} - -void win_caps_language_reset(tap_dance_state_t *state, void *user_data) { - switch (win_caps_language_tap_state.state) { - case TD_SINGLE_TAP: - unregister_code(KC_SPACE); - unregister_code(KC_LGUI); - break; - case TD_SINGLE_HOLD: - unregister_code(KC_CAPS_LOCK); - break; - default: - break; - } - win_caps_language_tap_state.state = TD_NONE; -} diff --git a/keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_win_caps.h b/keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_win_caps.h deleted file mode 100644 index 2289cce326..0000000000 --- a/keyboards/keychron/q1v1/ansi/keymaps/teimor/tap_dance_win_caps.h +++ /dev/null @@ -1,23 +0,0 @@ -/* Copyright 2022 @ Teimor Epstein - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -/* Windows CapsLock language change */ -#pragma once - -#include "tap_dance_setup.h" - -void win_caps_language_finished(tap_dance_state_t *state, void *user_data); -void win_caps_language_reset(tap_dance_state_t *state, void *user_data); diff --git a/keyboards/keychron/q1v1/iso/keymaps/kubahorak/README.md b/keyboards/keychron/q1v1/iso/keymaps/kubahorak/README.md deleted file mode 100644 index 3cfae17543..0000000000 --- a/keyboards/keychron/q1v1/iso/keymaps/kubahorak/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# kubahorak's Keychron Q1 keymap - -This ISO layout got heavily inspired by gtg465x's ANSI keymap (rev_0100). - -Features: -- The rightest key column is: Ins, Home, PgUp, PgDn, which differs from the default. -- RGB lighting turns off when the computer sleeps -- Caps Lock and alpha keys turn red to indicate when Caps Lock is on -- When the Fn layer is active, RGB lighting turns off for keys that are not assigned - -## Changelog - -### 2021-10-17 - 1.0.0 - -- Initial release - diff --git a/keyboards/keychron/q1v1/iso/keymaps/kubahorak/config.h b/keyboards/keychron/q1v1/iso/keymaps/kubahorak/config.h deleted file mode 100644 index 854c1d18ee..0000000000 --- a/keyboards/keychron/q1v1/iso/keymaps/kubahorak/config.h +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright 2021 Jakub Horak (@kubahorak) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -#ifdef RGB_MATRIX_ENABLE -/* from rev_0100/keymaps/gtg465x */ -# define RGB_MATRIX_SLEEP -# define CAPS_LOCK_INDICATOR_COLOR RGB_RED -# define CAPS_LOCK_INDICATOR_LIGHT_ALPHAS -# define FN_LAYER_TRANSPARENT_KEYS_OFF -#endif diff --git a/keyboards/keychron/q1v1/iso/keymaps/kubahorak/keymap.c b/keyboards/keychron/q1v1/iso/keymaps/kubahorak/keymap.c deleted file mode 100644 index 479988dfa9..0000000000 --- a/keyboards/keychron/q1v1/iso/keymaps/kubahorak/keymap.c +++ /dev/null @@ -1,66 +0,0 @@ -/* Copyright 2021 Jakub Horak (@kubahorak) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H -#include "keymap_user.h" -#ifdef RGB_MATRIX_ENABLE -# include "rgb_matrix_user.h" -#endif - -// clang-format off - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_iso_83( - KC_ESC, KC_BRID, KC_BRIU, KC_F3, KC_F4, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_DEL, KC_INS, - 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_BSPC, KC_HOME, - 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_PGUP, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_PGDN, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - [1] = LAYOUT_iso_83( - KC_TRNS, 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_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_P7, KC_P8, KC_P9, KC_PSLS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - RGB_TOG, RGB_MOD, RGB_VAI, RGB_HUI, RGB_SAI, RGB_SPI, KC_TRNS, KC_P4, KC_P5, KC_P6, KC_PAST, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_RMOD, RGB_VAD, RGB_HUD, RGB_SAD, RGB_SPD, KC_TRNS, KC_P1, KC_P2, KC_P3, KC_PMNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_P0, KC_PDOT, KC_PENT, KC_PPLS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), - [2] = LAYOUT_iso_83( - KC_ESC, 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, KC_INS, - 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_BSPC, KC_HOME, - 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_PGUP, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_PGDN, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(3), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - [3] = LAYOUT_iso_83( - KC_TRNS, KC_BRID, KC_BRIU, LGUI(KC_TAB), LGUI(KC_E), RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_P7, KC_P8, KC_P9, KC_PSLS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - RGB_TOG, RGB_MOD, RGB_VAI, RGB_HUI, RGB_SAI, RGB_SPI, KC_TRNS, KC_P4, KC_P5, KC_P6, KC_PAST, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_RMOD, RGB_VAD, RGB_HUD, RGB_SAD, RGB_SPD, KC_TRNS, KC_P1, KC_P2, KC_P3, KC_PMNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_P0, KC_PDOT, KC_PENT, KC_PPLS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; - -// clang-format on - -void matrix_init_user(void) { -#ifdef RGB_MATRIX_ENABLE - rgb_matrix_init_user(); -#endif -} diff --git a/keyboards/keychron/q1v1/iso/keymaps/kubahorak/keymap_user.h b/keyboards/keychron/q1v1/iso/keymaps/kubahorak/keymap_user.h deleted file mode 100644 index 728114d556..0000000000 --- a/keyboards/keychron/q1v1/iso/keymaps/kubahorak/keymap_user.h +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright 2021 @ Grayson Carr - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -// clang-format off - -enum layers { - MAC_BASE, - MAC_FN, - WIN_BASE, - WIN_FN -}; - -// clang-format on diff --git a/keyboards/keychron/q1v1/iso/keymaps/kubahorak/rgb_matrix_user.c b/keyboards/keychron/q1v1/iso/keymaps/kubahorak/rgb_matrix_user.c deleted file mode 100644 index 638aa77eb0..0000000000 --- a/keyboards/keychron/q1v1/iso/keymaps/kubahorak/rgb_matrix_user.c +++ /dev/null @@ -1,76 +0,0 @@ -/* Copyright 2021 @ Grayson Carr - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H -#include "rgb_matrix_user.h" -#include "keymap_user.h" - -keypos_t led_index_key_position[RGB_MATRIX_LED_COUNT]; - -void rgb_matrix_init_user(void) { - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - for (uint8_t col = 0; col < MATRIX_COLS; col++) { - uint8_t led_index = g_led_config.matrix_co[row][col]; - if (led_index != NO_LED) { - led_index_key_position[led_index] = (keypos_t){.row = row, .col = col}; - } - } - } -} - -bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { - uint8_t current_layer = get_highest_layer(layer_state); - switch (current_layer) { - case MAC_BASE: - case WIN_BASE: -#ifdef CAPS_LOCK_INDICATOR_COLOR - if (host_keyboard_led_state().caps_lock) { - rgb_matrix_set_color_by_keycode(led_min, led_max, current_layer, is_caps_lock_indicator, CAPS_LOCK_INDICATOR_COLOR); - } -#endif - break; - case MAC_FN: - case WIN_FN: -#ifdef FN_LAYER_TRANSPARENT_KEYS_OFF - rgb_matrix_set_color_by_keycode(led_min, led_max, current_layer, is_transparent, RGB_OFF); -#endif - break; - } - return false; -} - -void rgb_matrix_set_color_by_keycode(uint8_t led_min, uint8_t led_max, uint8_t layer, bool (*is_keycode)(uint16_t), uint8_t red, uint8_t green, uint8_t blue) { - for (uint8_t i = led_min; i < led_max; i++) { - uint16_t keycode = keymap_key_to_keycode(layer, led_index_key_position[i]); - if ((*is_keycode)(keycode)) { - rgb_matrix_set_color(i, red, green, blue); - } - } -} - -bool is_caps_lock_indicator(uint16_t keycode) { - switch (keycode) { -#ifdef CAPS_LOCK_INDICATOR_LIGHT_ALPHAS - case KC_A ... KC_Z: -#endif - case KC_CAPS: - return true; - default: - return false; - } -} - -bool is_transparent(uint16_t keycode) { return keycode == KC_TRNS; } diff --git a/keyboards/keychron/q1v1/iso/keymaps/kubahorak/rgb_matrix_user.h b/keyboards/keychron/q1v1/iso/keymaps/kubahorak/rgb_matrix_user.h deleted file mode 100644 index dead454167..0000000000 --- a/keyboards/keychron/q1v1/iso/keymaps/kubahorak/rgb_matrix_user.h +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright 2021 @ Grayson Carr - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -void rgb_matrix_init_user(void); - -void rgb_matrix_set_color_by_keycode(uint8_t led_min, uint8_t led_max, uint8_t layer, bool (*is_keycode)(uint16_t), uint8_t red, uint8_t green, uint8_t blue); - -bool is_caps_lock_indicator(uint16_t keycode); -bool is_transparent(uint16_t keycode); diff --git a/keyboards/keychron/q1v1/iso/keymaps/kubahorak/rules.mk b/keyboards/keychron/q1v1/iso/keymaps/kubahorak/rules.mk deleted file mode 100644 index af720e37ee..0000000000 --- a/keyboards/keychron/q1v1/iso/keymaps/kubahorak/rules.mk +++ /dev/null @@ -1,6 +0,0 @@ -VIA_ENABLE = yes -MOUSEKEY_ENABLE = no - -ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes) - SRC += rgb_matrix_user.c -endif \ No newline at end of file diff --git a/keyboards/keychron/q1v1/iso/keymaps/victorsavu3/config.h b/keyboards/keychron/q1v1/iso/keymaps/victorsavu3/config.h deleted file mode 100644 index 02f08db4a7..0000000000 --- a/keyboards/keychron/q1v1/iso/keymaps/victorsavu3/config.h +++ /dev/null @@ -1,69 +0,0 @@ -/* Copyright 2021 @ Victor-Gabriel Savu - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -// disable all default effects -#undef ENABLE_RGB_MATRIX_BREATHING -#undef ENABLE_RGB_MATRIX_CYCLE_ALL -#undef ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT -#undef ENABLE_RGB_MATRIX_CYCLE_UP_DOWN -#undef ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON -#undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN -#undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL -#undef ENABLE_RGB_MATRIX_CYCLE_PINWHEEL -#undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL -#undef ENABLE_RGB_MATRIX_DUAL_BEACON -#undef ENABLE_RGB_MATRIX_RAINBOW_BEACON -#undef ENABLE_RGB_MATRIX_RAINDROPS -#undef ENABLE_RGB_MATRIX_TYPING_HEATMAP -#undef ENABLE_RGB_MATRIX_DIGITAL_RAIN -#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE -#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE -#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE -#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE -#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS -#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS -#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS -#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS -#undef ENABLE_RGB_MATRIX_SPLASH -#undef ENABLE_RGB_MATRIX_MULTISPLASH -#undef ENABLE_RGB_MATRIX_SOLID_SPLASH -#undef ENABLE_RGB_MATRIX_SOLID_MULTISPLASH - -// Allow fancy RGB -#define RGB_MATRIX_KEYPRESSES -#define RGB_MATRIX_FRAMEBUFFER_EFFECTS - -// Simple RGB -#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT - -// Reactive RGB -#define ENABLE_RGB_MATRIX_TYPING_HEATMAP -#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS -#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS - -#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_TYPING_HEATMAP - -#define RGB_MATRIX_TYPING_HEATMAP_DECREASE_DELAY_MS 50 - -// Unicode for Linux -#define UNICODE_SELECTED_MODES UNICODE_MODE_LINUX -#define UNICODE_KEY_LNX LCTL(LSFT(KC_U)) - -// Leader config -#define LEADER_PER_KEY_TIMING -#define LEADER_TIMEOUT 500 diff --git a/keyboards/keychron/q1v1/iso/keymaps/victorsavu3/keymap.c b/keyboards/keychron/q1v1/iso/keymaps/victorsavu3/keymap.c deleted file mode 100644 index 5256c97dca..0000000000 --- a/keyboards/keychron/q1v1/iso/keymaps/victorsavu3/keymap.c +++ /dev/null @@ -1,146 +0,0 @@ -/* Copyright 2021 @ Victor-Gabriel Savu - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H - -enum layers{ - MAC_BASE, - MAC_FN, - WIN_BASE, - WIN_FN -}; - -#define KC_TASK LGUI(KC_TAB) -#define KC_FLXP LGUI(KC_E) - -enum unicode_names { - GRIN, - SAD, -}; - -const uint32_t unicode_map[] PROGMEM = { - [GRIN] = 0x1F600, // 😀 - [SAD] = 0x1F61E, // 😞 -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -[MAC_BASE] = LAYOUT_iso_83( - KC_ESC, KC_BRID, KC_BRIU, KC_F3, KC_F4, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_DEL, KC_INS, - 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_BSPC, KC_PGUP, - 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_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_HOME, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, MO(MAC_FN),KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), - -[MAC_FN] = LAYOUT_iso_83( - KC_TRNS, 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_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - RGB_TOG, RGB_MOD, RGB_VAI, RGB_HUI, RGB_SAI, RGB_SPI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_RMOD, RGB_VAD, RGB_HUD, RGB_SAD, RGB_SPD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), - -[WIN_BASE] = LAYOUT_iso_83( - KC_ESC, 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, UM(SAD), - 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_BSPC, UM(GRIN), - 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_PGUP, - QK_LEAD, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_PGDN, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(WIN_FN),KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), - -[WIN_FN] = LAYOUT_iso_83( - KC_TRNS, KC_BRID, KC_BRIU, KC_CALC, KC_FLXP, RGB_VAD, RGB_VAI, KC_TRNS, KC_PSCR, KC_MUTE, KC_VOLD, KC_VOLU, KC_MPLY, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - RGB_TOG, RGB_MOD, RGB_VAI, RGB_HUI, RGB_SAI, RGB_SPI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_CAPS, RGB_RMOD, RGB_VAD, RGB_HUD, RGB_SAD, RGB_SPD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGUP, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_PGDN, KC_END) - -}; - -static bool wiggle_mouse; -static uint16_t wiggle_timer; -static uint16_t next_wiggle; - -void leader_end_user(void) { - if (leader_sequence_one_key(QK_LEAD)) { - tap_code(KC_CAPS); - } - - if (leader_sequence_four_keys(KC_I, KC_D, KC_L, KC_E)) { - wiggle_mouse = !wiggle_mouse; - wiggle_timer = timer_read(); - } - - if (leader_sequence_two_keys(KC_O, KC_K)) { - send_unicode_string("👍"); - } - - if (leader_sequence_three_keys(KC_S, KC_A, KC_D)) { - send_unicode_string("😞"); - } - - if (leader_sequence_five_keys(KC_C, KC_H, KC_E, KC_C, KC_K)) { - send_unicode_string("✅"); - } - - if (leader_sequence_five_keys(KC_C, KC_R, KC_O, KC_S, KC_S)) { - send_unicode_string("❎"); - } - - if (leader_sequence_five_keys(KC_T, KC_H, KC_A, KC_N, KC_K)) { - send_unicode_string("🙏"); - } - - if (leader_sequence_five_keys(KC_S, KC_M, KC_I, KC_L, KC_E)) { - send_unicode_string("😊"); - } - - if (leader_sequence_five_keys(KC_P, KC_A, KC_R, KC_T, KC_Y)) { - send_unicode_string("🎉"); - } - - if (leader_sequence_four_keys(KC_E, KC_Y, KC_E, KC_S)) { - send_unicode_string("(ಠ_ಠ)"); - } - - if (leader_sequence_five_keys(KC_M, KC_A, KC_G, KC_I, KC_C)) { - send_unicode_string("(ಠ_ಠ) 🪄 ⠁⭒*.✫.*⭒⠁"); - } - - if (leader_sequence_five_keys(KC_T, KC_A, KC_B, KC_L, KC_E)) { - send_unicode_string("(ノಠ痊ಠ)ノ彡┻━┻"); - } - - if (leader_sequence_five_keys(KC_S, KC_H, KC_R, KC_U, KC_G)) { - send_unicode_string("¯\\_(ツ)_/¯"); - } -} - -void matrix_scan_user(void) { - if (wiggle_mouse && timer_elapsed(wiggle_timer) > next_wiggle) { - wiggle_timer = timer_read(); - - uint8_t rval = TCNT0 + TCNT1 + TCNT3 + TCNT4; - next_wiggle = rval % 1000; - - if (rval & 1) tap_code(KC_MS_UP); - if (rval & 2) tap_code(KC_MS_DOWN); - if (rval & 4) tap_code(KC_MS_LEFT); - if (rval & 8) tap_code(KC_MS_RIGHT); - } -} diff --git a/keyboards/keychron/q1v1/iso/keymaps/victorsavu3/readme.md b/keyboards/keychron/q1v1/iso/keymaps/victorsavu3/readme.md deleted file mode 100644 index c96130816e..0000000000 --- a/keyboards/keychron/q1v1/iso/keymaps/victorsavu3/readme.md +++ /dev/null @@ -1,4 +0,0 @@ -# victorsavu3's Keychron Q1 keymap (ISO) - -Very similar to the default layout. Enables reactive and framebuffer RGB, but disables most effects enabled by keychron. -Uses Caps Lock as a leader key for emojis and to enable a random mouse wiggler to prevent the system from going to sleep. diff --git a/keyboards/keychron/q1v1/iso/keymaps/victorsavu3/rules.mk b/keyboards/keychron/q1v1/iso/keymaps/victorsavu3/rules.mk deleted file mode 100644 index 853c414ec7..0000000000 --- a/keyboards/keychron/q1v1/iso/keymaps/victorsavu3/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -MOUSEKEY_ENABLE = yes -UNICODEMAP_ENABLE = yes -LEADER_ENABLE = yes diff --git a/keyboards/keychron/q2/ansi/keymaps/ladduro/config.h b/keyboards/keychron/q2/ansi/keymaps/ladduro/config.h deleted file mode 100644 index a357fbb164..0000000000 --- a/keyboards/keychron/q2/ansi/keymaps/ladduro/config.h +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright 2022 @ Ionut Micu - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -/* RGB Matrix Configuration */ -#ifdef RGB_MATRIX_ENABLE -# define RGB_MATRIX_SLEEP -# define CAPS_LOCK_INDICATOR_COLOR RGB_RED -# define CAPS_LOCK_INDICATOR_LIGHT_ALPHAS -# define FN_LAYER_TRANSPARENT_KEYS_OFF -#endif \ No newline at end of file diff --git a/keyboards/keychron/q2/ansi/keymaps/ladduro/keymap.c b/keyboards/keychron/q2/ansi/keymaps/ladduro/keymap.c deleted file mode 100644 index 55ee7a9732..0000000000 --- a/keyboards/keychron/q2/ansi/keymaps/ladduro/keymap.c +++ /dev/null @@ -1,68 +0,0 @@ -/* Copyright 2022 @ Ionut Micu - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H -#include "keymap_user.h" -#ifdef RGB_MATRIX_ENABLE -# include "rgb_matrix_user.h" -#endif - -#define KC_WAVE S(KC_GRV) -#define KC_TASK LGUI(KC_TAB) -#define KC_FLXP LGUI(KC_E) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [MAC_BASE] = LAYOUT_ansi_67( - KC_ESC, 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_BSPC, KC_INS, - 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, KC_DEL, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_HOME, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LOPT, KC_LCMD, KC_SPC, KC_RCMD, MO(_FN1), MO(_FN3), KC_LEFT, KC_DOWN, KC_RGHT), - - [WIN_BASE] = LAYOUT_ansi_67( - KC_ESC, 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_BSPC, KC_INS, - 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, KC_DEL, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_HOME, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_FN2), MO(_FN3), KC_LEFT, KC_DOWN, KC_RGHT), - - [_FN1] = LAYOUT_ansi_67( - KC_GRV, KC_BRID, KC_BRIU, KC_MCTL, KC_LPAD, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_TRNS, KC_TRNS, - RGB_TOG, RGB_MOD, RGB_VAI, RGB_HUI, RGB_SAI, RGB_SPI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_RMOD,RGB_VAD, RGB_HUD, RGB_SAD, RGB_SPD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), - - [_FN2] = LAYOUT_ansi_67( - KC_GRV, KC_BRID, KC_BRIU, KC_TASK, KC_FLXP, RGB_VAD, RGB_VAI, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, KC_TRNS, KC_TRNS, - RGB_TOG, RGB_MOD, RGB_VAI, RGB_HUI, RGB_SAI, RGB_SPI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_RMOD,RGB_VAD, RGB_HUD, RGB_SAD, RGB_SPD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), - - [_FN3] = LAYOUT_ansi_67( - KC_WAVE, 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_TRNS, KC_TRNS, - RGB_TOG, RGB_MOD, RGB_VAI, RGB_HUI, RGB_SAI, RGB_SPI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_RMOD,RGB_VAD, RGB_HUD, RGB_SAD, RGB_SPD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) -}; - -void matrix_init_user(void) { -#ifdef RGB_MATRIX_ENABLE - rgb_matrix_init_user(); -#endif -} diff --git a/keyboards/keychron/q2/ansi/keymaps/ladduro/keymap_user.h b/keyboards/keychron/q2/ansi/keymaps/ladduro/keymap_user.h deleted file mode 100644 index ded78ae1b8..0000000000 --- a/keyboards/keychron/q2/ansi/keymaps/ladduro/keymap_user.h +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright 2022 @ Ionut Micu - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -// clang-format off - -enum layers{ - MAC_BASE, - WIN_BASE, - _FN1, - _FN2, - _FN3, -}; \ No newline at end of file diff --git a/keyboards/keychron/q2/ansi/keymaps/ladduro/readme.md b/keyboards/keychron/q2/ansi/keymaps/ladduro/readme.md deleted file mode 100644 index 42ca81a1a1..0000000000 --- a/keyboards/keychron/q2/ansi/keymaps/ladduro/readme.md +++ /dev/null @@ -1,29 +0,0 @@ -# Ladduro keymap for Keychron Q2 (ANSI rev_0110) v1.01 - -This keymap ports Q1 logic (by gtg465x) for RGB caps lock indicator and layer RBG assigned key. - -## Features: -- On macOS, F3 opens Mission Control and F4 opens Launchpad without needing to configure shortcuts in System Preferences -- RGB lighting turns off when the computer sleeps -- Caps Lock and alpha keys turn red to indicate when Caps Lock is on -- When the Fn layer is active, RGB lighting turns off for keys that are not assigned - -Make example for this keyboard (after setting up your build environment): - - make keychron/q2/rev_0110:ladduro - -Flashing example for this keyboard: - - make keychron/q2/rev_0110:ladduro:flash - -See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). - -## Changelog - -### 14/03/2021 - 1. - -- Initial release - -### 02/04/2021 - 1.01 - -- Remove via enable from rules.mk as it breaks the layout for some reason diff --git a/keyboards/keychron/q2/ansi/keymaps/ladduro/rgb_matrix_user.c b/keyboards/keychron/q2/ansi/keymaps/ladduro/rgb_matrix_user.c deleted file mode 100644 index 604f54a705..0000000000 --- a/keyboards/keychron/q2/ansi/keymaps/ladduro/rgb_matrix_user.c +++ /dev/null @@ -1,73 +0,0 @@ -/* Copyright 2022 @ Ionut Micu - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H -#include "rgb_matrix_user.h" -#include "keymap_user.h" - -keypos_t led_index_key_position[RGB_MATRIX_LED_COUNT]; - -void rgb_matrix_init_user(void) { - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - for (uint8_t col = 0; col < MATRIX_COLS; col++) { - uint8_t led_index = g_led_config.matrix_co[row][col]; - if (led_index != NO_LED) { - led_index_key_position[led_index] = (keypos_t){.row = row, .col = col}; - } - } - } -} - -bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { - uint8_t current_layer = get_highest_layer(layer_state); - switch (current_layer) { - case MAC_BASE: - case WIN_BASE: -#ifdef CAPS_LOCK_INDICATOR_COLOR - if (host_keyboard_led_state().caps_lock) { - rgb_matrix_set_color_by_keycode(led_min, led_max, current_layer, is_caps_lock_indicator, CAPS_LOCK_INDICATOR_COLOR); - } -#endif - break; - case _FN1: - case _FN2: - case _FN3: -#ifdef FN_LAYER_TRANSPARENT_KEYS_OFF - rgb_matrix_set_color_by_keycode(led_min, led_max, current_layer, is_transparent, RGB_OFF); -#endif - break; - } - return false; -} - -void rgb_matrix_set_color_by_keycode(uint8_t led_min, uint8_t led_max, uint8_t layer, bool (*is_keycode)(uint16_t), uint8_t red, uint8_t green, uint8_t blue) { - for (uint8_t i = led_min; i < led_max; i++) { - uint16_t keycode = keymap_key_to_keycode(layer, led_index_key_position[i]); - if ((*is_keycode)(keycode)) { - rgb_matrix_set_color(i, red, green, blue); - } - } -} - -bool is_caps_lock_indicator(uint16_t keycode) { -#ifdef CAPS_LOCK_INDICATOR_LIGHT_ALPHAS - return (KC_A <= keycode && keycode <= KC_Z) || keycode == KC_CAPS; -#else - return keycode == KC_CAPS; -#endif -} - -bool is_transparent(uint16_t keycode) { return keycode == KC_TRNS; } diff --git a/keyboards/keychron/q2/ansi/keymaps/ladduro/rgb_matrix_user.h b/keyboards/keychron/q2/ansi/keymaps/ladduro/rgb_matrix_user.h deleted file mode 100644 index 4d33f483ae..0000000000 --- a/keyboards/keychron/q2/ansi/keymaps/ladduro/rgb_matrix_user.h +++ /dev/null @@ -1,25 +0,0 @@ - -/* Copyright 2022 @ Ionut Micu - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -void rgb_matrix_init_user(void); - -void rgb_matrix_set_color_by_keycode(uint8_t led_min, uint8_t led_max, uint8_t layer, bool (*is_keycode)(uint16_t), uint8_t red, uint8_t green, uint8_t blue); - -bool is_caps_lock_indicator(uint16_t keycode); -bool is_transparent(uint16_t keycode); \ No newline at end of file diff --git a/keyboards/keychron/q2/ansi/keymaps/ladduro/rules.mk b/keyboards/keychron/q2/ansi/keymaps/ladduro/rules.mk deleted file mode 100644 index c0ee640cd2..0000000000 --- a/keyboards/keychron/q2/ansi/keymaps/ladduro/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -MOUSEKEY_ENABLE = no - -ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes) - SRC += rgb_matrix_user.c -endif diff --git a/keyboards/keyhive/opus/keymaps/thefoxcodes/config.h b/keyboards/keyhive/opus/keymaps/thefoxcodes/config.h deleted file mode 100644 index 824ec5bd18..0000000000 --- a/keyboards/keyhive/opus/keymaps/thefoxcodes/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright 2020 rtwayland - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -// place overrides here -#define USB_MAX_POWER_CONSUMPTION 100 -#define TAPPING_TERM 200 \ No newline at end of file diff --git a/keyboards/keyhive/opus/keymaps/thefoxcodes/keymap.c b/keyboards/keyhive/opus/keymaps/thefoxcodes/keymap.c deleted file mode 100644 index 28eda8e6b6..0000000000 --- a/keyboards/keyhive/opus/keymaps/thefoxcodes/keymap.c +++ /dev/null @@ -1,94 +0,0 @@ -/* Copyright 2020 rtwayland - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H - -enum layer_names { - _BASE, - _SYMBOL, - _NUM, - _NAV, - _MEDIA, - _WORD, - _FKEYS, - _NUMPAD, - _MOUSE -}; - -enum { - TD_PLAY_DO_NOT_DISTURB -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BASE] = LAYOUT( - LT(4, KC_TAB), KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, TD(TD_PLAY_DO_NOT_DISTURB), - LCTL_T(KC_ESC), KC_A, KC_S, KC_D, LT(2, KC_F), KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, LT(4, KC_QUOT), - MO(5), LGUI_T(KC_Z), KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, LGUI_T(KC_SLSH), MO(5), - MO(3), KC_LSFT, LALT_T(KC_TAB), LT(3, KC_ENT), LT(1, KC_SPC), KC_BSPC - ), - [_SYMBOL] = LAYOUT( - LCTL(KC_C), KC_TILD, KC_AT, KC_LCBR, KC_RCBR, KC_HASH, KC_ASTR, KC_CIRC, KC_AMPR, KC_PIPE, KC_BSLS, LCTL(KC_GRV), - KC_LCTL, KC_GRV, KC_MINS, KC_LPRN, KC_RPRN, KC_EXLM, KC_QUES, KC_DLR, KC_LT, KC_GT, KC_SLSH, KC_DQUO, - KC_LALT, KC_LGUI, KC_UNDS, KC_LBRC, KC_RBRC, KC_PLUS, KC_P0, KC_EQL, KC_PERC, KC_COLN, KC_NO, KC_NO, - KC_NO, KC_LSFT, LALT_T(KC_TAB), KC_NO, KC_TRNS, KC_NO - ), - [_NUM] = LAYOUT( - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_ASTR, KC_7, KC_8, KC_9, KC_SLSH, KC_EQL, - KC_LCTL, KC_NO, MO(7), MO(6), KC_TRNS, KC_NO, KC_PLUS, KC_4, KC_5, KC_6, KC_MINS, KC_PERC, - KC_LALT, KC_LGUI, KC_NO, KC_NO, KC_NO, KC_NO, KC_0, KC_1, KC_2, KC_3, KC_DOT, KC_PENT, - KC_NO, KC_LSFT, LALT_T(KC_TAB), KC_NO, KC_SPC, KC_BSPC - ), - [_NAV] = LAYOUT( - KC_NO, KC_NO, LALT(KC_RGHT), SGUI(KC_LBRC), SGUI(KC_RBRC), KC_NO, KC_HOME, KC_PGDN, KC_PGUP, KC_NO, KC_NO, KC_NO, - KC_NO, KC_LCTL, KC_LALT, KC_LSFT, KC_LGUI, KC_NO, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_NO, KC_NO, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, LALT(KC_LEFT), KC_END, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - KC_TRNS, KC_NO, KC_NO, KC_NO, KC_SPC, KC_BSPC - ), - [_MEDIA] = LAYOUT( - KC_TRNS, SGUI(KC_5), SGUI(KC_3), SGUI(KC_4), MEH(KC_4), KC_VOLU, LCA(KC_U), LCAG(KC_LEFT), LCAG(KC_RGHT), LCA(KC_I), LCA(KC_EQL), LALT(LGUI(KC_PWR)), - KC_CAPS, KC_F11, KC_MPRV, KC_MNXT, KC_MPLY, KC_VOLD, LCA(KC_LEFT), LCA(KC_DOWN), LCA(KC_UP), LCA(KC_RIGHT), LCA(KC_MINS), KC_TRNS, - KC_BRID, KC_BRIU, LGUI(KC_MINS), LGUI(KC_PLUS), LGUI(KC_GRV), KC_MUTE, LCA(KC_J), LCA(KC_ENT), LCA(KC_C), LCA(KC_K), MEH(KC_UP), QK_BOOT, - LCTL(LSFT(KC_TAB)), LCTL(KC_TAB), KC_NO, KC_NO, MEH(KC_RGHT), MEH(KC_LEFT) - ), - [_WORD] = LAYOUT( - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - KC_NO, KC_NO, LALT(LSFT(KC_MINS)), KC_NO, LALT(LGUI(KC_F)), KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - KC_TRNS, KC_NO, LALT(KC_MINS), KC_NO, SGUI(LALT(KC_V)), KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_DEL - ), - [_FKEYS] = LAYOUT( - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_F12, KC_F7, KC_F8, KC_F9, KC_F17, KC_F20, - KC_NO, KC_NO, KC_NO, KC_TRNS, KC_NO, KC_NO, KC_F11, KC_F4, KC_F5, KC_F6, KC_F16, KC_F19, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_F10, KC_F1, KC_F2, KC_F3, KC_F13, KC_F18, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO - ), - [_NUMPAD] = LAYOUT( - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_PAST, KC_P7, KC_P8, KC_P9, KC_PSLS, KC_PEQL, - KC_LCTL, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_PPLS, KC_P4, KC_P5, KC_P6, KC_PMNS, KC_PERC, - KC_LALT, KC_LGUI, KC_NO, KC_NO, KC_NO, KC_NO, KC_P0, KC_P1, KC_P2, KC_P3, KC_PDOT, KC_PENT, - KC_NO, KC_TRNS, KC_NO, KC_NO, KC_LPRN, KC_RPRN - ), - [_MOUSE] = LAYOUT( - KC_NO, KC_NO, KC_NO, SGUI(KC_LBRC), SGUI(KC_RBRC), KC_NO, KC_HOME, KC_WH_U, KC_WH_D, KC_NO, KC_NO, KC_NO, - KC_NO, KC_NO, KC_ACL2, KC_WWW_BACK, KC_ACL0, KC_WWW_FORWARD, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, KC_NO, KC_NO, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_END, KC_WH_R, KC_WH_L, KC_NO, KC_NO, KC_NO, - KC_NO, KC_NO, KC_NO, KC_NO, KC_BTN1, KC_BTN2 - ), -}; - -tap_dance_action_t tap_dance_actions[] = { - [TD_PLAY_DO_NOT_DISTURB] = ACTION_TAP_DANCE_DOUBLE(KC_MPLY, KC_F6) -}; \ No newline at end of file diff --git a/keyboards/keyhive/opus/keymaps/thefoxcodes/readme.md b/keyboards/keyhive/opus/keymaps/thefoxcodes/readme.md deleted file mode 100644 index c1d2a0b9ec..0000000000 --- a/keyboards/keyhive/opus/keymaps/thefoxcodes/readme.md +++ /dev/null @@ -1 +0,0 @@ -# thefoxcodes keymap diff --git a/keyboards/keyhive/opus/keymaps/thefoxcodes/rules.mk b/keyboards/keyhive/opus/keymaps/thefoxcodes/rules.mk deleted file mode 100644 index 1ba2fa8fbe..0000000000 --- a/keyboards/keyhive/opus/keymaps/thefoxcodes/rules.mk +++ /dev/null @@ -1 +0,0 @@ -TAP_DANCE_ENABLE = yes \ No newline at end of file diff --git a/keyboards/keyhive/southpole/keymaps/foobeard/keymap.c b/keyboards/keyhive/southpole/keymaps/foobeard/keymap.c deleted file mode 100644 index 3d8fda20a3..0000000000 --- a/keyboards/keyhive/southpole/keymaps/foobeard/keymap.c +++ /dev/null @@ -1,72 +0,0 @@ -/* -Base Copyright 2017 Luiz Ribeiro -Modified 2017 Andrew Novak -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. -You should have received a copy of the GNU General Public LicensezZZ -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -enum layers { - _QWERTY, - _RAISE -}; - -enum custom_keycodes { - QWERTY = SAFE_RANGE, -}; - -#define RAISE MO(_RAISE) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Layer 0, default layer - * ,--------------------------------------------------------------------------------------------------------------------------------------------. - * |NumLck| / | * | - | | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | \ |Delete| Ins | - * |------+------+------+------+-+-------------------------------------------------------------------------------------------------------+------| - * | 7 | 8 | 9 | + | | Tab | Q | W | E | R | T | Y | U | I | O | P | { | } | BkSpc | Vol+ | - * |------+------+------+------+-+-------------------------------------------------------------------------------------------------------+------| - * | 4 | 5 | 6 | + | | Caps | A | S | D | F | G | H | J | K | L | ; | ' | Return | Vol- | - * |------+------+------+------+-+-------------------------------------------------------------------------------------------------------+------| - * | 1 | 2 | 3 | En | | LShft | Z | X | C | V | B | N | M | , | . | / | RShft | Up | Mute | - * |------+------+------+------+-+----------------------------------------------------------------------------------------------+--------+------| - * | 0 | . | En | | Ctrl | Win | Alt | Space | Fn | | Left | Down | Right| - * `------+------+------+------+-+-------------------------------------------------------------------------------------------------------+------' - */ - [_QWERTY] = LAYOUT( - KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, KC_ESC, 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_BSLS, KC_DELETE, KC_INS, - KC_P7, KC_P8, KC_P9, KC_PPLS, 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_BSPC, KC_VOLU, - KC_P4, KC_P5, KC_P6, KC_PENT, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_VOLD, - KC_P1, KC_P2, KC_P3, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_MUTE, - KC_P0, KC_PDOT, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_RGHT - ), - - /*layer 1, function layer - * ,--------------------------------------------------------------------------------------------------------------------------------------------. - * |Reset | | | | | ` | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | |Calc | - * |------+------+------+------+-+-------------------------------------------------------------------------------------------------------+------| - * | | | | | | | | | | | | | | | | | | | | | - * |------+------+------+------+-+-------------------------------------------------------------------------------------------------------+------| - * | | | | | | | | | | | | | | | | | | | | - * |------+------+------+------+-+-------------------------------------------------------------------------------------------------------+------| - * | | | | | | | | | | | | | | | | | | | | - * |------+------+------+------+-+----------------------------------------------------------------------------------------------+--------+------| - * | | | | | | | | | | | | | | - * `------+------+------+------+-+-------------------------------------------------------------------------------------------------------+------' - */ - - [_RAISE] = LAYOUT( - QK_BOOT, _______, _______, _______, KC_GRV, 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_CALC, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ) -}; \ No newline at end of file diff --git a/keyboards/keyhive/ut472/keymaps/annihilator6000/UT472_Annihilator6000_Configurator_file.json b/keyboards/keyhive/ut472/keymaps/annihilator6000/UT472_Annihilator6000_Configurator_file.json deleted file mode 100755 index 8dea44e33c..0000000000 --- a/keyboards/keyhive/ut472/keymaps/annihilator6000/UT472_Annihilator6000_Configurator_file.json +++ /dev/null @@ -1 +0,0 @@ -{"keyboard":"ut472","keymap":"ut472_layout_switching","layout":"LAYOUT","layers":[["KC_ESC","KC_Q","KC_W","KC_E","KC_R","KC_T","KC_Y","KC_U","KC_I","KC_O","KC_P","KC_BSPC","LT(3,KC_TAB)","KC_A","KC_S","KC_D","KC_F","KC_G","KC_H","KC_J","KC_K","KC_L","KC_SCLN","KC_QUOT","KC_LSFT","KC_Z","KC_X","KC_C","KC_V","KC_B","KC_N","KC_M","KC_COMM","KC_DOT","KC_SLSH","SC_SENT","KC_LCTL","KC_LALT","KC_LGUI","KC_APP","MO(2)","KC_SPC","MO(1)","KC_LEFT","KC_DOWN","KC_UP","KC_RGHT"],["KC_ESC","KC_Q","KC_D","KC_R","KC_W","KC_B","KC_J","KC_F","KC_U","KC_P","KC_SCLN","KC_BSPC","LT(3,KC_TAB)","KC_A","KC_S","KC_H","KC_T","KC_G","KC_Y","KC_N","KC_E","KC_O","KC_I","KC_QUOT","KC_LSFT","KC_Z","KC_X","KC_M","KC_C","KC_V","KC_K","KC_L","KC_COMM","KC_DOT","KC_SLSH","SC_SENT","KC_LCTL","KC_LALT","KC_LGUI","KC_APP","MO(2)","KC_SPC","MO(1)","KC_LEFT","KC_DOWN","KC_UP","KC_RGHT"],["KC_ESC","KC_Q","KC_W","KC_F","KC_P","KC_G","KC_J","KC_L","KC_U","KC_Y","KC_SCLN","KC_BSPC","LT(3,KC_TAB)","KC_A","KC_R","KC_S","KC_T","KC_D","KC_H","KC_N","KC_E","KC_I","KC_O","KC_QUOT","KC_LSFT","KC_Z","KC_X","KC_C","KC_V","KC_B","KC_K","KC_M","KC_COMM","KC_DOT","KC_SLSH","SC_SENT","KC_LCTL","KC_LALT","KC_LGUI","KC_APP","MO(2)","KC_SPC","MO(1)","KC_LEFT","KC_DOWN","KC_UP","KC_RGHT"],["KC_ESC","KC_Q","KC_W","KC_F","KC_P","KC_B","KC_J","KC_L","KC_U","KC_Y","KC_SCLN","KC_BSPC","LT(3,KC_TAB)","KC_A","KC_R","KC_S","KC_T","KC_G","KC_K","KC_N","KC_E","KC_I","KC_O","KC_QUOT","KC_LSFT","KC_X","KC_C","KC_D","KC_V","KC_Z","KC_M","KC_H","KC_COMM","KC_DOT","KC_SLSH","SC_SENT","KC_LCTL","KC_LALT","KC_LGUI","KC_APP","MO(2)","KC_SPC","MO(1)","KC_LEFT","KC_DOWN","KC_UP","KC_RGHT"],["KC_ESC","KC_QUOT","KC_COMM","KC_DOT","KC_P","KC_Y","KC_F","KC_G","KC_C","KC_R","KC_L","KC_BSPC","LT(3,KC_TAB)","KC_A","KC_O","KC_E","KC_U","KC_I","KC_D","KC_H","KC_T","KC_N","KC_S","KC_SLSH","KC_LSFT","KC_SCLN","KC_Q","KC_J","KC_K","KC_X","KC_B","KC_M","KC_W","KC_V","KC_Z","SC_SENT","KC_LCTL","KC_LALT","KC_LGUI","KC_APP","MO(2)","KC_SPC","MO(1)","KC_LEFT","KC_DOWN","KC_UP","KC_RGHT"],["KC_GRV","KC_1","KC_2","KC_3","KC_4","KC_5","KC_6","KC_7","KC_8","KC_9","KC_0","KC_DEL","KC_NO","RGB_TOG","RGB_MOD","RGB_VAI","RGB_VAD","KC_NO","KC_NO","KC_MINS","KC_EQL","KC_LBRC","KC_RBRC","KC_BSLS","KC_NO","KC_F11","KC_F12","KC_F13","KC_F14","KC_F15","KC_F16","KC_F17","KC_F18","KC_F19","KC_F20","KC_NO","KC_NO","KC_NO","KC_NO","KC_CAPS","KC_NO","KC_NO","KC_TRNS","KC_HOME","KC_PGDN","KC_PGUP","KC_END"],["KC_TILD","KC_EXLM","KC_AT","KC_HASH","KC_DLR","KC_PERC","KC_CIRC","KC_AMPR","KC_ASTR","KC_LPRN","KC_RPRN","KC_DEL","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_UNDS","KC_PLUS","KC_LCBR","KC_RCBR","KC_PIPE","KC_NO","KC_F1","KC_F2","KC_F3","KC_F4","KC_F5","KC_F6","KC_F7","KC_F8","KC_F9","KC_F10","KC_NO","KC_NO","KC_NO","KC_NO","KC_CAPS","KC_TRNS","KC_NO","KC_NO","KC_HOME","KC_PGDN","KC_PGUP","KC_END"],["KC_ESC","KC_CALC","KC_WHOM","KC_MAIL","KC_MYCM","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_PSCR","KC_NO","KC_TRNS","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_WH_L","KC_WH_D","KC_WH_U","KC_WH_R"],["QK_BOOT","KC_NO","KC_NO","RGB_TOG","RGB_MOD","RGB_HUI","RGB_HUD","RGB_SAI","RGB_SAD","RGB_VAI","RGB_VAD","KC_DEL","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","ANY(Qwerty)","ANY(Workman)","ANY(Colemak)","ANY(Colemak Mod-DH)","ANY(Dvorak)","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","DB_TOGG","KC_NO","KC_NO","KC_NO","KC_TRNS","KC_NO","KC_TRNS","KC_NO","KC_NO","KC_NO","KC_NO"]],"author":"Annihilator6000","notes":"Layer 0 = Qwerty\nLayer 1 = Workman\nLayer 2 = Colemak\nLayer 3 = Colemak Mod-DH\nLayer 4 = Dvorak\nLayer 5 = Function Layer 1 (MO 1)\nLayer 6 = Function Layer 2 (MO 2)\nLayer 7 = Function Layer 3 (LT 3: Hold Tab)\nLayer 8 = Planck-style Adjust Layer (Hold MO 1 and MO 2 at the same time)"} \ No newline at end of file diff --git a/keyboards/keyhive/ut472/keymaps/annihilator6000/keymap.c b/keyboards/keyhive/ut472/keymaps/annihilator6000/keymap.c deleted file mode 100644 index 2235c07bb5..0000000000 --- a/keyboards/keyhive/ut472/keymaps/annihilator6000/keymap.c +++ /dev/null @@ -1,256 +0,0 @@ -/* Copyright 2018 Carlos Filoteo - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H - -#define LT3_TAB LT(3, KC_TAB) - -enum ut472_layers { - _QWERTY, - _WORKMAN, - _COLEMAK, - _COLEMAK_MOD_DH, - _DVORAK, - _LOWER, - _RAISE, - _TAB, - _ADJUST -}; - -enum ut472_keycodes { - QWERTY = SAFE_RANGE, - WORKMAN, - COLEMAK, - COLEMAK_MOD_DH, - DVORAK -}; - -#define LOWER MO(_LOWER) -#define RAISE MO(_RAISE) - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - /* Base Layer - QWERTY - * ,-------------------------------------------------------------------------. - * | Esc | Q | W | E | R | T | Y | U | I | O | P |Bspace | - * |-------------------------------------------------------------------------+ - * |Tab/L3| A | S | D | F | G | H | J | K | L | ; | ' | - * |-------------------------------------------------------------------------+ - * | Shift | Z | X | C | V | B | N | M | , | . | / |Sh/En| - * |-------------------------------------------------------------------------+ - * | Ctrl| Alt | Gui | App | L2 | Space | L1 | Left| Down| Up |Right| - * `-------------------------------------------------------------------------' - */ -[_QWERTY] = LAYOUT( - KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - LT3_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_SENT, - KC_LCTL, KC_LALT, KC_LGUI, KC_APP, LOWER, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - - /* Workman - * ,-------------------------------------------------------------------------. - * | Esc | Q | D | R | W | B | J | F | U | P | ; |Bspace | - * |-------------------------------------------------------------------------+ - * |Tab/L3| A | S | H | T | G | Y | N | E | O | I | ' | - * |-------------------------------------------------------------------------+ - * | Shift | Z | X | M | C | V | K | L | , | . | / |Sh/En| - * |-------------------------------------------------------------------------+ - * | Ctrl| Alt | Gui | App | L2 | Space | L1 | Left| Down| Up |Right| - * `-------------------------------------------------------------------------' - */ -[_WORKMAN] = LAYOUT( - KC_ESC, KC_Q, KC_D, KC_R, KC_W, KC_B, KC_J, KC_F, KC_U, KC_P, KC_SCLN, KC_BSPC, - LT3_TAB, KC_A, KC_S, KC_H, KC_T, KC_G, KC_Y, KC_N, KC_E, KC_O, KC_I, KC_QUOT, - KC_LSFT, KC_Z, KC_X, KC_M, KC_C, KC_V, KC_K, KC_L, KC_COMM, KC_DOT, KC_SLSH, SC_SENT, - KC_LCTL, KC_LALT, KC_LGUI, KC_APP, LOWER, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - - /* Colemak - * ,---------------------------------------------------------------------------. - * | Esc | Q | W | F | P | G | J | L | U | Y | ; | Bksp | - * |-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+---------| - * |Tab/L3| A | R | S | T | D | H | N | E | I | O | " | - * |------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+--------| - * | Shift | Z | X | C | V | B | K | M | , | . | / | Sh/En | - * |-------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-------| - * | Ctrl| Alt | GUI | App | L2 | Space | L1 | Left | Down | Up |Right | - * `---------------------------------------------------------------------------' - */ -[_COLEMAK] = LAYOUT( - KC_ESC, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, - LT3_TAB, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , - KC_LCTL, KC_LALT, KC_LGUI, KC_APP, LOWER, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - - /* Colemak Mod-DH - * https://colemakmods.github.io/mod-dh/keyboards.html - * ,---------------------------------------------------------------------------. - * | Esc | Q | W | F | P | B | J | L | U | Y | ; | Bksp | - * |-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+---------| - * |Tab/L3| A | R | S | T | G | K | N | E | I | O | ' | - * |------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+--------| - * | Shift | X | C | D | V | Z | M | H | , | . | / | Sh/En | - * |-------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-------| - * | Ctrl| Alt | GUI | App | L2 | Space | L1 | Left | Down | Up |Right | - * `---------------------------------------------------------------------------' - */ -[_COLEMAK_MOD_DH] = LAYOUT( - KC_ESC, KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, - LT3_TAB, KC_A, KC_R, KC_S, KC_T, KC_G, KC_K, KC_N, KC_E, KC_I, KC_O, KC_QUOT, - KC_LSFT, KC_X, KC_C, KC_D, KC_V, KC_Z, KC_M, KC_H, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, - KC_LCTL, KC_LALT, KC_LGUI, KC_APP, LOWER, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - - /* Dvorak - * ,--------------------------------------------------------------------------. - * | Esc | " | , | . | P | Y | F | G | C | R | L | Bksp | - * |-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+--------| - * |Tab/L3| A | O | E | U | I | D | H | T | N | S | / | - * |------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-------| - * | Shift | ; | Q | J | K | X | B | M | W | V | Z |Sh/En | - * |-------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+------| - * | Ctrl| Alt | GUI | App | L2 | Space | L1 | Left | Down | Up |Right | - * `--------------------------------------------------------------------------' - */ -[_DVORAK] = LAYOUT( - KC_ESC, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC, - LT3_TAB, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, - KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT , - KC_LCTL, KC_LALT, KC_LGUI, KC_APP, LOWER, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - - /* FN Layer 1 - LOWER - * ,-------------------------------------------------------------------------. - * | ` ~ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Delete| - * |-------------------------------------------------------------------------+ - * | | | | | | | | - | = | [ | ] | \ | - * |-------------------------------------------------------------------------+ - * | | F11 | F12 | F13 | F14 | F15 | F16 | F17 | F18 | F19 | F20 | | - * |-------------------------------------------------------------------------+ - * | | | |Capsl| | | | Home| PgDn| PgUp| End | - * `-------------------------------------------------------------------------' - */ -[_LOWER] = LAYOUT( - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DELETE, - _______, RGB_TOG, RGB_MOD, RGB_VAI, RGB_VAD, _______, _______, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, - _______, KC_F11, KC_F12, KC_F13, KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, _______, - _______, _______, _______, KC_CAPS, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END -), - - /* FN Layer 2 - RAISE - * ,-------------------------------------------------------------------------. - * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) |Delete| - * |-------------------------------------------------------------------------+ - * | | | | | | | | _ | + | { | } | | | - * |-------------------------------------------------------------------------+ - * | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | | - * |-------------------------------------------------------------------------+ - * | | | |Capsl| | | | Home| PgDn| PgUp| End | - * `-------------------------------------------------------------------------' - */ -[_RAISE] = LAYOUT( - KC_TILDE, KC_EXCLAIM, KC_AT, KC_HASH, KC_DOLLAR, KC_PERCENT, KC_CIRCUMFLEX, KC_AMPERSAND, KC_ASTERISK, KC_LEFT_PAREN, KC_RIGHT_PAREN, KC_DELETE, - _______, _______, _______, _______, _______, _______, _______, KC_UNDERSCORE, KC_PLUS, KC_LEFT_CURLY_BRACE, KC_RIGHT_CURLY_BRACE, KC_PIPE, - _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______, - _______, _______, _______, KC_CAPS, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END -), - - /* FN Layer 3 - Hold Tab - * ,-------------------------------------------------------------------------. - * | Esc | Calc|Webhm| Mail| Comp| | | | | |PrtSc| | - * |-------------------------------------------------------------------------+ - * | | | | | | | | | | | | | - * |-------------------------------------------------------------------------+ - * | | | | | | | | | | | | | - * |-------------------------------------------------------------------------+ - * | | | | | | | |MousL|MousD|MousU|MousR| - * `-------------------------------------------------------------------------' - */ -[_TAB] = LAYOUT( - KC_ESC, KC_CALC, KC_WHOM, KC_MAIL, KC_MYCM, _______, _______, _______, _______, _______, KC_PSCR, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, KC_WH_L, KC_WH_D, KC_WH_U, KC_WH_R -), - - /* Adjust (L1 + L2) - * v-----------------------RGB CONTROL---------------------v - * ,-------------------------------------------------------------------------- - * |Reset| | | RGB |RGBMO|HUE+ |HUE- |SAT+ |SAT- |BRT+ |BRT- | Del | - * |-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-------| - * | | | | | | |Qwert|Wrkmn|ModDH|Colmk|Dvork| | - * |------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+------| - * | | | | | | | | | | | | | - * |-------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----| - * | Dbg | | | | | | | | | | | - * `-------------------------------------------------------------------------' - */ -[_ADJUST] = LAYOUT( - QK_BOOT, _______, _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_DEL, - _______, _______, _______, _______, _______, _______, QWERTY, WORKMAN, COLEMAK, COLEMAK_MOD_DH, DVORAK, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - DB_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -) -/* QWERTY = H - WORKMAN = J - COLEMAK = K - -MOD-DH = L - DVORAK = ; */ -}; - - -layer_state_t layer_state_set_user(layer_state_t state) { - return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case QWERTY: - if (record->event.pressed) { - print("mode just switched to qwerty and this is a huge string\n"); - set_single_persistent_default_layer(_QWERTY); - } - return false; - break; - case WORKMAN: - if (record->event.pressed) { - set_single_persistent_default_layer(_WORKMAN); - } - return false; - break; - case COLEMAK: - if (record->event.pressed) { - set_single_persistent_default_layer(_COLEMAK); - } - return false; - break; - case COLEMAK_MOD_DH: - if (record->event.pressed) { - set_single_persistent_default_layer(_COLEMAK_MOD_DH); - } - return false; - break; - case DVORAK: - if (record->event.pressed) { - set_single_persistent_default_layer(_DVORAK); - } - return false; - break; - } - return true; -} diff --git a/keyboards/keyhive/ut472/keymaps/annihilator6000/readme.md b/keyboards/keyhive/ut472/keymaps/annihilator6000/readme.md deleted file mode 100644 index 59469b7b55..0000000000 --- a/keyboards/keyhive/ut472/keymaps/annihilator6000/readme.md +++ /dev/null @@ -1,15 +0,0 @@ -# UT47.2 Planck-style layout switching - -Has layouts for Qwerty, Workman, Colemak, Colemak-Mod-DH, and Dvorak. Qwerty is the default layout. Layouts are switched Planck-style using momentary layer keys 1 and 2 (MO(1) and MO(2)) at the same time and pressing one of the H, J, K, L, or ; keys (this is while on the Qwerty layout - adjust if on another layout). See Layer 8 below for layout keys. - -You can load the UT472_Annihilator6000_Configurator_file.json file in the [QMK Configurator](https://config.qmk.fm/#/ut472/LAYOUT) if you want to check out the configuration there or easily modify it. - -Make example for this keyboard (after setting up your build environment): - - make ut472:Annihilator6000 - -See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). - -![UT47.2 layout image](https://i.imgur.com/lICX4uz.png) - -[KLE](http://www.keyboard-layout-editor.com/##@@_y:0%3B&=Esc&=Q&=W&=E&=R&=T&=Y&=U&=I&=O&=P&_w:1.5%3B&=Back%20Space&_x:0.25&a:4&f:4&w:4&h:4&d:true%3B&=%3Cb%3EGNAP!%3C%2F%2Fb%3E%3Cp%3E%3Cp%3EMinimum%20stagger%3Cp%3E47%20key%20layout%3B&@_a:7&f:3&w:1.25%3B&=Tab&=A&=S&=D&=F&=G&=H&=J&=K&=L&=%2F%3B&_w:1.25%3B&=%27%3B&@_w:1.5%3B&=Shift&=Z&=X&=C&=V&=B&=N&=M&=,&=.&=%2F%2F&=Return%3B&@=Ctrl&=Alt&=Super&=Menu&_w:1.25%3B&=%2F&dArr%2F%3B&_w:2%3B&=&_w:1.25%3B&=%2F&uArr%2F%3B&=%2F&larr%2F%3B&=%2F&darr%2F%3B&=%2F&uarr%2F%3B&=%2F&rarr%2F%3B%3B&=undefined) diff --git a/keyboards/keyhive/ut472/keymaps/gardego5/keymap.c b/keyboards/keyhive/ut472/keymaps/gardego5/keymap.c deleted file mode 100644 index f629766b28..0000000000 --- a/keyboards/keyhive/ut472/keymaps/gardego5/keymap.c +++ /dev/null @@ -1,116 +0,0 @@ -/* Copyright 2022 Garrett Davis (@Gardego5) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H - -/* This controls special press and hold keys. - * Maps right arrow to F15 when held, to be used for push to talk. - */ -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case LT(0, KC_RIGHT): - if (!record->tap.count) { - if (record->event.pressed) { - register_code16(KC_F15); - } else { - unregister_code16(KC_F15); - } - return false; - } - return true; - } - - return true; -} - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - /* Base Layer - * ,-------------------------------------------------------------------------. - * | Esc | Q | W | E | R | T | Y | U | I | O | P |Bspace | - * |-------------------------------------------------------------------------+ - * | Tab | A | S | D | F | G | H | J | K | L | ; |Sh/Ent| - * |-------------------------------------------------------------------------+ - * | Shift | Z | X | C | V | B | N | M | , | . | / | ' | - * |-------------------------------------------------------------------------+ - * | Ctrl| Alt | L3 | Gui | L2 | Space | L1 | Left| Down| Up|Rt/F15| - * `-------------------------------------------------------------------------' - */ - -LAYOUT( -KC_ESC , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , KC_BSPC, -KC_TAB , KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L , KC_SCLN, SC_SENT, -KC_LSFT, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M , KC_COMM, KC_DOT , KC_SLSH, KC_QUOT, -KC_LCTL, KC_LALT, MO(3) , KC_LGUI, MO(2) , KC_SPC , MO(1) , KC_LEFT, KC_DOWN, KC_UP , LT(0, KC_RIGHT) -), - - /* FN Layer 1 - * ,-------------------------------------------------------------------------. - * | ` ~ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Delete| - * |-------------------------------------------------------------------------+ - * | Tab | < | > | ( | ) | | | - | = | [ | ] |Sh/Ent| - * |-------------------------------------------------------------------------+ - * | Shift | | | | | | | | , | . | \ |Caps | - * |-------------------------------------------------------------------------+ - * | Ctrl| Alt | L3 | Gui | L2 | Space | L1 | Home| PgDn| PgUp| End | - * `-------------------------------------------------------------------------' - */ - -LAYOUT( /* Right */ -KC_GRV , KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , KC_DEL , -KC_TRNS, KC_LT , KC_GT , KC_LPRN, KC_RPRN, KC_NO , KC_NO , KC_MINS, KC_EQL , KC_LBRC, KC_RBRC, KC_TRNS, -KC_TRNS, KC_NO , KC_NO , KC_NO , KC_NO , KC_NO , KC_NO , KC_NO , KC_TRNS, KC_TRNS, KC_BSLS, KC_CAPS, -KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS , KC_TRNS, KC_HOME, KC_PGDN, KC_PGUP, KC_END -), - - /* FN Layer 2 - * ,-------------------------------------------------------------------------. - * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | - * |-------------------------------------------------------------------------+ - * | Tab | | Mute| Vol-| Vol+| | | Left| Down| Up |Right|Sh/Ent| - * |-------------------------------------------------------------------------+ - * | Shift | |Med<<|Pause|Med>>| | | |LMous|RMous| | | - * |-------------------------------------------------------------------------+ - * | Ctrl| Alt | L3 | Gui | L2 | Space | L1 |Mous| - * `-------------------------------------------------------------------------' - */ - -LAYOUT( /* Left */ -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_TRNS, KC_NO , KC_MUTE, KC_VOLD, KC_VOLU, KC_NO , KC_NO , KC_LEFT, KC_DOWN, KC_UP , KC_RGHT, KC_TRNS, -KC_TRNS, KC_NO , KC_MPRV, KC_MPLY, KC_MNXT, KC_NO , KC_NO , KC_NO , KC_BTN1, KC_BTN2, KC_NO , KC_NO , -KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS , KC_TRNS, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R -), - - /* FN Layer 3 - * ,-------------------------------------------------------------------------. - * | Esc | RGB | RGB | | | |#Lock| 7 | 8 | 9 | |Bspace | - * |-------------------------------------------------------------------------+ - * | Tab | / | * | - | + | = | | 4 | 5 | 6 | |Sh/Ent| - * |-------------------------------------------------------------------------+ - * | Shift | | | | | | | 1 | 2 | 3 | Up | | - * |-------------------------------------------------------------------------+ - * | Ctrl| Alt | L3 | Gui | L2 | Space | 0 | . | Left| Down|Right| - * `-------------------------------------------------------------------------' - */ - -LAYOUT( /* 3 */ -KC_ESC , RGB_TOG, RGB_MOD, KC_NO , KC_NO , KC_NO , KC_NUM , KC_P7 , KC_P8 , KC_P9 , KC_NO , KC_BSPC, -KC_TRNS, KC_PSLS, KC_PAST, KC_PMNS, KC_PPLS, KC_PEQL, KC_NO , KC_P4 , KC_P5 , KC_P6 , KC_NO , KC_TRNS, -KC_TRNS, KC_NO , KC_NO , KC_NO , KC_NO , KC_NO , KC_NO , KC_P1 , KC_P2 , KC_P3 , KC_UP , KC_NO , -KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS , KC_P0 , KC_PDOT, KC_LEFT, KC_DOWN, KC_RGHT -), -}; diff --git a/keyboards/keyhive/ut472/keymaps/gardego5/readme.md b/keyboards/keyhive/ut472/keymaps/gardego5/readme.md deleted file mode 100644 index 44655ba346..0000000000 --- a/keyboards/keyhive/ut472/keymaps/gardego5/readme.md +++ /dev/null @@ -1,5 +0,0 @@ -# Gardego5's modified layout - -![layout image](https://i.imgur.com/eM6YHcY.jpeg) - -This layout is designed to be familiar coming from a full-sized keyboard, if you like vim movement keys. Has (hopefully) friendly media keys, and F15 in the bottom right when held, so that you can bind F15 to push to talk. diff --git a/keyboards/keyhive/ut472/keymaps/stefanopace/config.h b/keyboards/keyhive/ut472/keymaps/stefanopace/config.h deleted file mode 100644 index d16927d3c9..0000000000 --- a/keyboards/keyhive/ut472/keymaps/stefanopace/config.h +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright 2021 Stefano Pace - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -#define TAPPING_TOGGLE 3 -#define TAPPING_TERM 175 -#define PERMISSIVE_HOLD diff --git a/keyboards/keyhive/ut472/keymaps/stefanopace/keymap.c b/keyboards/keyhive/ut472/keymaps/stefanopace/keymap.c deleted file mode 100644 index 9d1780b161..0000000000 --- a/keyboards/keyhive/ut472/keymaps/stefanopace/keymap.c +++ /dev/null @@ -1,185 +0,0 @@ -/* Copyright 2021 Stefano Pace - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H - -enum layers { - _QWE, - _SYM, - _NUM, - _NAV, - _NV2, - _FN, -}; - -enum tapdance { - TD_SINGLE_QUOTE_DOUBLE_QUOTES, - TD_APP_CAPS_LOCK, -}; - -tap_dance_action_t tap_dance_actions[] = { - [TD_SINGLE_QUOTE_DOUBLE_QUOTES] = ACTION_TAP_DANCE_DOUBLE(KC_QUOT, KC_DQUO), - [TD_APP_CAPS_LOCK] = ACTION_TAP_DANCE_DOUBLE(KC_APP, KC_CAPS), -}; - -#define LTFN_ESC LT(_FN, KC_ESC) -#define LTSYM_F LT(_SYM, KC_F) -#define LTSYM_J LT(_SYM, KC_J) -#define TD_QUOT TD(TD_SINGLE_QUOTE_DOUBLE_QUOTES) -#define TD_APP_CAPS TD(TD_APP_CAPS_LOCK) -#define SFT_SLSH RSFT_T(KC_SLSH) - -#define UNDO LCTL(KC_Z) -#define REDO LCTL(KC_Y) -#define CUT LCTL(KC_X) -#define COPY LCTL(KC_C) -#define PASTE LCTL(KC_V) - -#define CUSTOM1 LCA(KC_EQL) -#define CUSTOM2 MEH(KC_PLUS) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Base qwerty Layer - * - * Holding Esc activates the Fn layer - * Holding F or J activates Symbols layer - * Holding / acts as Shift - * Double tap on ' acts as " - * Double tap on Menu activates CapsLock - * - * Nav and Num layers are togglable with triple tapping on relative keys while holding them will activate layers momentarily. - * - * I personally use Pause to mute/unmute microphone - * I personally use Menu to act as compose key to input accented letters - * - * ,----------------------------------------------------------------------------. - * |Esc-Fn| Q | W | E | R | T | Y | U | I | O | P | Bspace | - * |----------------------------------------------------------------------------+ - * | Tab | A | S | D |F-Sym| G | H |J-Sym| K | L | '* | Enter | - * |----------------------------------------------------------------------------+ - * | Shift | Z | X | C | V | B | N | M | , | . |/-Shift|Menu*| - * |----------------------------------------------------------------------------+ - * | Ctrl | Gui | Alt |Pause|(Nav) | Space |(Num) |Left |Down | Up |Right | - * `----------------------------------------------------------------------------' - */ - [_QWE] = LAYOUT( - LTFN_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - KC_TAB, KC_A, KC_S, KC_D, LTSYM_F, KC_G, KC_H, LTSYM_J, KC_K, KC_L, TD_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, SFT_SLSH, TD_APP_CAPS, - KC_LCTL, KC_LGUI, KC_LALT, KC_PAUS, TT(_NAV), KC_SPC, TT(_NUM), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT - ), - - /* Symbols Layer (Sym) - * ,----------------------------------------------------------------------------. - * | | ` | @ | # | $ | % | | & | * | ^ | | Del | - * |----------------------------------------------------------------------------+ - * | | ~ | { | - | ( | + | = | ) | | | } | ; | | - * |----------------------------------------------------------------------------+ - * | | ! | < | _ | [ | | : | ] | \ | > | ? | | - * |----------------------------------------------------------------------------+ - * | | | | | | | | | | | | - * `----------------------------------------------------------------------------' - */ - [_SYM] = LAYOUT( - _______, KC_GRV, KC_AT, KC_HASH, KC_DLR, KC_PERC, XXXXXXX, KC_AMPR, KC_ASTR, KC_CIRC, XXXXXXX, KC_DEL, - _______, KC_TILD, KC_LCBR, KC_MINS, KC_LPRN, KC_PLUS, KC_EQL, KC_RPRN, KC_PIPE, KC_RCBR, KC_SCLN, _______, - _______, KC_EXLM, KC_LT, KC_UNDS, KC_LBRC, XXXXXXX, KC_COLN, KC_RBRC, KC_BSLS, KC_GT, KC_QUES, _______, - _______, _______, _______, _______, XXXXXXX, _______, XXXXXXX, _______, _______, _______, _______ - ), - - /* Numbers Layer (Num) - * - * Custom2 will act as Ctrl+Shift+Alt+"+" that can be used for example to spawn new terminal instances - * ,----------------------------------------------------------------------------. - * | | | | | | |Ctrl-y| | | | | | - * |----------------------------------------------------------------------------+ - * | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | | - * |----------------------------------------------------------------------------+ - * | |Ctr-z|Ctr-x|Ctr-c|Ctr-v| | | | , | . | | | - * |----------------------------------------------------------------------------+ - * | | | | |Custom2| | | | | | | - * `----------------------------------------------------------------------------' - */ - [_NUM] = LAYOUT( - _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, REDO, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, - _______, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______, - _______, UNDO, CUT, COPY, PASTE, XXXXXXX, XXXXXXX, XXXXXXX, KC_COMM, KC_DOT, _______, _______, - _______, _______, _______, _______, CUSTOM2, _______, _______, _______, _______, _______, _______ - ), - - /* Navigation Layer (Nav) - * - * This layer is optimized for gui handling and code navigation - * It makes easier to reach common key combinations as: Ctrl+Shift, Gui+Shift, Ctrl+Alt, Alt+Tab, Ctrl+F, Ctrl+S - * - * Holding (Nav2) replaces arrow keys with Home PgDown PgUp End - * - * - * Custom1 will act as Ctrl+Alt+"=" that can be used for example to focus last spawned terminal - * - * ,----------------------------------------------------------------------------. - * | |Shift|Shift|Shift| | | | | | | | | - * |----------------------------------------------------------------------------+ - * |(Nav2) |Ctrl | Gui | Alt | Tab | |Left |Down | Up |Right| F | | - * |----------------------------------------------------------------------------+ - * | |Ctr-z|Ctr-x|Ctr-c|Ctr-v| | | | L | | A | S | - * |----------------------------------------------------------------------------+ - * | | | | | | |Custom1| | | | | - * `----------------------------------------------------------------------------' - */ - [_NAV] = LAYOUT( - _______, KC_LSFT, KC_LSFT, KC_LSFT, _______, _______, _______, _______, _______, _______, _______, _______, - MO(_NV2), KC_LCTL, KC_LGUI, KC_LALT, KC_TAB, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_F, _______, - _______, UNDO, CUT, COPY, PASTE, _______, _______, _______, KC_L, KC_DOT, KC_A, KC_S, - _______, _______, _______, _______, _______, _______, CUSTOM1, _______, _______, _______, _______ - ), - - /* Speed Navigation Layer (Nav2) - * ,----------------------------------------------------------------------------. - * | | | | | | | | | | | | | - * |----------------------------------------------------------------------------+ - * | | | | | | |Home |PgUp |PgDown|End | | | - * |----------------------------------------------------------------------------+ - * | | | | | | | | | | | | | - * |----------------------------------------------------------------------------+ - * | | | | | | | | | | |Reset | - * `----------------------------------------------------------------------------' - */ - [_NV2] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT - ), - - /* Fn Layer (Fn) - * ,----------------------------------------------------------------------------. - * | | | | | | | | F1 | F2 | F3 | F10 | | - * |----------------------------------------------------------------------------+ - * | Print | | | | | | | F4 | F5 | F6 | F11 | | - * |----------------------------------------------------------------------------+ - * |ScrLock | | | | | | | F7 | F8 | F9 | F12 | | - * |----------------------------------------------------------------------------+ - * | Ins | | | | | | | | | | | - * `----------------------------------------------------------------------------' - */ - [_FN] = LAYOUT( - _______, RGB_TOG, RGB_RMOD, RGB_MOD, RGB_HUD, RGB_HUI, XXXXXXX, KC_F1, KC_F2, KC_F3, KC_F10, XXXXXXX, - KC_PSCR, RGB_SAD, RGB_SAI, RGB_VAD, RGB_VAI, RGB_SPD, RGB_SPI, KC_F4, KC_F5, KC_F6, KC_F11, XXXXXXX, - KC_SCRL, RGB_M_P, RGB_M_B, RGB_M_R, RGB_M_SW, RGB_M_SN, RGB_M_K, KC_F7, KC_F8, KC_F9, KC_F12, XXXXXXX, - KC_INS, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX - ), -}; diff --git a/keyboards/keyhive/ut472/keymaps/stefanopace/readme.md b/keyboards/keyhive/ut472/keymaps/stefanopace/readme.md deleted file mode 100644 index 63cef0934c..0000000000 --- a/keyboards/keyhive/ut472/keymaps/stefanopace/readme.md +++ /dev/null @@ -1,6 +0,0 @@ -# Stefanopace's layout - -This layout is optimized for developers workflow. -It includes layouts for symbols, numbers and text/gui navigation, all activables -and usable without leaving the homerow position. -More details are explained in the keymap.c file. diff --git a/keyboards/keyhive/ut472/keymaps/stefanopace/rules.mk b/keyboards/keyhive/ut472/keymaps/stefanopace/rules.mk deleted file mode 100644 index d941780558..0000000000 --- a/keyboards/keyhive/ut472/keymaps/stefanopace/rules.mk +++ /dev/null @@ -1,7 +0,0 @@ -TAP_DANCE_ENABLE = yes - -MOUSEKEY_ENABLE = no -EXTRAKEY_ENABLE = no - -BACKLIGHT_ENABLE = no -RGBLIGHT_ENABLE = yes diff --git a/keyboards/keyprez/unicorn/keymaps/jorge/keymap.c b/keyboards/keyprez/unicorn/keymaps/jorge/keymap.c deleted file mode 100644 index 6c21a3874c..0000000000 --- a/keyboards/keyprez/unicorn/keymaps/jorge/keymap.c +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2022 Keyprez (https://github.com/keyprez) -// SPDX-License-Identifier: GPL-2.0-or-later - -#include QMK_KEYBOARD_H - -// Defines names for use in layer keycodes and the keymap -enum layer_names { - _BASE, - _FN, - _CMD -}; - -#define FN MO(_FN) -#define CMD MO(_CMD) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BASE] = LAYOUT( - 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_BSPC, KC_HOME, KC_MUTE, - 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_END, KC_DEL, - KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_PGUP, KC_INSERT, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, KC_COPY, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, FN, KC_SPC, KC_RALT, FN, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_PASTE - ), - - [_FN] = LAYOUT( - _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, KC_BRIU, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_BRID, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_CALC - ), -}; - diff --git a/keyboards/keyprez/unicorn/keymaps/jorge/readme.md b/keyboards/keyprez/unicorn/keymaps/jorge/readme.md deleted file mode 100644 index f3e626cc76..0000000000 --- a/keyboards/keyprez/unicorn/keymaps/jorge/readme.md +++ /dev/null @@ -1 +0,0 @@ -# The default keymap for unicorn diff --git a/keyboards/kin80/keymaps/andrew/keymap.c b/keyboards/kin80/keymaps/andrew/keymap.c deleted file mode 100644 index 1031396880..0000000000 --- a/keyboards/kin80/keymaps/andrew/keymap.c +++ /dev/null @@ -1,127 +0,0 @@ -/* Copyright 2022 DmNosachev - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H -#include "version.h" - -enum layer_names { - _BASE, // default layer - _L2 // macros -}; - -enum custom_keycodes { - PLACEHOLDER = SAFE_RANGE, // can always be here - VRSN, - EMAIL1 // Macro example (type email address) -}; - -/* -* -* -* ,-------------------------------------------, ,-------------------------------------------, -* | Esc | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | F12 | -* |--------+------+------+------+------+------| |------+------+------+------+------+--------| -* | += | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - | -* |--------+------+------+------+------+------| |------+------+------+------+------+--------| -* | Tab | Q | W | E | R | T | | Y | U | I | O | P | \| | -* |--------+------+------+------+------+------| |------+------+------+------+------+--------| -* | Caps | A | S | D | F | G | | H | J | K | L | ;: | '"/L2 | -* |--------+------+------+------+------+------| |------+------+------+------+------+--------| -* | Shift | Z | X | C | V | B | | N | M | <, | >. | /? | Shift | -* `--------+------+------+------+------+------- `------+------+------+------+------+--------' -* |`~/L2 | <, | Left | Right| | Up | Down | [ | ] | -* `---------------------------' `---------------------------' -* ,-------------. ,-------------. -* | Cmd | Opt | | Ctrl | Cmd | -* ,------|------|------| |------+------+------. -* | | | Home | | PgUp | | | -* |Backsp|Delete|------| |------|Enter | Space| -* | | | End | | PgDn | | | -* `--------------------' `--------------------' -*/ - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -[_BASE] = LAYOUT( - KC_ESC, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, - KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, LT(_L2, KC_QUOT), - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, - LT(_L2, KC_GRV), KC_COMM, KC_LEFT, KC_RIGHT, KC_UP, KC_DOWN, KC_LBRC, KC_RBRC, - KC_LCMD, KC_LOPT, KC_RCTL, KC_RCMD, - KC_HOME, KC_PGUP, - KC_BSPC, KC_DEL, KC_END, KC_PGDN, KC_ENTER, KC_SPC - ), -/* -* -* -* ,-------------------------------------------, ,-------------------------------------------, -* | F1 | | | | | | |EMAIL1| | |PrnSc | ScrLk| Pause | -* |--------+------+------+------+------+------| |------+------+------+------+------+--------| -* | | | | | | | | VRSN | | | | | | -* |--------+------+------+------+------+------| |------+------+------+------+------+--------| -* | | | MbL | MUp | MbR | | |QK_BOOT | | | | | | -* |--------+------+------+------+------+------| |------+------+------+------+------+--------| -* | | | ML | MDn | MR | | | | | | | | | -* |--------+------+------+------+------+------| |------+------+------+------+------+--------| -* | | | | | | | | | | | | | | -* `--------+------+------+------+------+------' `------+------+------+------+------+--------' -* | |Insert| | | | | | | | -* `---------------------------' `---------------------------' -* ,-------------. ,-------------. -* | | | | | | -* ,------|------|------| |------+------+------. -* | | | MWh+ | | | | | -* | | |------| |------| | | -* | | | MWh- | | | | | -* `--------------------' `--------------------' -*/ -[_L2] = LAYOUT( - KC_F1, _______, _______, _______, _______, _______, EMAIL1, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, - _______, _______, _______, _______, _______, _______, VRSN, _______, _______, _______, _______, _______, - _______, _______, KC_BTN1, KC_MS_U, KC_BTN2, _______, QK_BOOT, _______, _______, _______, _______, _______, - _______, _______, KC_MS_L, KC_MS_D, KC_MS_R, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_INS, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, - KC_WH_U, _______, - _______, _______, KC_WH_D, _______, _______, _______ - ) -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case VRSN: - if (record->event.pressed) { - SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); - } - return false; - break; - - case EMAIL1: - if (record->event.pressed) { - SEND_STRING("MyEmail@gmail.com"); - } - return false; - break; - } - return true; -} - -layer_state_t layer_state_set_user(layer_state_t state) { - writePin(LED4_PIN, layer_state_cmp(state, _L2)); - return state; -} diff --git a/keyboards/kin80/keymaps/maxim/keymap.c b/keyboards/kin80/keymaps/maxim/keymap.c deleted file mode 100644 index 1e1897f399..0000000000 --- a/keyboards/kin80/keymaps/maxim/keymap.c +++ /dev/null @@ -1,215 +0,0 @@ -/* Copyright 2022 DmNosachev - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H -#include "version.h" - -enum layer_names { - _BASE, // default layer - _NM, // numpad on right, mouse on left - _MC // macros -}; - -#define MC1 COMP_FR_QUOTES -#define MC2 COMP_NBSP_EM_DASH -#define MC3 COMP_NBSP - -enum custom_keycodes { - PLACEHOLDER = SAFE_RANGE, // can always be here - VRSN, - COMP_FR_QUOTES, // Compose: french quotes - COMP_NBSP_EM_DASH, // Compose: nbsp followed by em dash - COMP_NBSP, // Compose: nbsp - PWD1, // Windows password - PWD2, // Stand root password - PWD3, // KP password - EMAIL1 // Gmail address -}; - -/* -* -* -* ,-------------------------------------------- --------------------------------------------. -* | Esc | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | PrSc | RAlt | -* |--------+------+------+------+------+------+ +------+------+------+------+------+--------| -* | +=/Alt | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - | -* |--------+------+------+------+------+------| +------+------+------+------+------+--------| -* | Tab | Q | W | E | R | T | | Y | U | I | O | P | \| | -* |--------+------+------+------+------+------| |------+------+------+------+------+--------| -* |`~/NM | A | S | D | F | G | | H | J | K | L | ;: | '"/NM | -* |--------+------+------+------+------+------| |------+------+------+------+------+--------| -* | Shift | Z | X | C | V | B | | N | M | ,. | .> | /? | Shift | -* `--------+------+------+------+------+------- `------+------+------+------+------+--------' -* | MC |C+Shft| [ | ] | | Left | Down | Up | Right| -* `---------------------------' `---------------------------' -* ,-------------. ,-------------. -* | Ctl |Enter | | Gui | Ctrl | -* ,------|------|------| |------+------+------. -* | | | Home | | PgUp | | | -* |Space |Backsp|------| |------| Del | Enter| -* | | | End | | PgDn | | | -* `--------------------' `--------------------' -*/ - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -[_BASE] = LAYOUT( - KC_ESC, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_PSCR, KC_RALT, - LALT_T(KC_EQL), KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, - LCTL_T(KC_GRV), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, LT(_NM, KC_QUOT), - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, - MO(_MC), LCTL(KC_LSFT), KC_LBRC, KC_RBRC, KC_LEFT,KC_DOWN, KC_UP, KC_RGHT, - MO(_NM), KC_ENTER, KC_RGUI,KC_RCTL, - KC_HOME, KC_PGUP, - KC_SPC, KC_BSPC, KC_END, KC_PGDN,KC_DEL, KC_ENTER - ), -/* -* -* -* ,-------------------------------------------- --------------------------------------------. -* | F1 | | | | | | | | | | | F11 | F12 | -* |--------+------+------+------+------+------+ +------+------+------+------+------+--------| -* | | | | | | | |ScrLk |Numlck| = | / | * | | -* |--------+------+------+------+------+------| +------+------+------+------+------+--------| -* | | | MbL | MUp | MbR | Ins | |CapsLk| 7 | 8 | 9 | - | | -* |--------+------+------+------+------+------| |------+------+------+------+------+--------| -* | | | ML | MDn | MR | | | | 4 | 5 | 6 | + | L1 | -* |--------+------+------+------+------+------| |------+------+------+------+------+--------| -* | | | | | | | | . | 1 | 2 | 3 |Enter | | -* `--------+------+------+------+------+------- `------+------+------+------+------+--------' -* | | | | | | | | | | -* `---------------------------' `---------------------------' -* ,-------------. ,-------------. -* | | | | | | -* ,------|------|------| |------+------+------. -* | | |MWhUp | | | | | -* | | |------| |------| | 0 | -* | | |MWhDn | | | | | -* `--------------------' `--------------------' -*/ -[_NM] = LAYOUT( - KC_F1, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_F11, KC_F12, - _______, _______, _______, _______, _______, _______, KC_SCRL, KC_NUM, KC_PEQL, KC_PSLS, KC_PAST, _______, - _______, _______, KC_BTN1, KC_MS_U, KC_BTN2, KC_INS, KC_CAPS, KC_P7, KC_P8, KC_P9, KC_PMNS, _______, - _______, _______, KC_MS_L, KC_MS_D, KC_MS_R, _______, _______, KC_P4, KC_P5, KC_P6, KC_PPLS, _______, - _______, _______, _______, _______, _______, _______, KC_PDOT, KC_P1, KC_P2, KC_P3, KC_PENT, _______, - _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, - KC_WH_U, _______, - _______, _______, KC_WH_D, _______, _______, KC_P0 - ), -/* -* -* -* ,-------------------------------------------- --------------------------------------------. -* | version| | | | | | |email | | | | | | -* |--------+------+------+------+------+------+ +------+------+------+------+------+--------| -* | | | | | | | | | | | | | MC2 | -* |--------+------+------+------+------+------| +------+------+------+------+------+--------| -* | | | | |reset | | | | | | | | | -* |--------+------+------+------+------+------| |------+------+------+------+------+--------| -* | | | | | | | | | | | | | | -* |--------+------+------+------+------+------| |------+------+------+------+------+--------| -* | | | | | | | | | | MC1 | | | | -* `--------+------+------+------+------+------- `------+------+------+------+------+--------' -* | | | | | | | | | | -* `---------------------------' `---------------------------' -* ,-------------. ,-------------. -* | | | | | | -* ,------|------|------| |------+------+------. -* | | | | | | | | -* | MC3 | |------| |------| | | -* | | | | | | | | -* `--------------------' `--------------------' -*/ -[_MC] = LAYOUT( - VRSN, _______, _______, _______, _______, _______, EMAIL1, _______, _______, PWD3, PWD2, PWD1, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, MC2, - _______, _______, _______, _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, MC1, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, - MC3, _______, _______, _______, _______, _______ - ) -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case VRSN: - if (record->event.pressed) { - SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); - } - return false; - break; - - case COMP_FR_QUOTES: - if (record->event.pressed) { - SEND_STRING(SS_TAP(X_RALT)"<<"SS_TAP(X_RALT)">>"SS_TAP(X_LEFT)); - } - return false; - break; - - case COMP_NBSP_EM_DASH: - if (record->event.pressed) { - SEND_STRING(SS_TAP(X_RALT)" "SS_TAP(X_RALT)"--- "); - } - return false; - break; - - case COMP_NBSP: - if (record->event.pressed) { - SEND_STRING(SS_TAP(X_RALT)" "); - } - return false; - break; - - case PWD1: - if (record->event.pressed) { - SEND_STRING("password1"SS_TAP(X_ENTER)); - } - return false; - break; - - case PWD2: - if (record->event.pressed) { - SEND_STRING("password2"SS_TAP(X_ENTER)); - } - return false; - break; - - case PWD3: - if (record->event.pressed) { - SEND_STRING("password3"SS_TAP(X_ENTER)); - } - return false; - break; - - case EMAIL1: - if (record->event.pressed) { - SEND_STRING("email@example.com"); - } - return false; - break; - } - return true; -} - -layer_state_t layer_state_set_user(layer_state_t state) { - writePin(LED4_PIN, layer_state_cmp(state, _MC)); - return state; -} diff --git a/keyboards/kin80/keymaps/roman/keymap.c b/keyboards/kin80/keymaps/roman/keymap.c deleted file mode 100644 index 34620da97a..0000000000 --- a/keyboards/kin80/keymaps/roman/keymap.c +++ /dev/null @@ -1,134 +0,0 @@ -/* Copyright 2022 DmNosachev - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H -#include "version.h" - -enum layer_names { - _BASE, // default layer - _L2 // macros -}; - -enum custom_keycodes { - PLACEHOLDER = SAFE_RANGE, // can always be here - VRSN, - EMAIL1 // Macro example (type email address) -}; - -/* -* -* -* ,-------------------------------------------, ,-------------------------------------------, -* | Esc | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | F12 | -* |--------+------+------+------+------+------| |------+------+------+------+------+--------| -* | += | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - | -* |--------+------+------+------+------+------| |------+------+------+------+------+--------| -* | Tab | Q | W | E | R | T | | Y | U | I | O | P | \| | -* |--------+------+------+------+------+------| |------+------+------+------+------+--------| -* | Caps | A | S | D | F | G | | H | J | K | L | ;: | '"/L2 | -* |--------+------+------+------+------+------| |------+------+------+------+------+--------| -* | Shift | Z | X | C | V | B | | N | M | <, | >. | /? | Shift | -* `--------+------+------+------+------+------- `------+------+------+------+------+--------' -* |`~/L2 | <, | Left | Right| | Up | Down | [ | ] | -* `---------------------------' `---------------------------' -* ,-------------. ,-------------. -* |LCtrl | Alt | | GUI |Shift | -* ,------|------|------| |------+------+------. -* | | | Home | | PgUp | | | -* |Backsp|Delete|------| |------|Enter | Space| -* | | | End | | PgDn | | | -* `--------------------' `--------------------' -*/ - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -[_BASE] = LAYOUT( - KC_ESC, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, - KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, LT(_L2, KC_QUOT), - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, - LT(_L2, KC_GRV), KC_COMM, KC_LEFT, KC_RIGHT, KC_UP, KC_DOWN, KC_LBRC, KC_RBRC, - KC_LCTL, KC_LALT, KC_RGUI, KC_RSFT, - KC_HOME, KC_PGUP, - KC_BSPC, KC_DEL, KC_END, KC_PGDN, KC_ENTER, KC_SPC - ), -/* -* -* -* ,-------------------------------------------, ,-------------------------------------------, -* | F1 | | | | | | |EMAIL1| | |PrnSc | ScrLk| Pause | -* |--------+------+------+------+------+------| |------+------+------+------+------+--------| -* | | | | | | | | VRSN | | | | | | -* |--------+------+------+------+------+------| |------+------+------+------+------+--------| -* | | | MbL | MUp | MbR | | | | | | | | | -* |--------+------+------+------+------+------| |------+------+------+------+------+--------| -* | | | ML | MDn | MR | | | | | | | | | -* |--------+------+------+------+------+------| |------+------+------+------+------+--------| -* | | | | | | | | | | | | | | -* `--------+------+------+------+------+------' `------+------+------+------+------+--------' -* | |Insert| | | | | | | | -* `---------------------------' `---------------------------' -* ,-------------. ,-------------. -* | | | | Ralt |RCtrl | -* ,------|------|------| |------+------+------. -* | | | MWh+ | | | | | -* | | |------| |------| | | -* | | | MWh- | | | | | -* `--------------------' `--------------------' -*/ -[_L2] = LAYOUT( - KC_F1, _______, _______, _______, _______, _______, EMAIL1, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, - _______, _______, _______, _______, _______, _______, VRSN, _______, _______, _______, _______, _______, - _______, _______, KC_BTN1, KC_MS_U, KC_BTN2, _______, _______, _______, _______, _______, _______, _______, - _______, _______, KC_MS_L, KC_MS_D, KC_MS_R, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_INS, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, - KC_WH_U, _______, - _______, _______, KC_WH_D, _______, _______, _______ - ) -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case VRSN: - if (record->event.pressed) { - SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); - } - return false; - break; - - case EMAIL1: - if (record->event.pressed) { - SEND_STRING("MyEmail@gmail.com"); - } - return false; - break; - } - return true; -} - -layer_state_t layer_state_set_user(layer_state_t state) { - switch (get_highest_layer(state)) { - case _L2: - writePinHigh(LED4_PIN); - break; - default: // for any other layers, or the default layer - writePinLow(LED4_PIN); - break; - } - return state; -} diff --git a/keyboards/kinesis/kint36/keymaps/kzar/config.h b/keyboards/kinesis/kint36/keymaps/kzar/config.h deleted file mode 100644 index 6b03aa6a70..0000000000 --- a/keyboards/kinesis/kint36/keymaps/kzar/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright 2021 Dave Vandyke - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -#undef LED_COMPOSE_PIN diff --git a/keyboards/kinesis/kint36/keymaps/kzar/keymap.c b/keyboards/kinesis/kint36/keymaps/kzar/keymap.c deleted file mode 100644 index 3685e0fe57..0000000000 --- a/keyboards/kinesis/kint36/keymaps/kzar/keymap.c +++ /dev/null @@ -1,405 +0,0 @@ -/* Copyright 2021 Dave Vandyke , - * Based upon Xyverz's Kinesis keymap Copyright 2017-2020. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H -#include "version.h" - -enum layer_names {_QWERTY, _DVORAK, _MAC, _PC, _KEYPAD, _PROGRAM}; -enum my_keycodes {QWERTY = SAFE_RANGE, DVORAK, WIN, MAC, PC, STATUS, PROGRAM}; - -#define LED_KEYPAD E26 - -// clang-format off - -/* - QWERTY layer: - ,---------------------------------------------------------------------------. - | ESC | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | - `---------------------------------------------------------------------------' - ,---------------------------------------------------------------------------. - | F9 | F10 | F11 | F12 | PScr | SLck | Pause | Keypad | Prgrm | - `---------------------------------------------------------------------------' - ,-------------------------------------------.,-------------------------------------------. - | = | 1 | 2 | 3 | 4 | 5 || 6 | 7 | 8 | 9 | 0 | - | - |--------+------+------+------+------+------||------+------+------+------+------+--------| - | Tab | Q | W | E | R | T || Y | U | I | O | P | \ | - |--------+------+------+------+------+------||------+------+------+------+------+--------| - | CapsLk | A | S | D | F | G || H | J | K | L | ; | ' | - |--------+------+------+------+------+------||------+------+------+------+------+--------| - | LShift | Z | X | C | V | B || N | M | , | . | / | RShift | - `--------+------+------+------+------+------'`------+------+------+------+------+--------' - | ` | \ | Left | Rght | | Up | Dn | [ | ] | - `---------------------------' `---------------------------' - ,--------------.,--------------. - | LCtl | LAlt || LGUI | RCtl | - ,------|-------|------||------+-------+-------. - | | | Home || PgUp | Enter | | - | BkSp | Del |------||------| / | Space | - | | | End || PgDn | KeyPd | | - `---------------------'`----------------------' - - Dvorak layer: - ,---------------------------------------------------------------------------. - | | | | | | | | | | - `---------------------------------------------------------------------------' - ,---------------------------------------------------------------------------. - | | | | | | | | | | - `---------------------------------------------------------------------------' - ,-------------------------------------------.,-------------------------------------------. - | | | | | | || | | | | | | - |--------+------+------+------+------+------||------+------+------+------+------+--------| - | | ' | , | . | P | Y || F | G | C | R | L | / | - |--------+------+------+------+------+------||------+------+------+------+------+--------| - | | A | O | E | U | I || D | H | T | N | S | \ | - |--------+------+------+------+------+------||------+------+------+------+------+--------| - | | ; | Q | J | K | X || B | M | W | V | Z | | - `--------+------+------+------+------+------'`------+------+------+------+------+--------' - | | | | | | | | | | - `---------------------------' `---------------------------' - ,--------------.,--------------. - | | || | | - ,------|-------|------||------+-------+-------. - | | | || | | | - | | |------||------| | | - | | | || | | | - `---------------------'`----------------------' - - Mac layer: - ,-------------------------------------------------------------------------------. - | | | | | | | | | | - `-------------------------------------------------------------------------------' - ,-------------------------------------------------------------------------------. - | | | | | | Power | | | | - `-------------------------------------------------------------------------------' - ,-------------------------------------------.,-------------------------------------------. - | | | | | | || | | | | | | - |--------+------+------+------+------+------||------+------+------+------+------+--------| - | | | | | | || | | | | | | - |--------+------+------+------+------+------||------+------+------+------+------+--------| - | | | | | | || | | | | | | - |--------+------+------+------+------+------||------+------+------+------+------+--------| - | | | | | | || | | | | | | - `--------+------+------+------+------+------'`------+------+------+------+------+--------' - | | | | | | | | | | - `---------------------------' `---------------------------' - ,-------------.,-------------. - | LGUI | LAlt || RCtl | RGUI | - ,------|------|------||------+------+------. - | | | || | | | - | | |------||------| | | - | | | || | | | - `--------------------'`--------------------' - - PC layer: - ,-------------------------------------------------------------------------------. - | | | | | | | | | | - `-------------------------------------------------------------------------------' - ,-------------------------------------------------------------------------------. - | | | | | | | | | | - `-------------------------------------------------------------------------------' - ,-------------------------------------------.,-------------------------------------------. - | | | | | | || | | | | | | - |--------+------+------+------+------+------||------+------+------+------+------+--------| - | | | | | | || | | | | | | - |--------+------+------+------+------+------||------+------+------+------+------+--------| - | | | | | | || | | | | | | - |--------+------+------+------+------+------||------+------+------+------+------+--------| - | | | | | | || | | | | | | - `--------+------+------+------+------+------'`------+------+------+------+------+--------' - | | | | | | | | | | - `---------------------------' `---------------------------' - ,-------------.,-------------. - | | || RAlt | | - ,------|------|------||------+------+------. - | | | || | | | - | | |------||------| | | - | | | || | | | - `--------------------'`--------------------' - - Keypad layer: - ,---------------------------------------------------------------------------. - | | | | | | | | | | - `---------------------------------------------------------------------------' - ,---------------------------------------------------------------------------. - | | | | | Mute | Vol Down | Vol Up | Keypad | | - `---------------------------------------------------------------------------' - ,-------------------------------------------.,-------------------------------------------. - | | | | | | || | NmLk | KP = | KP / | KP * | | - |--------+------+------+------+------+------||------+------+------+------+------+--------| - | | | | | | || | KP 7 | KP 8 | KP 9 | KP - | | - |--------+------+------+------+------+------||------+------+------+------+------+--------| - | | | | | | || | KP 4 | KP 5 | KP 6 | KP + | | - |--------+------+------+------+------+------||------+------+------+------+------+--------| - | | | | | | || | KP 1 | KP 2 | KP 3 |KP Ent| | - `--------+------+------+------+------+------'`------+------+------+------+------+--------' - | | INS | | | | | | KP . |KP Ent| - `---------------------------' `---------------------------' - ,-------------.,-------------. - | | || | | - ,------|------|------||------+------+------. - | | | || | | | - | | |------||------| | KP 0 | - | | | || | | | - `--------------------'`--------------------' - - Program layer: - ,-------------------------------------------------------------------------------. - | STATUS | | | QWERTY | DVORAK | | | | | - `-------------------------------------------------------------------------------' - ,-------------------------------------------------------------------------------. - | QK_BOOT | | | | | | | | | - `-------------------------------------------------------------------------------' - ,-------------------------------------------.,-------------------------------------------. - | | | | | | || | | | | | | - |--------+------+------+------+------+------||------+------+------+------+------+--------| - | | | | | | || | | | | | | - |--------+------+------+------+------+------||------+------+------+------+------+--------| - | | | | | | || | | | | | | - |--------+------+------+------+------+------||------+------+------+------+------+--------| - | | | | | | || | | | | | | - `--------+------+------+------+------+------'`------+------+------+------+------+--------' - | | | | | | | | | | - `---------------------------' `---------------------------' - ,-------------.,-------------. - | | || | | - ,------|------|------||------+------+------. - | | | || | | | - | | |------||------| | | - | | | || | | | - `--------------------'`--------------------' - -*/ - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -[_QWERTY] = LAYOUT ( - // Left Hand - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, - KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, - KC_GRV, KC_NUBS, KC_LEFT, KC_RGHT, - // Left Thumb - KC_LCTL, KC_LALT, - KC_HOME, - KC_BSPC, KC_DEL, KC_END, - - // Right Hand - KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SCRL, KC_PAUS, TG(_KEYPAD), MO(_PROGRAM), - KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, - KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, - KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, - KC_UP, KC_DOWN, KC_LBRC, KC_RBRC, - // Right Thumb - KC_LGUI, KC_RCTL, - KC_PGUP, - KC_PGDN, KC_ENT, KC_SPC - ), - -[_DVORAK] = LAYOUT ( - // Left Hand - _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, - _______, KC_A, KC_O, KC_E, KC_U, KC_I, - _______, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, - _______, _______, _______, _______, - // Left Thumb - _______, _______, - _______, - _______, _______, _______, - - // Right Hand - _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - KC_F, KC_G, KC_C, KC_R, KC_L, KC_SLSH, - KC_D, KC_H, KC_T, KC_N, KC_S, KC_BSLS, - KC_B, KC_M, KC_W, KC_V, KC_Z, _______, - _______, _______, _______, _______, - // Right Thumb - _______, _______, - _______, - _______, _______, _______ - ), - -[_MAC] = LAYOUT ( - // Left Hand - _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, - // Left Thumb - KC_LGUI, KC_LALT, - _______, - _______, _______, _______, - - // Right Hand - _______, _______, _______, _______, _______, KC_PWR, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, - // Right Thumb - KC_RCTL, KC_RGUI, - _______, - _______, _______, _______ - ), - -[_PC] = LAYOUT ( - // Left Hand - _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, - // Left Thumb - _______, _______, - _______, - _______, _______, _______, - - // Right Hand - _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, - // Right Thumb - KC_RALT, _______, - _______, - _______, _______, _______ - ), - -[_KEYPAD] = LAYOUT ( - // Left Hand - _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, KC_INS, _______, _______, - // Left Thumb - _______, _______, - _______, - _______, _______, _______, - - // Right Hand - _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, - _______, KC_NUM, KC_PEQL, KC_PSLS, KC_PAST, _______, - _______, KC_P7, KC_P8, KC_P9, KC_PMNS, _______, - _______, KC_P4, KC_P5, KC_P6, KC_PPLS, _______, - _______, KC_P1, KC_P2, KC_P3, KC_PENT, _______, - _______, _______, KC_PDOT, KC_PENT, - // Right Thumb - _______, _______, - _______, - _______, _______, KC_P0 - ), - -[_PROGRAM] = LAYOUT ( - // Left Hand - STATUS, _______, _______, QWERTY, DVORAK, MAC, PC, WIN, _______, - _______, _______, _______, _______ , _______, _______, - _______, _______, _______, _______ , _______, _______, - _______, _______, _______, _______ , _______, _______, - _______, _______, _______, _______ , _______, _______, - _______, _______, _______ , _______, - // Left Thumb - _______, _______, - _______, - _______, _______, _______, - - // Right Hand - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, - // Right Thumb - _______, _______, - _______, - _______, _______, _______ - ) - -}; - -layer_state_t layer_state_set_user(layer_state_t state) { - writePin(LED_KEYPAD, !layer_state_cmp(state, _KEYPAD)); - return state; -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - if (record->event.pressed) { - switch (keycode) { - case QWERTY: - set_single_persistent_default_layer(_QWERTY); - return false; - case DVORAK: - set_single_persistent_default_layer(_DVORAK); - return false; - case MAC: - layer_on(_MAC); - layer_off(_PC); - return false; - case PC: - layer_off(_MAC); - layer_on(_PC); - return false; - case WIN: - layer_off(_MAC); - layer_off(_PC); - return false; - case STATUS: - SEND_STRING("Firmware> QMK " QMK_VERSION ", " QMK_BUILDDATE "\n"); - SEND_STRING("Keyboard> " QMK_KEYBOARD "\n"); - SEND_STRING("Keymap> " QMK_KEYMAP "\n"); - - if (layer_state_cmp(default_layer_state, _QWERTY)) - SEND_STRING("Layout> QWERTY\n"); - else - SEND_STRING("Layout> DVORAK\n"); - - if (layer_state_is(_MAC)) - SEND_STRING("Thumb keys mode> MAC\n"); - else if (layer_state_is(_PC)) - SEND_STRING("Thumb keys mode> PC\n"); - else - SEND_STRING("Thumb keys mode> WIN\n"); - - if (keymap_config.nkro) - SEND_STRING("NKRO> Enabled\n"); - else - SEND_STRING("NKRO> Disabled\n"); - - if (debug_enable) - SEND_STRING("Debug> Enabled\n"); - else - SEND_STRING("Debug> Disabled\n"); - - return false; - } - } - - return true; -} diff --git a/keyboards/kinesis/kint36/keymaps/kzar/readme.md b/keyboards/kinesis/kint36/keymaps/kzar/readme.md deleted file mode 100644 index b45808892e..0000000000 --- a/keyboards/kinesis/kint36/keymaps/kzar/readme.md +++ /dev/null @@ -1,9 +0,0 @@ -# Dave's Kinesis Advantage keymap - -Kinesis Advantage keymap aiming to emulate the stock controller. QWERTY, DVORAK, -WIN, MAC, PC, program and keypad layers are all supported, along with the -keypad LED and RESET + STATUS keys. - -Tested with a Kinesis Advantage2, kinT (stapelberg) keyboard controller built -with a Teensy 3.6 microcontroller and a UK system layout. Originally based upon -the xyvers keymap. diff --git a/keyboards/kinesis/kint36/keymaps/kzar/rules.mk b/keyboards/kinesis/kint36/keymaps/kzar/rules.mk deleted file mode 100644 index a881765128..0000000000 --- a/keyboards/kinesis/kint36/keymaps/kzar/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -COMMAND_ENABLE = yes -MOUSEKEY_ENABLE = no -NKRO_ENABLE = yes -RGBLIGHT_ENABLE = no diff --git a/keyboards/kingly_keys/romac/keymaps/boss566y/config.h b/keyboards/kingly_keys/romac/keymaps/boss566y/config.h deleted file mode 100755 index 8b098b6c0c..0000000000 --- a/keyboards/kingly_keys/romac/keymaps/boss566y/config.h +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2020 boss566y - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - -#define DYNAMIC_KEYMAP_LAYER_COUNT 8 diff --git a/keyboards/kingly_keys/romac/keymaps/boss566y/keymap.c b/keyboards/kingly_keys/romac/keymaps/boss566y/keymap.c deleted file mode 100755 index 6acb55dd53..0000000000 --- a/keyboards/kingly_keys/romac/keymaps/boss566y/keymap.c +++ /dev/null @@ -1,91 +0,0 @@ -/* Copyright 2018 Jack Humbert - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H - -char oled_layer[20]; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( - KC_KP_7, KC_KP_8, KC_KP_9, - KC_KP_4, KC_KP_5, KC_KP_6, - KC_KP_1, KC_KP_2, KC_KP_3, - MO(1), KC_KP_0, KC_KP_DOT - ), - [1] = LAYOUT( - KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS - ), - [2] = LAYOUT( - KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS - ), - [3] = LAYOUT( - KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS - ), - [4] = LAYOUT( - KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS - ), - [5] = LAYOUT( - KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS - ), - [6] = LAYOUT( - KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS - ), - [7] = LAYOUT( - KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS - ) -}; - - - -#ifdef OLED_ENABLE -oled_rotation_t oled_init_user(oled_rotation_t rotation) { - return OLED_ROTATION_270; -} - -bool oled_task_user(void) { - // Host Keyboard Layer Status - sprintf(oled_layer,"Layer\nL: %d\n",get_highest_layer(layer_state)); - oled_write(oled_layer,false); - - // Host Keyboard LED Status - led_t led_state = host_keyboard_led_state(); - oled_write_P(led_state.num_lock ? PSTR("NLCK ") : PSTR(" "), false); - oled_write_P(led_state.caps_lock ? PSTR("CAPS ") : PSTR(" "), false); - oled_write_P(led_state.scroll_lock ? PSTR("SCRLK") : PSTR(" "), false); - return false; -} -#endif diff --git a/keyboards/kingly_keys/romac/keymaps/boss566y/rules.mk b/keyboards/kingly_keys/romac/keymaps/boss566y/rules.mk deleted file mode 100755 index 68d3197896..0000000000 --- a/keyboards/kingly_keys/romac/keymaps/boss566y/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -VIA_ENABLE = yes -BOOTLOADER = qmk-dfu -OLED_ENABLE = yes diff --git a/keyboards/kingly_keys/ropro/keymaps/jdayton3/README.md b/keyboards/kingly_keys/ropro/keymaps/jdayton3/README.md deleted file mode 100644 index b62ea79e10..0000000000 --- a/keyboards/kingly_keys/ropro/keymaps/jdayton3/README.md +++ /dev/null @@ -1,19 +0,0 @@ -``` - ,-----------------------------------------------------------------------------------. - | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | - |------+------+------+------+------+------+------+------+------+------+------+------| - | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | - |------+------+------+------+------+------+------+------+------+------+------+------| - RotEn | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp | - ,------+------+------+------+------+------+------+------+------+------+------+------+------| - | PgUp | Esc | A | S | D | F | G | H | J | K | L | ; | " | - |------+------+------+------+------+------+-------------+------+------+------+------+------| - | Home | Shift| Z | X | C | V | B | N | M | , | . | / |Enter | - |------+------+------+------+------+------+------+------+------+------+------+------+------| - | PgDn | Brite| Ctrl | ALT | GUI |Lower |SPACE |SPACE |Raise | Left | Down | Up |Right | - `------------------------------------------------------------------------------------------' -``` - -# A Planck-based RoPro layout - -Basically all the layers from the default Planck layout, plus a number row, a function row, 3 extra keys, and a rotary encoder. diff --git a/keyboards/kingly_keys/ropro/keymaps/jdayton3/keymap.c b/keyboards/kingly_keys/ropro/keymaps/jdayton3/keymap.c deleted file mode 100644 index 22e037b6f7..0000000000 --- a/keyboards/kingly_keys/ropro/keymaps/jdayton3/keymap.c +++ /dev/null @@ -1,287 +0,0 @@ -/* Copyright 2019 Jonathan Dayton (jdayton3) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H - -extern keymap_config_t keymap_config; - -enum layer_names { - _QWERTY, - _COLEMAK, - _DVORAK, - _LOWER, - _RAISE, - _PLOVER, - _ADJUST -}; - -enum keycodes { - QWERTY = SAFE_RANGE, - COLEMAK, - DVORAK, - PLOVER, - BACKLIT, - EXT_PLV -}; - -#define LOWER MO(_LOWER) -#define RAISE MO(_RAISE) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - /* QWERTY - * ,-----------------------------------------------------------------------------------. - * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * RotEn | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp | - * ,------+------+------+------+------+------+------+------+------+------+------+------+------| - * | PgUp | Esc | A | S | D | F | G | H | J | K | L | ; | " | - * |------+------+------+------+------+------+-------------+------+------+------+------+------| - * | Home | Shift| Z | X | C | V | B | N | M | , | . | / |Enter | - * |------+------+------+------+------+------+------+------+------+------+------+------+------| - * | PgDn | Brite| Ctrl | ALT | GUI |Lower |SPACE |SPACE |Raise | Left | Down | Up |Right | - * `------------------------------------------------------------------------------------------' - */ - [_QWERTY] = LAYOUT( - 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_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINUS, - KC_NO, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - KC_PGUP, KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - KC_HOME, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, - KC_PGDN, RGB_TOG, KC_RCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT - ), - - /* Colemak - * ,-----------------------------------------------------------------------------------. - * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | - * |-----------------------------------------------------------------------------------| - * RotEn | Tab | Q | W | F | P | G | J | L | U | Y | ; | Bksp | - * ,------|------+------+------+------+------+------+------+------+------+------+------+------| - * | PgUp | Esc | A | R | S | T | D | H | N | E | I | O | " | - * |------|------+------+------+------+------+------+------+------+------+------+------+------| - * | Home | Shift| Z | X | C | V | B | K | M | , | . | / |Enter | - * |------|------+------+------+------+------+------+------+------+------+------+------+------| - * | PgDn | Brite| Ctrl | Alt | GUI |Lower | Space |Raise | Left | Down | Up |Right | - * `------------------------------------------------------------------------------------------' - */ - [_COLEMAK] = LAYOUT( - 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_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINUS, - KC_NO, KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_ESC, - KC_PGUP, KC_BSPC, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, - KC_HOME, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, - KC_PGDN, RGB_TOG, KC_RCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT - ), - - /* Dvorak - * ,-----------------------------------------------------------------------------------. - * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | - * |-----------------------------------------------------------------------------------. - * RotEn | Tab | " | , | . | P | Y | F | G | C | R | L | Bksp | - * ,------|------+------+------+------+------+------+------+------+------+------+------+------| - * | PgUp | Esc | A | O | E | U | I | D | H | T | N | S | / | - * |------|------+------+------+------+------+------+------+------+------+------+------+------| - * | Home | Shift| ; | Q | J | K | X | B | M | W | V | Z |Enter | - * |------|------+------+------+------+------+------+------+------+------+------+------+------| - * | PgDn | Brite| Ctrl | Alt | GUI |Lower | Space |Raise | Left | Down | Up |Right | - * `------------------------------------------------------------------------------------------' - */ - [_DVORAK] = LAYOUT( - 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_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINUS, - KC_NO, KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC, - KC_PGUP, KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, - KC_HOME, KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT, - KC_PGDN, RGB_TOG, KC_RCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT - ), - - /* LOWER - * ,-----------------------------------------------------------------------------------. - * |TOGRGB| | | |Sat(-)|Hue(-)|Hue(+)|Sat(+)| | |Brght-|Brght+| - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | ` | | | | | | | | | | | = | - * |-----------------------------------------------------------------------------------. - * RotEn | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Bksp | - * ,------+------+------+------+------+------+------+------+------+------+------+------+------| - * | Home | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | | - * |------+------+------+------+------+------+------+------+------+------+------+------+------| - * | | | F7 | F8 | F9 | F10 | F11 | F12 |ISO ~ |ISO | | Home | End | | - * |------+------+------+------+------+------+------+------+------+------+------+------+------| - * | End | | | | | | | | Next | Vol- | Vol+ | Play | - * `------------------------------------------------------------------------------------------' - */ - [_LOWER] = LAYOUT( - RGB_TOG, KC_TRNS, KC_TRNS, KC_TRNS, RGB_SAD, RGB_HUD, RGB_HUI, RGB_SAI, KC_TRNS, KC_TRNS, RGB_VAD, RGB_VAI, - KC_GRAVE, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_EQUAL, - KC_NUM, KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, - KC_HOME, KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, - KC_TRNS, _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, S(KC_NUHS), S(KC_NUBS), KC_HOME, KC_END, _______, - KC_END, _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY - ), - - /* RAISE - * ,-----------------------------------------------------------------------------------. - * |TOGRGB| | | |Sat(-)|Hue(-)|Hue(+)|Sat(+)| | |Brght-|Brght+| - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | ` | | | | | | | | | | | = | - * |-----------------------------------------------------------------------------------. - * RotEn | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | - * ,------+------+------+------+------+------+------+------+------+------+------+------+------| - * | Home | Del | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ | - * |------+------+------+------+------+------+------+------+------+------+------+------+------| - * | | | F7 | F8 | F9 | F10 | F11 | F12 |ISO # |ISO / |Pg Up |Pg Dn | | - * |------+------+------+------+------+------+------+------+------+------+------+------+------| - * | End | | | | | | | | Next | Vol- | Vol+ | Play | - * `------------------------------------------------------------------------------------------' - */ - [_RAISE] = LAYOUT( - RGB_TOG, KC_TRNS, KC_TRNS, KC_TRNS, RGB_SAD, RGB_HUD, RGB_HUI, RGB_SAI, KC_TRNS, KC_TRNS, RGB_VAD, RGB_VAI, - KC_GRAVE, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_EQUAL, - KC_NUM, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, - KC_HOME, KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, - KC_TRNS, _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_PGUP, KC_PGDN, _______, - KC_END, _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY - ), - - /* Plover layer (http://opensteno.org) - * ,-----------------------------------------------------------------------------------. - * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | - * |-----------------------------------------------------------------------------------. - * RotEn | # | # | # | # | # | # | # | # | # | # | # | # | - * ,------|------+------+------+------+------+------+------+------+------+------+------+------| - * | PgUp | | S | T | P | H | * | * | F | P | L | T | D | - * |------|------+------+------+------+------+------+------+------+------+------+------+------| - * | Home | | S | K | W | R | * | * | R | B | G | S | Z | - * |------|------+------+------+------+------+------+------+------+------+------+------+------| - * | PgDn | Exit | | | A | O | | E | U | | | | - * `------------------------------------------------------------------------------------------' - */ - [_PLOVER] = LAYOUT( - 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_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINUS, - KC_NO, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1, KC_1 , - KC_PGUP, XXXXXXX, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, - KC_HOME, XXXXXXX, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - KC_PGDN, EXT_PLV, XXXXXXX, XXXXXXX, KC_C, KC_V, XXXXXXX, XXXXXXX, KC_N, KC_M, XXXXXXX, XXXXXXX, XXXXXXX - ), - - /* Adjust (Lower + Raise) - * ,-----------------------------------------------------------------------------------. - * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | - * |-----------------------------------------------------------------------------------. - * RotEn | | Reset|Debug | RGB |RGBMOD| HUE+ | HUE- | SAT+ | SAT- |BRGTH+|BRGTH-| Del | - * ,------|------+------+------+------+------+------+------+------+------+------+------+------| - * | PgUp | | |MUSmod|Aud on|Audoff|AGnorm|AGswap|Qwerty|Colemk|Dvorak|Plover| | - * |------|------+------+------+------+------+------+------+------+------+------+------+------| - * | Home | |Voice-|Voice+|Mus on|Musoff|MIDIon|MIDIof| | | | | | - * |------|------+------+------+------+------+------+------+------+------+------+------+------| - * | PgDn | | | | | | | | | | | | - * `------------------------------------------------------------------------------------------' - */ - [_ADJUST] = LAYOUT( - 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_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINUS, - KC_NO, _______, QK_BOOT, DB_TOGG, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_DEL , - KC_PGUP, _______, _______, MU_NEXT, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, PLOVER, _______, - KC_HOME, _______, AU_PREV, AU_NEXT, MU_ON, MU_OFF, MI_ON, MI_OFF, _______, _______, _______, _______, _______, - KC_PGDN, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ) -}; - -bool encoder_update_user(uint8_t index, bool clockwise) { - if (index == 0) { - if (clockwise) { - tap_code(KC_WH_L); - } else { - tap_code(KC_WH_R); - } - } - return true; -} - - -#define LOWER MO(_LOWER) -#define RAISE MO(_RAISE) - -layer_state_t layer_state_set_user(layer_state_t state) { - return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case QWERTY: - if (record->event.pressed) { - set_single_persistent_default_layer(_QWERTY); - } - return false; - break; - case COLEMAK: - if (record->event.pressed) { - set_single_persistent_default_layer(_COLEMAK); - } - return false; - break; - case DVORAK: - if (record->event.pressed) { - set_single_persistent_default_layer(_DVORAK); - } - return false; - break; - case BACKLIT: - if (record->event.pressed) { - register_code(KC_RSFT); - #ifdef BACKLIGHT_ENABLE - backlight_step(); - #endif - } else { - unregister_code(KC_RSFT); - } - return false; - break; - case PLOVER: - if (record->event.pressed) { - layer_off(_RAISE); - layer_off(_LOWER); - layer_off(_ADJUST); - layer_on(_PLOVER); - if (!eeconfig_is_enabled()) { - eeconfig_init(); - } - keymap_config.raw = eeconfig_read_keymap(); - keymap_config.nkro = 1; - eeconfig_update_keymap(keymap_config.raw); - } - return false; - break; - case EXT_PLV: - if (record->event.pressed) { - layer_off(_PLOVER); - } - return false; - break; - } - return true; -} diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/config.h b/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/config.h deleted file mode 100644 index 72377c2701..0000000000 --- a/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/config.h +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2021 Taeyoon Kim (@partrita) -// SPDX-License-Identifier: GPL-2.0-or-later -// /* -// Set any config.h overrides for your specific keymap here. -// See config.h options at https://docs.qmk.fm/#/config_options?id=the-configh-file -// */ -#pragma once - -#define TAPPING_TERM 200 // time of holding key, milliseconds - -// Enable rapid switch from tap to hold, disables double tap hold auto-repeat. -#define QUICK_TAP_TERM 0 - -// Mouse key speed and acceleration. -#undef MOUSEKEY_DELAY -#define MOUSEKEY_DELAY 0 -#undef MOUSEKEY_INTERVAL -#define MOUSEKEY_INTERVAL 16 -#undef MOUSEKEY_WHEEL_DELAY -#define MOUSEKEY_WHEEL_DELAY 0 -#undef MOUSEKEY_MAX_SPEED -#define MOUSEKEY_MAX_SPEED 6 -#undef MOUSEKEY_TIME_TO_MAX -#define MOUSEKEY_TIME_TO_MAX 64 - -// The firmware is too large! -#define COMBO_TERM 80 // timeout period for combos to 40ms. - -//disable broken animations -#ifdef RGB_MATRIX_ENABLE -# undef ENABLE_RGB_MATRIX_ALPHAS_MODS -# undef ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN -# undef ENABLE_RGB_MATRIX_BREATHING -# undef ENABLE_RGB_MATRIX_BAND_SAT -# undef ENABLE_RGB_MATRIX_BAND_VAL -# undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT -# undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL -# undef ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT -# undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL -# undef ENABLE_RGB_MATRIX_CYCLE_ALL -# undef ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT -# undef ENABLE_RGB_MATRIX_CYCLE_UP_DOWN -# undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN -# undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL -# undef ENABLE_RGB_MATRIX_CYCLE_PINWHEEL -# undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL -# undef ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS -# undef ENABLE_RGB_MATRIX_TYPING_HEATMAP -# undef ENABLE_RGB_MATRIX_DIGITAL_RAIN -# undef RGB_MATRIX_DEFAULT_MODE -// # define RGBLIGHT_HUE_STEP 20 -#endif diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/keymap.c b/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/keymap.c deleted file mode 100644 index 09490aa940..0000000000 --- a/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/keymap.c +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright 2021 Taeyoon Kim (@partrita) -// SPDX-License-Identifier: GPL-2.0-or-later - -#include QMK_KEYBOARD_H -#include "keymap_korean.h" - -enum layers { - _Base, - _Navi, - _Numb, - _Func, -}; - -// Left-hand home row mods - Base Layer -#define HOME_A LGUI_T(KC_A) -#define HOME_S LALT_T(KC_S) -#define HOME_D LCTL_T(KC_D) -#define HOME_F LSFT_T(KC_F) -#define HOME_J RSFT_T(KC_J) -#define HOME_K LCTL_T(KC_K) -#define HOME_L LALT_T(KC_L) -#define HOME_QU LGUI_T(KC_QUOT) - -// layer keys -#define Lay_SPC LT(_Func,KC_SPC) -#define NAVI MO(_Navi) -#define NUMB MO(_Numb) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [_Base] = LAYOUT_planck_mit( - KC_Q, KC_W, KC_E, KC_R, KC_T, KC_NO, KC_NO, KC_Y, KC_U, KC_I, KC_O, KC_P, - HOME_A, HOME_S, HOME_D, HOME_F, KC_G, KC_NO, KC_NO, KC_H, HOME_J, HOME_K, HOME_L, HOME_QU, - KC_Z, KC_X, KC_C, KC_V, KC_B, KC_NO, KC_NO, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, - KC_NO, KC_NO, KC_NO, NAVI, Lay_SPC, KC_NO, KC_BSPC, NUMB, KC_NO, KC_NO, KC_NO - ), - [_Navi] = LAYOUT_planck_mit( - KC_WH_L, KC_WH_D, KC_WH_U, KC_WH_R, KC_ESC, KC_NO, KC_NO, KC_DEL, KC_HOME, KC_PGDN, KC_PGUP, KC_END, - KC_LSFT, HOME_S, HOME_D, HOME_F, KC_TAB, KC_NO, KC_NO, KC_ENT, KC_RSFT, HOME_K, HOME_L, HOME_QU, - KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, KC_BTN1, KC_NO, KC_NO, KC_BTN2, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, - KC_NO, KC_NO, KC_NO, KC_NO, Lay_SPC, KC_NO, KC_BSPC, KC_NO, KC_NO, KC_NO, KC_NO - ), - [_Numb] = LAYOUT_planck_mit( - KC_LBRC, KC_7, KC_8, KC_9, KC_RBRC, KC_NO, KC_NO, KC_DEL, KC_NO, KC_NO, KC_NO, KC_NO, - KC_SCLN, KC_4, KC_5, KC_6, KC_EQL, KC_NO, KC_NO, KC_ENT, KC_RSFT, HOME_K, HOME_L, HOME_QU, - KC_GRV, KC_1, KC_2, KC_3, KC_BSLS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KR_HAEN, KC_NO, - KC_NO, KC_NO, KC_NO, KC_0, KC_MINS, KC_NO, KC_BSPC, KC_NO, KC_NO, KC_NO, KC_NO - ), - [_Func] = LAYOUT_planck_mit( - KC_F12, KC_F7, KC_F8, KC_F9, KC_PSCR, KC_NO, KC_NO, QK_BOOT, KC_NO, KC_NO, KC_NO, KC_NO, - KC_F11, KC_F4, KC_F5, KC_F6, KC_SCRL, KC_NO, KC_NO, KC_CAPS, KC_RSFT, HOME_K, HOME_L, HOME_QU, - KC_F10, KC_F1, KC_F2, KC_F3, KC_PAUS, KC_NO, KC_NO, KC_INS, KC_NO, KC_NO, KR_HAEN, KC_NO, - KC_NO, KC_NO, KC_NO, KC_NO, Lay_SPC, KC_NO, KC_BSPC, KC_NO, KC_NO, KC_NO, KC_NO - ), -}; - - -// color by layer -layer_state_t layer_state_set_user(layer_state_t state) { - uint8_t layer = get_highest_layer(state); - switch (layer) { - case _Navi: - rgblight_mode_noeeprom(RGB_MATRIX_RAINBOW_BEACON); - break; - case _Numb: - rgblight_mode_noeeprom(RGB_MATRIX_HUE_PENDULUM); - break; - case _Func: - rgblight_mode_noeeprom(RGB_MATRIX_GRADIENT_LEFT_RIGHT); - break; - default: - rgblight_mode_noeeprom(RGB_MATRIX_SOLID_REACTIVE_WIDE); - } - return state; -} - -// COMBO key for HOME ROW modifier -// modify `rules.mk` file -// by adding # COMBO_ENABLE = yes - -enum combos { - SFT_HAN, -}; - -const uint16_t PROGMEM sft_han_combo[] = {LSFT_T(KC_F), LT(_Func,KC_SPC), COMBO_END}; - -combo_t key_combos[] = { - [SFT_HAN] = COMBO(sft_han_combo, KC_LNG1), -}; diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/readme.md b/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/readme.md deleted file mode 100644 index 31ac2602b6..0000000000 --- a/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/readme.md +++ /dev/null @@ -1,63 +0,0 @@ -# The 35 keymap for bm40hsrgb - -This layout is made almost entirely from [miryoku](https://github.com/manna-harbour/miryoku). However, I used fewer layers and reduced 36 keys to 34. - -> As little as possible, as simple as possible, as easy as possible to memorize - -Replaced the Ctrl, GUI, Alt, and Shift keys with home mod row. A combo function was added by removing some RGB animations of the bm40's keyboard to free up memory. If animation is not removed, it is because there is not enough memory to compile. Added code that uses RGB matrix animation so that you can see at a glance which layer is being used, and you can move faster by increasing the speed of the mouse key. - -And because I'm Korean, a combo for Korean and English keyboard conversion has been added, but if you don't need it, you can delete it. - - -- Flash: - - `qmk flash -kb kprepublic/bm40hsrgb -km 34keys` - -# Layout - -Press and hold to activate the keys in parentheses. - - -https://imgur.com/a/UkKfCYm - - -## _BASE(QWERTY) - -![](https://i.imgur.com/PuHFVXT.png) - - -| Q | W | E | R | T | | | Y | U | I | O | P | -|---|---|---|---|---|---|---|---|---|---|---|---| -| A(GUI) | S(Alt) | D(Ctrl) | F(Shift) | G | | | H | J(Shift) | K(Ctrl) | L(Alt) | '(GUI) | -| Z | X| C| V| B| | | N | M | , | . | /| -| | | | NaviLayer| Space(_Func) | | | Backspace | NumberLayer | | | | - -## _Navi - -![](https://i.imgur.com/BwDHx64.png) - -| Mousewheel left | Mousewheel down | Mousewheel up | Mousewheel right | ESC | | | DEL | HOME | PageDown | PageUP | END | -|---|---|---|---|---|---|---|---|---|---|---|---| -| A(GUI) | S(Alt) | D(Ctrl) | F(Shift) | TAB | | | ENTER | J(Shift) | K(Ctrl) | L(Alt) | '(GUI) | -| Mouse left | Mouse down | Mouse up| Mouse right | left click | | | left click | Left | Down | Up | Right | -| | | | | Space | | | Backspace | NumberLayer | | | | - -## _Numb - -![](https://i.imgur.com/lPPyUsk.png) - -| [ | 7 | 8 | 9 | ] | | | DEL | | | | | -|---|---|---|---|---|---|---|---|---|---|---|---| -| ; | 4 | 5 | 6 | = | | | ENTER | J(Shift) | K(Ctrl) | L(Alt) | '(GUI) | -| ` | 1 | 2 | 3 | \ | | | | | | | | -| | | | 0| - | | | Backspace | | | | | - -## _Func - -![](https://i.imgur.com/rz0jaoe.png) - -| F12 | F7 | F8 | F9 | PrintScreen | | | RESET | | | | | -|---|---|---|---|---|---|---|---|---|---|---|---| -| F11 | F4 | F5 | F6 | ScrollLock | | | CapsLock | J(Shift) | K(Ctrl) | L(Alt) | '(GUI) | -| F10 | F1 | F2 | F3 | PauseBreak | | | Insert | | | | | -| | | | NaviLayer | Space | | | Backspace | NumberLayer | | | | diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/rules.mk b/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/rules.mk deleted file mode 100644 index 96655e7b5a..0000000000 --- a/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/rules.mk +++ /dev/null @@ -1,4 +0,0 @@ -BOOTMAGIC_ENABLE = yes -MOUSEKEY_ENABLE = yes -COMBO_ENABLE = yes -EXTRAKEY_ENABLE = yes diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/config.h b/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/config.h deleted file mode 100644 index ca8a4c6ab4..0000000000 --- a/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/config.h +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright 2022 Fae Fankhauser (@CoffeeIsLife87) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#define LAYER_STATE_8BIT - -#define TURBO_ENABLE -#define HOLD_ON_OTHER_KEY_PRESS - -// RGB Matrix effects disable -#ifdef RGB_MATRIX_ENABLE -# define UNDERGLOW_DISABLE - -# define RGB_TRIGGER_ON_KEYDOWN - -# define RGB_MATRIX_LED_FLUSH_LIMIT 10 - -# undef ENABLE_RGB_MATRIX_SOLID_COLOR -# undef ENABLE_RGB_MATRIX_ALPHAS_MODS -# undef ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN -# undef ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT -# undef ENABLE_RGB_MATRIX_BREATHING -# undef ENABLE_RGB_MATRIX_BAND_SAT -# undef ENABLE_RGB_MATRIX_BAND_VAL -# undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT -# undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL -# undef ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT -# undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL - -# undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN -# undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL -# undef ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON -# undef ENABLE_RGB_MATRIX_DUAL_BEACON -# undef ENABLE_RGB_MATRIX_RAINBOW_BEACON -# undef ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS -# undef ENABLE_RGB_MATRIX_RAINDROPS -# undef ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS -# undef ENABLE_RGB_MATRIX_HUE_BREATHING -# undef ENABLE_RGB_MATRIX_HUE_PENDULUM -# undef ENABLE_RGB_MATRIX_HUE_WAVE -# undef ENABLE_RGB_MATRIX_PIXEL_RAIN -# undef ENABLE_RGB_MATRIX_PIXEL_FLOW -# undef ENABLE_RGB_MATRIX_PIXEL_FRACTAL - -# undef ENABLE_RGB_MATRIX_TYPING_HEATMAP -# undef ENABLE_RGB_MATRIX_DIGITAL_RAIN - -# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE -# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS -# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS -# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS -# undef ENABLE_RGB_MATRIX_SPLASH -# undef ENABLE_RGB_MATRIX_SOLID_SPLASH -# undef ENABLE_RGB_MATRIX_SOLID_MULTISPLASH -#endif - -// Feature disable -#ifndef NO_PRINT -# define NO_PRINT -#endif - -#ifndef NO_DEBUG -# define NO_DEBUG -#endif - -#ifndef NO_ACTION_ONESHOT -# define NO_ACTION_ONESHOT -#endif - -// Configure features -#ifdef DYNAMIC_MACRO_ENABLE -# define DYNAMIC_MACRO_USER_CALL -# define DYNAMIC_MACRO_NO_NESTING -#endif - -#ifdef MOUSEKEY_ENABLE -# define MOUSEKEY_INTERVAL 16 // 60 FPS - -// Speed up the slowest preset -# define MK_C_OFFSET_0 4 -# define MK_C_INTERVAL_0 16 - -// Speed up the medium preset -# define MK_C_OFFSET_1 16 - -# define MK_3_SPEED -#endif \ No newline at end of file diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/keymap.c b/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/keymap.c deleted file mode 100644 index 3d5bcade20..0000000000 --- a/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/keymap.c +++ /dev/null @@ -1,301 +0,0 @@ -// Copyright 2022 Fae Fankhauser (@CoffeeIsLife87) -// SPDX-License-Identifier: GPL-2.0-or-later - -#include QMK_KEYBOARD_H - -enum custom_keycodes { - MCR_PLY = QK_USER, // Macro play - MCR_REC, // Macro record - MCR_SWT, // Swap active macro - MS_ACL_U, // Mouse speed up - MS_ACL_D, // Mouse speed down -}; - -enum layout_names { - _MAIN = 0, // Keys Layout: The main keyboard layout that has all the characters - _SUB, // Extension to Main - _CTR, // Macros, RGB, Audio controls, layer access. More or less the control center of my keyboard - #ifdef MOUSEKEY_ENABLE - _MSE, - #endif // MOUSEKEY_ENABLE - _END, -}; - -#ifdef MOUSEKEY_ENABLE -#include "action.h" -#define TOG_MSE TG(_MSE) -static int current_accel = 0; -#else -#define TOG_MSE XXXXXXX -#endif // MOUSEKEY_ENABLE - -#ifdef DYNAMIC_MACRO_ENABLE -// Macro 1 is = 1, Macro 2 = -1, No macro = 0 -static bool MACRO1 = true; // Determines whether or not we're using 1 or 2 -static bool RECORDING = false; -static uint16_t REC = DM_REC1; // Record either macro 1 or 2. Or stop recording -static uint16_t PLY = DM_PLY1; // Play either macro 1 or macro 2 - -void dynamic_macro_record_start_user(int8_t direction) { - REC = DM_RSTP; - RECORDING = true; -} - -void dynamic_macro_record_end_user(int8_t direction) { - RECORDING = false; -} -#else -#define MCR_PLY KC_NO -#define MCR_REC KC_NO -#define MCR_SWT KC_NO -#endif // DYNAMIC_MACRO_ENABLE - -#ifdef TURBO_ENABLE -static bool turbo_active = false; // Only changed by TRBO_ST -static uint16_t turbo_keycode = KC_NO; // turbo_active can't be true if this is KC_NO -static bool turbo_key_pressed = false; -static bool turbo_keycode_selecting = false; // Determine new keycode or delay mode switch -static bool turbo_ms_delay_direction = true; // True is raise the delay, false is lower it -static uint16_t turbo_ms_delay_direction_indicator = 0; -static uint16_t turbo_ms_delay = 100; // Start at sending keycodes 10 times a second -static uint16_t turbo_timer; // Changed semi automatically -/* - * Because the KC's are wrapped in `LT()` they won't be interpreted as KC_NO or KC_TRNS - * Instead they'll just be like any other custom KC which will let me use them how I want -*/ -#define TRBO_ST LT(_CTR, KC_NO ) -#define TRBO_TI LT(_CTR, KC_TRNS) -#else -#define TRBO_ST KC_NO -#define TRBO_TI KC_NO -#endif - -const uint16_t PROGMEM keymaps[_END][MATRIX_ROWS][MATRIX_COLS] = { - [_MAIN] = LAYOUT_planck_mit( - KC_ESC , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , KC_BSPC, - KC_TAB , KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L , KC_SCLN, KC_QUOT, - KC_LSFT, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M , KC_COMM, KC_DOT , KC_SLSH, KC_ENT , - KC_LCTL, KC_LGUI, XXXXXXX,KC_LALT ,MO(_SUB), KC_SPC ,MO(_CTR), KC_LEFT, KC_DOWN, KC_UP , KC_RGHT - ), - [_SUB] = LAYOUT_planck_mit( - KC_GRV , KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , KC_DEL, - XXXXXXX, KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , KC_F6 , KC_MINS, KC_EQL , KC_LBRC, KC_RBRC, KC_PGUP, - _______, KC_F7 , KC_F8 , KC_F9 , KC_F10 , KC_F11 , KC_F12 , XXXXXXX, KC_HOME, KC_END , KC_BSLS, KC_PGDN, - _______, _______, XXXXXXX, _______, _______, _______ , _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX - ), - [_CTR] = LAYOUT_planck_mit( - XXXXXXX, RGB_SPD, RGB_VAI, RGB_SPI, RGB_HUI, RGB_SAI, XXXXXXX, XXXXXXX, KC_VOLU, XXXXXXX, XXXXXXX, MCR_REC, - XXXXXXX, RGB_RMOD,RGB_VAD, RGB_MOD, RGB_HUD, RGB_SAD, XXXXXXX, KC_MPRV, KC_MPLY, KC_MNXT, XXXXXXX, MCR_PLY, - XXXXXXX, XXXXXXX, RGB_TOG, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_VOLD, XXXXXXX, XXXXXXX, MCR_SWT, - XXXXXXX, XXXXXXX, XXXXXXX, TRBO_TI, TRBO_ST, TOG_MSE, _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX - ) - #ifdef MOUSEKEY_ENABLE - ,[_MSE] = LAYOUT_planck_mit( - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, XXXXXXX, XXXXXXX, KC_BTN1, KC_WH_D, KC_WH_U, KC_BTN2, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, MS_ACL_D, TOG_MSE, MS_ACL_U,XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX - ) - #endif // MOUSEKEY_ENABLE -}; - -#ifdef RGB_MATRIX_ENABLE - -#define LAYER (get_highest_layer(layer_state)) -#define LAYER_SIZE (MATRIX_ROWS * MATRIX_COLS) -#define BRIGHTNESS rgb_matrix_get_val() - -#ifdef UNDERGLOW_DISABLE -void keyboard_pre_init_user(void) { - for (int key_id = 0; key_id < RGB_MATRIX_LED_COUNT; key_id++ ) { - if (g_led_config.flags[key_id] == LED_FLAG_UNDERGLOW) { - g_led_config.flags[key_id] = LED_FLAG_NONE; - } - } -} -#endif // UNDERGLOW_DISABLE - -bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { - if (LAYER == _MAIN) {return false;} - - for (uint8_t i = led_min; i <= led_max; i++) { - uint8_t pos = ((uint8_t*)g_led_config.matrix_co)[i]; - if (!HAS_ANY_FLAGS(g_led_config.flags[pos], (LED_FLAG_MODIFIER | LED_FLAG_KEYLIGHT))) {continue;} - uint16_t KC = pgm_read_word(&((uint16_t*)keymaps)[(LAYER_SIZE * LAYER) + i]); - - switch (KC) { - case KC_NO: - RGB_MATRIX_INDICATOR_SET_COLOR(pos, 0, 0, 0 ); - break; - - #ifdef DYNAMIC_MACRO_ENABLE - case MCR_SWT: - if (!MACRO1) { RGB_MATRIX_INDICATOR_SET_COLOR(pos, 0, BRIGHTNESS, BRIGHTNESS); } - break; - - case MCR_REC: - if (RECORDING) { RGB_MATRIX_INDICATOR_SET_COLOR(pos, BRIGHTNESS, 0, 0); } - break; - #endif // DYNAMIC_MACRO_ENABLE - - #ifdef TURBO_ENABLE - case TRBO_ST: - if (turbo_keycode_selecting) { - RGB_MATRIX_INDICATOR_SET_COLOR(pos, BRIGHTNESS, BRIGHTNESS, BRIGHTNESS); - } else { - if (turbo_active) { - if (turbo_key_pressed) { - RGB_MATRIX_INDICATOR_SET_COLOR(pos, BRIGHTNESS, BRIGHTNESS, BRIGHTNESS); - } else { - RGB_MATRIX_INDICATOR_SET_COLOR(pos, 0, 0, 0); - } - } - } - break; - - case TRBO_TI: - if (turbo_ms_delay_direction_indicator != 0) { - uint8_t time = timer_elapsed(turbo_ms_delay_direction_indicator) / 200; - if (time > 0) { - if ((time % 2) == 1) { - if (turbo_ms_delay_direction) { - RGB_MATRIX_INDICATOR_SET_COLOR(pos, 0, BRIGHTNESS, 0); - } else { - RGB_MATRIX_INDICATOR_SET_COLOR(pos, BRIGHTNESS, 0, 0); - } - } else { - RGB_MATRIX_INDICATOR_SET_COLOR(pos, 0, 0, 0); - } - if (time >= 6) { - turbo_ms_delay_direction_indicator = 0; - } - } - } - break; - #endif - - } - } - return false; -} -#endif - -#ifdef TURBO_ENABLE -void housekeeping_task_user(void) { - if (turbo_active) { - if (turbo_key_pressed) { - if (timer_elapsed(turbo_timer) > turbo_ms_delay) { - unregister_code(turbo_keycode); - turbo_key_pressed = false; - turbo_timer = timer_read(); - } - } else { - if (timer_elapsed(turbo_timer) > (turbo_ms_delay / 2)) { - register_code(turbo_keycode); - turbo_key_pressed = true; - } - } - } -} -#endif - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - #ifdef DYNAMIC_MACRO_ENABLE - if (keycode == MCR_REC) {keycode = REC;} - if (keycode == MCR_PLY) {keycode = PLY;} - if (!process_dynamic_macro(keycode, record)) { - REC = (MACRO1 ? DM_REC1 : DM_REC2); - return false; - } - #endif // DYNAMIC_MACRO_ENABLE - - #ifdef MOUSEKEY_ENABLE - if ((keycode == MS_ACL_U) || (keycode == MS_ACL_D)) { - if (record->event.pressed) { - if ( (keycode == MS_ACL_U) && (current_accel < 2) ) { current_accel += 1; } - if ( (keycode == MS_ACL_D) && (current_accel > 0) ) { current_accel -= 1; } - } - keycode = KC_ACL0 + current_accel; - action_t mousekey_action = action_for_keycode(keycode); - process_action(record, mousekey_action); - } - #endif // MOUSEKEY_ENABLE - - #ifdef TURBO_ENABLE - if (record->event.pressed) { - if (turbo_keycode_selecting) { - if (IS_BASIC_KEYCODE(keycode) || - IS_MODIFIER_KEYCODE(keycode) || - IS_JOYSTICK_KEYCODE(keycode) || - IS_MOUSE_KEYCODE(keycode)) - { - unregister_code(turbo_keycode); - turbo_key_pressed = false; - turbo_keycode = keycode; - turbo_keycode_selecting = false; - } - } - } - #endif - - switch (keycode) { - #ifdef DYNAMIC_MACRO_ENABLE - case MCR_SWT: - if (!RECORDING && record->event.pressed) { - // if the button is pressed and we're not recording - MACRO1 = !MACRO1; - if (MACRO1) { - REC = DM_REC1; - PLY = DM_PLY1; - } else { - REC = DM_REC2; - PLY = DM_PLY2; - } - } - return false; - #endif // DYNAMIC_MACRO_ENABLE - - #ifdef TURBO_ENABLE - case TRBO_ST: - if (record->event.pressed) { - if (!record->tap.count) { - turbo_keycode_selecting = !turbo_keycode_selecting; - } else { - if (turbo_keycode != KC_NO) { - if (!turbo_active) { - turbo_keycode_selecting = false; - turbo_active = true; - } else { - unregister_code(turbo_keycode); - turbo_key_pressed = false; - turbo_active = false; - } - } - } - } - return false; - - case TRBO_TI: - if (record->event.pressed) { - if (!record->tap.count) { - turbo_ms_delay_direction = !turbo_ms_delay_direction; - turbo_ms_delay_direction_indicator = timer_read(); - } else { - if (turbo_ms_delay_direction) - turbo_ms_delay += 20; - else - turbo_ms_delay -= 20; - - if (turbo_ms_delay > 500) // half a second - turbo_ms_delay = 500; - if (turbo_ms_delay < 60) // Around 16 times a second - turbo_ms_delay = 60; - } - } - return false; - #endif - - default: - return true; //Process all other keycodes normally - } -} diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/readme.md b/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/readme.md deleted file mode 100644 index 980f559d71..0000000000 --- a/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/readme.md +++ /dev/null @@ -1,77 +0,0 @@ -# Kprepublic BM40HSRGB Coffee - -A layout that aims to be familiar to people that have used larger boards - -## The layout - -The primary layer ( `_MAIN` ) is as close to standard qwerty as I could get. -| row | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -|-----|------|------|---|-----|-----|-----|-----|-----|-----|-----|----|------| -| 1 | esc | q | w | e | r | t | y | u | i | o | p | bksp | -| 2 | tab | a | s | d | f | g | h | j | k | l | ; | ' | -| 3 | shft | z | x | c | v | b | n | m | , | . | / | rtrn | -| 4 | ctrl | win | | alt | SUB | spc | <- | CTR | lft | dwn | up | rght | - -The secondary layer ( `_SUB` ) is for syntax, F keys, and number keys -| row | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -|-----|-----|----|----|----|-----|-----|-----|----|------|-----|----|------| -| 1 | grv | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | del | -| 2 | | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | pgup | -| 3 | _ | F7 | F8 | F9 | F10 | F11 | F12 | | home | end | \ | pgdn | -| 4 | _ | _ | | _ | _ | _ | <- | _ | | | | | - -The control layer ( `_CTR` ) is for lighting, media, and macros -| row | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -|-----|---|-------|------|---------|---------|---------|-----|------|------|------|----|---------| -| 1 | | SPD- | BRI+ | SPD+ | HUE+ | SAT+ | | | VOL+ | | | MCR_REC | -| 2 | | EFCT- | BRI- | EFCT+ | HUE- | SAT- | | PREV | PLAY | NEXT | | MCR_PLY | -| 3 | | | TOG | | | | | | VOL- | | | MCR_SWT | -| 4 | | | | TRBO_TI | TRBO_ST | MSE_TOG | <- | | | | | | - -The mouse layer ( `_MSE` ) is for making the keyboard function as a mouse as well -| row | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -|-----|---|------|------|------|-------|---------|-----|-------|-------|-------|-------|----| -| 1 | | | | | | | | | | | | | -| 2 | | MS_L | MS_D | MS_U | MS_R | | | L_CLC | SCR_D | SCR_U | R_CLC | | -| 3 | | | | | | | | | | | | | -| 4 | | | | | ACL_D | MSE_TOG | <- | ACL_U | | | | | - -| Key name | Explanation | -|----------|----------------------------------------------| -| \_ | Passthrough the key on the layer below | -| <- | Same key as imediate left. Used for spacebar | -| SUB | Goes to _SUB layer while held down | -| CTR | Goes to _CTR layer while held down | -| MSE_TOG | Toggles the mouse layer on or off | -| SPD +/- | Changes speed for the RGB effect | -| BRI +/- | Changes the brightness of the lighting | -| EFCT +/- | Moves to the next/previous effect | -| TOG | Toggles the lighting on or off | -| HUE +/- | Changes the hue for RGB effects | -| SAT +/- | Changes the saturation for RGB effects | -| MSE | Toggles the Mouse layer | -| VOL +/- | Raises or lowers media volume | -| PREV | Goes to previous media | -| PLAY | Play/Pause media | -| NEXT | Goes to next media | -| MCR_REC | Record macro ( Press again to stop ) | -| MCR_PLY | Play recorded macro | -| MCR_SWT | Switch active macro | -| MS_L | Move mouse cursor left | -| MS_U | Move mouse cursor up | -| MS_D | Move mouse cursor down | -| MD_R | Move mouse cursor right | -| L_CLC | Mouse left click | -| R_CLC | Mouse right click | -| SCR_U | Mouse scroll up | -| SCR_D | Mouse scroll down | -| ACL_U | Raise mouse/scroll speed | -| ACL_D | Lower mouse/scroll speed | -| TRBO_ST | Set turbo key (Hold), start/stop turbo (Tap) | -| TRBO_TI | Turbo speed +/- (Hold to switch direction) | - -## Compiling - -Compiling: `make kprepublic/bm40hsrgb:coffee` - -Flashing: `make kprepublic/bm40hsrgb:coffee:flash` diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/rules.mk b/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/rules.mk deleted file mode 100644 index 1f143e6026..0000000000 --- a/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/rules.mk +++ /dev/null @@ -1,4 +0,0 @@ -MOUSEKEY_ENABLE = yes -NKRO_ENABLE = yes -DYNAMIC_MACRO_ENABLE = yes -LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/config.h b/keyboards/kprepublic/bm40hsrgb/keymaps/dan/config.h deleted file mode 100644 index 67e81609ae..0000000000 --- a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/config.h +++ /dev/null @@ -1,7 +0,0 @@ -// Copyright 2021 Dan Kim (@syntax-magic) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#define TAPPING_TERM 136 -#define TAPPING_TERM_PER_KEY diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/features/custom_shift_keys.c b/keyboards/kprepublic/bm40hsrgb/keymaps/dan/features/custom_shift_keys.c deleted file mode 100644 index 5576612f9a..0000000000 --- a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/features/custom_shift_keys.c +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2021-2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -/** - * @file custom_shift_keys.c - * @brief Custom Shift Keys implementation - * - * For full documentation, see - * - */ - -#include "custom_shift_keys.h" - -bool process_custom_shift_keys(uint16_t keycode, keyrecord_t *record) { - static uint16_t registered_keycode = KC_NO; - - // If a custom shift key is registered, then this event is either releasing - // it or manipulating another key at the same time. Either way, we release - // the currently registered key. - if (registered_keycode != KC_NO) - { - unregister_code16(registered_keycode); - registered_keycode = KC_NO; - } - - if (record->event.pressed) - { // Press event. - const uint8_t mods = get_mods(); - -#ifndef NO_ACTION_ONESHOT - if ((mods | get_weak_mods() | get_oneshot_mods()) & MOD_MASK_SHIFT) - { -#else - if ((mods | get_weak_mods()) & MOD_MASK_SHIFT) - { // Shift is held. -#endif // NO_ACTION_ONESHOT - // Search for a custom key with keycode equal to `keycode`. - for (int i = 0; i < NUM_CUSTOM_SHIFT_KEYS; ++i) - { - - if (keycode == custom_shift_keys[i].keycode) - { - // Continue default handling if this is a tap-hold key being held. - if (((QK_MOD_TAP <= keycode && keycode <= QK_MOD_TAP_MAX) || (QK_LAYER_TAP <= keycode && keycode <= QK_LAYER_TAP_MAX)) && record->tap.count == 0) - { - return true; - } - -#ifndef NO_ACTION_ONESHOT - del_oneshot_mods(MOD_MASK_SHIFT); -#endif // NO_ACTION_ONESHOT - del_mods(MOD_MASK_SHIFT); - del_weak_mods(MOD_MASK_SHIFT); - send_keyboard_report(); - registered_keycode = custom_shift_keys[i].shifted_keycode; - register_code16(registered_keycode); - set_mods(mods); // Restore the mods. - return false; - } - } - } - } - - return true; // Continue with default handling. -} diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/features/custom_shift_keys.h b/keyboards/kprepublic/bm40hsrgb/keymaps/dan/features/custom_shift_keys.h deleted file mode 100644 index d6cb7a9fdd..0000000000 --- a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/features/custom_shift_keys.h +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright 2021-2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -/** - * @file custom_shift_keys.h - * @brief Custom shift keys: customize what keycode is produced when shifted. - * - * Overview - * -------- - * - * This library implements custom shift keys, keys where you can customize - * what keycode is produced when shifted. - * - * Step 1: In your keymap.c, define a table of custom shift keys like - * - * #include "features/custom_shift_keys.h" - * - * const custom_shift_key_t custom_shift_keys[] = { - * {KC_DOT , KC_QUES}, // Shift . is ? - * {KC_COMM, KC_EXLM}, // Shift , is ! - * {KC_MINS, KC_EQL }, // Shift - is = - * {KC_COLN, KC_SCLN}, // Shift : is ; - * }; - * - * Each row defines one key. The first field is the keycode as it appears in - * your layout and determines what is typed normally. The second entry is what - * you want the key to type when shifted. - * - * Step 2: Handle custom shift keys from your `process_record_user` function as - * - * bool process_record_user(uint16_t keycode, keyrecord_t* record) { - * if (!process_custom_shift_keys(keycode, record)) { return false; } - * // Your macros ... - * - * return true; - * } - * - * Step 3: add `features/custom_shift_keys.c` to your rules.mk as - * - * SRC += features/custom_shift_keys.c - * - * - * For full documentation, see - * - */ - -#pragma once - -#include "quantum.h" - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * Custom shift key entry. The `keycode` field is the keycode as it appears in - * your layout and determines what is typed normally. The `shifted_keycode` is - * what you want the key to type when shifted. - */ -typedef struct { - uint16_t keycode; - uint16_t shifted_keycode; -} custom_shift_key_t; - -/** Table of custom shift keys. */ -extern const custom_shift_key_t custom_shift_keys[]; -/** Number of entries in the `custom_shift_keys` table. */ -extern uint8_t NUM_CUSTOM_SHIFT_KEYS; - -/** - * Handler function for custom shift keys. - * - * In keymap.c, call this function from your `process_record_user` function as - * - * #include "features/custom_shift_keys.h" - * - * bool process_record_user(uint16_t keycode, keyrecord_t* record) { - * if (!process_custom_shift_keys(keycode, record)) { return false; } - * // Your macros ... - * - * return true; - * } - */ -bool process_custom_shift_keys(uint16_t keycode, keyrecord_t *record); - -#ifdef __cplusplus -} -#endif diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/keymap.c b/keyboards/kprepublic/bm40hsrgb/keymaps/dan/keymap.c deleted file mode 100644 index 54b4652fdf..0000000000 --- a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/keymap.c +++ /dev/null @@ -1,349 +0,0 @@ -/* Copyright 2020 tominabox1 - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H -#include "features/custom_shift_keys.h" - -enum layers { - _ALPHA, - _LEFTFN, - _NUMPAD, - _RIGHTFN, - _MOBA, - _FPS1, - _FPS2, - _STRAT, - _ARROWS, - _CLEAN, - _RGB -}; - -#define ALPHA TO(_ALPHA) -#define LEFTFN MO(_LEFTFN) -#define NUMPAD MO(_NUMPAD) -#define RIGHTFN MO(_RIGHTFN) -#define MOBA TG(_MOBA) -#define FPS1 TG(_FPS1) -#define FPS2 TG(_FPS2) -#define STRAT TG(_STRAT) -#define ARROWS TG(_ARROWS) -#define CLEAN TG(_CLEAN) -#define RGB MO(_RGB) - -// Tap dance declarations -enum { - TD_PAST_PSLS, - TD_PASTE_COPY -}; - -tap_dance_action_t tap_dance_actions[] = { - [TD_PAST_PSLS] = ACTION_TAP_DANCE_DOUBLE(KC_PAST, KC_PSLS), - [TD_PASTE_COPY] = ACTION_TAP_DANCE_DOUBLE(LCTL(KC_V), LCTL(KC_C)) -}; - -// Custom shift implementation -const custom_shift_key_t custom_shift_keys[] = { - {KC_LNG1, KC_LNG2}, - {KC_LT, KC_COMM}, - {KC_GT, KC_DOT}, - {KC_LCBR, KC_LBRC}, - {KC_RCBR, KC_RBRC} -}; - -uint8_t NUM_CUSTOM_SHIFT_KEYS = sizeof(custom_shift_keys) / sizeof(custom_shift_key_t); - -bool process_record_user(uint16_t keycode, keyrecord_t* record) -{ - if ( !process_custom_shift_keys(keycode, record)) { return false; } - - return true; -} - -// Keymaps -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -/* ALPHA - * ,-----------------------------------------------------------------------------------. - * | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | A | S | D | F | G | H | J | K | L | ; | ' | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Shift| Z | X | C | V | B | N | M | , | . | / |Return| - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Esc |KOR/HN| Win | Alt |LEFTFN| Space |RFN/- | = |Delete| \ | Enter| - * `-----------------------------------------------------------------------------------' - */ -[_ALPHA] = LAYOUT_planck_mit( - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, - LT(NUMPAD, KC_ESC), KC_LNG1, KC_LGUI, KC_LALT, LEFTFN, KC_SPC, LT(RIGHTFN, KC_MINS), KC_EQL, KC_DEL, KC_BSLS, KC_PENT -), - -/* LEFTFN - * ,-----------------------------------------------------------------------------------. - * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | Left | Down | Up |Right |Ctrl+/|PrntSc| { | } | ) | : | " | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Shift| [ | ] | Home | End | PGUP | PGDN | ( | < | > | / |Return| - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | RGB | Caps | Ins | Alt | Trns | Space | _ | + |Delete| | | Enter| - * `-----------------------------------------------------------------------------------' - */ -[_LEFTFN] = LAYOUT_planck_mit( - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, - KC_LCTL, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, LCTL(KC_SLSH), KC_PSCR, KC_LCBR, KC_RCBR, KC_RPRN, KC_COLN, KC_DQUO, - KC_LSFT, KC_LBRC, KC_RBRC, KC_HOME, KC_END, KC_PGUP, KC_PGDN, KC_LPRN, KC_LT, KC_GT, KC_SLSH, KC_ENT, - RGB, KC_CAPS, KC_INS, KC_LALT, KC_TRNS, KC_SPC, KC_UNDS, KC_PLUS, KC_DEL, KC_PIPE, KC_PENT -), - -/* NUMPAD - * ,-----------------------------------------------------------------------------------. - * | *or/ | 7 | 8 | 9 | NumLk| | | | | | | Bksp | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Alt | 4 | 5 | 6 |Return| | | | | | Shift| | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | - | 1 | 2 | 3 | Bksp | | | | , | . | Ctrl |Return| - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Trns | , | + | . | 0 | Space | MOBA | FPS1 | FPS2 | STRAT|ARROWS| - * `-----------------------------------------------------------------------------------' - */ -[_NUMPAD] = LAYOUT_planck_mit( - TD(TD_PAST_PSLS), KC_P7, KC_P8, KC_P9, KC_NUM, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_BSPC, - KC_LALT, KC_P4, KC_P5, KC_P6, KC_ENT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_LSFT, KC_NO, - KC_PMNS, KC_P1, KC_P2, KC_P3, KC_BSPC, KC_NO, KC_NO, KC_NO, KC_COMM, KC_DOT, KC_LCTL, KC_ENT, - KC_TRNS, KC_COMM, KC_PPLS, KC_PDOT, KC_P0, KC_SPC, MOBA, FPS1, FPS2, STRAT, ARROWS -), - -/* RIGHTFN - * ,-----------------------------------------------------------------------------------. - * | | | | | | | | F12 | F11 | F10 | F9 | Pause| - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | | | | | | | F8 | F7 | F6 | F5 |Scllck| - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Shift| | | | | | | F4 | F3 | F2 | F1 | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | Alt | | Space | Trns | | | | | - * `-----------------------------------------------------------------------------------' - */ -[_RIGHTFN] = LAYOUT_planck_mit( - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_F12, KC_F11, KC_F10, KC_F9, KC_PAUS, - KC_LCTL, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_F8, KC_F7, KC_F6, KC_F5, KC_SCRL, - KC_LSFT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_F4, KC_F3, KC_F2, KC_F1, KC_NO, - KC_NO, KC_NO, KC_NO, KC_LALT, KC_NO, KC_SPC, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO -), - -/* MOBA - * ,-----------------------------------------------------------------------------------. - * | Tab | Q | W | E | R | 5 | Y | | | O | P | ESC | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | A | S | D | F | | | | | L | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Shift| Z | 6 | 4 | 1 | B | | | | | |Return| - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | 3 | X | C | Alt | 2 | Space | | | | | ALPHA| - * `-----------------------------------------------------------------------------------' - */ -[_MOBA] = LAYOUT_planck_mit( - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_5, KC_Y, KC_NO, KC_NO, KC_O, KC_P, KC_ESC, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_NO, KC_NO, KC_NO, KC_NO, KC_L, KC_NO, KC_NO, - KC_LSFT, KC_Z, KC_6, KC_4, KC_1, KC_B, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_ENT, - KC_3, KC_X, KC_C, KC_LALT, KC_2, KC_SPC, KC_NO, KC_NO, KC_NO, KC_NO, ALPHA -), - -/* FPS1 - * ,-----------------------------------------------------------------------------------. - * | Tab | Q | W | E | R | T | Y | U | I | O | P | ESC | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | 1 | A | S | D | F | G | H | J | K | L | | F7 | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Shift| Z | 3 | X | C | V | B | M | , | . | | F9 | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | 5 | 4 | Alt | 2 | Space | 6 | 8 | 7 | 9 | ALPHA| - * `-----------------------------------------------------------------------------------' - */ -[_FPS1] = LAYOUT_planck_mit( - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_ESC, - KC_1, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_NO, KC_F7, - KC_LSFT, KC_Z, KC_3, KC_X, KC_C, KC_V, KC_B, KC_M, KC_COMM, KC_DOT, KC_NO, KC_F9, - KC_LCTL, KC_5, KC_4, KC_LALT, KC_2, KC_SPC, KC_6, KC_8, KC_7, KC_9, ALPHA -), - -/* FPS2 - * ,-----------------------------------------------------------------------------------. - * | Tab | Q | W | E | R | T | Y | U | I | O | P | ESC | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | 1 | A | S | D | F | G | H | J | K | L | ; | " | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Shift| Z | X | C | V | B | N | M | , | . | / |Return| - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | | | Alt | 2 | Space | Bksp | | | | ALPHA| - * `-----------------------------------------------------------------------------------' - */ -[_FPS2] = LAYOUT_planck_mit( - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_ESC, - KC_1, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, - KC_LCTL, KC_NO, KC_NO, KC_LALT, KC_2, KC_SPC, KC_BSPC, KC_NO, KC_NO, KC_NO, ALPHA -), - -/* STRAT - * ,-----------------------------------------------------------------------------------. - * | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | A | S | D | F | G | H | J | K | L | ; | ' | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Shift| Z | X | C | V | B | N | M | , | . | / |Return| - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Esc | | | Alt | F1 | Space | F10 | Pause|Delete| | ALPHA| - * `-----------------------------------------------------------------------------------' - */ -[_STRAT] = LAYOUT_planck_mit( - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, - KC_ESC, KC_NO, KC_NO, KC_LALT, KC_F1, KC_SPC, KC_F10, KC_PAUS, KC_DEL, KC_NO, ALPHA -), - -/* ARROWS - * ,-----------------------------------------------------------------------------------. - * | Tab | Q | Up | E | R | | | | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | A | Left | Down | Right| F | | | | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Shift| Z | X | C | V | | | | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | | | Alt | S | Space | | | | | ALPHA| - * `-----------------------------------------------------------------------------------' - */ -[_ARROWS] = LAYOUT_planck_mit( - KC_TAB, KC_Q, KC_UP, KC_E, KC_R, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - KC_A, KC_LEFT, KC_DOWN, KC_RIGHT, KC_F, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - KC_LCTL, KC_NO, KC_NO, KC_LALT, KC_S, KC_SPC, KC_NO, KC_NO, KC_NO, KC_NO, ALPHA -), - -/* CLEAN - * ,-----------------------------------------------------------------------------------. - * | | | | | | | | | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | | | ALPHA| - * `-----------------------------------------------------------------------------------' - */ -[_CLEAN] = LAYOUT_planck_mit( - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, ALPHA -), - -/* RGB (LEFTFN + RGB) - * v------------------------RGB CONTROL--------------------v - * ,-----------------------------------------------------------------------------------. - * | Mute | Reset| MS_U | BR B | BR F | | | MOD R| MOD B| FX+ | |CLEAN | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | MS_L | MS_D | MS_R |Return|PST/CO| | MOD P| MOD S| FX- | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Shift| MCK | RCK | LCK | Bksp | | | BRT+ | MOD+ | SAT+ | HUE+ | MS 0 | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Trns | VOL- | VOL+ | WL U | WL D | Space | BRT- | MOD- | SAT- | HUE- |RGBTGL| - * `-----------------------------------------------------------------------------------' - */ -[_RGB] = LAYOUT_planck_mit( - KC_MUTE, QK_BOOT, KC_MS_U, KC_WBAK, KC_WFWD, KC_NO, KC_NO, RGB_M_R, RGB_M_B, RGB_SPI, KC_NO, CLEAN, - KC_LCTL, KC_MS_L, KC_MS_D, KC_MS_R, KC_ENT, TD(TD_PASTE_COPY), KC_NO, RGB_M_P, RGB_M_SW, RGB_SPD, KC_NO, KC_NO, - KC_LSFT, KC_BTN3, KC_BTN2, KC_BTN1, KC_BSPC, KC_NO, KC_NO, RGB_VAI, RGB_MOD, RGB_SAI, RGB_HUI, KC_ACL0, - KC_TRNS, KC_VOLD, KC_VOLU, KC_WH_U, KC_WH_D, KC_SPC, RGB_VAD, RGB_RMOD, RGB_SAD, RGB_HUD, RGB_TOG -) - -}; - -/* -// Key Matrix to LED Index -{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}, -{12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23}, -{24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35}, -{36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46} -*/ -bool rgb_matrix_indicators_user(void) { - uint8_t red[3] = {22, 2, 0}; - uint8_t yellow[3] = {20, 22, 0}; - uint8_t blue[3] = {0, 6, 20}; - uint8_t green[3] = {14, 22, 0}; - uint8_t purple[3] = {6, 0, 22}; - uint8_t white[3] = {255, 255, 255}; - - switch (get_highest_layer(layer_state)) { - case _ALPHA: - break; - case _LEFTFN: - break; - case _RIGHTFN: - break; - case _NUMPAD: - break; - case _MOBA: - rgb_matrix_set_color(16, red[0], red[1], red[2]); - rgb_matrix_set_color(15, yellow[0], yellow[1], yellow[2]); - rgb_matrix_set_color(29, blue[0], blue[1], blue[2]); - rgb_matrix_set_color(10, purple[0], purple[1], purple[2]); - break; - case _FPS1: - rgb_matrix_set_color(43, green[0], green[1], green[2]); - break; - case _FPS2: - rgb_matrix_set_color(44, green[0], green[1], green[2]); - break; - case _STRAT: - rgb_matrix_set_color(45, green[0], green[1], green[2]); - break; - case _ARROWS: - rgb_matrix_set_color(46, green[0], green[1], green[2]); - break; - case _CLEAN: - rgb_matrix_set_color_all(white[0], white[1], white[2]); - break; - case _RGB: - rgb_matrix_set_color(1, blue[0], blue[1], blue[2]); - break; - } - - led_t led_state = host_keyboard_led_state(); - //Capslock led - if (led_state.caps_lock) { - rgb_matrix_set_color(0, green[0], green[1], green[2]); - } - //Numlock led - if (led_state.num_lock) { - } else { - rgb_matrix_set_color(11, green[0], green[1], green[2]); - } - //Scroll lock led - if (led_state.scroll_lock) { - rgb_matrix_set_color(23, green[0], green[1], green[2]); - } - return false; -} - -// Turn of RGB Matrix Effect -void keyboard_post_init_user(void) { - rgb_matrix_mode_noeeprom(RGB_MATRIX_SOLID_COLOR); - rgb_matrix_sethsv_noeeprom(HSV_OFF); -} diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/readme.md b/keyboards/kprepublic/bm40hsrgb/keymaps/dan/readme.md deleted file mode 100644 index 72764d1408..0000000000 --- a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/readme.md +++ /dev/null @@ -1,105 +0,0 @@ -# Dan's KPrepublic BM40 Keymap - ->This is my personal keymap with an LED indicator support for num lock, caps lock and scroll lock. - -![](https://i.imgur.com/2yclc1B.jpg) -> * Case: Poseidon PSD40 Case -> * Plate: Brass -> * Keycaps: WOB ABS Cherry Profile -> * Switches: Gazzew Boba U4t (62g 2 stage long spring) - -
- -### BM40 LED INDEX -**_Numlock ( 11 ) Capslock ( 0 or 12 ) Scroll lock ( 23 )_** - -| | _A_ | _B_ | _C_ | _D_ | _E_ | _F_ | _G_ | _H_ | _I_ | _J_ | _K_ | _L_ | -|---------|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:| -| **_1_** | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -| **_2_** | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -| **_3_** | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -| **_4_** |    36 |    37 |    38 |     39 |     40 |    41 |        |    42 |    43 |    44 |    45 |    46 | - -
- -## LED INDICATOR EXAMPLES -![](https://i.imgur.com/qpkRNio.jpg) -![](https://i.imgur.com/GfG252J.jpg) -> * Case: SM Keyboards Planck/Niu Mini Acrylic Case -> * Plate: Acrylic -> * Keycaps: Drop + biip MT3 Extended 2048 Katakana -> * Switches: Everglide Aqua King (62g 2 stage long spring) - -
- -## KEYMAP LAYOUT EXAMPLES -### ALPHA - -| | _A_ | _B_ | _C_ | _D_ | _E_ | _F_ | _G_ | _H_ | _I_ | _J_ | _K_ | _L_ | -|---------|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:| -| **_1_** | TAB | Q | W | E | R | T | Y | U | I | O | P | BSP | -| **_2_** | CTL | A | S | D | F | G | H | J | K | L | ; | ' | -| **_3_** | SFT | Z | X | C | V | B | N | M | , | . | / | RET | -| **_4_** |  Esc | KOR | WIN |   ALT |    FN |  SPC |          |        - |     = | DEL |      \\ | ENT | ->This is a base layer for typing. - -
- -### LEFTFN MO(FN) - -| | _A_ | _B_ | _C_ | _D_ | _E_ | _F_ | _G_ | _H_ | _I_ | _J_ | _K_ | _L_ | -|---------|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:| -| **_1_** | \` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | BSP | -| **_2_** | CTL | LFT | DN | UP | RHT | C+/ | PRN | [ | ] | ) | : | " | -| **_3_** | SFT | [ | ]  | HOM | END | PGU | PGD | ( | , | . | / | RET | -| **_4_** | RGB | CAP | INS | ALT | TRN |  SPC ||       _ |     + |  DEL |       \| | ENT | ->This is the layer dedicated to number, symbol and navigation keys. ie) arrow keys - -
- -### RIGHTFN MO(-) - -| | _A_ | _B_ | _C_ | _D_ | _E_ | _F_ | _G_ | _H_ | _I_ | _J_ | _K_ | _L_ | -|---------|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:| -| **_1_** | | | | | | | | F12 | F11 | F10 | F9 | PAU | -| **_2_** | CTL | | | | | | | F8 | F7 | F6 | F5 | SCL | -| **_3_** | SFT | | | | | | | F4 | F3 | F2 | F1 | | -| **_4_** |         |         |         |   ALT  |         |  SPC |         |  TRN |        |        |        |      | ->This layer contains function rows. - -
- -### NUMPAD MO(Esc) - -| | _A_ | _B_ | _C_ | _D_ | _E_ | _F_ | _G_ | _H_ | _I_ | _J_ | _K_ | _L_ | -|---------|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:| -| **_1_** | *or/| 7 | 8 | 9 | NUM | | | | | | | BSP | -| **_2_** | ALT | 4 | 5 | 6 | RET | | | | | | | | -| **_3_** | - | 1 | 2 | 3 | BSP | | | | | | | RET | -| **_4_** | TRN |        , |      + |        . |    0 | SPC |         |   LY1 |  LY2 |  LY3 |  LY4 |  LY5 | ->This layer is the numpad. -
- -There are other dedicated layers for gaming that are not included here. -If you are interested, check out keymap.c! - -
- -## PHOTOS - -![](https://imgur.com/ABblRwp.jpg) -> * Case: SM Keyboards Planck/Niu Mini Acrylic Case -> * Plate: Acrylic -> * Keycaps: Rama Works GRID Set A Keycaps ( Kuros ) -> * Switches: Thic Thock Marshmallow Linear Switch ( 55g ) - -
- -![](https://i.imgur.com/imqhjZW.jpg) -> * Case: JJ40 Aluminium Acclive Case with Acrylic Diffuser -> * Keycaps: YMDK DSA Keycaps -> * Artisan: Rodríguez Cap by Polykeys - -
- -
- END -
diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/rules.mk b/keyboards/kprepublic/bm40hsrgb/keymaps/dan/rules.mk deleted file mode 100644 index 4b8ec33fa0..0000000000 --- a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -TAP_DANCE_ENABLE = yes -SRC += features/custom_shift_keys.c diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/simchee/config.h b/keyboards/kprepublic/bm40hsrgb/keymaps/simchee/config.h deleted file mode 100644 index 051ee8a8d1..0000000000 --- a/keyboards/kprepublic/bm40hsrgb/keymaps/simchee/config.h +++ /dev/null @@ -1,20 +0,0 @@ -/* Copyright 2022 Sinan Okman (@simchee) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -#define NO_MUSIC_MODE -#define AUDIO_CLICKY diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/simchee/keymap.c b/keyboards/kprepublic/bm40hsrgb/keymaps/simchee/keymap.c deleted file mode 100755 index 04f166cff6..0000000000 --- a/keyboards/kprepublic/bm40hsrgb/keymaps/simchee/keymap.c +++ /dev/null @@ -1,61 +0,0 @@ -/* Copyright 2022 Sinan Okman (@simchee) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H - -enum layers { - QWERTZ, - LOWER, - RAISE, - FN1, -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [QWERTZ] = LAYOUT_planck_mit - ( - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Z, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - MO(FN1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_SLSH, - KC_LSFT, KC_Y, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, KC_ENT, - KC_ESC, KC_LGUI, KC_LCTL, KC_LALT, MO(LOWER), KC_SPC, MO(RAISE), KC_ALGR, KC_LEFT, KC_DOWN, KC_RIGHT - ), - - [LOWER] = LAYOUT_planck_mit - ( - KC_TAB, KC_PGUP, KC_UP, KC_PGDN, KC_HOME, _______, _______, KC_7, KC_8, KC_9, KC_EQL, KC_BSPC, - MO(FN1), KC_LEFT, KC_DOWN, KC_RIGHT, KC_END, _______, KC_NUHS, KC_4, KC_5, KC_6, KC_ASTR, KC_SLSH, - KC_LSFT, KC_MUTE, KC_VOLD, KC_VOLU, KC_MPLY, KC_MPRV, KC_MNXT, KC_1, KC_2, KC_3, KC_PLUS, KC_ENTER, - KC_ESC, RGB_TOG, KC_LCTL, KC_LALT, MO(LOWER), KC_SPC, KC_COMM, KC_0, KC_DOT, KC_MINS, _______ - ), - - [RAISE] = LAYOUT_planck_mit - ( - KC_CIRC, KC_EXLM, KC_AT, _______, KC_DLR, KC_PERC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_QUES, KC_TILD, - MO(FN1), _______, _______, _______, _______, _______, _______, KC_GRV, KC_LBRC, KC_RBRC, KC_QUOT, KC_BSLS, - KC_LSFT, KC_MINS, _______, _______, _______, _______, _______, _______, KC_LABK, KC_RABK, KC_EQL, KC_HASH, - _______, _______, _______, _______, MO(LOWER), KC_SPC, MO(RAISE), KC_ALGR, _______, _______, _______ - ), - - [FN1] = LAYOUT_planck_mit - ( - KC_F12, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_DEL, - MO(FN1), KC_F11, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END, _______, _______, - KC_LSFT, KC_CAPS, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, _______, KC_APP, - QK_BOOT, _______, _______, _______, MO(LOWER), KC_SPC, KC_BSPC, _______, _______, KC_PSCR, KC_INS - ) - -}; - diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/simchee/readme.md b/keyboards/kprepublic/bm40hsrgb/keymaps/simchee/readme.md deleted file mode 100644 index 1aaedbda52..0000000000 --- a/keyboards/kprepublic/bm40hsrgb/keymaps/simchee/readme.md +++ /dev/null @@ -1,75 +0,0 @@ -# Simchee's BM40HSRGB - -Simple Design for US ANSI international, German and Turkish letters are written using dead keys on Linux. Keyboard hasn't been tested on Windows. - -# Flashing - -```bash -qmk flash -kb kprepublic/bm40hsrgb -km simchee -bl dfu -``` - -# Layout -## QWERTZ - -Changes from standard ANSI keyboard for better ergonomic: switch ctrl and GUI (Windows) keys, escape at left bottom, tab on left top. - -``` - .-----------------------------------------------------------------------------------------------. - | Tab | Q | W | E | R | T | Z | U | I | O | P | Bkspc | - |-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+ - | Fn1 | A | S | D | F | G | H | J | K | L | ; | / | - |-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+ - | LShift| Y | X | C | V | B | N | M | , | . | AUp | Enter | - |-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+ - | Esc | GUI | LCtrl | LAlt | Lower | Space | Raise | AltGr | ALeft | ADown | ARight| - °-----------------------------------------------------------------------------------------------° -``` - -## Lower - -Lower layout is mainly for numpad on the right side with navigation keys for lazy left handed navigation. Left side of Lower also provides media and RGB control. - -``` - .-----------------------------------------------------------------------------------------------. - | TAB | PUp | Up | PDow | Home | F5 | ^ | 7(/) | 8(() | 9()) | 0(=) | Bkspc | - |-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+ - | Fn1 | Left | Down | Right | End | | # | 4($) | 5(%) | 6(&) | * | / | - |-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+ - | Shift | Mute | VUp | VDo | PP | Prev | Next | 1(!) | 2(") | 3(§) | + | Enter | - |-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+ - | ESC | RGB | LCtrl | LAlt | Lower | Space | , | 0(=) | . | -(_) | | - °-----------------------------------------------------------------------------------------------° -``` - -## Raise - -Raise is used for non-alphanumerical chars. - -``` - .-----------------------------------------------------------------------------------------------. - | ^ | ! | @ | | $ | % | & | * | ( | ) | ? | ~ | - |-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+ - | Fn1 | | | | | | | ´ | [({) | ](}) | ' | /(|) | - |-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+ - | | - | | | | | | | < | > | =(+) | # | - |-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+ - | | | | | Lower | Space | Raise | AltGr | | | | - °-----------------------------------------------------------------------------------------------° -``` - -## Fn1 - -Fn1 provides function keys, as well as Vim-style navigation on the right side for when using the keyboard with both hands. - -``` - .-----------------------------------------------------------------------------------------------. - | F12 | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | Del | - |-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+ - | Fn1 | F11 | | | | | Home | PDown | PUp | End | | | - |-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+ - | LShift| Caps | | | | | ALeft | ADown | AUp | ARight| | MRight| - |-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+ - |QC_MAKE| | | | Lower | Space | Bkspc | | | PrScr | Ins | - °-----------------------------------------------------------------------------------------------° -``` - diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/simchee/rules.mk b/keyboards/kprepublic/bm40hsrgb/keymaps/simchee/rules.mk deleted file mode 100644 index 039f07c8e3..0000000000 --- a/keyboards/kprepublic/bm40hsrgb/keymaps/simchee/rules.mk +++ /dev/null @@ -1 +0,0 @@ -UNICODE_ENABLE = yes diff --git a/keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/config.h b/keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/config.h deleted file mode 100755 index 6f98093e33..0000000000 --- a/keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/config.h +++ /dev/null @@ -1,31 +0,0 @@ -/* -Copyright 2021 bitstarr - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ -#pragma once - -#define UNICODE_SELECTED_MODES UNICODE_MODE_WINCOMPOSE, UNICODE_MODE_WINDOWS, UNICODE_MODE_LINUX, UNICODE_MODE_MACOS -#define UNICODE_CYCLE_PERSIST false - -#undef RGBLIGHT_EFFECT_BREATHING -#undef RGBLIGHT_EFFECT_RAINBOW_MOOD -#undef RGBLIGHT_EFFECT_RAINBOW_SWIRL -#undef RGBLIGHT_EFFECT_SNAKE -#undef RGBLIGHT_EFFECT_KNIGHT -#undef RGBLIGHT_EFFECT_CHRISTMAS -#undef RGBLIGHT_EFFECT_STATIC_GRADIENT -#undef RGBLIGHT_EFFECT_RGB_TEST -#undef RGBLIGHT_EFFECT_ALTERNATING -#undef RGBLIGHT_EFFECT_TWINKLE diff --git a/keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/keymap.c b/keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/keymap.c deleted file mode 100755 index 6a4ca7550d..0000000000 --- a/keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/keymap.c +++ /dev/null @@ -1,68 +0,0 @@ -/* Copyright 2021 bitstarr - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H - -#define WORD_BACK C(KC_LEFT) -#define WORD_FORWARD C(KC_RIGHT) - -enum layers { - _BASE, - _EXT, - _ADV, - _FN, - _UNI, - _UNI2 -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BASE] = LAYOUT( - KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, LT(_EXT,KC_SPC), MO(_UNI), MO(_ADV), MO(_FN), KC_RCTL - ), - [_EXT] = LAYOUT( - 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_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_TRNS, - KC_TRNS, KC_F11, KC_F12, KC_NO, KC_NO, KC_GRV, KC_SCLN, KC_QUOT, KC_LBRC, KC_RBRC, KC_BSLS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS - ), - [_ADV] = LAYOUT( - KC_GRV, WORD_BACK, KC_UP, WORD_FORWARD, KC_NO, KC_NO, KC_NO, KC_NO, KC_PGUP, KC_NO, KC_PSCR, KC_DEL, - KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_NO, KC_NO, KC_NO, KC_HOME, KC_PGDN, KC_END, KC_NO, - KC_TRNS, KC_MPRV, KC_MPLY, KC_MNXT, KC_VOLD, KC_MUTE, KC_VOLU, KC_NO, KC_NO, KC_NO, KC_INS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS - ), - [_FN] = LAYOUT( - KC_NO, KC_NO, KC_NO, KC_NO, QK_BOOT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - KC_NO, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_NO, KC_NO, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO - ), - [_UNI] = LAYOUT( - KC_NO, KC_NO, KC_NO, UC(L'€'), UC(L'§'), UC(L'°'), KC_NO, UC(L'ü'), KC_NO, UC(L'ö'), UC(L'–'), KC_NO, - KC_NO, UC(L'ä'), UC(L'ß'), KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - MO(_UNI2), UC(L'„'), UC(L'“'), UC(L'”'), KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, UC(L'…'), KC_NO, - KC_NO, KC_NO, KC_NO, KC_TRNS, KC_TRNS, KC_NO, KC_NO, KC_NO, UC_NEXT - ), - [_UNI2] = LAYOUT( - KC_NO, KC_NO, KC_NO, UC(L'é'), KC_NO, KC_NO, KC_NO, UC(L'Ü'), KC_NO, UC(L'Ö'), UC(L'—'), KC_NO, - KC_NO, UC(L'Ä'), KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - KC_NO, KC_NO, KC_NO, KC_TRNS, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO - ), -}; - diff --git a/keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/readme.md b/keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/readme.md deleted file mode 100755 index 704be0e416..0000000000 --- a/keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/readme.md +++ /dev/null @@ -1,107 +0,0 @@ -# Personal Layout of [bitstarr](https://github.com/bitstarr) - -I use an US ANSI Layout and set the OS to the US Keyboard. Since I'm german, I need to use some special characters once in a while - that's what the UNI and UNI2 Layers are for. Under Windows we have to rely on [WinCompose](https://github.com/samhocevar/wincompose) to work as intended. - - qmk compile -kb kprepublic/bm43hsrgb -km bitstarr - -## 0 Qwerty -``` -,----------------------------------------------------------------------------. -| ESC | Q | W | E | R | T | Y | U | I | O | P | Bscp | -|----------------------------------------------------------------------------+ -| Tab | A | S | D | F | G | H | J | K | L | Enter | -|----------------------------------------------------------------------------+ -| Shift | Z | X | C | V | B | N | M | , | . | / | -|----------------------------------------------------------------------------+ -| Ctrl | Win | Alt | Space | Space/EXT | UNI | ADV | FN | Ctrl | -`----------------------------------------------------------------------------' -``` - -## 1 EXT Layer -``` -EXT Layer -,----------------------------------------------------------------------------. -| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | O | - | + | -|----------------------------------------------------------------------------+ -| F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | Enter | -|----------------------------------------------------------------------------+ -| Shift | F11 | F12 | | | ` | ; | ' | [ | ] | \ | -|----------------------------------------------------------------------------+ -| Ctrl | Win | Alt | Space | | | | | Ctrl | -`----------------------------------------------------------------------------' -``` - -* Numbers -* F-Keys -* Brackets, Punctuation, Special Characters - -## 2 ADV Layer -``` -ADV Layer -,----------------------------------------------------------------------------. -| ` | W→ | ↑ | W← | | | | | ⇞ | | PS | Del | -|----------------------------------------------------------------------------+ -| Tab | ← | ↓ | → | | | | ↖ | ⇟ | ↘︎ | | -|----------------------------------------------------------------------------+ -| Shift | ⏮ | ⏯ | ⏭ | 🔉 | 🔇 | 🔊 | | | | Ins | -|----------------------------------------------------------------------------+ -| Ctrl | Win | Alt | Space | | | | | Ctrl | -`----------------------------------------------------------------------------' -``` - -* Arrows, Word skips -* Print Screen, Page Up, Page Down -* Home, End, Ins, Del -* Media - -## 3 FN Layer -``` -FN Layer -,----------------------------------------------------------------------------. -| | | | | RESET | | | | | | | | -|----------------------------------------------------------------------------+ -| | | | | | | | | | | | -|----------------------------------------------------------------------------+ -| | RGB_T | RGB_M | H+ | H- | S+ | S- | B+ | B- | | | -|----------------------------------------------------------------------------+ -| | | | | | | | | | -`----------------------------------------------------------------------------' -``` - -* RGB, Toggle, Mode, Hue, Saturation, Brightness -* Reset - -## 4 UNI Layer -``` -UNI Layer -,----------------------------------------------------------------------------. -| | | | € | § | ° | | ü | | ö | – | | -|----------------------------------------------------------------------------+ -| | ä | ß | | | | | | | | | -|----------------------------------------------------------------------------+ -| UNI2 | „ | “ | ” | | | | | | … | | -|----------------------------------------------------------------------------+ -| | | | Space | Space | | | | Mode | -`----------------------------------------------------------------------------' -``` - -* Umlauts -* Punctuation -* Special Characters -* Switching [Input Modes](https://beta.docs.qmk.fm/using-qmk/software-features/feature_unicode#2-input-modes-id-input-modes) (UNICODE_MODE_WINCOMPOSE, UNICODE_MODE_WINDOWS, UNICODE_MODE_LINUX, UNICODE_MODE_MACOS) - -## 5 UNI2 Layer -``` -UNI2 Layer -,----------------------------------------------------------------------------. -| | | | é | | | | Ü | | Ü | — | | -|----------------------------------------------------------------------------+ -| | Ä | | | | | | | | | | -|----------------------------------------------------------------------------+ -| UNI2 | | | | | | | | | | | -|----------------------------------------------------------------------------+ -| | | | Space | Space | | | | | -`----------------------------------------------------------------------------' -``` - -* Capital Umlauts \ No newline at end of file diff --git a/keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/rules.mk b/keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/rules.mk deleted file mode 100755 index e7b2d0a65e..0000000000 --- a/keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/rules.mk +++ /dev/null @@ -1 +0,0 @@ -UNICODE_ENABLE = yes \ No newline at end of file diff --git a/keyboards/kprepublic/bm60hsrgb/rev1/keymaps/jbradforddillon/keymap.c b/keyboards/kprepublic/bm60hsrgb/rev1/keymaps/jbradforddillon/keymap.c deleted file mode 100644 index da5aa92901..0000000000 --- a/keyboards/kprepublic/bm60hsrgb/rev1/keymaps/jbradforddillon/keymap.c +++ /dev/null @@ -1,41 +0,0 @@ -/* Copyright 2020 jbradforddillon - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( - KC_ESC, 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_BSPC, - 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, - KC_GRV, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, RSFT_T(KC_SLSH), KC_UP, LT(1,KC_DEL), - KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, MO(2), KC_LEFT, KC_DOWN, KC_RGHT - ), - [1] = LAYOUT( - QK_BOOT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, - _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - [2] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, KC_MUTE, - _______, _______, _______, _______, _______, _______, KC_MPRV, KC_VOLD, KC_MNXT - ) - -}; diff --git a/keyboards/kprepublic/bm60hsrgb/rev1/keymaps/jbradforddillon/readme.md b/keyboards/kprepublic/bm60hsrgb/rev1/keymaps/jbradforddillon/readme.md deleted file mode 100644 index aa2009e1e8..0000000000 --- a/keyboards/kprepublic/bm60hsrgb/rev1/keymaps/jbradforddillon/readme.md +++ /dev/null @@ -1,5 +0,0 @@ -I set this up the same way I set up my dz60 boards. -- Apple layout, -- Capslock replaced with grave/tilde, -- RShift doubles as forward slash, and -- Delete doubles as a layer shift. diff --git a/keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/carlosala/config.h b/keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/carlosala/config.h deleted file mode 100644 index 816e95d1c1..0000000000 --- a/keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/carlosala/config.h +++ /dev/null @@ -1,9 +0,0 @@ -// Copiright 2021 Carlo Sala (@carlosala) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#define FORCE_NKRO -#define TAPPING_FORCE_HOLD -#define TAPPING_TERM 150 -#define UNICODE_SELECTED_MODES UNICODE_MODE_LINUX diff --git a/keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/carlosala/keymap.c b/keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/carlosala/keymap.c deleted file mode 100644 index c58517e8b6..0000000000 --- a/keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/carlosala/keymap.c +++ /dev/null @@ -1,25 +0,0 @@ -// Copiright 2021 Carlo Sala (@carlosala) -// SPDX-License-Identifier: GPL-2.0-or-later - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_60_ansi( - 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_BSPC, - LT(2, 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, - KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, RSFT_T(KC_CAPS), - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_APP, KC_RCTL), - [1] = LAYOUT_60_ansi( - _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, - _______, RGB_MOD, RGB_SPI, RGB_HUI, RGB_SAI, RGB_VAI, _______, KC_HOME, KC_END, _______, KC_PSCR, _______, _______, _______, - _______, RGB_RMOD, RGB_SPD, RGB_HUD, RGB_SAD, RGB_VAD, _______, _______, _______, _______, _______, _______, _______, - _______, RGB_TOG, _______, KC_MUTE, KC_VOLD, KC_VOLU, KC_BRID, KC_BRIU, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______), - [2] = LAYOUT_60_ansi( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, - _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, UC(0x00B7), _______, _______, - _______, _______, _______, _______, _______, _______, _______, QK_BOOT) -}; diff --git a/keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/carlosala/rules.mk b/keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/carlosala/rules.mk deleted file mode 100644 index f5c69561fc..0000000000 --- a/keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/carlosala/rules.mk +++ /dev/null @@ -1,4 +0,0 @@ -LTO_ENABLE = yes -MOUSEKEY_ENABLE = no -NKRO_ENABLE = yes -UNICODE_ENABLE = yes diff --git a/keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/ipetepete/keymap.c b/keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/ipetepete/keymap.c deleted file mode 100644 index b9a297c10e..0000000000 --- a/keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/ipetepete/keymap.c +++ /dev/null @@ -1,145 +0,0 @@ -/* Copyright 2020 ipetepete - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H - -enum layers { -_qwerty, -_gamer, -_colemak, -_fn, -_rgb, -_spcfn -}; - - -enum keycodes { -gamer = SAFE_RANGE, -qwerty, -colemak -}; - -#define KC_SPFN LT(_spcfn, KC_SPC) // press for space, hold for function layer (aka spacefn) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_qwerty] = LAYOUT_60_ansi( - 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_BSPC, - 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, - CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPFN, KC_RALT, KC_RCTL, MO(_fn), MO(_rgb) - ), - // Gamer standard qwerty layout but with normal space for jumping etc - [_gamer] = LAYOUT_60_ansi( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, KC_SPACE, _______, _______, _______, _______ - ), - [_colemak] = LAYOUT_60_ansi( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, _______, _______, _______, - _______, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, _______, - _______, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, _______, _______, _______, _______, - _______, _______, _______, KC_SPFN, _______, _______, _______, _______ - ), - [_fn] = LAYOUT_60_ansi( - QK_GESC, 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, - _______, _______, KC_UP, _______, _______, _______, KC_CALC, _______, KC_INS, _______, KC_PSCR, KC_SCRL, KC_PAUS, QK_BOOT, - _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGUP, _______, - KC_MPLY, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, NK_TOGG, _______, _______, KC_END, KC_PGDN, KC_MNXT, - qwerty, colemak, gamer, _______, _______, _______, _______, _______ - ), - [_rgb] = LAYOUT_60_ansi( - _______, 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, - _______, RGB_TOG, _______, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, RGB_MOD, _______, _______, _______, QK_BOOT, - _______, _______, _______, _______, _______, _______, _______, _______, RGB_SPI, RGB_SPD, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______ - ), - [_spcfn] = LAYOUT_60_ansi( - _______, SGUI(1), SGUI(2), SGUI(3), SGUI(4), SGUI(5), SGUI(6), SGUI(7), SGUI(8), SGUI(9), SGUI(0), _______, _______, KC_DEL, - _______, _______, _______, KC_PGUP, _______, KC_LBRC, KC_RBRC, _______, KC_UP, _______, _______, _______, _______, _______, - KC_CAPS, _______, _______, KC_PGDN, _______, KC_LCBR, KC_RCBR, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______, _______, - _______, _______, _______, _______, _______, KC_LPRN, KC_RPRN, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______ - ) -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case qwerty: - if (record->event.pressed) { - layer_clear(); - layer_on(_qwerty); - set_single_persistent_default_layer(_qwerty); - } - return false; - break; - case colemak: - if (record->event.pressed) { - layer_clear(); - layer_on(_colemak); - } - return false; - break; - case gamer: - if (record->event.pressed) { - layer_clear(); - layer_on(_gamer); - } - return false; - break; - - } - return true; -} - -void rgb_matrix_layer_helper (uint8_t red, uint8_t green, uint8_t blue) { - for (int i = 0; i < RGB_MATRIX_LED_COUNT; i++) { - if (HAS_FLAGS(g_led_config.flags[i], LED_FLAG_MODIFIER)) { - rgb_matrix_set_color( i, red, green, blue ); - } - } -} - - -bool rgb_matrix_indicators_user(void) -{ - if (!g_suspend_state && rgb_matrix_config.enable) { - switch (get_highest_layer(layer_state)) { - //case _qwerty: - // rgb_matrix_set_color(26, 0xFF, 0x00, 0x00); - // break; - case _colemak: - rgb_matrix_set_color(55, 0xFF, 0xFF, 0xFF); - break; - case _spcfn: - rgb_matrix_set_color(22, 0xFF, 0x00, 0x00); - rgb_matrix_set_color(35, 0xFF, 0x00, 0x00); - rgb_matrix_set_color(36, 0xFF, 0x00, 0x00); - rgb_matrix_set_color(37, 0xFF, 0x00, 0x00); - break; - case _gamer: - rgb_matrix_set_color(16, 0xFF, 0x00, 0xFF); - rgb_matrix_set_color(29, 0xFF, 0x00, 0xFF); - rgb_matrix_set_color(30, 0xFF, 0x00, 0xFF); - rgb_matrix_set_color(31, 0xFF, 0x00, 0xFF); - break; - } - } - return false; -} diff --git a/keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/ipetepete/readme.md b/keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/ipetepete/readme.md deleted file mode 100644 index 7d381ff125..0000000000 --- a/keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/ipetepete/readme.md +++ /dev/null @@ -1 +0,0 @@ -# Simple 60% for coding diff --git a/keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/ipetepete/rules.mk b/keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/ipetepete/rules.mk deleted file mode 100644 index 3a025ba3a3..0000000000 --- a/keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/ipetepete/rules.mk +++ /dev/null @@ -1 +0,0 @@ -NKRO_ENABLE = yes # USB Nkey Rollover diff --git a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/config.h b/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/config.h deleted file mode 100644 index 0e06652715..0000000000 --- a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/config.h +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright 2021 deadolus 2022 p4yne - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -// place overrides here - -#pragma once -#define LSPO_KEYS KC_LSFT, KC_LSFT, KC_8 -#define RSPC_KEYS KC_RSFT, KC_LSFT, KC_9 -#define LAPO_KEYS KC_LALT, KC_RALT, KC_QUOT -#define RAPC_KEYS KC_RALT, KC_RALT, KC_NUHS - -#define LEADER_TIMEOUT 1000 -#define LEADER_PER_KEY_TIMING 250 - -// control underglow -// i.e. switch it off -//#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_STATIC_LIGHT -//#define RGBLIGHT_DEFAULT_HUE 0 -//#define RGBLIGHT_DEFAULT_SAT UINT8_MAX -//#define RGBLIGHT_DEFAULT_SAT 0 -//#define RGBLIGHT_DEFAULT_VAL RGBLIGHT_LIMIT_VAL -//#define RGBLIGHT_DEFAULT_VAL 0 -//#define RGBLIGHT_DEFAULT_SPD 0 diff --git a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/custom_keymap.h b/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/custom_keymap.h deleted file mode 100644 index 8f11e4072b..0000000000 --- a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/custom_keymap.h +++ /dev/null @@ -1,71 +0,0 @@ -/* Copyright 2019 ash0x0 2021 peepeetee, deadolus 2022 p4yne - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H - -#include "print.h" -#include -// HID has not yet been implemented for this keyboard -// #include "raw_hid.h" - -#define MILLISECONDS_IN_SECOND 1000 - -// Custom HSV values -#define C_HSV_WINERED 0, 255, 85 -#define C_HSV_DARKGOLD 36, 255, 85 -#define C_HSV_DARKBLUE 170, 255, 85 - -// Default color HSV Values (for inspiration) -// #define HSV_AZURE 132, 102, 255 -// #define HSV_BLACK 0, 0, 0 -// #define HSV_BLUE 170, 255, 255 -// #define HSV_CHARTREUSE 64, 255, 255 -// #define HSV_CORAL 11, 176, 255 -// #define HSV_CYAN 128, 255, 255 -// #define HSV_GOLD 36, 255, 255 -// #define HSV_GOLDENROD 30, 218, 218 -// #define HSV_GREEN 85, 255, 255 -// #define HSV_MAGENTA 213, 255, 255 -// #define HSV_ORANGE 28, 255, 255 -// #define HSV_PINK 234, 128, 255 -// #define HSV_PURPLE 191, 255, 255 -// #define HSV_RED 0, 255, 255 -// #define HSV_SPRINGGREEN 106, 255, 255 -// #define HSV_TEAL 128, 255, 128 -// #define HSV_TURQUOISE 123, 90, 112 -// #define HSV_WHITE 0, 0, 255 -// #define HSV_YELLOW 43, 255, 255 -// #define HSV_OFF HSV_BLACK - - -//========================================================== CONFIGURABLE DEFAULTS ========================================================== -#define RGB_DEFAULT_TIME_OUT 30 -#define RGB_FAST_MODE_TIME_OUT 3 -#define RGB_TIME_OUT_MAX 600 -#define RGB_TIME_OUT_MIN 10 -#define RGB_TIME_OUT_STEP 10 - -bool disable_layer_color; - -uint8_t dfa_state; //state for my language switching DFA - - -bool rgb_enabled_flag; // Current LED state flag. If false then LED is off. -bool rgb_time_out_enable; // Idle LED toggle enable. If false then LED will not turn off after idle timeout. -bool rgb_time_out_fast_mode_enabled; // Enable flag for RGB timeout fast mode -bool rgb_time_out_user_value; // This holds the toggle value set by user with ROUT_TG. It's necessary as RGB_TOG changes timeout enable. -uint16_t rgb_time_out_seconds; // Idle LED timeout value, in seconds not milliseconds -uint16_t rgb_time_out_saved_seconds; // The saved user config for RGB timeout period -led_flags_t rgb_time_out_saved_flag; // Store LED flag before timeout so it can be restored when LED is turned on again. diff --git a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/keymap.c b/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/keymap.c deleted file mode 100644 index 03d1ddabed..0000000000 --- a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/keymap.c +++ /dev/null @@ -1,463 +0,0 @@ -/* Copyright 2019 ashlar 2021 peepeetee, deadolus 2022 p4yne - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H -#include "custom_keymap.h" -#include "sendstring_german.h" - -#ifdef TAP_DANCE_ENABLE -enum { - TD_HOME_END, -}; - -// Tap Dance definitions -tap_dance_action_t tap_dance_actions[] = { - // tap once for home, twice for end - [TD_HOME_END] = ACTION_TAP_DANCE_DOUBLE(KC_HOME, KC_END) -}; -#endif - -// Custom layer types -enum layertypes { - LYR_SOLID, // fullsize coloring - LYR_TRANS, // used keys in layer color, lower layer shines through on unused keys - LYR_BLACK // only used key in layer color -}; - -// Defines names for use in layer keycodes and the keymap -enum layers { - _LVL0_, - _LVL1_, - _LVL2_, - _LVL3_, - _LVL4_, - _LVL5_, - _LVL6_, - _LVL7_ -}; - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐ - * │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ Backsp│Hom│ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ - * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ │PgU│ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ Ent├───┤ - * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ # │ │PgD│ - * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┼───┤ - * │Shft│ \ │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift│ ↑ │End│ - * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼───┤ - * │Ctrl│GUI │Alt │ │ Alt│Ctrl│ │ ← │ ↓ │ → │ - * └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘ - */ -#ifdef TAP_DANCE_ENABLE -/* 0: ISO qwertz, SPACECADET and TAPDANCE */ -/* [_LVL0_] = LAYOUT_65_iso_blocker( - KC_ESC, 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_BSPC, KC_DEL, - 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, TD(TD_HOME_END), - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_PGUP, - SC_LSPO, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, KC_UP, KC_PGDN, - KC_LCTL, KC_LGUI, SC_LAPO, KC_SPC, SC_RAPC, MO(_LVL1_), KC_LEFT, KC_DOWN, KC_RGHT - ), - */ -/* 0: ISO DE qwertz, SPACECADET and TAPDANCE */ - [_LVL0_] = LAYOUT_65_iso_blocker( - KC_ESC, DE_1, DE_2, DE_3, DE_4, DE_5, DE_6, DE_7, DE_8, DE_9, DE_0, DE_SS, DE_ACUT, KC_BSPC, KC_DEL, - KC_TAB, DE_Q, DE_W, DE_E, DE_R, DE_T, DE_Z, DE_U, DE_I, DE_O, DE_P, DE_UDIA, DE_PLUS, TD(TD_HOME_END), - KC_CAPS, DE_A, DE_S, DE_D, DE_F, DE_G, DE_H, DE_J, DE_K, DE_L, DE_ODIA, DE_ADIA, DE_HASH, KC_ENT, KC_PGUP, - SC_LSPO, DE_LABK, DE_Y, DE_X, DE_C, DE_V, DE_B, DE_N, DE_M, DE_COMM, DE_DOT, DE_MINS, SC_RSPC, KC_UP, KC_PGDN, - KC_LCTL, KC_LGUI, SC_LAPO, KC_SPC, SC_RAPC, MO(_LVL1_), KC_LEFT, KC_DOWN, KC_RGHT - ), -#else - /* 0: ISO qwertz, SPACECADET but no TAPDANCE */ - [_LVL0_] = LAYOUT_65_iso_blocker( - KC_ESC, 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_BSPC, KC_DEL, - 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_ENT, KC_HOME, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_PGUP, - SC_LSPO, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, KC_UP, KC_PGDN, - KC_LCTL, KC_LGUI, SC_LAPO, KC_SPC, SC_RAPC, MO(_LVL1_), KC_LEFT, KC_DOWN, KC_RGHT - ), -#endif - /* 1: Function key, multimedia control, layer switching board and LEADER */ - [_LVL1_] = LAYOUT_65_iso_blocker( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, LGUI(KC_END), - S(KC_GRV), _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, LGUI(KC_PAUSE), - QK_BOOT, TO(_LVL2_), TO(_LVL3_), TO(_LVL4_), TO(_LVL5_), TO(_LVL6_), TO(_LVL7_), _______, _______, _______, KC_BRIU, _______, KC_MUTE, TO(_LVL0_), KC_VOLU, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_BRID, _______, S(KC_MUTE), KC_MPLY, KC_VOLD, - _______, _______, _______, QK_LEAD, _______, _______, KC_MPRV, KC_MSTP, KC_MNXT - ), - /* 2: Mouse layer and virtual/multiple desktop navigation */ - [_LVL2_] = LAYOUT_65_iso_blocker( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_ACL0, KC_ACL1, KC_ACL2, _______, _______, _______, KC_PGDN, KC_PGUP, KC_PSCR, KC_WH_U, _______, _______, _______, - _______, _______, KC_BTN1, KC_BTN2, _______, _______, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, KC_WH_D, _______, _______, TO(_LVL0_), _______, - _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_END, _______, _______, _______, _______, LCA(KC_UP), LCA(KC_E), - _______, _______, _______, _______, _______, _______, LCA(KC_LEFT), LCA(KC_DOWN), LCA(KC_RGHT) - ), -#ifdef DYNAMIC_MACRO_ENABLE - /* 3: Dynamic macro, NUMPAD and settings */ - [_LVL3_] = LAYOUT_65_iso_blocker( - _______, DM_PLY1, DM_PLY2, _______, _______, _______, _______, _______, _______, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, _______, _______, - _______, DM_REC1, DM_REC2, _______, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, _______, KC_P7, KC_P8, KC_P9, KC_PMNS, _______, - _______, _______, _______, _______, RGB_RMOD, RGB_HUD, RGB_SAD, RGB_VAD, _______, KC_P4, KC_P5, KC_P6, KC_PPLS, TO(_LVL0_), _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_P1, KC_P2, KC_P3, KC_PENT, _______, _______, - _______, _______, _______, RGB_TOG, KC_0, KC_PCMM, _______, _______, _______ - ), -#else - /* 3: NUMPAD and settings */ - [_LVL3_] = LAYOUT_65_iso_blocker( - _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, _______, _______, - _______, _______, _______, _______, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, _______, KC_P7, KC_P8, KC_P9, KC_PMNS, _______, - _______, _______, _______, _______, RGB_RMOD, RGB_HUD, RGB_SAD, RGB_VAD, _______, KC_P4, KC_P5, KC_P6, KC_PPLS, TO(_LVL0_), _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_P1, KC_P2, KC_P3, KC_PENT, _______, _______, - _______, _______, _______, RGB_TOG, KC_0, KC_PCMM, _______, _______, _______ - ), -#endif - /* Gaming layer no TAPDANCE no SPACECADET simple QWERTZ layout for custom coloring */ - [_LVL4_] = LAYOUT_65_iso_blocker( - KC_ESC, 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_BSPC, KC_DEL, - 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_HOME, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_PGUP, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, TO(_LVL0_), KC_LEFT, KC_DOWN, KC_RGHT - ), - /* 5: ISO qwerty DE 2 US Base Layer */ - [_LVL5_] = LAYOUT_65_iso_blocker( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, DE_MINS, DE_EQL, KC_BSPC, KC_DEL, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, DE_Y, KC_U, KC_I, KC_O, KC_P, DE_LBRC, DE_RBRC, KC_HOME, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, DE_SCLN, DE_QUOT, DE_BSLS, KC_ENT, KC_PGUP, - MO(_LVL6_), DE_GRV, DE_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, DE_COMM, DE_DOT, DE_SLSH, MO(_LVL6_), KC_UP, KC_PGDN, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, TO(_LVL0_), KC_LEFT, KC_DOWN, KC_RGHT - ), - /* 6: ISO qwerty DE 2 US Shifted Layer */ - [_LVL6_] = LAYOUT_65_iso_blocker( - _______, DE_EXLM, DE_AT, DE_HASH, DE_DLR, DE_PERC, DE_CIRC, DE_AMPR, DE_ASTR, DE_LPRN, DE_RPRN, DE_UNDS, DE_PLUS, _______, _______, - _______, S(KC_Q), S(KC_W), S(KC_E), S(KC_R), S(KC_T), S(DE_Y), S(KC_U), S(KC_I), S(KC_O), S(KC_P), DE_LCBR, DE_RCBR, KC_END, - KC_CAPS, S(KC_A), S(KC_S), S(KC_D), S(KC_F), S(KC_G), S(KC_H), S(KC_J), S(KC_K), S(KC_L), DE_COLN, DE_DQUO, DE_PIPE, _______, _______, - KC_LSFT, DE_TILD, S(DE_Z), S(KC_X), S(KC_C), S(KC_V), S(KC_B), S(KC_N), S(KC_M), DE_LABK, DE_RABK, DE_QUES, KC_RSFT, _______, _______, - _______, _______, _______, _______, _______, TO(_LVL0_), _______, _______, _______ - ), -/* Led Type Lighting Layer functionally equivalent to _LVL0_ / layer 0 */ -#ifdef TAP_DANCE_ENABLE - /* 7: ISO DE qwertz, SPACECADET and TAPDANCE */ - [_LVL7_] = LAYOUT_65_iso_blocker( - KC_ESC, DE_1, DE_2, DE_3, DE_4, DE_5, DE_6, DE_7, DE_8, DE_9, DE_0, DE_SS, DE_ACUT, KC_BSPC, KC_DEL, - KC_TAB, DE_Q, DE_W, DE_E, DE_R, DE_T, DE_Z, DE_U, DE_I, DE_O, DE_P, DE_UDIA, DE_PLUS, TD(TD_HOME_END), - KC_CAPS, DE_A, DE_S, DE_D, DE_F, DE_G, DE_H, DE_J, DE_K, DE_L, DE_ODIA, DE_ADIA, DE_HASH, KC_ENT, KC_PGUP, - SC_LSPO, DE_LABK, DE_Y, DE_X, DE_C, DE_V, DE_B, DE_N, DE_M, DE_COMM, DE_DOT, DE_MINS, SC_RSPC, KC_UP, KC_PGDN, - KC_LCTL, KC_LGUI, SC_LAPO, KC_SPC, SC_RAPC, TO(_LVL0_), KC_LEFT, KC_DOWN, KC_RGHT - ), -#else - /* 7: ISO qwertz, SPACECADET but no TAPDANCE */ - [_LVL7_] = LAYOUT_65_iso_blocker( - KC_ESC, 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_BSPC, KC_DEL, - 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_HOME, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_PGUP, - SC_LSPO, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, KC_UP, KC_PGDN, - KC_LCTL, KC_LGUI, SC_LAPO, KC_SPC, SC_RAPC, TO(_LVL0_), KC_LEFT, KC_DOWN, KC_RGHT - ), -#endif - - - /*template - [_UL] = LAYOUT_65_iso_blocker( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, TO(0), _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______ - ) - */ -}; - - -// layer color and type -const uint8_t PROGMEM ledmap[][4] = { - // LEDs off on Layer 0 - //[_LVL0_] = {{0, 0, 0}, LYR_SOLID}, - [_LVL0_] = {C_HSV_WINERED, LYR_SOLID}, - [_LVL1_] = {HSV_RED, LYR_TRANS}, - [_LVL2_] = {HSV_MAGENTA, LYR_BLACK}, - [_LVL3_] = {HSV_PURPLE, LYR_BLACK}, - [_LVL4_] = {C_HSV_DARKGOLD, LYR_SOLID}, - [_LVL5_] = {C_HSV_DARKBLUE, LYR_SOLID}, - [_LVL6_] = {HSV_BLUE, LYR_TRANS}, - [_LVL7_] = {C_HSV_WINERED, LYR_SOLID} -}; - - -void keyboard_post_init_user(void) { - // Call the post init code. -#ifdef CONSOLE_ENABLE - debug_enable=true; - debug_matrix=true; -#endif - //rgb_matrix_set_flags(LED_FLAG_UNDERGLOW); - //rgb_matrix_set_flags(LED_FLAG_NONE); - rgb_matrix_set_flags(LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER | LED_FLAG_INDICATOR); - //rgb_matrix_mode(RGB_MATRIX_SOLID_COLOR); - //rgb_matrix_sethsv(HSV_OFF); - //rgb_matrix_mode_noeeprom(RGB_MATRIX_SOLID_COLOR); - //rgb_matrix_sethsv_noeeprom(HSV_OFF); - //rgb_matrix_set_color_all(RGB_BLACK); - rgb_matrix_enable(); -} - - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { -#ifdef CONSOLE_ENABLE - // useful for getting matrix right - uprintf("KL: kc: 0x%04X, col: %u, row: %u, pressed: %u, time: %u, interrupt: %u, count: %u\n", keycode, record->event.key.col, record->event.key.row, record->event.pressed, record->event.time, record->tap.interrupted, record->tap.count); -#endif - - switch (keycode) { - case RGB_TOG: - if (record->event.pressed) { - switch (rgb_matrix_get_flags()) { - case LED_FLAG_ALL: { - rgb_matrix_set_flags(LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER | LED_FLAG_INDICATOR); - rgb_matrix_set_color_all(RGB_BLACK); - } - break; - case (LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER | LED_FLAG_INDICATOR): { - rgb_matrix_set_flags(LED_FLAG_UNDERGLOW); - rgb_matrix_set_color_all(RGB_BLACK); - } - break; - case LED_FLAG_UNDERGLOW: { - rgb_matrix_set_flags(LED_FLAG_NONE); - rgb_matrix_disable_noeeprom(); - } - break; - default: { - rgb_matrix_set_flags(LED_FLAG_ALL); - rgb_matrix_enable_noeeprom(); - } - break; - } - } - return false; - default: - return true; // Process all other keycodes normally - } -} - - -void set_led_color_by_hsv(int ledkey, uint8_t h_in, uint8_t s_in, uint8_t v_in){ - HSV hsv = { .h = h_in, .s = s_in, .v = v_in}; - RGB rgb = hsv_to_rgb(hsv); - float f = (float)rgb_matrix_config.hsv.v / UINT8_MAX; - rgb_matrix_set_color(ledkey, f * rgb.r, f * rgb.g, f * rgb.b); -} - -void set_led_color_by_layer(int layer, int ledkey){ - set_led_color_by_hsv(ledkey, pgm_read_byte(&ledmap[layer][0]), - pgm_read_byte(&ledmap[layer][1]), - pgm_read_byte(&ledmap[layer][2])); -} - -void set_ledkey_by_layer_type(int layer, int ledkey, uint16_t key){ - if (rgb_matrix_get_flags() != LED_FLAG_ALL){ - if ( key == KC_TRNS ) { - if ((pgm_read_byte(&ledmap[layer][3]) == LYR_TRANS) && (layer > 0)){ - // this key is transparent and the layer below does something - // - light it up in (lower) layer-1 specific color - set_led_color_by_layer(layer-1, ledkey); - } - if (pgm_read_byte(&ledmap[layer][3]) == LYR_BLACK){ - // this key is transparent but the lower layer is not intended - // to be used, it still works but not intended; type BLACK - set_led_color_by_hsv(ledkey, HSV_BLACK); - } - } else { - // this key does something - light it up in layer specific color - // regular key and SOLID or BLACK as layer type - set_led_color_by_layer(layer, ledkey); - } - } -} - -void set_caps_lock(int layer) { - int caps_lock_led = 30; - led_t host_leds = host_keyboard_led_state(); - if (host_leds.caps_lock) { - set_led_color_by_hsv(caps_lock_led, HSV_WHITE); - } else { - // if capslock is not pressed don't clear it, - // it might be used for displaying led pattern - if((rgb_matrix_get_flags() != LED_FLAG_ALL)) { - // or to keep the correct lighting on for the layer that use all keys - // on all other layers turn the led off, so only switch it of when - // layer is BLACK - if(pgm_read_byte(&ledmap[layer][3]) == LYR_BLACK){ - set_led_color_by_hsv(caps_lock_led, HSV_BLACK); - } - } - } -} - -void set_layer_color(int layer) { - // key specific lighting - int ledkey=0; - for (int keyindex=0; keyindex. - */ - -// place overrides here - -#pragma once -#define LSPO_KEYS KC_LSFT, KC_LSFT, KC_8 -#define RSPC_KEYS KC_RSFT, KC_LSFT, KC_9 -#define LAPO_KEYS KC_LALT, KC_RALT, KC_QUOT -#define RAPC_KEYS KC_RALT, KC_RALT, KC_NUHS - -#define LEADER_TIMEOUT 1000 -#define LEADER_PER_KEY_TIMING 250 - diff --git a/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/keymap.c b/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/keymap.c deleted file mode 100644 index 11f8103297..0000000000 --- a/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/keymap.c +++ /dev/null @@ -1,273 +0,0 @@ -/* Copyright 2019 ashlar 2021 peepeetee, deadolus - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H -#include "keymap.h" - -#ifdef TAP_DANCE_ENABLE -enum { - TD_HOME_END, -}; - -// Tap Dance definitions -tap_dance_action_t tap_dance_actions[] = { - //tap once for home, twice for end - [TD_HOME_END] = ACTION_TAP_DANCE_DOUBLE(KC_HOME, KC_END) -}; -#endif - - -// // Defines names for use in layer keycodes and the keymap -enum layers { - _BL, - _RED_, - _GREEN_, - _BLUE_, - _CYAN_, - _MAGENTA_, - _YELLOW_ -}; - - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ ├───┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┼───┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤ - * │ │ │ │ │ │ │ │ │ │ │ - * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘ - */ -#ifdef TAP_DANCE_ENABLE - /* 0: ISO qwerty */ - [_BL] = LAYOUT_65_iso_blocker( - KC_CAPS, 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_BSPC, KC_DEL, - 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, TD(TD_HOME_END), - KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_PGUP, - SC_LSPO, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, KC_UP, KC_PGDN, - KC_LCTL, KC_LGUI, SC_LAPO, KC_SPC, SC_RAPC, MO(_RED_), KC_LEFT, KC_DOWN, KC_RGHT - - ), -#else - [_BL] = LAYOUT_65_iso_blocker( - KC_CAPS, 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_BSPC, KC_DEL, - 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_HOME, - KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_PGUP, - SC_LSPO, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, KC_UP, KC_PGDN, - KC_LCTL, KC_LGUI, SC_LAPO, KC_SPC, SC_RAPC, MO(_RED_), KC_LEFT, KC_DOWN, KC_RGHT - - ), -#endif - - [_RED_] = LAYOUT_65_iso_blocker( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, LGUI(KC_END), - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, LGUI(KC_PAUSE), - _______, TO(_GREEN_), TO(_BLUE_), TO(_CYAN_), TO(_MAGENTA_), TO(_YELLOW_), _______, _______, _______, _______, _______, _______, _______, TO(0), _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, _______, - QK_BOOT, _______, _______, QK_LEAD, _______, _______, KC_MPLY, KC_VOLD, KC_MUTE - ), - - - [_GREEN_] = LAYOUT_65_iso_blocker( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, KC_PGDN, KC_PGUP, KC_PSCR, _______, _______, _______, _______, - _______, KC_ACL0, KC_ACL1, KC_ACL2, _______, _______, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, KC_BTN1, KC_BTN2, _______, TO(0), _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_END, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - - - [_BLUE_] = LAYOUT_65_iso_blocker( - _______, DM_PLY1, DM_PLY2, _______, _______, _______, _______, _______, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, _______, _______, _______, - _______, DM_REC1, DM_REC2, _______, _______, _______, _______, _______, _______, KC_P7, KC_P8, KC_P9, KC_PMNS, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_P4, KC_P5, KC_P6, KC_PPLS, TO(0), _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_P1, KC_P2, KC_P3, KC_PENT, _______, _______, - _______, _______, _______, _______, KC_0, KC_PCMM, _______, _______, _______ - ), - [_CYAN_] = LAYOUT_65_iso_blocker( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, TO(0), _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - [_MAGENTA_] = LAYOUT_65_iso_blocker( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, TO(0), _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - [_YELLOW_] = LAYOUT_65_iso_blocker( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, TO(0), _______, - _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - - /*template - [_UL] = LAYOUT_65_iso_blocker( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, TO(0), _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______ - ) - */ -}; - -#ifdef _______ -#undef _______ -#define _______ {0, 0, 0} - -const uint8_t PROGMEM ledmap[][3] = { - [_BL] = _______, - [_RED_] = RED, - [_GREEN_] = GREEN, - [_BLUE_] = BLUE, - [_CYAN_] = CYAN, - [_MAGENTA_] = MAGENTA, - [_YELLOW_] = YELLOW -}; - -#undef _______ -#define _______ KC_TRNS -#endif - - - -void keyboard_post_init_user(void) { - // Call the post init code. -#ifdef CONSOLE_ENABLE - debug_enable=true; - debug_matrix=true; -#endif - rgb_matrix_set_flags(LED_FLAG_UNDERGLOW); -} - - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { -#ifdef CONSOLE_ENABLE - //useful for getting matrix right - uprintf("KL: kc: 0x%04X, col: %u, row: %u, pressed: %b, time: %u, interrupt: %b, count: %u\n", keycode, record->event.key.col, record->event.key.row, record->event.pressed, record->event.time, record->tap.interrupted, record->tap.count); -#endif - - switch (keycode) { - case RGB_TOG: - if (record->event.pressed) { - switch (rgb_matrix_get_flags()) { - case LED_FLAG_ALL: { - rgb_matrix_set_flags(LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER | LED_FLAG_INDICATOR); - rgb_matrix_set_color_all(0, 0, 0); - } - break; - case (LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER | LED_FLAG_INDICATOR): { - rgb_matrix_set_flags(LED_FLAG_UNDERGLOW); - rgb_matrix_set_color_all(0, 0, 0); - } - break; - case LED_FLAG_UNDERGLOW: { - rgb_matrix_set_flags(LED_FLAG_NONE); - rgb_matrix_disable_noeeprom(); - } - break; - default: { - rgb_matrix_set_flags(LED_FLAG_ALL); - rgb_matrix_enable_noeeprom(); - } - break; - } - } - return false; - default: - return true; // Process all other keycodes normally - } -} - -void setCapsLock(void) { - led_t host_leds = host_keyboard_led_state(); - if (host_leds.caps_lock) { - rgb_matrix_set_color(30, 0xFF, 0xFF, 0xFF); - - } else { - //if capslock is not pressed don't clear it, it might be used for displaying led pattern - if((rgb_matrix_get_flags() != LED_FLAG_ALL)) { - rgb_matrix_set_color(30, 0x0, 0x0, 0x0); - } - } -} - -void set_layer_color(int layer) { - int ledkey=0; - for(int i=0; i. - */ -#include QMK_KEYBOARD_H - -#include "print.h" -#include -// HID has not yet been implemented for this keyboard -// #include "raw_hid.h" - -#define MILLISECONDS_IN_SECOND 1000 - -// These are just to make it neater to use builtin HSV values in the keymap -#define RED {HSV_RED} -#define CORAL {HSV_CORAL} -#define ORANGE {HSV_ORANGE} -#define GOLDEN {HSV_GOLDENROD} -#define GOLD {HSV_GOLD} -#define YELLOW {HSV_YELLOW} -#define CHART {HSV_CHARTREUSE} -#define GREEN {HSV_GREEN} -#define SPRING {HSV_SPRINGGREEN} -#define TURQ {HSV_TURQUOISE} -#define TEAL {HSV_TEAL} -#define CYAN {HSV_CYAN} -#define AZURE {HSV_AZURE} -#define BLUE {HSV_BLUE} -#define PURPLE {HSV_PURPLE} -#define MAGENTA {HSV_MAGENTA} -#define PINK {HSV_PINK} - -//========================================================== CONFIGURABLE DEFAULTS ========================================================== -#define RGB_DEFAULT_TIME_OUT 30 -#define RGB_FAST_MODE_TIME_OUT 3 -#define RGB_TIME_OUT_MAX 600 -#define RGB_TIME_OUT_MIN 10 -#define RGB_TIME_OUT_STEP 10 - -extern bool g_suspend_state; -bool disable_layer_color; - -uint8_t dfa_state; //state for my language switching DFA - - -bool rgb_enabled_flag; // Current LED state flag. If false then LED is off. -bool rgb_time_out_enable; // Idle LED toggle enable. If false then LED will not turn off after idle timeout. -bool rgb_time_out_fast_mode_enabled; // Enable flag for RGB timeout fast mode -bool rgb_time_out_user_value; // This holds the toggle value set by user with ROUT_TG. It's necessary as RGB_TOG changes timeout enable. -uint16_t rgb_time_out_seconds; // Idle LED timeout value, in seconds not milliseconds -uint16_t rgb_time_out_saved_seconds; // The saved user config for RGB timeout period -led_flags_t rgb_time_out_saved_flag; // Store LED flag before timeout so it can be restored when LED is turned on again. diff --git a/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/readme.md b/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/readme.md deleted file mode 100644 index 095550b01a..0000000000 --- a/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/readme.md +++ /dev/null @@ -1,20 +0,0 @@ -# Deadolus' keymap for the bm65iso - -* Six layers (even though three are mostly empty) -* Different color for each layer (r,g,b,c,m,y) -* **Keys with something else defined than KC_TRNS are lit up in the layer color, so you easily can see which keys have some function defined** -* Caps-Lock lights up when active and on layer 0 -* Some leader shortcuts defined - nothing useful yet -* Some space cadet keys defined for easier insertion of () and {} -* Bootmagic lite enabled via default settings so you can plug in the keyboard while holding esc to land in bootloader mode -* Manages all this and still fits in to the program memory - -Make example for this keyboard (after setting up your build environment): - - make kprepublic/bm65hsrgb_iso:deadolus - -Flashing example for this keyboard: - - make kprepublic/bm65hsrgb_iso:deadolus:flash - -Keyboard Maintainer: **[deadolus](https://github.com/deadolus)** diff --git a/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/rules.mk b/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/rules.mk deleted file mode 100644 index c8354ea256..0000000000 --- a/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/rules.mk +++ /dev/null @@ -1,4 +0,0 @@ -DYNAMIC_MACRO_ENABLE = yes -TAP_DANCE_ENABLE = yes -LEADER_ENABLE = yes -#CONSOLE_ENABLE=yes diff --git a/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/config.h b/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/config.h deleted file mode 100644 index 854b36d862..0000000000 --- a/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/config.h +++ /dev/null @@ -1,117 +0,0 @@ -/* Copyright 2021 peepeetee - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#pragma once - - -// #define MODS_SHIFT (get_mods() & MOD_MASK_SHIFT) -// #define MODS_CTRL (get_mods() & MOD_MASK_CTRL) -// #define MODS_ALT (get_mods() & MOD_MASK_ALT) - -// #define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT) // Key combination that allows the use of magic commands (useful for debugging) - -// #define NO_DEBUG // Disable debugging -// #define NO_PRINT // Disable printing/debugging using hid_listen -// #define NO_ACTION_LAYER // Disable layers -// #define NO_ACTION_TAPPING // Disable tap dance and other tapping features -// #define NO_ACTION_ONESHOT // Disable one-shot modifiers -// #define NO_ACTION_MACRO // Disable old style macro handling: MACRO() & action_get_macro -// #define TERMINAL_HELP -// #define MOUSEKEY_INTERVAL 20 -// #define MOUSEKEY_DELAY 0 -// #define MOUSEKEY_TIME_TO_MAX 60 -// #define MOUSEKEY_MAX_SPEED 10 -// #define MOUSEKEY_WHEEL_DELAY 0 -#define FORCE_NKRO // NKRO by default requires to be turned on, this forces it on during keyboard startup regardless of EEPROM setting. NKRO can still be turned off but will be turned on again if the keyboard reboots. -// #define STRICT_LAYER_RELEASE // Force a key release to be evaluated using the current layer stack instead of remembering which layer it came from (used for advanced cases) -// #define LOCKING_SUPPORT_ENABLE // Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap -// #define LOCKING_RESYNC_ENABLE // Tries to keep switch state consistent with keyboard LED state - #define TAPPING_TERM 200 // How long before a tap becomes a hold, if set above 500, a key tapped during the tapping term will turn it into a hold too -// #define TAPPING_TERM_PER_KEY // Enables handling for per key TAPPING_TERM settings -// #define RETRO_TAPPING // Tap anyway, even after TAPPING_TERM, if there was no other key interruption between press and release -// #define TAPPING_TOGGLE 2 // How many taps before triggering the toggle -// #define PERMISSIVE_HOLD // Makes tap and hold keys trigger the hold if another key is pressed before releasing, even if it hasn't hit the TAPPING_TERM. See Permissive Hold for details -// #define QUICK_TAP_TERM 0 // Makes it possible to use a dual role key as modifier shortly after having been tapped. See Hold after tap. Breaks any Tap Toggle functionality (TT or the One Shot Tap Toggle) -// #define LEADER_TIMEOUT 300 // How long before the leader key times out. If you're having issues finishing the sequence before it times out, you may need to increase the timeout setting. Or you may want to enable the LEADER_PER_KEY_TIMING option, which resets the timeout after each key is tapped. -// #define LEADER_PER_KEY_TIMING // Sets the timer for leader key chords to run on each key press rather than overall -// #define LEADER_KEY_STRICT_KEY_PROCESSING // Disables keycode filtering for Mod-Tap and Layer-Tap keycodes. Eg, if you enable this, you would need to specify MT(MOD_CTL, KC_A) if you want to use KC_A. -// #define ONESHOT_TIMEOUT 300 // How long before oneshot times out -// #define ONESHOT_TAP_TOGGLE 2 // How many taps before oneshot toggle is triggered -// #define COMBO_TERM 200 // How long for the Combo keys to be detected. Defaults to TAPPING_TERM if not defined. -// #define TAP_CODE_DELAY 100 // Sets the delay between register_code and unregister_code, if you're having issues with it registering properly (common on VUSB boards). The value is in milliseconds. -// #define TAP_HOLD_CAPS_DELAY 80 // Sets the delay for Tap Hold keys (LT, MT) when using KC_CAPS_LOCK keycode, as this has some special handling on MacOS. The value is in milliseconds, and defaults to 80 ms if not defined. For macOS, you may want to set this to 200 or higher. - -#define RGB_MATRIX_FRAMEBUFFER_EFFECTS -#define RGB_MATRIX_KEYPRESSES // reacts to keypresses -// #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) -#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_ALPHAS_MODS // Sets the default mode, if none has been set -// #define RGBLIGHT_HUE_STEP 12 // Units to step when in/decreasing hue -// #define RGBLIGHT_SAT_STEP 25 // Units to step when in/decreasing saturation -// #define RGBLIGHT_VAL_STEP 12 // Units to step when in/decreasing value (brightness) -// #define RGB_MATRIX_SLEEP // turn off effects when suspended -// #define RGB_MATRIX_LED_PROCESS_LIMIT (RGB_MATRIX_LED_COUNT + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) -// #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) - -// #define RGBLIGHT_EFFECT_BREATHE_CENTER // If defined, used to calculate the curve for the breathing animation. Valid values are 1.0 to 2.7 -// #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // The maximum brightness for the breathing mode. Valid values are 1 to 255 -// #define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 1000 // How long to wait between light changes for the "Christmas" animation, in milliseconds -// #define RGBLIGHT_EFFECT_CHRISTMAS_STEP 2 // The number of LEDs to group the red/green colors by for the "Christmas" animation -// #define RGBLIGHT_EFFECT_KNIGHT_LED_NUM RGBLED_NUM // The number of LEDs to have the "Knight" animation travel -// #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 3 // The number of LEDs to light up for the "Knight" animation -// #define RGBLIGHT_EFFECT_KNIGHT_OFFSET 0 // The number of LEDs to start the "Knight" animation from the start of the strip by -// #define RGBLIGHT_RAINBOW_SWIRL_RANGE 255 // Range adjustment for the rainbow swirl effect to get different swirls -// #define RGBLIGHT_EFFECT_SNAKE_LENGTH 4 // The number of LEDs to light up for the "Snake" animation - -// This list in in the correct mode order. Next mode is the following line, previous mode is previous line. Loops around. -// #undef ENABLE_RGB_MATRIX_SOLID_COLOR // Static single hue, no speed support -// #undef ENABLE_RGB_MATRIX_ALPHAS_MODS // Static dual hue, speed is hue for secondary hue -#undef ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN // Static gradient top to bottom, speed controls how much gradient changes -#undef ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT // Static gradient top to bottom, speed controls how much gradient changes -#undef ENABLE_RGB_MATRIX_BREATHING // Single hue brightness cycling animation -#undef ENABLE_RGB_MATRIX_BAND_SAT // Single hue band fading saturation scrolling left to right -#undef ENABLE_RGB_MATRIX_BAND_VAL // Single hue band fading brightness scrolling left to right -#undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT // Single hue 3 blade spinning pinwheel fades saturation -#undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL // Single hue 3 blade spinning pinwheel fades brightness -#undef ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT // Single hue spinning spiral fades saturation -#undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL // Single hue spinning spiral fades brightness -#undef ENABLE_RGB_MATRIX_CYCLE_ALL // Full keyboard solid hue cycling through full gradient -//#undef ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT // Full gradient scrolling left to right -#undef ENABLE_RGB_MATRIX_CYCLE_UP_DOWN // Full gradient scrolling top to bottom -#undef ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON // Full gradent Chevron shapped scrolling left to right -#undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN // Full gradient scrolling out to in -#undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL // Full dual gradients scrolling out to in -#undef ENABLE_RGB_MATRIX_CYCLE_PINWHEEL // Full gradient spinning pinwheel around center of keyboard -#undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard -#undef ENABLE_RGB_MATRIX_DUAL_BEACON // Full gradient spinning around center of keyboard -#undef ENABLE_RGB_MATRIX_RAINBOW_BEACON // Full tighter gradient spinning around center of keyboard -#undef ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS // Full dual gradients spinning two halfs of keyboard -#undef ENABLE_RGB_MATRIX_RAINDROPS // Randomly changes a single key's hue -#undef ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS // Randomly changes a single key's hue and saturation -// =================================================== Requires RGB_MATRIX_FRAMEBUFFER_EFFECTS ============================================================= -// #undef ENABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM! -#undef ENABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation - // =================================================== RGB_MATRIX_KEYPRESSES OR RGB_MATRIX_KEYRELEASES ===================================================== -#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE // Pulses keys hit to hue & value then fades value out -#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE // Static single hue, pulses keys hit to shifted hue then fades to current hue -#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE // Hue & value pulse near a single key hit then fades value out -#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE // Hue & value pulse near multiple key hits then fades value out -#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS // Hue & value pulse the same column and row of a single key hit then fades value out -#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS // Hue & value pulse the same column and row of multiple key hits then fades value out -#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS // Hue & value pulse away on the same column and row of a single key hit then fades value out -#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS // Hue & value pulse away on the same column and row of multiple key hits then fades value out -#undef ENABLE_RGB_MATRIX_SPLASH // Full gradient & value pulse away from a single key hit then fades value out -#undef ENABLE_RGB_MATRIX_MULTISPLASH // Full gradient & value pulse away from multiple key hits then fades value out -#undef ENABLE_RGB_MATRIX_SOLID_SPLASH // Hue & value pulse away from a single key hit then fades value out -#undef ENABLE_RGB_MATRIX_SOLID_MULTISPLASH // Hue & value pulse away from multiple key hits then fades value out diff --git a/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/keymap.c b/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/keymap.c deleted file mode 100644 index fdfe740688..0000000000 --- a/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/keymap.c +++ /dev/null @@ -1,304 +0,0 @@ -/* Copyright 2019 ash0x0 2021 peepeetee - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H -#include "keymap.h" -// // Defines names for use in layer keycodes and the keymap -// enum layer_names { -// _BASE, -// _FN -// }; - - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_65_ansi( - KC_ESC, 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_BSPC, KC_HOME, - 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, KC_PGUP, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, - KC_LCTL, KC_LGUI,LT(1, KC_LALT), KC_SPC, KC_RALT, MO(1),KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - [1] = LAYOUT_65_ansi( - KC_GRAVE, 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_DELETE, - RGB_MOD, RGB_HUI, RGB_VAI, RGB_SAI, RGB_SPI, _______, KC_KP_7, KC_KP_8, KC_KP_9, _______, _______, _______, _______, _______, KC_PGUP, - RGB_TOG, RGB_HUD, RGB_VAD, RGB_SAD, RGB_SPD, _______, KC_KP_4, KC_KP_5, KC_KP_6, _______, _______, _______, _______, KC_PGDN, - BL_TOGG, _______, _______, _______, _______, QK_BOOT, KC_KP_1, KC_KP_2, KC_KP_3, _______, _______, _______, KC_AUDIO_VOL_UP, KC_END, - _______, _______, _______, _______, _______, _______, _______, KC_BRIGHTNESS_DOWN, KC_AUDIO_VOL_DOWN, KC_BRIGHTNESS_UP - ), - -}; - -/* -Templete - [ ] = LAYOUT_65_ansi( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), -*/ - -#ifdef _______ -#undef _______ -#define _______ {0, 0, 0} - -const uint8_t PROGMEM ledmap[][RGB_MATRIX_LED_COUNT][3] = { - [1] = { - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - GREEN, BLUE, {0, 0, 255}, PURPLE, AZURE, _______, {0, 0, 255}, {0, 0, 255}, {0, 0, 255}, _______, _______, _______, _______, _______, _______, - RED, BLUE, {0, 0, 1}, PURPLE, AZURE, _______, {0, 0, 255}, {0, 0, 255}, {0, 0, 255}, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, RED, {0, 0, 255}, {0, 0, 255}, {0, 0, 255}, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - } - -}; - -#undef _______ -#define _______ KC_TRNS -#endif - - - -void keyboard_post_init_user(void) { - // Call the post init code. - dfa_state = 0; // ENGLISH -} - - - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case KC_DELETE: - if (record->event.pressed) { - dfa_state = 0; - } else { - // Do something else when release - } - return false; // Skip all further processing of this key - case KC_SPC: - if (record->event.pressed) { - if ((get_mods() & MOD_BIT(KC_LGUI)) == MOD_BIT(KC_LGUI)){ - if(dfa_state == 3){ - dfa_state = 0; - } else { - dfa_state = dfa_state + 1; - } - } - } else { - // Do something else when release - } - return true; // Continue execution - - - case KC_HOME: - if (record->event.pressed) { - switch(dfa_state){ - case 0 :{ - return false; - } - case 1 :{ - tap_code16(G(KC_SPC)); - wait_ms(100); - tap_code16(G(KC_SPC)); - wait_ms(100); - tap_code16(G(KC_SPC)); - dfa_state = 0; - return false; - } - case 2 :{ - tap_code16(G(KC_SPC)); - wait_ms(100); - tap_code16(G(KC_SPC)); - dfa_state = 0; - return false; - } - case 3 :{ - tap_code16(G(KC_SPC)); - dfa_state = 0; - return false; - } - } - - // Do something when pressed - } else { - // Do something else when release - } - return false; // Skip all further processing of this key - // case KC_PGUP: - // if (record->event.pressed) { - // switch(dfa_state){ - // case 0 :{ - // tap_code16(G(KC_SPC)); - // dfa_state = 1; - // return false; - // } - // case 1 :{ - // return false; - // } - // case 2 :{ - // tap_code16(G(KC_SPC)); - // wait_ms(100); - // tap_code16(G(KC_SPC)); - // wait_ms(100); - // tap_code16(G(KC_SPC)); - // dfa_state = 1; - // return false; - // } - // case 3 :{ - // tap_code16(G(KC_SPC)); - // wait_ms(100); - // tap_code16(G(KC_SPC)); - // dfa_state = 1; - // return false; - // } - // } - // // Do something when pressed - // } else { - // // Do something else when release - // } - // return false; // Skip all further processing of this key - // case KC_PGDN: - // if (record->event.pressed) { - // switch(dfa_state){ - // case 0 :{ - // tap_code16(G(KC_SPC)); - // wait_ms(100); - // tap_code16(G(KC_SPC)); - // dfa_state = 2; - // return false; - // } - // case 1 :{ - // tap_code16(G(KC_SPC)); - // dfa_state = 2; - // return false; - // } - // case 2 :{ - // return false; - // } - // case 3 :{ - // tap_code16(G(KC_SPC)); - // wait_ms(100); - // tap_code16(G(KC_SPC)); - // wait_ms(100); - // tap_code16(G(KC_SPC)); - // dfa_state = 2; - // return false; - // } - // } - // // Do something when pressed - // } else { - // // Do something else when release - // } - // return false; // Skip all further processing of this key - // case KC_END: - // if (record->event.pressed) { - // switch(dfa_state){ - // case 0 :{ - // tap_code16(G(KC_SPC)); - // wait_ms(100); - // tap_code16(G(KC_SPC)); - // wait_ms(100); - // tap_code16(G(KC_SPC)); - // dfa_state = 3; - // return false; - // } - // case 1 :{ - // tap_code16(G(KC_SPC)); - // wait_ms(100); - // tap_code16(G(KC_SPC)); - // dfa_state = 3; - // return false; - // } - // case 2 :{ - // tap_code16(G(KC_SPC)); - // dfa_state = 3; - // return false; - // } - // case 3 :{ - // return false; - // } - // } - // // Do something when pressed - // } else { - // // Do something else when release - // } - // return false; // Skip all further processing of this key - case RGB_TOG: - if (record->event.pressed) { - switch (rgb_matrix_get_flags()) { - case LED_FLAG_ALL: { - rgb_matrix_set_flags(LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER | LED_FLAG_INDICATOR); - rgb_matrix_set_color_all(0, 0, 0); - } - break; - case (LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER | LED_FLAG_INDICATOR): { - rgb_matrix_set_flags(LED_FLAG_UNDERGLOW); - rgb_matrix_set_color_all(0, 0, 0); - } - break; - case LED_FLAG_UNDERGLOW: { - rgb_matrix_set_flags(LED_FLAG_NONE); - rgb_matrix_disable_noeeprom(); - } - break; - default: { - rgb_matrix_set_flags(LED_FLAG_ALL); - rgb_matrix_enable_noeeprom(); - } - break; - } - } - return false; - default: - return true; // Process all other keycodes normally - } -} - -void set_layer_color(int layer) { - if (layer == 0) { return; } - for (int i = 0; i < RGB_MATRIX_LED_COUNT; i++) { - HSV hsv = { - .h = pgm_read_byte(&ledmap[layer][i][0]), - .s = pgm_read_byte(&ledmap[layer][i][1]), - .v = pgm_read_byte(&ledmap[layer][i][2]), - }; - if (hsv.h || hsv.s || hsv.v) { - RGB rgb = hsv_to_rgb(hsv); - float f = (float)rgb_matrix_config.hsv.v / UINT8_MAX; - rgb_matrix_set_color(i, f * rgb.r, f * rgb.g, f * rgb.b); - } else if (layer != 1) { - // Only deactivate non-defined key LEDs at layers other than FN. Because at FN we have RGB adjustments and need to see them live. - // If the values are all false then it's a transparent key and deactivate LED at this layer - rgb_matrix_set_color(i, 0, 0, 0); - } - } -} - -bool rgb_matrix_indicators_user(void) { - - led_t host_leds = host_keyboard_led_state(); - if (host_leds.caps_lock) { - //rgb_matrix_set_color(30, 0xFF, 0xFF, 0xFF); - rgb_matrix_set_color(30, 0x0, 0x0, 0x0); - - } else { - //rgb_matrix_set_color(30, 0x0, 0x0, 0x0); - } - set_layer_color(get_highest_layer(layer_state)); - - return false; -} diff --git a/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/keymap.h b/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/keymap.h deleted file mode 100644 index e8d0170d4d..0000000000 --- a/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/keymap.h +++ /dev/null @@ -1,63 +0,0 @@ -/* Copyright 2019 ash0x0 2021 peepeetee - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H - -#include "print.h" -#include -// HID has not yet been implemented for this keyboard -// #include "raw_hid.h" - -#define MILLISECONDS_IN_SECOND 1000 - -// These are just to make it neater to use builtin HSV values in the keymap -#define RED {HSV_RED} -#define CORAL {HSV_CORAL} -#define ORANGE {HSV_ORANGE} -#define GOLDEN {HSV_GOLDENROD} -#define GOLD {HSV_GOLD} -#define YELLOW {HSV_YELLOW} -#define CHART {HSV_CHARTREUSE} -#define GREEN {HSV_GREEN} -#define SPRING {HSV_SPRINGGREEN} -#define TURQ {HSV_TURQUOISE} -#define TEAL {HSV_TEAL} -#define CYAN {HSV_CYAN} -#define AZURE {HSV_AZURE} -#define BLUE {HSV_BLUE} -#define PURPLE {HSV_PURPLE} -#define MAGENT {HSV_MAGENTA} -#define PINK {HSV_PINK} - -//========================================================== CONFIGURABLE DEFAULTS ========================================================== -#define RGB_DEFAULT_TIME_OUT 30 -#define RGB_FAST_MODE_TIME_OUT 3 -#define RGB_TIME_OUT_MAX 600 -#define RGB_TIME_OUT_MIN 10 -#define RGB_TIME_OUT_STEP 10 - -extern bool g_suspend_state; -bool disable_layer_color; - -uint8_t dfa_state; //state for my language switching DFA - - -bool rgb_enabled_flag; // Current LED state flag. If false then LED is off. -bool rgb_time_out_enable; // Idle LED toggle enable. If false then LED will not turn off after idle timeout. -bool rgb_time_out_fast_mode_enabled; // Enable flag for RGB timeout fast mode -bool rgb_time_out_user_value; // This holds the toggle value set by user with ROUT_TG. It's necessary as RGB_TOG changes timeout enable. -uint16_t rgb_time_out_seconds; // Idle LED timeout value, in seconds not milliseconds -uint16_t rgb_time_out_saved_seconds; // The saved user config for RGB timeout period -led_flags_t rgb_time_out_saved_flag; // Store LED flag before timeout so it can be restored when LED is turned on again. diff --git a/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/readme.md b/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/readme.md deleted file mode 100644 index 47899c27e1..0000000000 --- a/keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/readme.md +++ /dev/null @@ -1 +0,0 @@ -# peepeetee's keymap for the bm68rgb. Includes a DFA to set the windows system language back to English by pressing the top right button. Said DFA will only work with 4 languages(for now). \ No newline at end of file diff --git a/keyboards/kprepublic/bm80hsrgb/keymaps/peepeetee/config.h b/keyboards/kprepublic/bm80hsrgb/keymaps/peepeetee/config.h deleted file mode 100644 index bf64e8be78..0000000000 --- a/keyboards/kprepublic/bm80hsrgb/keymaps/peepeetee/config.h +++ /dev/null @@ -1,93 +0,0 @@ -/* Copyright 2021 peepeetee - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#pragma once - - - -// #define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT) // Key combination that allows the use of magic commands (useful for debugging) - -// #define TERMINAL_HELP - -#define FORCE_NKRO // NKRO by default requires to be turned on, this forces it on during keyboard startup regardless of EEPROM setting. NKRO can still be turned off but will be turned on again if the keyboard reboots. -// #define STRICT_LAYER_RELEASE // Force a key release to be evaluated using the current layer stack instead of remembering which layer it came from (used for advanced cases) -// #define TAPPING_TERM 200 // How long before a tap becomes a hold, if set above 500, a key tapped during the tapping term will turn it into a hold too -// #define TAPPING_TERM_PER_KEY // Enables handling for per key TAPPING_TERM settings -// #define RETRO_TAPPING // Tap anyway, even after TAPPING_TERM, if there was no other key interruption between press and release -// #define TAPPING_TOGGLE 2 // How many taps before triggering the toggle -// #define PERMISSIVE_HOLD // Makes tap and hold keys trigger the hold if another key is pressed before releasing, even if it hasn't hit the TAPPING_TERM. See Permissive Hold for details -// #define QUICK_TAP_TERM 0 // Makes it possible to use a dual role key as modifier shortly after having been tapped. See Hold after tap. Breaks any Tap Toggle functionality (TT or the One Shot Tap Toggle) -// #define LEADER_TIMEOUT 300 // How long before the leader key times out. If you're having issues finishing the sequence before it times out, you may need to increase the timeout setting. Or you may want to enable the LEADER_PER_KEY_TIMING option, which resets the timeout after each key is tapped. -// #define LEADER_PER_KEY_TIMING // Sets the timer for leader key chords to run on each key press rather than overall -// #define LEADER_KEY_STRICT_KEY_PROCESSING // Disables keycode filtering for Mod-Tap and Layer-Tap keycodes. Eg, if you enable this, you would need to specify MT(MOD_CTL, KC_A) if you want to use KC_A. -// #define ONESHOT_TIMEOUT 300 // How long before oneshot times out -// #define ONESHOT_TAP_TOGGLE 2 // How many taps before oneshot toggle is triggered -// #define COMBO_TERM 200 // How long for the Combo keys to be detected. Defaults to TAPPING_TERM if not defined. -// #define TAP_CODE_DELAY 100 // Sets the delay between register_code and unregister_code, if you're having issues with it registering properly (common on VUSB boards). The value is in milliseconds. -// #define TAP_HOLD_CAPS_DELAY 80 // Sets the delay for Tap Hold keys (LT, MT) when using KC_CAPS_LOCK keycode, as this has some special handling on MacOS. The value is in milliseconds, and defaults to 80 ms if not defined. For macOS, you may want to set this to 200 or higher. - -// #define RGB_MATRIX_FRAMEBUFFER_EFFECTS -// #define RGB_MATRIX_KEYPRESSES // reacts to keypresses -// #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) -// #define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_ALPHAS_MODS // Sets the default mode, if none has been set -// #define RGB_MATRIX_SLEEP // turn off effects when suspended -// #define RGB_MATRIX_LED_PROCESS_LIMIT (RGB_MATRIX_LED_COUNT + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) -// #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) - - -// This list in in the correct mode order. Next mode is the following line, previous mode is previous line. Loops around. -// #define DISABLE_RGB_MATRIX_SOLID_COLOR // Static single hue, no speed support -// #define DISABLE_RGB_MATRIX_ALPHAS_MODS // Static dual hue, speed is hue for secondary hue -#define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN // Static gradient top to bottom, speed controls how much gradient changes -#define DISABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT // Static gradient top to bottom, speed controls how much gradient changes -#define DISABLE_RGB_MATRIX_BREATHING // Single hue brightness cycling animation -#define DISABLE_RGB_MATRIX_BAND_SAT // Single hue band fading saturation scrolling left to right -#define DISABLE_RGB_MATRIX_BAND_VAL // Single hue band fading brightness scrolling left to right -#define DISABLE_RGB_MATRIX_BAND_PINWHEEL_SAT // Single hue 3 blade spinning pinwheel fades saturation -#define DISABLE_RGB_MATRIX_BAND_PINWHEEL_VAL // Single hue 3 blade spinning pinwheel fades brightness -#define DISABLE_RGB_MATRIX_BAND_SPIRAL_SAT // Single hue spinning spiral fades saturation -#define DISABLE_RGB_MATRIX_BAND_SPIRAL_VAL // Single hue spinning spiral fades brightness -#define DISABLE_RGB_MATRIX_CYCLE_ALL // Full keyboard solid hue cycling through full gradient -//#define DISABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT // Full gradient scrolling left to right -#define DISABLE_RGB_MATRIX_CYCLE_UP_DOWN // Full gradient scrolling top to bottom -#define DISABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON // Full gradent Chevron shapped scrolling left to right -#define DISABLE_RGB_MATRIX_CYCLE_OUT_IN // Full gradient scrolling out to in -#define DISABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL // Full dual gradients scrolling out to in -#define DISABLE_RGB_MATRIX_CYCLE_PINWHEEL // Full gradient spinning pinwheel around center of keyboard -#define DISABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard -#define DISABLE_RGB_MATRIX_DUAL_BEACON // Full gradient spinning around center of keyboard -#define DISABLE_RGB_MATRIX_RAINBOW_BEACON // Full tighter gradient spinning around center of keyboard -#define DISABLE_RGB_MATRIX_RAINBOW_PINWHEELS // Full dual gradients spinning two halfs of keyboard -#define DISABLE_RGB_MATRIX_RAINDROPS // Randomly changes a single key's hue -#define DISABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS // Randomly changes a single key's hue and saturation -#define DISABLE_RGB_MATRIX_HUE_BREATHING // Hue shifts up a slight ammount at the same time, then shifts back -#define DISABLE_RGB_MATRIX_HUE_PENDULUM // Hue shifts up a slight ammount in a wave to the right, then back to the left -#define DISABLE_RGB_MATRIX_HUE_WAVE // Hue shifts up a slight ammount and then back down in a wave to the right -// =================================================== Requires RGB_MATRIX_FRAMEBUFFER_EFFECTS ============================================================= -// #define DISABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM! -#define DISABLE_RGB_MATRIX_DIGITAL_RAIN // That famous computer simulation -// =================================================== RGB_MATRIX_KEYPRESSES OR RGB_MATRIX_KEYRELEASES ===================================================== -#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE // Pulses keys hit to hue & value then fades value out -#define DISABLE_RGB_MATRIX_SOLID_REACTIVE // Static single hue, pulses keys hit to shifted hue then fades to current hue -#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE // Hue & value pulse near a single key hit then fades value out -#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE // Hue & value pulse near multiple key hits then fades value out -#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS // Hue & value pulse the same column and row of a single key hit then fades value out -#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS // Hue & value pulse the same column and row of multiple key hits then fades value out -#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS // Hue & value pulse away on the same column and row of a single key hit then fades value out -#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS // Hue & value pulse away on the same column and row of multiple key hits then fades value out -#define DISABLE_RGB_MATRIX_SPLASH // Full gradient & value pulse away from a single key hit then fades value out -//#define DISABLE_RGB_MATRIX_MULTISPLASH // Full gradient & value pulse away from multiple key hits then fades value out -#define DISABLE_RGB_MATRIX_SOLID_SPLASH // Hue & value pulse away from a single key hit then fades value out -#define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH // Hue & value pulse away from multiple key hits then fades value out diff --git a/keyboards/kprepublic/bm80hsrgb/keymaps/peepeetee/keymap.c b/keyboards/kprepublic/bm80hsrgb/keymaps/peepeetee/keymap.c deleted file mode 100644 index 70c8a5f3af..0000000000 --- a/keyboards/kprepublic/bm80hsrgb/keymaps/peepeetee/keymap.c +++ /dev/null @@ -1,51 +0,0 @@ -/* Copyright 2021 peepeetee - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT_tkl_ansi( - KC_ESC, 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_PSCR, KC_SCRL, KC_PAUS, - 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_BSPC, KC_INS, KC_HOME, KC_PGUP, - 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, KC_DEL, KC_END, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - - [1] = LAYOUT_tkl_ansi( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - RGB_MOD, RGB_HUI, RGB_VAI, RGB_SAI, RGB_SPI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - RGB_TOG, RGB_HUD, RGB_VAD, RGB_SAD, RGB_SPD, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, QK_BOOT, _______, _______, _______, _______, _______, _______, KC_AUDIO_VOL_UP, - _______, _______, _______, _______, _______, _______, _______, _______, KC_BRIGHTNESS_DOWN, KC_AUDIO_VOL_DOWN, KC_BRIGHTNESS_UP - ) - -/* - [X] = LAYOUT_tkl_ansi( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), -*/ - - -}; - diff --git a/keyboards/kprepublic/bm80v2/keymaps/saph1s/config.h b/keyboards/kprepublic/bm80v2/keymaps/saph1s/config.h deleted file mode 100644 index 7989b68f7d..0000000000 --- a/keyboards/kprepublic/bm80v2/keymaps/saph1s/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* Copyright 2023 Saph1s @Saph1s - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - -#ifdef RGB_MATRIX_ENABLE - #undef RGB_MATRIX_DEFAULT_MODE - #define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT - #define RGB_MATRIX_SLEEP -#endif diff --git a/keyboards/kprepublic/bm80v2/keymaps/saph1s/keymap.c b/keyboards/kprepublic/bm80v2/keymaps/saph1s/keymap.c deleted file mode 100644 index 295832774f..0000000000 --- a/keyboards/kprepublic/bm80v2/keymaps/saph1s/keymap.c +++ /dev/null @@ -1,50 +0,0 @@ -/* Copyright 2023 Saph1s @Saph1s - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -#include "rgb_matrix_map.h" - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT_tkl_ansi( - KC_ESC, 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_PSCR, KC_SCRL, KC_PAUS, - 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_BSPC, KC_INS, KC_HOME, KC_PGUP, - 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, KC_DEL, KC_END, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - - [1] = LAYOUT_tkl_ansi( - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_MPLY, KC_MPRV, KC_MNXT, KC_VOLD, KC_VOLU, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, NK_TOGG, _______, _______, _______, _______, _______, _______, - _______, GUI_TOG, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ) - -}; - -#ifdef RGB_MATRIX_ENABLE - bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { - if (keymap_config.no_gui) { - rgb_matrix_set_color(LED_LGUI, RGB_RED); //LGUI light - } - return false; - } -#endif diff --git a/keyboards/kprepublic/bm80v2/keymaps/saph1s/readme.md b/keyboards/kprepublic/bm80v2/keymaps/saph1s/readme.md deleted file mode 100644 index f97a0f9b27..0000000000 --- a/keyboards/kprepublic/bm80v2/keymaps/saph1s/readme.md +++ /dev/null @@ -1,6 +0,0 @@ -# [Saph1s](https://github.com/Saph1s) | KPrepublic BM80v2 keymap - -## Features - -- RGUI has been replaced by Fn -- Add Win Key lock function (Fn+Win) + RGB indication diff --git a/keyboards/kprepublic/bm80v2/keymaps/saph1s/rgb_matrix_map.h b/keyboards/kprepublic/bm80v2/keymaps/saph1s/rgb_matrix_map.h deleted file mode 100644 index f68a4a68f1..0000000000 --- a/keyboards/kprepublic/bm80v2/keymaps/saph1s/rgb_matrix_map.h +++ /dev/null @@ -1,113 +0,0 @@ -/* Copyright 2023 Saph1s @Saph1s - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ -#pragma once -#ifdef RGB_MATRIX_ENABLE - - enum led_location_map { - LED_ESC, - LED_F1, - LED_F2, - LED_F3, - LED_F4, - LED_F5, - LED_F6, - LED_F7, - LED_F8, - LED_F9, - LED_F10, - LED_F11, - LED_F12, - LED_PSCR, - LED_SCRL, - LED_PAUS, - - LED_GRV, - LED_1, - LED_2, - LED_3, - LED_4, - LED_5, - LED_6, - LED_7, - LED_8, - LED_9, - LED_0, - LED_MINS, - LED_EQL, - LED_BSPC, - LED_INS, - LED_HOME, - LED_PGUP, - - LED_TAB, - LED_Q, - LED_W, - LED_E, - LED_R, - LED_T, - LED_Y, - LED_U, - LED_I, - LED_O, - LED_P, - LED_LBRC, - LED_RBRC, - LED_BSLS, - LED_DEL, - LED_END, - LED_PGDN, - - LED_CAPS, - LED_A, - LED_S, - LED_D, - LED_F, - LED_G, - LED_H, - LED_J, - LED_K, - LED_L, - LED_SCLN, - LED_QUOT, - LED_ENT, - - LED_LSFT, - LED_Z, - LED_X, - LED_C, - LED_V, - LED_B, - LED_N, - LED_M, - LED_COMM, - LED_DOT, - LED_SLSH, - LED_RSFT, - LED_UP, - - LED_LCTL, - LED_LGUI, - LED_LALT, - LED_SPC, - LED_RALT, - LED_FN, - LED_APP, - LED_RCTL, - LED_LEFT, - LED_DOWN, - LED_RGHT - }; -#endif diff --git a/keyboards/kprepublic/bm80v2/keymaps/saph1s/rules.mk b/keyboards/kprepublic/bm80v2/keymaps/saph1s/rules.mk deleted file mode 100644 index 36b7ba9cbc..0000000000 --- a/keyboards/kprepublic/bm80v2/keymaps/saph1s/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes diff --git a/keyboards/kprepublic/bm80v2/keymaps/smooted/config.h b/keyboards/kprepublic/bm80v2/keymaps/smooted/config.h deleted file mode 100644 index 88fa41d110..0000000000 --- a/keyboards/kprepublic/bm80v2/keymaps/smooted/config.h +++ /dev/null @@ -1,17 +0,0 @@ -/* Copyright 2022 bdtc123 * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once -#define FORCE_NKRO diff --git a/keyboards/kprepublic/bm80v2/keymaps/smooted/keymap.c b/keyboards/kprepublic/bm80v2/keymaps/smooted/keymap.c deleted file mode 100644 index ba91157d92..0000000000 --- a/keyboards/kprepublic/bm80v2/keymaps/smooted/keymap.c +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright 2021 Yizhen Liu (@edwardslau) -// SPDX-License-Identifier: GPL-2.0 -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT_tkl_ansi( - KC_ESC, 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_PSCR, KC_SCRL, KC_PAUS, - 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_BSPC, KC_INS, KC_HOME, KC_PGUP, - 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, KC_DEL, KC_END, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - - [1] = LAYOUT_tkl_ansi( - QK_BOOT, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, NK_TOGG, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ) - -}; diff --git a/keyboards/kprepublic/bm80v2/keymaps/smooted/rules.mk b/keyboards/kprepublic/bm80v2/keymaps/smooted/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/kprepublic/bm80v2/keymaps/smooted/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/kprepublic/bm980hsrgb/keymaps/peepeetee/keymap.c b/keyboards/kprepublic/bm980hsrgb/keymaps/peepeetee/keymap.c deleted file mode 100644 index f5705ac6ad..0000000000 --- a/keyboards/kprepublic/bm980hsrgb/keymaps/peepeetee/keymap.c +++ /dev/null @@ -1,62 +0,0 @@ -/* Copyright 2021 peepeetee - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT( - KC_ESC, 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_INS, KC_DEL, KC_AUDIO_VOL_DOWN, KC_AUDIO_VOL_UP, - 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_BSPC, KC_NUM, KC_HOME, KC_END, KC_PGUP, - 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, KC_P7, KC_P8, KC_P9, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_P4, KC_P5, KC_P6, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, - KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT - ), - - [1] = LAYOUT( - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - RGB_MOD, RGB_HUI, RGB_VAI, RGB_SAI, RGB_SPI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - RGB_TOG, RGB_HUD, RGB_VAD, RGB_SAD, RGB_SPD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ) - - // [X] = LAYOUT( - // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - // ), -}; - - -bool rgb_matrix_indicators_user(void) { - - led_t host_leds = host_keyboard_led_state(); - if (host_leds.num_lock) { - rgb_matrix_set_color(31, 0xFF, 0xFF, 0xFF); - //rgb_matrix_set_color(30, 0x0, 0x0, 0x0); - - } else { - //rgb_matrix_set_color(30, 0x0, 0x0, 0x0); - } - //set_layer_color(get_highest_layer(layer_state)); - - return false; -} diff --git a/keyboards/kprepublic/cospad/keymaps/detrus/keymap.c b/keyboards/kprepublic/cospad/keymaps/detrus/keymap.c deleted file mode 100644 index c3fc1a2925..0000000000 --- a/keyboards/kprepublic/cospad/keymaps/detrus/keymap.c +++ /dev/null @@ -1,367 +0,0 @@ -#include QMK_KEYBOARD_H -#include "led.h" -#include - -#ifdef RGBLIGHT_ENABLE -#include "rgblight.h" -#endif - -// Each layer gets a name for readability, which is then used in the keymap matrix below. -enum cospad_layers { - _QWERTY_LAYER, - _QWERTZ_LAYER, - _COLEMA_LAYER, - _DVORAK_LAYER, - _QWERTY_LOWER_LAYER, - _QWERTZ_LOWER_LAYER, - _COLEMA_LOWER_LAYER, - _DVORAK_LOWER_LAYER, - _RAISE_LAYER, - _ALTER_LAYER, -}; - -// To switch the default layer used for the layout, there are special keycodes. -// Which onces detected below serve to switch it. -enum cospad_keycodes { - QWERTY = SAFE_RANGE, - QWERTZ, - COLEMAK, - DVORAK -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - /* Keymap _QWERTY_LAYER: Default layer - * ,-----------------------. - * | T | G | B | Alt | - * |-----|-----|-----|-----| - * | R | F | V | LOW | - * |-----|-----|-----|-----| - * | E | D | C | | - * |-----|-----|-----| Spc | - * | W | S | X | | - * |-----|-----|-----|-----| - * | Q | A | Z | RAI | - * |-----|-----|-----|-----| - * | Esc | Tab | Sft | Ctl | - * `-----------------------' - * - * And it's LOWER layer - * ,-----------------------. - * | P | ; | / | Alt | - * |-----|-----|-----|-----| - * | O | L | . | LOW | - * |-----|-----|-----|-----| - * | I | K | , | | - * |-----|-----|-----| Ent | - * | U | J | M | | - * |-----|-----|-----|-----| - * | Y | H | N | RAI | - * |-----|-----|-----|-----| - * | Esc | Tab | Sft | Ctl | - * `-----------------------' - */ - [_QWERTY_LAYER] = LAYOUT_gamepad_6x4( - KC_T, KC_G, KC_B, KC_LALT, - KC_R, KC_F, KC_V, MO(_QWERTY_LOWER_LAYER), - KC_E, KC_D, KC_C, - KC_W, KC_S, KC_X, KC_SPACE, - KC_Q, KC_A, KC_Z, MO(_RAISE_LAYER), - QK_GESC, KC_TAB, KC_LSFT, KC_LCTL), - [_QWERTY_LOWER_LAYER] = LAYOUT_gamepad_6x4( - KC_P, KC_SCLN, KC_SLSH, KC_LALT, - KC_O, KC_L, KC_DOT, _______, - KC_I, KC_K, KC_COMM, - KC_U, KC_J, KC_M, KC_ENTER, - KC_Y, KC_H, KC_N, _______, - _______, _______, _______, _______), - - - - /* Keymap _QWERTZ_LAYER: Alternate default layer - * ,-----------------------. - * | T | G | B | Alt | - * |-----|-----|-----|-----| - * | R | F | V | LOW | - * |-----|-----|-----|-----| - * | E | D | C | | - * |-----|-----|-----| Spc | - * | W | S | X | | - * |-----|-----|-----|-----| - * | Q | A | Y | RAI | - * |-----|-----|-----|-----| - * | Esc | Tab | Sft | Ctl | - * `-----------------------' - * - * And it's LOWER layer - * ,-----------------------. - * | P | ; | / | Alt | - * |-----|-----|-----|-----| - * | O | L | > | LOW | - * |-----|-----|-----|-----| - * | I | K | < | | - * |-----|-----|-----| Ent | - * | U | J | M | | - * |-----|-----|-----|-----| - * | Z | H | N | RAI | - * |-----|-----|-----|-----| - * | Esc | Tab | Sft | Ctl | - * `-----------------------' - */ - [_QWERTZ_LAYER] = LAYOUT_gamepad_6x4( - KC_T, KC_G, KC_B, KC_LALT, - KC_R, KC_F, KC_V, MO(_QWERTZ_LOWER_LAYER), - KC_E, KC_D, KC_C, - KC_W, KC_S, KC_X, KC_SPACE, - KC_Q, KC_A, KC_Y, MO(_RAISE_LAYER), - QK_GESC, KC_TAB, KC_LSFT, KC_LCTL), - [_QWERTZ_LOWER_LAYER] = LAYOUT_gamepad_6x4( - KC_P, KC_SCLN, KC_SLSH, KC_LALT, - KC_O, KC_L, KC_DOT, _______, - KC_I, KC_K, KC_COMM, - KC_U, KC_J, KC_M, KC_ENTER, - KC_Z, KC_H, KC_N, _______, - _______, _______, _______, _______), - - - - /* Keymap _COLEMA_LAYER: Alternate default layer - * ,-----------------------. - * | G | D | B | Alt | - * |-----|-----|-----|-----| - * | P | T | V | LOW | - * |-----|-----|-----|-----| - * | F | S | C | | - * |-----|-----|-----| Spc | - * | W | R | X | | - * |-----|-----|-----|-----| - * | Q | A | Z | RAI | - * |-----|-----|-----|-----| - * | Esc | Tab | Sft | Ctl | - * `-----------------------' - * - * And it's LOWER layer - * ,-----------------------. - * | ; | O | / | Alt | - * |-----|-----|-----|-----| - * | Y | I | . | LOW | - * |-----|-----|-----|-----| - * | U | E | , | | - * |-----|-----|-----| Ent | - * | L | N | M | | - * |-----|-----|-----|-----| - * | J | H | K | RAI | - * |-----|-----|-----|-----| - * | Esc | Tab | Sft | Ctl | - * `-----------------------' - */ - [_COLEMA_LAYER] = LAYOUT_gamepad_6x4( - KC_T, KC_D, KC_B, KC_LALT, - KC_R, KC_T, KC_V, MO(_COLEMA_LOWER_LAYER), - KC_E, KC_S, KC_C, - KC_W, KC_R, KC_X, KC_SPACE, - KC_Q, KC_A, KC_Z, MO(_RAISE_LAYER), - QK_GESC, KC_TAB, KC_LSFT, KC_LCTL), - [_COLEMA_LOWER_LAYER] = LAYOUT_gamepad_6x4( - KC_SCLN, KC_O, KC_SLSH, _______, - KC_Y, KC_I, KC_DOT, _______, - KC_U, KC_E, KC_COMM, - KC_L, KC_N, KC_M, KC_ENTER, - KC_J, KC_H, KC_K, _______, - KC_F, KC_G, _______, _______), - - - - /* Keymap _DVORAK_LAYER: Alternate default layer - * ,-----------------------. - * | Y | I | X | Alt | - * |-----|-----|-----|-----| - * | P | U | K | LOW | - * |-----|-----|-----|-----| - * | . | E | J | | - * |-----|-----|-----| Spc | - * | , | O | Q | | - * |-----|-----|-----|-----| - * | ' | A | ; | RAI | - * |-----|-----|-----|-----| - * | Esc | Tab | Sft | Ctl | - * `-----------------------' - * - * And it's LOWER layer - * ,-----------------------. - * | L | S | Z | Alt | - * |-----|-----|-----|-----| - * | R | N | V | LOW | - * |-----|-----|-----|-----| - * | C | T | W | | - * |-----|-----|-----| Ent | - * | G | H | M | | - * |-----|-----|-----|-----| - * | F | D | B | RAI | - * |-----|-----|-----|-----| - * | Esc | Tab | Sft | Ctl | - * `-----------------------' - */ - [_DVORAK_LAYER] = LAYOUT_gamepad_6x4( - KC_Y, KC_I, KC_X, KC_LALT, - KC_P, KC_U, KC_K, MO(_DVORAK_LOWER_LAYER), - KC_DOT, KC_E, KC_J, - KC_COMM, KC_O, KC_A, KC_SPACE, - KC_QUOT, KC_A, KC_SCLN, MO(_RAISE_LAYER), - QK_GESC, KC_TAB, KC_LSFT, KC_LCTL), - [_DVORAK_LOWER_LAYER] = LAYOUT_gamepad_6x4( - KC_L, KC_S, KC_Z, KC_LALT, - KC_R, KC_N, KC_V, _______, - KC_C, KC_T, KC_W, - KC_G, KC_H, KC_M, KC_ENTER, - KC_F, KC_D, KC_B, _______, - _______, _______, _______, _______), - - - - /* Keymap _RAISE_LAYER: Additional layer to access more - * ,-----------------------. - * | 5 | 0 | del | Alt | - * |-----|-----|-----|-----| - * | 4 | 9 | -> | LOW | - * |-----|-----|-----|-----| - * | 3 | 8 | <- | | - * |-----|-----|-----| Spc | - * | 2 | 7 | -> | | - * |-----|-----|-----|-----| - * | 1 | 6 | <- | RAI | - * |-----|-----|-----|-----| - * | Esc | Tab | Sft | Ctl | - * `-----------------------' - */ - [_RAISE_LAYER] = LAYOUT_gamepad_6x4( - KC_5, KC_0, KC_BSPC, _______, - KC_4, KC_9, KC_RIGHT, _______, - KC_3, KC_8, KC_UP, - KC_2, KC_7, KC_DOWN, _______, - KC_1, KC_6, KC_LEFT, _______, - _______, _______, _______, _______), - - - - /* Keymap _ALTER_LAYER: Function layer used to control the Leds - * and use media buttons - * ,----------------------------------------. - * | Val Dec | Bl Toggle | Qwertz | Super | - * |---------|------------|---------|-------| - * | Val Inc | Bl Off | Qwerty | | - * |---------|------------|---------|-------| - * | Sat Dec | Bl On | Colemak | | - * |---------|------------|---------| | - * | Sat Inc | RGB Toggle | Dvorak | | - * |---------|------------|---------|-------| - * | Hue Dec | RGB Next | Vol Dwn | | - * |---------|------------|---------|-------| - * | Hue Inc | RGB Prev | Vol Up | Reset | - * `----------------------------------------' - */ - [_ALTER_LAYER] = LAYOUT_gamepad_6x4( - RGB_VAD, BL_TOGG, QWERTZ, KC_LGUI, - RGB_VAI, BL_OFF, QWERTY, _______, - RGB_SAD, BL_ON, COLEMAK, - RGB_SAI, RGB_TOG, DVORAK, _______, - RGB_HUD, RGB_MOD, KC_VOLD, _______, - RGB_HUI, RGB_RMOD, KC_VOLU, QK_BOOT), -}; - -// Makes sure to update the good tri-layer if a layer changes -layer_state_t layer_state_set_user(layer_state_t state) { - switch (get_highest_layer(default_layer_state)) { - case _QWERTY_LAYER: - state = update_tri_layer_state(state, _RAISE_LAYER, _QWERTY_LOWER_LAYER, _ALTER_LAYER); - break; - case _QWERTZ_LAYER: - state = update_tri_layer_state(state, _RAISE_LAYER, _QWERTZ_LOWER_LAYER, _ALTER_LAYER); - break; - case _COLEMA_LAYER: - state = update_tri_layer_state(state, _RAISE_LAYER, _COLEMA_LOWER_LAYER, _ALTER_LAYER); - break; - case _DVORAK_LAYER: - state = update_tri_layer_state(state, _RAISE_LAYER, _DVORAK_LOWER_LAYER, _ALTER_LAYER); - break; - } - return state; -} - -// Makes the tri-layer -layer_state_t default_layer_state_set_kb(layer_state_t state) { - switch (get_highest_layer(state)) { - case _QWERTY_LAYER: - state = update_tri_layer_state(state, _RAISE_LAYER, _QWERTZ_LOWER_LAYER, _ALTER_LAYER); - state = update_tri_layer_state(state, _RAISE_LAYER, _COLEMA_LOWER_LAYER, _ALTER_LAYER); - state = update_tri_layer_state(state, _RAISE_LAYER, _DVORAK_LOWER_LAYER, _ALTER_LAYER); - layer_move(_QWERTY_LAYER); - break; - case _QWERTZ_LAYER: - state = update_tri_layer_state(state, _RAISE_LAYER, _QWERTY_LOWER_LAYER, _ALTER_LAYER); - state = update_tri_layer_state(state, _RAISE_LAYER, _COLEMA_LOWER_LAYER, _ALTER_LAYER); - state = update_tri_layer_state(state, _RAISE_LAYER, _DVORAK_LOWER_LAYER, _ALTER_LAYER); - layer_move(_QWERTZ_LAYER); - break; - case _COLEMA_LAYER: - state = update_tri_layer_state(state, _RAISE_LAYER, _QWERTY_LOWER_LAYER, _ALTER_LAYER); - state = update_tri_layer_state(state, _RAISE_LAYER, _QWERTZ_LOWER_LAYER, _ALTER_LAYER); - state = update_tri_layer_state(state, _RAISE_LAYER, _DVORAK_LOWER_LAYER, _ALTER_LAYER); - layer_move(_COLEMA_LAYER); - break; - case _DVORAK_LAYER: - state = update_tri_layer_state(state, _RAISE_LAYER, _QWERTY_LOWER_LAYER, _ALTER_LAYER); - state = update_tri_layer_state(state, _RAISE_LAYER, _QWERTZ_LOWER_LAYER, _ALTER_LAYER); - state = update_tri_layer_state(state, _RAISE_LAYER, _COLEMA_LOWER_LAYER, _ALTER_LAYER); - layer_move(_DVORAK_LAYER); - break; - } - return state; -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case BL_TOGG: - if (record->event.pressed) { - cospad_bl_led_togg(); - } - return false; - case BL_ON: - if (record->event.pressed) { - cospad_bl_led_on(); - } - return false; - case BL_OFF: - if (record->event.pressed) { - cospad_bl_led_off(); - } - return false; - case QWERTY: - if (record->event.pressed) { - set_single_persistent_default_layer(_QWERTY_LAYER); - print("switched to QWERTY layout\n"); - } - return false; - break; - case QWERTZ: - if (record->event.pressed) { - set_single_persistent_default_layer(_QWERTZ_LAYER); - } - return false; - break; - case COLEMAK: - if (record->event.pressed) { - set_single_persistent_default_layer(_COLEMA_LAYER); - } - return false; - break; - case DVORAK: - if (record->event.pressed) { - set_single_persistent_default_layer(_DVORAK_LAYER); - } - return false; - break; - default: - return true; - } -} diff --git a/keyboards/kprepublic/jj50/keymaps/abstractkb_gergomatch/config.h b/keyboards/kprepublic/jj50/keymaps/abstractkb_gergomatch/config.h deleted file mode 100644 index 9439a929e9..0000000000 --- a/keyboards/kprepublic/jj50/keymaps/abstractkb_gergomatch/config.h +++ /dev/null @@ -1,3 +0,0 @@ -#pragma once - -#define RGBLIGHT_SLEEP \ No newline at end of file diff --git a/keyboards/kprepublic/jj50/keymaps/abstractkb_gergomatch/keymap.c b/keyboards/kprepublic/jj50/keymaps/abstractkb_gergomatch/keymap.c deleted file mode 100644 index 888e43e7dd..0000000000 --- a/keyboards/kprepublic/jj50/keymaps/abstractkb_gergomatch/keymap.c +++ /dev/null @@ -1,136 +0,0 @@ -/* -Base Copyright 2017 Luiz Ribeiro -Modified 2017 Andrew Novak -Modified 2018 Wayne Jones (WarmCatUK) -Modified 2019 AbstractKB - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public LicensezZZ -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H - -enum layers { - _DEFLT, - _FUNC, - _SYM, - _META -}; - -enum custom_keycodes { - MYRGB_TG = SAFE_RANGE -}; - -bool rgbinit = true; -bool rgbon = true; - -const uint8_t RGBLED_RAINBOW_SWIRL_INTERVALS[] PROGMEM = {1,5,5}; //only using the first one - -void keyboard_post_init_user(void) { - rgblight_enable_noeeprom(); - led_set_user(host_keyboard_leds()); -} - -layer_state_t layer_state_set_user(layer_state_t state) { - switch (get_highest_layer(state)) { - case _FUNC: - rgblight_sethsv_noeeprom(170,255,255); - rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT); - break; - case _SYM: - rgblight_sethsv_noeeprom(0,255,255); - rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT); - break; - case _META: - rgblight_sethsv_noeeprom(0,255,255); - rgblight_mode_noeeprom(RGBLIGHT_MODE_RAINBOW_SWIRL); - break; - default: //_DEFLT - rgblight_sethsv_noeeprom(0,0,255); - rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT); - break; - } - - return state; -} - -bool led_update_user(led_t led_state) { - if (led_state.caps_lock) { - rgblight_mode_noeeprom(RGBLIGHT_MODE_ALTERNATING); - } else { - layer_state_set_user(layer_state); - } - return false; -} - -void myrgb_toggle(void) { - if (rgbon) { - rgblight_disable_noeeprom(); - rgbon = false; - } else { - rgblight_enable_noeeprom(); - layer_state_set_user(layer_state); - led_set_user(host_keyboard_leds()); - rgbon = true; - } -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch(keycode) { - case MYRGB_TG: - if (record->event.pressed) { - myrgb_toggle(); - } - return false; - default: - return true; - } -} - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [_DEFLT] = LAYOUT( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_ENT, - KC_BSPC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, - KC_LCTL, MO(_META), KC_LGUI, KC_LALT, MO(_SYM),KC_SPC,KC_SPC,MO(_FUNC),KC_LEFT, KC_DOWN, KC_UP, KC_RGHT - ), - - - [_FUNC] = LAYOUT( - KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, LCTL(LGUI(KC_LEFT)), LGUI(KC_L), LCTL(LGUI(KC_RGHT)), _______, - _______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MNXT, KC_CAPS, _______, - _______, _______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, KC_MPLY - ), - - - [_SYM] = LAYOUT( - KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, - _______,S(KC_1),S(KC_2),S(KC_LBRC),S(KC_RBRC),S(KC_BSLS),_______, S(KC_MINS), _______, _______, _______, _______, - _______, S(KC_3), S(KC_4), S(KC_9), S(KC_0), KC_GRV, S(KC_EQL), KC_MINS, KC_BSLS, S(KC_8), _______, _______, - _______, S(KC_5), S(KC_6), KC_LBRC,KC_RBRC,S(KC_GRV), S(KC_7),KC_EQL, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - - - [_META] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, MYRGB_TG - ) -}; diff --git a/keyboards/kprepublic/jj50/keymaps/abstractkb_gergomatch/readme.md b/keyboards/kprepublic/jj50/keymaps/abstractkb_gergomatch/readme.md deleted file mode 100644 index a45ece7ff7..0000000000 --- a/keyboards/kprepublic/jj50/keymaps/abstractkb_gergomatch/readme.md +++ /dev/null @@ -1,4 +0,0 @@ -# My personal layout for the JJ50 - -It is an approximation of a cross between a 60% the gergo function layout -It also uses layer based rgb underglow, and the underglow flashes when capslock is enabled \ No newline at end of file diff --git a/keyboards/kprepublic/jj50/keymaps/archetype/README.md b/keyboards/kprepublic/jj50/keymaps/archetype/README.md deleted file mode 100644 index a2ae4e9123..0000000000 --- a/keyboards/kprepublic/jj50/keymaps/archetype/README.md +++ /dev/null @@ -1,22 +0,0 @@ -# archetype keymap for jj50 keyboards -A keymap that can be used with the jj50 ortholinear keyboard. - -## Features - -- `QWERTY` layout (Default) -- `COLEMAK` layout -- `FN` layout (various keys that are rarely needed) -- `FX` layout (Control lighting and audio) -- Use `Left Ctrl` and `Left Alt` to output `()`, `[]` and `{}` by tapping once, twice or thrice respectively. Hold them down for the regular keycode (LCtrl or LAlt) -- `Right Shift` when held or Enter when tapped -- Auto-Shift enabled (long press on alphas and numeric keys outputs shifted character) -- Full arrow keys available - - -## Feedback - -I made this keymap based on the existing default one. If you happen to use this keymap [drop me a line](mailto://idimitrakopoulos@gmail.com) about what could be improved etc - -Enjoy! - -Iason Dimitrakopoulos diff --git a/keyboards/kprepublic/jj50/keymaps/archetype/config.h b/keyboards/kprepublic/jj50/keymaps/archetype/config.h deleted file mode 100644 index 17ce95a363..0000000000 --- a/keyboards/kprepublic/jj50/keymaps/archetype/config.h +++ /dev/null @@ -1,9 +0,0 @@ -#pragma once - -#undef AUTO_SHIFT_TIMEOUT -#undef TAPPING_TERM - -#define AUTO_SHIFT_TIMEOUT 150 -#define NO_AUTO_SHIFT_ALPHA -#define TAPPING_TERM 150 -#define TAPPING_TERM_PER_KEY diff --git a/keyboards/kprepublic/jj50/keymaps/archetype/keymap.c b/keyboards/kprepublic/jj50/keymaps/archetype/keymap.c deleted file mode 100644 index a485614438..0000000000 --- a/keyboards/kprepublic/jj50/keymaps/archetype/keymap.c +++ /dev/null @@ -1,286 +0,0 @@ -/* -Base Copyright 2017 Luiz Ribeiro -Modified 2017 Andrew Novak -Modified 2018 Wayne Jones (WarmCatUK) -Modified 2019 Iason Dimitrakopoulos (idimitrakopoulos) - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public LicensezZZ -along with this program. If not, see . -*/ - -#include QMK_KEYBOARD_H -#include "action_layer.h" -#include "rgblight.h" -#include "quantum.h" - -#define _QWERTY 0 -#define _COLEMAK 1 -#define _FN 2 -#define _FX 3 - -enum { - TD_BSPC_DEL = 0, - TD_LCTL_LBRC = 1, - TD_LALT_RBRC = 2, - TD_ESC_LAYER = 3, -}; - - -void left_brackets(tap_dance_state_t *state, void *user_data) { - if (state->count == 1) { - if (!state->pressed) { - register_code16(KC_LPRN); - } else { - register_code(KC_LCTL); - } - } else if (state->count == 2) { - register_code16(KC_LBRC); - } else if (state->count == 3) { - register_code16(KC_LCBR); - } -} - -void left_brackets_reset(tap_dance_state_t *state, void *user_data) { - if (state->count == 1) { - unregister_code16(KC_LPRN); - } else if (state->count == 2) { - unregister_code16(KC_LBRC); - } else if (state->count == 3) { - unregister_code16(KC_LCBR); - } - - unregister_code(KC_LCTL); -} - -void right_brackets(tap_dance_state_t *state, void *user_data) { - if (state->count == 1) { - if (!state->pressed) { - register_code16(KC_RPRN); - } else { - register_code(KC_LALT); - } - } else if (state->count == 2) { - register_code16(KC_RBRC); - } else if (state->count == 3) { - register_code16(KC_RCBR); - } -} - -void right_brackets_reset(tap_dance_state_t *state, void *user_data) { - if (state->count == 1) { - unregister_code16(KC_RPRN); - } else if (state->count == 2) { - unregister_code16(KC_RBRC); - } else if (state->count == 3) { - unregister_code16(KC_RCBR); - } - - unregister_code(KC_LALT); -} - -typedef struct { - bool is_press_action; - int state; -} tap; - -enum { - SINGLE_TAP = 1, - SINGLE_HOLD = 2, - DOUBLE_TAP = 3, - DOUBLE_HOLD = 4, - DOUBLE_SINGLE_TAP = 5, //send two single taps - TRIPLE_TAP = 6, - TRIPLE_HOLD = 7, - TRIPLE_SINGLE_TAP = 8, //send three single taps -}; - -int cur_dance (tap_dance_state_t *state) { - if (state->count == 1) { - if (state->interrupted || !state->pressed) return SINGLE_TAP; - else return SINGLE_HOLD; - } - else if (state->count == 2) { - if (state->interrupted) return DOUBLE_SINGLE_TAP; - else if (state->pressed) return DOUBLE_HOLD; - else return DOUBLE_TAP; - } - - if (state->count == 3) { - if (state->interrupted) return TRIPLE_SINGLE_TAP; - else if (state->pressed) return TRIPLE_HOLD; - else return TRIPLE_TAP; - } - else return 9; //magic number. At some point this method will expand to work for more presses -} - -static tap tap_state = { - .is_press_action = true, - .state = 0 -}; - -void layer_switcher (tap_dance_state_t *state, void *user_data) { - tap_state.state = cur_dance(state); - switch (tap_state.state) { - case SINGLE_TAP: register_code(KC_ESC); break; - case SINGLE_HOLD: register_code(KC_ESC); break; - case DOUBLE_TAP: register_code(KC_ESC); break; - case DOUBLE_HOLD: layer_on(_COLEMAK); break; - case DOUBLE_SINGLE_TAP: register_code(KC_ESC); unregister_code(KC_ESC); register_code(KC_ESC); break; - case TRIPLE_TAP: register_code(KC_ESC); break; - case TRIPLE_HOLD: layer_on(_FX); break; - case TRIPLE_SINGLE_TAP: register_code(KC_ESC); unregister_code(KC_ESC); register_code(KC_ESC); unregister_code(KC_ESC); register_code(KC_ESC); break; - //Last case is for fast typing. Assuming your key is `f`: - //For example, when typing the word `buffer`, and you want to make sure that you send `ff` and not `Esc`. - //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. - } -} - -void layer_switcher_reset (tap_dance_state_t *state, void *user_data) { - switch (tap_state.state) { - case SINGLE_TAP: unregister_code(KC_ESC); break; - case SINGLE_HOLD: unregister_code(KC_ESC); break; - case DOUBLE_TAP: unregister_code(KC_ESC); break; - case DOUBLE_HOLD: break; - case DOUBLE_SINGLE_TAP: unregister_code(KC_ESC); break; - case TRIPLE_TAP: unregister_code(KC_ESC); break; - case TRIPLE_HOLD: break; - case TRIPLE_SINGLE_TAP: unregister_code(KC_ESC); break; - } - tap_state.state = 0; -} - -tap_dance_action_t tap_dance_actions[] = { - // Single tap = Backspace | Double tap = Delete - [TD_BSPC_DEL] = ACTION_TAP_DANCE_DOUBLE(KC_BSPC, KC_DEL), - // Single tap = ( | Double tap = [ | Triple tap = { | Single hold = KC_LCTL - [TD_LCTL_LBRC] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, left_brackets, left_brackets_reset), - // Single tap = ) | Double tap = ] | Triple tap = } | Single hold = KC_LALT - [TD_LALT_RBRC] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, right_brackets, right_brackets_reset), - // Layer Switcher ESC - [TD_ESC_LAYER] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, layer_switcher, layer_switcher_reset), -}; - -uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case TD(TD_ESC_LAYER): - return 100; - default: - return TAPPING_TERM; - } -} - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [_QWERTY] = LAYOUT( - - //,----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+. - //| | | | | | | | | | | | | - TD(TD_ESC_LAYER), KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, - //| | | | | | | | | | | | | - //,----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+| - //| | | | | | | | | | | | | - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, - //| | | | | | | | | | | | | - //,----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+| - //| | | | | | | | | | | | | - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - //| | | | | | | | | | | | | - //,----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+| - //| | | | | | | | | | | | | - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_DOT, KC_SLSH, KC_UP, SFT_T(KC_ENT), - //| | | | | | | | | | | | | - //,----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+| - //| | | | | | | | | | | | | - TD(TD_LCTL_LBRC), KC_LGUI, TD(TD_LALT_RBRC), _______, _______, LT(_FN, KC_SPC), _______, LT(_FX, KC_SPC), KC_COMM, KC_LEFT, KC_DOWN, KC_RGHT - //| | | | | | | | | | | | | - //,----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+' - ), - - [_COLEMAK] = LAYOUT( - - //,----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+. - //| | | | | | | | | | | | | - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - //| | | | | | | | | | | | | - //,----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+| - //| | | | | | | | | | | | | - _______, _______, _______, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, _______, - //| | | | | | | | | | | | | - //,----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+| - //| | | | | | | | | | | | | - _______, _______, KC_R, KC_S, KC_T, KC_D, _______, KC_N, KC_E, KC_I, KC_O, _______, - //| | | | | | | | | | | | | - //,----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+| - //| | | | | | | | | | | | | - _______, _______, _______, _______, _______, _______, KC_K, _______, _______, _______, _______, _______, - //| | | | | | | | | | | | | - //,----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+| - //| | | | | | | | | | | | | - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - //| | | | | | | | | | | | | - //,----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+' - ), - - [_FN] = LAYOUT( - - //,----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+. - //| | | | | | | | | | | | | - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_DEL, - //| | | | | | | | | | | | | - //,----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+| - //| | | | | | | | | | | | | - KC_PSCR, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_EQUAL, - //| | | | | | | | | | | | | - //,----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+| - //| | | | | | | | | | | | | - KC_CAPS, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MINUS, - //| | | | | | | | | | | | | - //,----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+| - //| | | | | | | | | | | | | - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGUP, _______, - //| | | | | | | | | | | | | - //,----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+| - //| | | | | | | | | | | | | - _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END - //| | | | | | | | | | | | | - //,----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+' - ), - - [_FX] = LAYOUT( - - //,----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+. - //| | | | | | | | | | | | | - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - //| | | | | | | | | | | | | - //,----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+| - //| | | | | | | | | | | | | - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_VAI, _______, - //| | | | | | | | | | | | | - //,----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+| - //| | | | | | | | | | | | | - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_VAD, _______, - //| | | | | | | | | | | | | - //,----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+| - //| | | | | | | | | | | | | - _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_MOD, RGB_HUI, RGB_TOG, - //| | | | | | | | | | | | | - //,----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+| - //| | | | | | | | | | | | | - _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_SAI, RGB_HUD, RGB_SAD - //| | | | | | | | | | | | | - //,----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+' - ), - - -}; diff --git a/keyboards/kprepublic/jj50/keymaps/archetype/rules.mk b/keyboards/kprepublic/jj50/keymaps/archetype/rules.mk deleted file mode 100644 index c77317fdc3..0000000000 --- a/keyboards/kprepublic/jj50/keymaps/archetype/rules.mk +++ /dev/null @@ -1,4 +0,0 @@ -COMMAND_ENABLE = yes -TAP_DANCE_ENABLE = yes -AUTO_SHIFT_ENABLE = yes -KEY_LOCK_ENABLE = yes diff --git a/keyboards/ktec/ergodone/keymaps/eozaki/keymap.c b/keyboards/ktec/ergodone/keymaps/eozaki/keymap.c deleted file mode 100644 index 3910756f81..0000000000 --- a/keyboards/ktec/ergodone/keymaps/eozaki/keymap.c +++ /dev/null @@ -1,201 +0,0 @@ -#include QMK_KEYBOARD_H -#include "debug.h" -#include "action_layer.h" -#include "version.h" - -#define BASE 0 // default layer -#define SYMB 1 // symbols -#define MDIA 2 // media keys - -enum custom_keycodes { - PLACEHOLDER = SAFE_RANGE, // can always be here - EPRM, - VRSN, - RGB_SLD -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -/* Keymap 0: Basic layer - * - * ,--------------------------------------------------. ,--------------------------------------------------. - * | Esc | 1 | 2 | 3 | 4 | 5 | ~ | | ' | 6 | 7 | 8 | 9 | 0 | = | - * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| - * | Del | Q | W | E | R | T | ~ | | " | Y | U | I | O | P | - | - * |--------+------+------+------+------+------| ` | | |------+------+------+------+------+--------| - * | Ctrl | A | S | D | F | G |------| |------| H | J | K | L | ; | \ | - * |--------+------+------+------+------+------| { | | } |------+------+------+------+------+--------| - * | LAlt | Z | X | C | V | B | [ | | ] | N | M | , | . | / | LShift | - * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' - * | LT-1 | F4 | F5 | F6 | F11 | | Left | Down | Up | Right| RAlt | - * `----------------------------------' `----------------------------------' - * ,-------------. ,-------------. - * | L1 | Prev | | Vol+ | L2 | - * ,------|------|------| |------+--------+------. - * | | | Play | | Vol- | | | - * | Space|Backsp|------| |------| Tab |Enter | - * | |ace | Next | | Mute | | | - * `--------------------' `----------------------' - */ -// If it accepts an argument (i.e, is a function), it doesn't need KC_. -// Otherwise, it needs KC_* -[BASE] = LAYOUT_ergodox( // layer 0 : default - // left hand - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, LSFT(KC_GRV), - KC_DEL, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_GRV, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, - KC_LALT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, - LT(SYMB, KC_F2), KC_F4, KC_F5, KC_F6, KC_F11, - TG(SYMB), KC_MPRV, - KC_MPLY, - KC_SPC,KC_BSPC,KC_MNXT, - // right hand - KC_QUOT, KC_6, KC_7, KC_8, KC_9, KC_0, KC_EQL, - LSFT(KC_QUOT), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS, - KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),KC_BSLS, - KC_RBRC, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_LSFT, - KC_LEFT,KC_DOWN,KC_UP, KC_RGHT,KC_RALT, - KC_VOLU, TG(MDIA), - KC_VOLD, - KC_MUTE,KC_TAB, KC_ENT - ), -/* Keymap 1: Symbol Layer - * - * ,---------------------------------------------------. ,--------------------------------------------------. - * |Version | F1 | F2 | F3 | F4 | F5 | | | | F6 | F7 | F8 | F9 | F10 | F11 | - * |---------+------+------+------+------+------+------| |------+------+------+------+------+------+--------| - * | | ! | @ | { | } | | | | | | Up | 7 | 8 | 9 | * | F12 | - * |---------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | | # | $ | ( | ) | ` |------| |------| Down | 4 | 5 | 6 | + | | - * |---------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | | % | ^ | [ | ] | ~ | | | | & | 1 | 2 | 3 | \ | | - * `---------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' - * | EPRM | | | | | | | . | 0 | = | | - * `-----------------------------------' `----------------------------------' - * ,-------------. ,-------------. - * |Animat| | |Toggle|Solid | - * ,------|------|------| |------+------+------. - * |Bright|Bright| | | |Hue- |Hue+ | - * |ness- |ness+ |------| |------| | | - * | | | | | | | | - * `--------------------' `--------------------' - */ -// SYMBOLS -[SYMB] = LAYOUT_ergodox( - // left hand - VRSN, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_TRNS, - KC_TRNS,KC_EXLM,KC_AT, KC_LCBR,KC_RCBR,KC_PIPE,KC_TRNS, - KC_TRNS,KC_HASH,KC_DLR, KC_LPRN,KC_RPRN,KC_GRV, - KC_TRNS,KC_PERC,KC_CIRC,KC_LBRC,KC_RBRC,KC_TILD,KC_TRNS, - EPRM,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, - RGB_MOD,KC_TRNS, - KC_TRNS, - RGB_VAD,RGB_VAI,KC_TRNS, - // right hand - KC_TRNS, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, - KC_TRNS, KC_UP, KC_7, KC_8, KC_9, KC_ASTR, KC_F12, - KC_DOWN, KC_4, KC_5, KC_6, KC_PLUS, KC_TRNS, - KC_TRNS, KC_AMPR, KC_1, KC_2, KC_3, KC_BSLS, KC_TRNS, - KC_TRNS,KC_DOT, KC_0, KC_EQL, KC_TRNS, - RGB_TOG, RGB_SLD, - KC_TRNS, - KC_TRNS, RGB_HUD, RGB_HUI -), -/* Keymap 2: Media and mouse keys - * - * ,--------------------------------------------------. ,--------------------------------------------------. - * | | | | | | | | | | | | | | | | - * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| - * | | | | MsUp | | | | | | | | | | | | - * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | | |MsLeft|MsDown|MsRght| |------| |------| | | | | | Play | - * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | | | | | | | | | | | | Prev | Next | | | - * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' - * | | | | Lclk | Rclk | |VolUp |VolDn | Mute | | | - * `----------------------------------' `----------------------------------' - * ,-------------. ,-------------. - * | | | | | | - * ,------|------|------| |------+------+------. - * | | | | | | |Brwser| - * | | |------| |------| |Back | - * | | | | | | | | - * `--------------------' `--------------------' - */ -// MEDIA AND MOUSE -[MDIA] = LAYOUT_ergodox( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_MS_U, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_MS_L, KC_MS_D, KC_MS_R, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_BTN1, KC_BTN2, - KC_TRNS, KC_TRNS, - KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, - // right hand - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY, - KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_MNXT, KC_TRNS, KC_TRNS, - KC_VOLU, KC_VOLD, KC_MUTE, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, - KC_TRNS, - KC_TRNS, KC_TRNS, KC_WBAK -), -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - // dynamically generate these. - case EPRM: - if (record->event.pressed) { - eeconfig_init(); - } - return false; - break; - case VRSN: - if (record->event.pressed) { - SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); - } - return false; - break; - case RGB_SLD: - if (record->event.pressed) { - #ifdef RGBLIGHT_ENABLE - rgblight_mode(1); - #endif - } - return false; - break; - } - return true; -} - -// Runs just one time when the keyboard initializes. -void matrix_init_user(void) { - -}; - - -// Runs constantly in the background, in a loop. -void matrix_scan_user(void) { - - uint8_t layer = get_highest_layer(layer_state); - - ergodox_board_led_off(); - ergodox_right_led_1_off(); - ergodox_right_led_2_off(); - ergodox_right_led_3_off(); - switch (layer) { - // TODO: Make this relevant to the ErgoDox EZ. - case 1: - ergodox_right_led_1_on(); - break; - case 2: - ergodox_right_led_2_on(); - break; - default: - // none - break; - } - -}; diff --git a/keyboards/ktec/ergodone/keymaps/eozaki/readme.md b/keyboards/ktec/ergodone/keymaps/eozaki/readme.md deleted file mode 100644 index bfde2b2c8e..0000000000 --- a/keyboards/ktec/ergodone/keymaps/eozaki/readme.md +++ /dev/null @@ -1,13 +0,0 @@ -# ErgoDox EZ Based Configuration - -## Changelog - -* Aug 2018: - * New custom L0 layout. -* Dec 2016: - * Added LED keys - * Refreshed layout graphic, comes from http://configure.ergodox-ez.com now. -* Sep 22, 2016: - * Created a new key in layer 1 (bottom-corner key) that resets the EEPROM. -* Feb 2, 2016 (V1.1): - * Made the right-hand quote key double as Cmd/Win on hold. So you get ' when you tap it, " when you tap it with Shift, and Cmd or Win when you hold it. You can then use it as a modifier, or just press and hold it for a moment (and then let go) to send a single Cmd or Win keystroke (handy for opening the Start menu on Windows). diff --git a/keyboards/ktec/ergodone/keymaps/vega/keymap.c b/keyboards/ktec/ergodone/keymaps/vega/keymap.c deleted file mode 100644 index d668f9b41e..0000000000 --- a/keyboards/ktec/ergodone/keymaps/vega/keymap.c +++ /dev/null @@ -1,828 +0,0 @@ -// Copyright 2021 Vega Carlson (@VegaDeftwing) -// SPDX-License-Identifier: GPL-2.0-or-later - -#include QMK_KEYBOARD_H - -enum layer_names { BASE, GREL, GREU, SYMB, MATH, QWER, FNLR, TINY, FULL, FULU }; - -enum unicode_names { - // MATH - neq, //≠ - intgrl, //∫ - angl, //∠ - imply, //⇒ - equiv, //⇔ - porp, //∝ - exists, //∃ - nexists, //∄ - forall, //∀ - and, //∧ - or - , //∨ - xor, //⊕ - apeql, //≅ - root, //√ - not, //¬ - sum, //∑ - plsminus, //± - infin, //∞ - emtyset, //∅ - Mn, //ℕ - Mz, //ℤ - Mq, //ℚ - Mr, //ℝ - Mc, //ℂ - eleof, //∈ - member, //∋ - neleof, //∉ - nmember, //∌ - subsetof, //⊂ - suprsetof, //⊃ - intersection, //∩ - Munion, //∪ - - // SYMB - arwl, - arwu, - arwr, - arwd, - - uxclm, - cent, - degree, - trade, - copy, - numero, - sect, - mdot, - rang, - - lshade, - mshade, - dshade, - - fire, - water, - cleft, - baster, - neteen, - floppy, - - boxemp, - boxchk, - boxX, - - bbstr, - bbstl, - bbml, - bbmr, - bbmb, - bbrtr, - bbrbr, - bbrtl, - bbrbl, - bbsbr, - bbsbl, - bbmbr, - bbmbl, - - Agrave, - Aacute, - Acircm, - Atilde, - Abreve, - Adiaer, - Adacut, - - // not all ogham letters, as I - // actually intend to use them for hex - OS, - Oa, - Ob, - Oc, - Od, - Oe, - Of, - Og, - Oh, - Oi, - OA, - OB, - OC, - OD, - OE, - OF, - Os, - OED, - Ox, - gnd, - sqr, - sine, - opt, - - geq, - leq, - brkup, - brkdn, - perup, - perdn, - - // GREEL - rone, // 1:: ⅰ - rtwo, - rthree, - rfour, // 4:: ⅳ - rfive, // 5:: ⅴ - rsix, // 6:: ⅵ - rseven, // 7:: ⅶ - reight, // 8:: ⅷ - rnine, // 9:: ⅸ - rten, // 0:: ⅹ - gq, // q:: θ - gw, // w:: ω - ge, // e:: ε - gr, // r:: ρ - gt, // t:: τ - gy, // y:: ψ - gu, // u:: υ - gi, // i:: ι - go, // o:: ο - gp, // p:: π - ga, // a:: α - gs, // s:: σ - gd, // d:: δ - gf, // f:: φ - gg, // g:: γ - gh, // h:: η - gj, // j:: ϑ - gk, // k:: κ - gl, // l:: λ - gz, // z:: ζ - gx, // x:: ξ - gc, // c:: χ - gv, // v:: ς - gb, // b:: β - gn, // n:: ν - gm, // m:: μ - - // GREEU - Rone, // 1:: Ⅰ - Rtwo, // 2:: Ⅱ - Rthree, // 3:: Ⅲ - Rfour, // 4:: Ⅳ - Rfive, // 5:: Ⅴ - Rsix, // 6:: Ⅵ - Rseven, // 7:: Ⅶ - Reight, // 8:: Ⅷ - Rnine, // 9:: Ⅸ - Rten, - Gq, // Q:: Θ - Gw, // W:: Ω - Ge, // E:: Ε - Gr, // R:: Ρ - Gt, // T:: Τ - Gy, // Y:: Ψ - Gu, // U:: Υ - Gi, // I:: Ι - Go, // O:: Ο - Gp, // P:: Π - Ga, // A:: Α - Gs, // S:: Σ - Gd, // D:: Δ - Gf, // F:: Φ - Gg, // G:: Γ - Gh, // H:: Η - Gj, // J:: J - Gk, // K:: Κ - Gl, // L:: Λ - Gz, // Z:: Ζ - Gx, // X:: Ξ - Gc, // C:: Χ - Gv, // V:: V - Gb, // B:: Β - Gn, // N:: Ν - Gm, // M:: Μ - // ᵃ ᵇ ᶜ ᵈ ᵉ ᶠ ᵍ ʰ ⁱ ʲ ᵏ ˡ ᵐ ⁿ ᵒ ᵖ ʳ ˢ ᵗ ᵘ ᵛ ʷ ˣ ʸ ᶻ ⁰ ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ - tone, // 1:: ¹ - ttwo, // 2:: ² - tthree, // 3:: ³ - tfour, // 4:: ⁴ - tfive, // 5:: ⁵ - tsix, // 6:: ⁶ - tseven, // 7:: ⁷ - teight, // 8:: ⁸ - tnine, // 9:: ⁹ - tzero, // 0 :: ⁰ - tq, // Q:: ۹ - tw, // W:: ʷ - te, // E:: ᵉ - tr, // R:: ʳ - tt, // T:: ᵗ - ty, // Y:: ʸ - tu, // U:: ᵘ - ti, // I:: ⁱ - to, // O:: ᵒ - tp, // P:: ᵖ - ta, // A:: ᵃ - ts, // S:: ˢ - td, // D:: ᵈ - tf, // F:: ᶠ - tg, // G:: ᵍ - th, // H:: ʰ - tj, // J:: ʲ - tk, // K:: ᵏ - tl, // L:: ˡ - tz, // Z:: ᶻ - tx, // X:: ˣ - tc, // C:: ᶜ - tv, // V:: ᵛ - tb, // B:: ᵇ - tn, // N:: ⁿ - tm, // M:: ᵐ - // Fullwitdth - note, these are *not* the monospace unicode code points. - // This is done to prevent something eating it and using a weird font, which, - // presumably, isn't desired if doing this. - fwone, // 1:: 1 - fwtwo, // 2:: 2 - fwthree, // 3:: 3 - fwfour, // 4:: 4 - fwfive, // 5:: 5 - fwsix, // 6:: 6 - fwseven, // 7:: 7 - fweight, // 8:: 8 - fwnine, // 9:: 9 - fwzero, // 0 :: 0 - fwq, // Q:: q - fww, // W:: w - fwe, // E:: e - fwr, // R:: r - fwt, // T:: t - fwy, // Y:: y - fwu, // U:: u - fwi, // I:: i - fwo, // O:: o - fwp, // P:: p - fwa, // A:: a - fws, // S:: s - fwd, // D:: d - fwf, // F:: f - fwg, // G:: g - fwh, // H:: h - fwj, // J:: j - fwk, // K:: k - fwl, // L:: l - fwz, // Z:: z - fwx, // X:: x - fwc, // C:: c - fwv, // V:: v - fwb, // B:: b - fwn, // N:: n - fwm, // M:: m - // Full width caps + fractions, and a few extra symbols that lack a better place - Fwone, // 1:: ¼ - Fwtwo, // 2:: ½ - Fwthree, // 3:: ¾ - Fwfour, // 4:: ⅓ - Fwfive, // 5:: ⅔ - Fwsix, // 6:: ⅕ - Fwseven, // 7:: ⅛ - Fweight, // 8:: 𝒳 - Fwnine, // 9:: 𝒴 - Fwzero, // 0 :: 𝒵 - Fwq, // Q:: Q - Fww, // W:: W - Fwe, // E:: E - Fwr, // R:: R - Fwt, // T:: T - Fwy, // Y:: Y - Fwu, // U:: U - Fwi, // I:: I - Fwo, // O:: O - Fwp, // P:: P - Fwa, // A:: A - Fws, // S:: S - Fwd, // D:: D - Fwf, // F:: F - Fwg, // G:: G - Fwh, // H:: H - Fwj, // J:: J - Fwk, // K:: K - Fwl, // L:: L - Fwz, // Z:: Z - Fwx, // X:: X - Fwc, // C:: C - Fwv, // V:: V - Fwb, // B:: B - Fwn, // N:: N - Fwm, // M:: M - nbsp, // You know what this is   - ibang, //‽ - nullpic, // Null picture - ␀ -}; - -const uint32_t unicode_map[] PROGMEM = { - // MATH - [neq] = 0x2260, //≠ - [intgrl] = 0x222B, //∫ - [angl] = 0x2220, //∠ - [imply] = 0x21D2, //⇒ - [equiv] = 0x21D4, //⇔ - [porp] = 0x221D, //∝ - [exists] = 0x2203, //∃ - [nexists] = 0x2204, //∄ - [forall] = 0x2200, //∀ - [and] = 0x2227, //∧ - [or] = 0x2228, //∨ - [xor] = 0x2295, //⊕ - [apeql] = 0x2245, //≅ - [root] = 0x221A, //√ - [not ] = 0x00AC, //¬ - [sum] = 0x2211, //∑ - [plsminus] = 0x00B1, //± - [infin] = 0x221E, //∞ - [emtyset] = 0x2205, //∅ - [Mn] = 0x2115, //ℕ - [Mz] = 0x2124, //ℤ - [Mq] = 0x211A, //ℚ - [Mr] = 0x211D, //ℝ - [Mc] = 0x2102, //ℂ - [eleof] = 0x2208, //∈ - [member] = 0x220B, //∋ - [neleof] = 0x2209, //∉ - [nmember] = 0x220C, //∌ - [subsetof] = 0x2282, //⊂ - [suprsetof] = 0x2283, // - [intersection] = 0x2229, //∩ - [Munion] = 0x222A, //∪ - // Symbol - [arwl] = 0x2190, //← - [arwu] = 0x2191, //↑ - [arwr] = 0x2192, //→ - [arwd] = 0x2193, //↓ - - [uxclm] = 0x00A1, //¡ - [cent] = 0x00A2, //¢ - [degree] = 0x00B0, //° - [trade] = 0x2122, //™ - [copy] = 0x00A9, //© - [numero] = 0x2116, //№ - [sect] = 0x00A7, //§ - [mdot] = 0x00B7, //· - [rang] = 0x299C, //⦜ - - [lshade] = 0x2591, //░ - [mshade] = 0x2592, //▒ - [dshade] = 0x2593, //▓ - - [fire] = 0x1F525, //🔥 - [water] = 0x1F322, //🌢 - [cleft] = 0x1F12F, //🄯 - [baster] = 0x1F7BC, //🞼 - [neteen] = 0x1F51E, //🔞 - [floppy] = 0x1F5AB, //🖫 - - [boxemp] = 0x2610, //☐ - [boxchk] = 0x2611, //☑ - [boxX] = 0x2612, //☒ - - [bbstr] = 0x23A1, //⎡ - [bbstl] = 0x23A4, //⎤ - [bbml] = 0x23A8, //⎨ - [bbmr] = 0x23AC, //⎬ - [bbmb] = 0x23AA, //⎪ - [bbrtr] = 0x23A7, //⎧ - [bbrbr] = 0x23A9, //⎩ - [bbrtl] = 0x23AB, //⎫ - [bbrbl] = 0x23AD, //⎭ - [bbsbr] = 0x23A3, //⎣ - [bbsbl] = 0x23A6, //⎦ - [bbmbr] = 0x23A5, //⎥ - [bbmbl] = 0x23A2, //⎢ - - [Agrave] = 0x0300, // è //above [wtf] = 0x1242A, //𒐪 - [Aacute] = 0x0301, // é //1st - [Acircm] = 0x0302, // ê //2nd - [Atilde] = 0x0303, // ẽ //5th - [Abreve] = 0x0306, // ĕ //4th - [Adiaer] = 0x0308, // ë //3rd - [Adacut] = 0x030B, // e̋ - - // not all ogham letters, as I - // actually intend to use them for hex - [OS] = 0x1680, // space - [Oa] = 0x1681, // 1 - [Ob] = 0x1682, // 2 - [Oc] = 0x1683, // 3 - [Od] = 0x1684, // 4 - [Oe] = 0x1685, // 5 - [Of] = 0x1686, // 6 - [Og] = 0x1687, // 7 - [Oh] = 0x1688, // 8 - [Oi] = 0x1689, // 9 - [OA] = 0x168A, // A - [OB] = 0x168B, // B - [OC] = 0x168C, // C - [OD] = 0x168D, // D - [OE] = 0x168E, // E - [OF] = 0x168F, // F - [Os] = 0x169B, // Start - [OED] = 0x169C, // End - [Ox] = 0x1695, // X - - [gnd] = 0x23DA, //⏚ - [sqr] = 0x238D, //⎍, actually monostable - [sine] = 0x223F, //∿ - [opt] = 0x2325, //⌥, actually option used for switch - - [geq] = 0x2264, //≤ - [leq] = 0x2265, //≥ - [brkup] = 0xFE38, //︸ - [brkdn] = 0xFE37, //︷ - [perup] = 0xFE35, //︵ - [perdn] = 0xFE36, //︶ - // GREEKL - [rone] = 0x2170, // 1:: ⅰ - [rtwo] = 0x2171, // 2:: ⅱ - [rthree] = 0x2172, // 3:: ⅲ - [rfour] = 0x2173, // 4:: ⅳ - [rfive] = 0x2174, // 5:: ⅴ - [rsix] = 0x2175, // 6:: ⅵ - [rseven] = 0x2176, // 7:: ⅶ - [reight] = 0x2177, // 8:: ⅷ - [rnine] = 0x2178, // 9:: ⅸ - [rten] = 0x2179, // 0:: ⅹ - [gq] = 0x03B8, // q:: θ - [gw] = 0x03C9, // w:: ω - [ge] = 0x03B5, // e:: ε - [gr] = 0x03C1, // r:: ρ - [gt] = 0x03C4, // t:: τ - [gy] = 0x03C8, // y:: ψ - [gu] = 0x03C5, // u:: υ - [gi] = 0x03B9, // i:: ι - [go] = 0x03BF, // o:: ο - [gp] = 0x03C0, // p:: π - [ga] = 0x03B1, // a:: α - [gs] = 0x03C3, // s:: σ - [gd] = 0x03B4, // d:: δ - [gf] = 0x03C6, // f:: φ - [gg] = 0x03B3, // g:: γ - [gh] = 0x03B7, // h:: η - [gj] = 0x03D1, // j:: ϑ - [gk] = 0x03BA, // k:: κ - [gl] = 0x03BB, // l:: λ - [gz] = 0x03B6, // z:: ζ - [gx] = 0x03BE, // x:: ξ - [gc] = 0x03C7, // c:: χ - [gv] = 0x03C2, // v:: ς - [gb] = 0x03B2, // b:: β - [gn] = 0x03BD, // n:: ν - [gm] = 0x03BC, // m:: μ - // GREEKU - [Rone] = 0x2160, // 1:: Ⅰ - [Rtwo] = 0x2161, // 2:: Ⅱ - [Rthree] = 0x2162, // 3:: Ⅲ - [Rfour] = 0x2163, // 4:: Ⅳ - [Rfive] = 0x2164, // 5:: Ⅴ - [Rsix] = 0x2165, // 6:: Ⅵ - [Rseven] = 0x2166, // 7:: Ⅶ - [Reight] = 0x2167, // 8:: Ⅷ - [Rnine] = 0x2168, // 9:: Ⅸ - [Rten] = 0x2169, // 0:: Ⅹ - [Gq] = 0x0398, // Q:: Θ - [Gw] = 0x03A9, // W:: Ω - [Ge] = 0x0395, // E:: Ε - [Gr] = 0x03A1, // R:: Ρ - [Gt] = 0x03A4, // T:: Τ - [Gy] = 0x03A8, // Y:: Ψ - [Gu] = 0x03A5, // U:: Υ - [Gi] = 0x0399, // I:: Ι - [Go] = 0x039F, // O:: Ο - [Gp] = 0x03A0, // P:: Π - [Ga] = 0x0391, // A:: Α - [Gs] = 0x03A3, // S:: Σ - [Gd] = 0x0394, // D:: Δ - [Gf] = 0x03A6, // F:: Φ - [Gg] = 0x0393, // G:: Γ - [Gh] = 0x0397, // H:: Η - [Gj] = 0x004A, // J:: J - [Gk] = 0x039A, // K:: Κ - [Gl] = 0x039B, // L:: Λ - [Gz] = 0x0396, // Z:: Ζ - [Gx] = 0x039E, // X:: Ξ - [Gc] = 0x03A7, // C:: Χ - [Gv] = 0x0056, // V:: V - [Gb] = 0x0392, // B:: Β - [Gn] = 0x039D, // N:: Ν - [Gm] = 0x039C, // M:: Μ - - [tone] = 0x00B9, // 1:: ¹ - [ttwo] = 0x00B2, // 2:: ² - [tthree] = 0x00B3, // 3:: ³ - [tfour] = 0x2074, // 4:: ⁴ - [tfive] = 0x2075, // 5:: ⁵ - [tsix] = 0x2076, // 6:: ⁶ - [tseven] = 0x2077, // 7:: ⁷ - [teight] = 0x2078, // 8:: ⁸ - [tnine] = 0x2079, // 9:: ⁹ - [tzero] = 0x2070, // 0 :: ⁰ - [tq] = 0x06F9, // Q:: ۹ - superscript q doesn't exist. - [tw] = 0x02B7, // W:: ʷ - [te] = 0x1D49, // E:: ᵉ - [tr] = 0x02B3, // R:: ʳ - [tt] = 0x1D57, // T:: ᵗ - [ty] = 0x02B8, // Y:: ʸ - [tu] = 0x1D58, // U:: ᵘ - [ti] = 0x2071, // I:: ⁱ - [to] = 0x1D52, // O:: ᵒ - [tp] = 0x1D56, // P:: ᵖ - [ta] = 0x1D43, // A:: ᵃ - [ts] = 0x02E2, // S:: ˢ - [td] = 0x1D48, // D:: ᵈ - [tf] = 0x1DA0, // F:: ᶠ - [tg] = 0x1D4D, // G:: ᵍ - [th] = 0x02B0, // H:: ʰ - [tj] = 0x02B2, // J:: ʲ - [tk] = 0x1D4F, // K:: ᵏ - [tl] = 0x02E1, // L:: ˡ - [tz] = 0x1DBB, // Z:: ᶻ - [tx] = 0x02E3, // X:: ˣ - [tc] = 0x1D9C, // C:: ᶜ - [tv] = 0x1D5B, // V:: ᵛ - [tb] = 0x1D47, // B:: ᵇ - [tn] = 0x207F, // N:: ⁿ - [tm] = 0x1D50, // M:: ᵐ - - [fwone] = 0xFF11, // 1:: 1 - [fwtwo] = 0xFF12, // 2:: 2 - [fwthree] = 0xFF13, // 3:: 3 - [fwfour] = 0xFF14, // 4:: 4 - [fwfive] = 0xFF15, // 5:: 5 - [fwsix] = 0xFF16, // 6:: 6 - [fwseven] = 0xFF17, // 7:: 7 - [fweight] = 0xFF18, // 8:: 8 - [fwnine] = 0xFF19, // 9:: 9 - [fwzero] = 0xFF10, // 0 :: 0 - [fwq] = 0xFF51, // Q:: q - [fww] = 0xFF57, // W:: w - [fwe] = 0xFF45, // E:: e - [fwr] = 0xFF52, // R:: r - [fwt] = 0xFF54, // T:: t - [fwy] = 0xFF59, // Y:: y - [fwu] = 0xFF55, // U:: u - [fwi] = 0xFF49, // I:: i - [fwo] = 0xFF4F, // O:: o - [fwp] = 0xFF50, // P:: p - [fwa] = 0xFF41, // A:: a - [fws] = 0xFF53, // S:: s - [fwd] = 0xFF44, // D:: d - [fwf] = 0xFF46, // F:: f - [fwg] = 0xFF47, // G:: g - [fwh] = 0xFF48, // H:: h - [fwj] = 0xFF4A, // J:: j - [fwk] = 0xFF4B, // K:: k - [fwl] = 0xFF4C, // L:: l - [fwz] = 0xFF5A, // Z:: z - [fwx] = 0xFF58, // X:: x - [fwc] = 0xFF43, // C:: c - [fwv] = 0xFF56, // V:: v - [fwb] = 0xFF42, // B:: b - [fwn] = 0xFF4E, // N:: n - [fwm] = 0xFF4D, // M:: m - // Full width caps + fractions, and a few extra symbols that lack a better place - [Fwone] = 0x00BC, // 1:: ¼ - [Fwtwo] = 0x00BD, // 2:: ½ - [Fwthree] = 0x00BE, // 3:: ¾ - [Fwfour] = 0x2153, // 4:: ⅓ - [Fwfive] = 0x2154, // 5:: ⅔ - [Fwsix] = 0x2155, // 6:: ⅕ - [Fwseven] = 0x215B, // 7:: ⅛ - [Fweight] = 0x00A0, // 8::   - [Fwnine] = 0x203D, // 9:: ibang ‽ - [Fwzero] = 0x2400, // 0 :: nullpic ␀ - [Fwq] = 0xFF31, // Q:: Q - [Fww] = 0xFF37, // W:: W - [Fwe] = 0xFF25, // E:: E - [Fwr] = 0xFF32, // R:: R - [Fwt] = 0xFF34, // T:: T - [Fwy] = 0xFF39, // Y:: Y - [Fwu] = 0xFF35, // U:: U - [Fwi] = 0xFF29, // I:: I - [Fwo] = 0xFF2F, // O:: O - [Fwp] = 0xFF30, // P:: P - [Fwa] = 0xFF21, // A:: A - [Fws] = 0xFF33, // S:: S - [Fwd] = 0xFF24, // D:: D - [Fwf] = 0xFF26, // F:: F - [Fwg] = 0xFF27, // G:: G - [Fwh] = 0xFF28, // H:: H - [Fwj] = 0xFF2A, // J:: J - [Fwk] = 0xFF2B, // K:: K - [Fwl] = 0xFF2C, // L:: L - [Fwz] = 0xFF3A, // Z:: Z - [Fwx] = 0xFF38, // X:: X - [Fwc] = 0xFF23, // C:: C - [Fwv] = 0xFF36, // V:: V - [Fwb] = 0xFF22, // B:: B - [Fwn] = 0xFF2E, // N:: N - [Fwm] = 0xFF2D, // M:: M -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - // clang-format off - -[BASE] = LAYOUT_ergodox( // layer 0 : default - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_GRV, - KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_BSLS, - KC_EQL, KC_A, KC_O, KC_E, KC_U, KC_I, - SC_LSPO, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_AMPR, - OSL(FNLR), TT(GREL), TT(MATH), KC_UP, KC_DOWN, - KC_LBRC, KC_HOME, KC_INS, KC_SPC, KC_LGUI, KC_DEL, - - OSL(FNLR), KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, - KC_PGUP, KC_F, KC_G, KC_C, KC_R, KC_L, KC_SLSH, - KC_D, KC_H, KC_T, KC_N, KC_S, KC_MINS, - KC_PGDN, KC_B, KC_M, KC_W, KC_V, KC_Z, SC_RSPC, - KC_LEFT, KC_RIGHT, KC_RALT, TT(SYMB), TT(QWER), - KC_END, KC_RBRC, KC_PSCR, KC_RALT, KC_RCTL, KC_ENT -), - -[FNLR] = LAYOUT_ergodox( - // left hand - UC_LINX, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_NO, - UC_WINC,KC_F11, KC_F12, KC_F13,KC_F14, KC_F15, KC_NO, - TO(TINY),KC_F21, KC_F22, KC_F23,KC_F24, MAGIC_TOGGLE_NKRO, - TO(FULL),KC_PAUSE,KC_PSCR,KC_SCRL,KC_NO,KC_NO,KC_NO, - EE_CLR,TO(BASE),TO(BASE),TO(BASE),TO(BASE), - KC_NO,KC_NO, - KC_NO, - KC_NO,KC_NO,KC_NO, - // right hand - TO(BASE), KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, UC_LINX, - KC_NO, KC_F16, KC_F17,KC_F18, KC_F19, KC_F20, UC_WIN, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - KC_NO,KC_NO, KC_NO, KC_NO, KC_NO, - KC_NO, KC_NO, - KC_NO, - KC_NO, KC_RCTL, KC_NO -), - -[QWER] = LAYOUT_ergodox( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_GRV, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_BSLS, - KC_AMPR, KC_A, KC_S, KC_D, KC_F, KC_G, - SC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_QUOT, - KC_BSLS, KC_LCTL, KC_LGUI, KC_RALT, KC_APP, - KC_LBRC, KC_HOME, KC_PGUP, KC_SPC, KC_LSFT, KC_PGDN, - - OSL(FNLR), KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, - KC_MINS, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_SLSH, - KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, - KC_EQL, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, - KC_UP, KC_DOWN, KC_LEFT, KC_RIGHT, TO(BASE), - KC_END, KC_INS, KC_DEL, KC_RGHT, KC_ENT, KC_SPC -), - -[MATH] = LAYOUT_ergodox( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_GRV, - KC_TAB, UM(Mc), UM(Munion), UM(arwl), UM(or), UM(exists), KC_BSLS, - UM(arwr), UM(root), UM(and), UM(imply), UM(nexists), UM(forall), - SC_LSPO, KC_SCLN, UM(intgrl), UM(Mn), UM(Mz), UM(member), UM(arwl), - KC_MS_L, TO(BASE), TO(BASE), KC_INS, KC_DEL, - KC_LBRC, KC_HOME, KC_UP, KC_SPC, KC_LGUI, KC_DOWN, - - TT(FNLR), KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, - KC_PGUP, UM(plsminus), UM(infin), UM(neleof), UM(equiv), UM(Mq), KC_EQL, - UM(sum), UM(emtyset), UM(porp), UM(suprsetof), UM(not), UM(neq), - KC_PGDN, UM(subsetof), UM(intersection), UM(angl), UM(nmember), UM(eleof), SC_RSPC, - KC_RCTL, KC_RALT, KC_APP, TO(BASE), TO(BASE), - KC_END, KC_RBRC, KC_LEFT, KC_RGHT, KC_ENT, KC_SPC -), - -[SYMB] = LAYOUT_ergodox( - UM(Os), UM(Oa), UM(Ob), UM(Oc), UM(Od), UM(Oe), UM(mdot), - UM(boxemp), UM(bbstr), UM(bbrtr), UM(bbrtl), UM(bbstl), UM(degree), UM(brkdn), - UM(boxchk), UM(bbmbl), UM(bbml), UM(bbmr), UM(bbmbr), UM(neteen), - UM(boxX), UM(bbsbr), UM(bbrbr), UM(bbrbl), UM(bbsbl), UM(uxclm), UM(brkup), - UM(floppy), TO(BASE), TO(BASE), UM(arwu), UM(arwd), - UM(fire), UM(lshade), UM(mshade), KC_SPC, UM(OS), UM(dshade), - - UM(Ox), UM(Of), UM(Og), UM(Oh), UM(Oi), UM(OA), UM(OB), - UM(numero), UM(trade), UM(copy), UM(cleft), UM(cent), UM(OED), UM(OC), - UM(Agrave), UM(gnd), UM(sqr), UM(sine), UM(opt), UM(OD), - UM(sect), UM(Aacute), UM(Acircm), UM(Adiaer), UM(Abreve), UM(Atilde), UM(OE), - UM(arwl), UM(arwr), UM(geq), UM(leq), UM(OF), - UM(rang), UM(water), UM(perup), UM(perdn), UM(baster), KC_ENT -), - -[GREL] = LAYOUT_ergodox( - KC_ESC, UM(Rone), UM(Rtwo), UM(Rthree), UM(Rfour), UM(Rfive), KC_GRV, - KC_TAB, KC_QUOT, KC_COMM, KC_DOT, UM(gp), UM(gy), KC_SLSH, - KC_SLSH, UM(ga), UM(go), UM(ge), UM(gu), UM(gi), - MO(GREU), KC_SCLN, UM(gq), UM(gj), UM(gk), UM(gx), KC_AMPR, - KC_MS_L, TO(BASE), TO(BASE), KC_INS, KC_DEL, - KC_LBRC, KC_HOME, KC_UP, KC_SPC, KC_LGUI, KC_DOWN, - - TO(BASE), UM(Rsix), UM(Rseven), UM(Reight), UM(Rnine), UM(Rten), KC_BSPC, - KC_PGUP, UM(gf), UM(gg), UM(gc), UM(gr), UM(gl), KC_EQL, - UM(gd), UM(gh), UM(gt), UM(gn), UM(gs), KC_MINS, - KC_PGDN, UM(gb), UM(gm), UM(gw), UM(gv), UM(gz), MO(GREU), - KC_RCTL, KC_RALT, KC_APP, TO(BASE), TO(BASE), - KC_END, KC_RBRC, KC_LEFT, KC_RGHT, KC_ENT, KC_SPC -), - -[GREU] = LAYOUT_ergodox( - KC_ESC, UM(Rone), UM(Rtwo), UM(Rthree), UM(Rfour), UM(Rfive), KC_GRV, - KC_TAB, KC_QUOT, KC_COMM, KC_DOT, UM(Gp), UM(Gy), KC_SLSH, - KC_SLSH, UM(Ga), UM(Go), UM(Ge), UM(Gu), UM(Gi), - KC_TRNS, KC_SCLN, UM(Gq), UM(Gj), UM(Gk), UM(Gx), KC_AMPR, - KC_MS_L, TO(BASE), TO(BASE), KC_INS, KC_DEL, - KC_LBRC, KC_HOME, KC_UP, KC_SPC, KC_LGUI, KC_DOWN, - - TO(BASE), UM(Rsix), UM(Rseven), UM(Reight), UM(Rnine), UM(Rten), KC_BSPC, - KC_PGUP, UM(Gf), UM(Gg), UM(Gc), UM(Gr), UM(Gl), KC_EQL, - UM(Gd), UM(Gh), UM(Gt), UM(Gn), UM(Gs), KC_MINS, - KC_PGDN, UM(Gb), UM(Gm), UM(Gw), UM(Gv), UM(Gz), KC_TRNS, - KC_RCTL, KC_RALT, KC_APP, TO(BASE), TO(BASE), - KC_END, KC_RBRC, KC_LEFT, KC_RGHT, KC_ENT, KC_SPC -), - -[TINY] = LAYOUT_ergodox( - KC_ESC, UM(tone), UM(ttwo), UM(tthree), UM(tfour), UM(tfive), KC_GRV, - KC_TAB, KC_QUOT, KC_COMM, KC_DOT, UM(tp), UM(ty), KC_SLSH, - KC_SLSH, UM(ta), UM(to), UM(te), UM(tu), UM(ti), - KC_TRNS, KC_SCLN, UM(tq), UM(tj), UM(tk), UM(tx), KC_AMPR, - KC_MS_L, TO(BASE), TO(BASE), KC_INS, KC_DEL, - KC_LBRC, KC_HOME, KC_UP, KC_SPC, KC_LGUI, KC_DOWN, - - TO(BASE), UM(tsix), UM(tseven), UM(teight), UM(tnine), UM(tzero), KC_BSPC, - KC_PGUP, UM(tf), UM(tg), UM(tc), UM(tr), UM(tl), KC_EQL, - UM(td), UM(th), UM(tt), UM(tn), UM(ts), KC_MINS, - KC_PGDN, UM(tb), UM(tm), UM(tw), UM(tv), UM(tz), KC_TRNS, - KC_RCTL, KC_RALT, KC_APP, TO(BASE), TO(BASE), - KC_END, KC_RBRC, KC_LEFT, KC_RGHT, KC_ENT, KC_SPC -), - -[FULL] = LAYOUT_ergodox( - KC_ESC, UM(fwone), UM(fwtwo), UM(fwthree), UM(fwfour), UM(fwfive), KC_GRV, - KC_TAB, KC_QUOT, KC_COMM, KC_DOT, UM(fwp), UM(fwy), KC_SLSH, - KC_SLSH, UM(fwa), UM(fwo), UM(fwe), UM(fwu), UM(fwi), - MO(FULU), KC_SCLN, UM(fwq), UM(fwj), UM(fwk), UM(fwx), KC_AMPR, - KC_MS_L, TO(BASE), TO(BASE), KC_INS, KC_DEL, - KC_LBRC, KC_HOME, KC_UP, KC_SPC, KC_LGUI, KC_DOWN, - - TO(BASE), UM(fwsix), UM(fwseven), UM(fweight), UM(fwnine), UM(fwzero), KC_BSPC, - KC_PGUP, UM(fwf), UM(fwg), UM(fwc), UM(fwr), UM(fwl), KC_EQL, - UM(fwd), UM(fwh), UM(fwt), UM(fwn), UM(fws), KC_MINS, - KC_PGDN, UM(fwb), UM(fwm), UM(fww), UM(fwv), UM(fwz), MO(FULU), - KC_RCTL, KC_RALT, KC_APP, TO(BASE), TO(BASE), - KC_END, KC_RBRC, KC_LEFT, KC_RGHT, KC_ENT, KC_SPC -), - -[FULU] = LAYOUT_ergodox( - KC_ESC, UM(Fwone), UM(Fwtwo), UM(Fwthree), UM(Fwfour), UM(Fwfive), KC_GRV, - KC_TAB, KC_QUOT, KC_COMM, KC_DOT, UM(Fwp), UM(Fwy), KC_SLSH, - KC_SLSH, UM(Fwa), UM(Fwo), UM(Fwe), UM(Fwu), UM(Fwi), - KC_TRNS, KC_SCLN, UM(Fwq), UM(Fwj), UM(Fwk), UM(Fwx), KC_AMPR, - KC_MS_L, TO(BASE), TO(BASE), KC_INS, KC_DEL, - KC_LBRC, KC_HOME, KC_UP, KC_SPC, KC_LGUI, KC_DOWN, - - TO(BASE), UM(Fwsix), UM(Fwseven), UM(Fweight), UM(Fwnine), UM(Fwzero), KC_BSPC, - KC_PGUP, UM(Fwf), UM(Fwg), UM(Fwc), UM(Fwr), UM(Fwl), KC_EQL, - UM(Fwd), UM(Fwh), UM(Fwt), UM(Fwn), UM(Fws), KC_MINS, - KC_PGDN, UM(Fwb), UM(Fwm), UM(Fww), UM(Fwv), UM(Fwz), KC_TRNS, - KC_RCTL, KC_RALT, KC_APP, TO(BASE), TO(BASE), - KC_END, KC_RBRC, KC_LEFT, KC_RGHT, KC_ENT, KC_SPC -), - - // clang-format on - -}; - -// Runs just one time when the keyboard initializes. -void matrix_init_user(void){ - -}; - -// Runs constantly in the background, in a loop. -void matrix_scan_user(void) { - uint8_t layer = get_highest_layer(layer_state); - - ergodox_board_led_off(); - ergodox_right_led_1_off(); - ergodox_right_led_2_off(); - ergodox_right_led_3_off(); - switch (layer) { - // TODO: Make this relevant to the ErgoDox EZ. - case 1: - ergodox_right_led_1_on(); - break; - case 2: - ergodox_right_led_2_on(); - break; - default: - // none - break; - } -}; diff --git a/keyboards/ktec/ergodone/keymaps/vega/rules.mk b/keyboards/ktec/ergodone/keymaps/vega/rules.mk deleted file mode 100644 index d4b8547225..0000000000 --- a/keyboards/ktec/ergodone/keymaps/vega/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -UNICODE_ENABLE = no # Unicode -UNICODEMAP_ENABLE = yes diff --git a/keyboards/kumaokobo/kudox/rev1/keymaps/x1/keymap.c b/keyboards/kumaokobo/kudox/rev1/keymaps/x1/keymap.c deleted file mode 100644 index aef3892f58..0000000000 --- a/keyboards/kumaokobo/kudox/rev1/keymaps/x1/keymap.c +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright Kumao Kobo -// SPDX-License-Identifier: GPL-2.0+ - -#include QMK_KEYBOARD_H - -// Each layer gets a name for readability, which is then used in the keymap matrix below. -// The underscores don't mean anything - you can have a layer called STUFF or any other name. -// Layer names don't all need to be of the same length, obviously, and you can also skip them -// entirely and just use numbers. -#define _QWERTY 0 -#define _SYMB 1 -#define _NUMB 2 - -// Shortcut to make keymap more readable -#define SYM_L MO(_SYMB) -#define NUM_L MO(_NUMB) - -#define KC_ALES LALT_T(KC_ESC) - -#define KC_RGENT MT(KC_RGUI, KC_ENT) -#define KC_LGUI2 RALT_T(KC_LNG2) - -#define KC_L1SYM LT(_SYMB, KC_LNG1) -#define KC_L2SYM LT(_SYMB, KC_LNG2) - -#define KC_L1NUM LT(_NUMB, KC_LNG1) -#define KC_ENNUM LT(_NUMB, KC_ENT) - -#define KC_FSYM LT(_SYMB, KC_F) -#define KC_JNUM LT(_NUMB, KC_J) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [_QWERTY] = LAYOUT( - //┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐ - KC_ESC ,KC_1 ,KC_2 ,KC_3 ,KC_4 ,KC_5 , KC_6 ,KC_7 ,KC_8 ,KC_9 ,KC_0 ,KC_BSPC , - //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤ - KC_TAB ,KC_Q ,KC_W ,KC_E ,KC_R ,KC_T ,KC_L2SYM, KC_Y ,KC_U ,KC_I ,KC_O ,KC_P ,KC_SLSH ,KC_BSLS , - //├────────┼────────┼────────┼────────┼────────┼────────┼────────┘ └────────┼────────┼────────┼────────┼────────┼────────┼────────┤ - KC_LCTL ,KC_A ,KC_S ,KC_D ,KC_FSYM ,KC_G , KC_H ,KC_JNUM ,KC_K ,KC_L ,KC_SCLN ,KC_ENT , - //├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ - KC_LSFT ,KC_Z ,KC_X ,KC_C ,KC_V ,KC_B , KC_L1NUM,KC_N ,KC_M ,KC_COMM ,KC_DOT ,KC_RSFT , - //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┴────────┼────────┼────────┼────────┤ - KC_ALES ,KC_QUOT ,KC_MINS ,KC_EQL ,KC_ENNUM,KC_LGUI ,KC_SPC , KC_RGENT,KC_DEL ,SYM_L ,KC_LEFT ,KC_DOWN ,KC_UP ,KC_RGHT - //└────────┴────────┴────────┴────────┴────────┴────────┴────────┘ └────────┴────────┴────────┴────────┴────────┴────────┴────────┘ - ), - - [_SYMB] = LAYOUT( - //┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐ - KC_GRV ,KC_F1 ,KC_F2 ,KC_F3 ,KC_F4 ,KC_F5 , KC_F6 ,KC_F7 ,KC_F8 ,KC_F9 ,KC_F10 ,_______ , - //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤ - _______ ,KC_DQUO ,KC_QUOT ,KC_GRV ,KC_ASTR ,KC_PLUS ,KC_EQL , KC_LPRN ,KC_RPRN ,KC_PIPE ,KC_ASTR ,KC_TILD ,KC_CIRC ,KC_INT3 , - //├────────┼────────┼────────┼────────┼────────┼────────┼────────┘ └────────┼────────┼────────┼────────┼────────┼────────┼────────┤ - _______ ,KC_AT ,KC_COLN ,KC_GRV ,_______ ,KC_MINS , KC_LBRC ,KC_RBRC ,KC_DOT ,KC_SLSH ,KC_MINS ,_______ , - //├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ - _______ ,XXXXXXX ,XXXXXXX ,XXXXXXX ,KC_DOT ,KC_SLSH , _______ ,KC_LCBR ,KC_RCBR ,KC_DOT ,KC_SLSH ,_______ , - //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┴────────┼────────┼────────┼────────┤ - _______ ,_______ ,_______ ,_______ ,_______ ,_______ ,_______ , _______ ,_______ ,_______ ,KC_LT ,KC_UNDS ,KC_CIRC ,KC_GT - //└────────┴────────┴────────┴────────┴────────┴────────┴────────┘ └────────┴────────┴────────┴────────┴────────┴────────┴────────┘ - ), - - [_NUMB] = LAYOUT( - //┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐ - KC_GRV ,XXXXXXX ,XXXXXXX ,XXXXXXX ,XXXXXXX ,XXXXXXX , XXXXXXX ,XXXXXXX ,XXXXXXX ,XXXXXXX ,XXXXXXX ,_______ , - //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤ - _______ ,KC_7 ,KC_8 ,KC_9 ,KC_ASTR ,KC_PLUS ,KC_EQL , XXXXXXX ,XXXXXXX ,XXXXXXX ,XXXXXXX ,XXXXXXX ,XXXXXXX ,_______ , - //├────────┼────────┼────────┼────────┼────────┼────────┼────────┘ └────────┼────────┼────────┼────────┼────────┼────────┼────────┤ - _______ ,KC_4 ,KC_5 ,KC_6 ,KC_0 ,KC_MINS , XXXXXXX ,_______ ,XXXXXXX ,XXXXXXX ,XXXXXXX ,_______ , - //├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ - _______ ,KC_1 ,KC_2 ,KC_3 ,KC_DOT ,KC_SLSH , XXXXXXX ,XXXXXXX ,XXXXXXX ,XXXXXXX ,XXXXXXX ,_______ , - //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┴────────┼────────┼────────┼────────┤ - _______ ,KC_INT3 ,KC_0 ,_______ ,_______ ,_______ ,_______ , XXXXXXX ,XXXXXXX ,XXXXXXX ,XXXXXXX ,XXXXXXX ,XXXXXXX ,XXXXXXX - //└────────┴────────┴────────┴────────┴────────┴────────┴────────┘ └────────┴────────┴────────┴────────┴────────┴────────┴────────┘ - ) - -}; diff --git a/keyboards/kumaokobo/kudox/rev1/keymaps/x1/readme.md b/keyboards/kumaokobo/kudox/rev1/keymaps/x1/readme.md deleted file mode 100644 index 1085735afc..0000000000 --- a/keyboards/kumaokobo/kudox/rev1/keymaps/x1/readme.md +++ /dev/null @@ -1 +0,0 @@ -# [x1](https://github.com/x1-) 's keymap for Kudox Keyboard diff --git a/keyboards/kuro/kuro65/keymaps/0x544d/keymap.c b/keyboards/kuro/kuro65/keymaps/0x544d/keymap.c deleted file mode 100644 index bc7986f557..0000000000 --- a/keyboards/kuro/kuro65/keymaps/0x544d/keymap.c +++ /dev/null @@ -1,102 +0,0 @@ -/* Copyright 2023 Tobias Minn (0x544D) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H - -enum layers { - BL_WIN, - BL_MAC, - FN1, - FN2 -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - /* ISO 65 layout by 0x544D (ISO German keyboard layout shown) - * - * ,-----------------------------------------------------------------------------------------------. - * | Esc | 1 ! | 2 " | 3 § | 4 $ | 5 % | 6 & | 7 / | 8 ( | 9 ) | 0 = | ß ? | ´ ` | Backspace | Del | - * |-----------------------------------------------------------------------------------------------| - * | Tab | Q | W | E | R | T | Z | U | I | O | P | Ü | + * | Enter | PgU | - * |---------------------------------------------------------------------------------- |-----| - * | MO(2) | A | S | D | F | G | H | J | K | L | Ö | Ä | # ' | | PgD | - * |-----------------------------------------------------------------------------------------------| - * | Shift | < > | Y | X | C | V | B | N | M | , ; | . : | - _ | Shift | Up | Del | - * |-----------------------------------------------------------------------------------------------| - * | LCtl | LGUI | LAlt | Space |RAlt |MO(1)|RCtl | Lft | Dwn | Rgh | - * `-----------------------------------------------------------------------------------------------' - */ - [BL_WIN] = LAYOUT_65_iso( - KC_ESC, 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_BSPC, KC_DEL, - 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_PGUP, - MO(3), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, KC_PGDN, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_DEL, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(2), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - - [BL_MAC] = LAYOUT_65_iso( - KC_ESC, 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_BSPC, KC_DEL, - 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_PGUP, - MO(3), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, KC_ENT, KC_PGDN, - KC_LSFT, KC_GRV, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_DEL, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(2), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - - /* Funtion Layer 1: Media Controls with arrow keys / RShift (Play Pause), F keys, - * RGB matrix control - * ,-----------------------------------------------------------------------------------------------. - * | °^ | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | Delete |Home | - * |-----------------------------------------------------------------------------------------------| - * | |RGB_T|RGB+ |RGB- |HUE+ |HUE- |SAT+ |SAT- |BGH+ |BGH- | | | | |Home | - * |---------------------------------------------------------------------------------- |-----| - * | | | | | | | | | | | | | | | End | - * |-----------------------------------------------------------------------------------------------| - * | | | | | | | | | | | | | MPlay |Vol_U| End | - * |-----------------------------------------------------------------------------------------------| - * | | | | | |Trans| | MPrv|Vol_D| MNxt| - * `-----------------------------------------------------------------------------------------------' - */ - [FN1] = LAYOUT_65_iso( - KC_GRV, 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, KC_HOME, - KC_NO, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_NO, KC_NO, KC_NO, KC_HOME, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_END, - KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_MPLY, KC_VOLU, KC_END, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_NO, KC_MPRV, KC_VOLD, KC_MNXT - ), - - - /* Funtion Layer 2: Media Controls left hand, F keys, Page up/down, Home/end, Program/RESET - * ,-----------------------------------------------------------------------------------------------. - * | °^ | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | Delete |Home | - * |-----------------------------------------------------------------------------------------------| - * | | |Vol_D|Vol_U| | | | | | |RESET| | | |Home | - * |---------------------------------------------------------------------------------- |-----| - * | Trans |MPrv |MPlay| MNxt| | | | | | | | | | | End | - * |-----------------------------------------------------------------------------------------------| - * | | | | | | | | |TG(1)| | | | |PGUP | End | - * |-----------------------------------------------------------------------------------------------| - * | | | | | | | | Home|PGDN | End | - * `-----------------------------------------------------------------------------------------------' - */ - [FN2] = LAYOUT_65_iso( - KC_GRV, 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, KC_HOME, - KC_NO, KC_NO, KC_VOLD, KC_VOLU, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, QK_BOOT, KC_NO, KC_NO, KC_HOME, - KC_TRNS, KC_MPRV, KC_MPLY, KC_MNXT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_END, - KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, TG(1), KC_NO, KC_NO, KC_NO, KC_NO, KC_PGUP, KC_END, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_HOME, KC_PGDN, KC_END - ) - -}; \ No newline at end of file diff --git a/keyboards/kuro/kuro65/keymaps/0x544d/rules.mk b/keyboards/kuro/kuro65/keymaps/0x544d/rules.mk deleted file mode 100644 index 1821917788..0000000000 --- a/keyboards/kuro/kuro65/keymaps/0x544d/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes # enable VIA support \ No newline at end of file diff --git a/keyboards/kwub/bloop/keymaps/crispyy/keymap.c b/keyboards/kwub/bloop/keymaps/crispyy/keymap.c deleted file mode 100644 index 1b4f2a3ab4..0000000000 --- a/keyboards/kwub/bloop/keymaps/crispyy/keymap.c +++ /dev/null @@ -1,39 +0,0 @@ -/* Copyright 2021 Kwabena Aduse-Poku (Kwub) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H - -enum keyboard_layers { - _BL = 0, // Base layer - _FL, // Function -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // clang-format off - [_BL]= LAYOUT_625_split_bs( - QK_GESC, 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_BSPC, KC_DEL, - 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, KC_DEL, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_VOLU, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_VOLD, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(_FL), KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT), - - [_FL]= LAYOUT_625_split_bs( - KC_GRV, 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, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY, KC_VOLU, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_VOLD, KC_MNXT) -}; diff --git a/keyboards/lfkeyboards/lfkpad/keymaps/pascalpfeil/config.h b/keyboards/lfkeyboards/lfkpad/keymaps/pascalpfeil/config.h deleted file mode 100644 index 924da8d04d..0000000000 --- a/keyboards/lfkeyboards/lfkpad/keymaps/pascalpfeil/config.h +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright 2021 Pascal Pfeil - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -/* 1000Hz USB polling */ -#define USB_POLLING_INTERVAL_MS 1 - -/* Force NKRO on boot up */ -#define FORCE_NKRO - -#define RGB_MATRIX_SLEEP - -#define RGB_MATRIX_TIMEOUT 900000 diff --git a/keyboards/lfkeyboards/lfkpad/keymaps/pascalpfeil/keymap.c b/keyboards/lfkeyboards/lfkpad/keymaps/pascalpfeil/keymap.c deleted file mode 100644 index 466adfea47..0000000000 --- a/keyboards/lfkeyboards/lfkpad/keymaps/pascalpfeil/keymap.c +++ /dev/null @@ -1,58 +0,0 @@ -/* Copyright 2021 Pascal Pfeil - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_numpad_6x4( - KC_ESC, KC_TAB, KC_BSPC, MO(1), - KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, - KC_P7, KC_P8, KC_P9, - KC_P4, KC_P5, KC_P6, KC_PPLS, - KC_P1, KC_P2, KC_P3, - KC_P0, KC_PDOT, KC_PENT - ), - - /* RGB */ - [1] = LAYOUT_numpad_6x4( - RGB_SAI, RGB_VAI, RGB_HUI, _______, - RGB_SAD, RGB_VAD, RGB_HUD, QK_BOOT, - RGB_M_X, RGB_M_G, RGB_MOD, - RGB_M_SW,RGB_M_SN,RGB_M_K, RGB_RMOD, - RGB_M_P, RGB_M_B, RGB_M_R, - XXXXXXX, XXXXXXX, RGB_TOG - ), - - /* VIA wants four keymaps */ - [2] = LAYOUT_numpad_6x4( - _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, _______, - _______, _______, _______, _______, - _______, _______, _______, - _______, _______, _______ - ), - - /* VIA wants four keymaps */ - [3] = LAYOUT_numpad_6x4( - _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, _______, - _______, _______, _______, _______, - _______, _______, _______, - _______, _______, _______ - ), -}; diff --git a/keyboards/lfkeyboards/lfkpad/keymaps/pascalpfeil/rules.mk b/keyboards/lfkeyboards/lfkpad/keymaps/pascalpfeil/rules.mk deleted file mode 100644 index 36b7ba9cbc..0000000000 --- a/keyboards/lfkeyboards/lfkpad/keymaps/pascalpfeil/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes diff --git a/keyboards/m10a/keymaps/gam3cat/keymap.c b/keyboards/m10a/keymaps/gam3cat/keymap.c deleted file mode 100644 index 8860bbd010..0000000000 --- a/keyboards/m10a/keymaps/gam3cat/keymap.c +++ /dev/null @@ -1,150 +0,0 @@ -#include QMK_KEYBOARD_H -#include "version.h" - -extern keymap_config_t keymap_config; - -enum layers { - _L0 = 0, - _L1, - _L2, - _L3, - _L4, - _L5, - _L6, - _L7, - _L8, - _L9 -}; - -enum custom_keycodes { - QMK_REV = SAFE_RANGE, - KC_WEB, - KC_WCLS, - DYNAMIC_MACRO_RANGE -}; - -extern backlight_config_t backlight_config; - -#include "dynamic_macro.h" -#define FN_ZERO LT(_L9, KC_KP_0) -#define KC_DMR1 DM_REC1 -#define KC_DMR2 DM_REC2 -#define KC_DMP1 DM_PLY1 -#define KC_DMP2 DM_PLY2 -#define KC_DMRS DM_RSTP - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /*## Layout Config: - * .-----------. .-----------. .-----------. .-----------. .-----------. - * |7 |8 |9 | |+ |- |* | |^ |& |! | |VLU|Ver|WFD| |VLU|NXT|FFD| - * |-----------| |-----------| |-----------| |-----------| |-----------| - * |4 |5 |6 | |/ |% |, | |D |E |F | |MUT|C-W|CHR| |MUT|STP|PLY| - * |-----------| |-----------| |-----------| |-----------| |-----------| - * |1 |2 |3 | |. |= |Ent| |A |B |C | |VLD|CMP|WBK| |VLD|PRV|RWD| - * |-----------| |-----------| |-----------| |-----------| |-----------| - * |#L0|_L9/0 | |#L1|_L9 | |#L2|_L9 | |#L3|_L9 | |#L4|_L9 | - * *-----------* *-----------* *-----------* *-----------* *-----------* - * .-----------. .-----------. .-----------. .-----------. .-----------. - * | | | | | | | | |MP1| |MP2| | | |RST| |_L6|_L7|_L8| - * |-----------| |-----------| |-----------| |-----------| |-----------| - * | | | | | | | | | |MRS| | | | | | |_L3|_L4|_L5| - * |-----------| |-----------| |-----------| |-----------| |-----------| - * | | | | | | | | |MR1| |MR2| | | | | |_L0|_L1|_L2| - * |-----------| |-----------| |-----------| |-----------| |-----------| - * |#L5|_L9 | |#L6|_L9 | |#L7|_L9 | |#L8|_L9 | |#L9| | - * *-----------* *-----------* *-----------* *-----------* *-----------* - */ - [_L0] = {{KC_KP_7, KC_KP_8, KC_KP_9}, {KC_KP_4, KC_KP_5, KC_KP_6}, {KC_KP_1, KC_KP_2, KC_KP_3}, {XXXXXXX, XXXXXXX, FN_ZERO}}, - [_L1] = {{KC_PPLS, KC_PMNS, KC_PAST}, {KC_PSLS, KC_PERC, KC_COMM}, {KC_PDOT, KC_EQL, KC_PENT}, {XXXXXXX, XXXXXXX, MO(_L9)}}, - [_L2] = {{KC_CIRC, KC_AMPR, KC_EXLM}, {S(KC_D), S(KC_E), S(KC_F)}, {S(KC_A), S(KC_B), S(KC_C)}, {XXXXXXX, XXXXXXX, MO(_L9)}}, - [_L3] = {{KC_VOLU, QMK_REV, KC_WFWD}, {KC_MUTE, KC_WCLS, KC_WEB }, {KC_VOLD, KC_MYCM, KC_WBAK}, {XXXXXXX, XXXXXXX, MO(_L9)}}, - [_L4] = {{KC_VOLU, KC_MNXT, KC_MFFD}, {KC_MUTE, KC_MSTP, KC_MPLY}, {KC_VOLD, KC_MPRV, KC_MRWD}, {XXXXXXX, XXXXXXX, MO(_L9)}}, - [_L5] = {{_______, _______, _______}, {_______, _______, _______}, {_______, _______, _______}, {XXXXXXX, XXXXXXX, MO(_L9)}}, - [_L6] = {{_______, _______, _______}, {_______, _______, _______}, {_______, _______, _______}, {XXXXXXX, XXXXXXX, MO(_L9)}}, - [_L7] = {{KC_DMP1, _______, KC_DMP2}, {_______, KC_DMRS, _______}, {KC_DMR1, _______, KC_DMR2}, {XXXXXXX, XXXXXXX, MO(_L9)}}, - [_L8] = {{_______, _______, QK_BOOT }, {_______, _______, _______}, {_______, _______, _______}, {XXXXXXX, XXXXXXX, MO(_L9)}}, - [_L9] = {{DF(_L6), DF(_L7), DF(_L8)}, {DF(_L3), DF(_L4), DF(_L5)}, {DF(_L0), DF(_L1), DF(_L2)}, {XXXXXXX, XXXXXXX, _______}}, -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case QMK_REV: - if (record->event.pressed) { - SEND_STRING(QMK_KEYBOARD "/" QMK_KEYMAP "@" QMK_VERSION ":" QMK_BUILDDATE); - } - return false; - break; - case KC_WEB: - if (record->event.pressed) { - SEND_STRING(SS_LGUI("r")); - wait_ms(100); - SEND_STRING("chrome.exe\n"); - } - return false; - break; - case KC_WCLS: - if (record->event.pressed) { - SEND_STRING (SS_LCTL("w")); - } - return false; - break; - } - // Dynamic Macros. - if (!process_record_dynamic_macro(keycode, record)) { - return false; - } - return true; -} - -void custom_backlight_level(uint8_t level) { - if (level > BACKLIGHT_LEVELS) - level = BACKLIGHT_LEVELS; - backlight_config.level = level; - backlight_config.enable = !!backlight_config.level; - backlight_set(backlight_config.level); -} - -void matrix_init_user(void) { - #ifdef BACKLIGHT_ENABLE - custom_backlight_level(0); - #endif -} - -layer_state_t layer_state_set_user(layer_state_t state) { - switch (get_highest_layer(state)) { - case _L0: - custom_backlight_level(0); - break; - case _L1: - custom_backlight_level(1); - break; - case _L2: - custom_backlight_level(2); - break; - case _L3: - custom_backlight_level(3); - break; - case _L4: - custom_backlight_level(4); - break; - case _L5: - custom_backlight_level(5); - break; - case _L6: - custom_backlight_level(6); - break; - case _L7: - custom_backlight_level(6); - break; - case _L8: - custom_backlight_level(6); - break; - case _L9: - custom_backlight_level(0); - break; - default: - custom_backlight_level(0); - break; - } - return state; -} diff --git a/keyboards/m10a/keymaps/gam3cat/readme.md b/keyboards/m10a/keymaps/gam3cat/readme.md deleted file mode 100644 index 5c68e8c893..0000000000 --- a/keyboards/m10a/keymaps/gam3cat/readme.md +++ /dev/null @@ -1,21 +0,0 @@ -# Keymap Maintainer: Gam3cat -make m10a:gam3cat -## Layout Config: - .-----------. .-----------. .-----------. .-----------. .-----------. - |7 |8 |9 | |+ |- |* | |^ |& |! | |VLU|Ver|WFD| |VLU|NXT|FFD| - |-----------| |-----------| |-----------| |-----------| |-----------| - |4 |5 |6 | |/ |% |, | |D |E |F | |MUT|C-W|CHR| |MUT|STP|PLY| - |-----------| |-----------| |-----------| |-----------| |-----------| - |1 |2 |3 | |. |= |Ent| |A |B |C | |VLD|CMP|WBK| |VLD|PRV|RWD| - |-----------| |-----------| |-----------| |-----------| |-----------| - |#L0|_L9/0 | |#L1|_L9 | |#L2|_L9 | |#L3|_L9 | |#L4|_L9 | - *-----------* *-----------* *-----------* *-----------* *-----------* - .-----------. .-----------. .-----------. .-----------. .-----------. - | | | | | | | | |MP1| |MP2| | | |RST| |_L6|_L7|_L8| - |-----------| |-----------| |-----------| |-----------| |-----------| - | | | | | | | | | |MRS| | | | | | |_L3|_L4|_L5| - |-----------| |-----------| |-----------| |-----------| |-----------| - | | | | | | | | |MR1| |MR2| | | | | |_L0|_L1|_L2| - |-----------| |-----------| |-----------| |-----------| |-----------| - |#L5|_L9 | |#L6|_L9 | |#L7|_L9 | |#L8|_L9 | |#L9| | - *-----------* *-----------* *-----------* *-----------* *-----------* diff --git a/keyboards/m10a/keymaps/gam3cat/rules.mk b/keyboards/m10a/keymaps/gam3cat/rules.mk deleted file mode 100644 index ce170ae85f..0000000000 --- a/keyboards/m10a/keymaps/gam3cat/rules.mk +++ /dev/null @@ -1,22 +0,0 @@ -# Build Options -# change to "no" to disable the options, or define them in the Makefile in -# the appropriate keymap folder that will get included automatically -# -TAP_DANCE_ENABLE = no # Enable TapDance functionality -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys(+1500) -EXTRAKEY_ENABLE = yes # Audio control and System control(+450) -CONSOLE_ENABLE = no # Console for debug(+400) -COMMAND_ENABLE = no # Commands for debug and configuration -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend -NKRO_ENABLE = yes # Nkey Rollover - If this doesn't work, add this to config.h: #define FORCE_NKRO -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -MIDI_ENABLE = no # MIDI controls -UNICODE_ENABLE = no # Unicode -UNICODEMAP_ENABLE = no # Enable extended unicode -BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID -AUDIO_ENABLE = no # Audio output on port C6 -#VARIABLE_TRACE = no # Use this to debug changes to variable values -KEY_LOCK_ENABLE = no # This enables key lock(+260) -SPLIT_KEYBOARD = no # This enables split keyboard support and includes all necessary files located at quantum/split_common diff --git a/keyboards/omkbd/ergodash/rev1/keymaps/greenshadowmaker/config.h b/keyboards/omkbd/ergodash/rev1/keymaps/greenshadowmaker/config.h deleted file mode 100644 index a597d848e2..0000000000 --- a/keyboards/omkbd/ergodash/rev1/keymaps/greenshadowmaker/config.h +++ /dev/null @@ -1,27 +0,0 @@ -/* -This is the c configuration file for the keymap - -Copyright 2012 Jun Wako -Copyright 2015 Jack Humbert - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - -/* Select hand configuration */ - -#define MASTER_LEFT -// #define MASTER_RIGHT -// #define EE_HANDS diff --git a/keyboards/omkbd/ergodash/rev1/keymaps/greenshadowmaker/keyboard-layout-editor.json b/keyboards/omkbd/ergodash/rev1/keymaps/greenshadowmaker/keyboard-layout-editor.json deleted file mode 100644 index 8f8d308553..0000000000 --- a/keyboards/omkbd/ergodash/rev1/keymaps/greenshadowmaker/keyboard-layout-editor.json +++ /dev/null @@ -1,460 +0,0 @@ -[ - { - "name": "gsm-ErgoDash", - "notes": "Front Legend = \"Adust\" layer (both lower and Raise)\n\n\nLayout Positions are an aproximation and not exact" - }, - [ - { - "x": 3, - "t": "#0000ff\n#ff0000" - }, - "\nF3\n\n\n\n\n\n\n\n3 #", - { - "x": 11 - }, - "\nF8\n\n\n\n\n\n\n\n8 *" - ], - [ - { - "y": -0.875, - "x": 2 - }, - "\nF2\n\n\n\n\n\n\n\n2 @", - { - "x": 1 - }, - "\nF4\n\n\n\n\n\n\n\n4 $", - { - "x": 9 - }, - "\nF7\n\n\n\n\n\n\n\n7 &", - { - "x": 1 - }, - "\nF9\n\n\n\n\n\n\n\n9 (" - ], - [ - { - "y": -0.875, - "x": 5 - }, - "\nF5\n\n\n\n\n\n\n\n5 %", - { - "x": 7 - }, - "\nF6\n\n\n\n\n\n\n\n6 &" - ], - [ - { - "y": -0.875, - "t": "#000000", - "a": 3 - }, - "Esc\n\n\n\nreset", - { - "t": "#0000ff\n#ff0000", - "a": 4 - }, - "\nF1\n\n\n\n\n\n\n\n1 !", - { - "x": 15 - }, - "\nF10\n\n\n\n\n\n\n\n0 )", - { - "t": "#000000", - "a": 7, - "fa": [ - 2 - ] - }, - "Bksp" - ], - [ - { - "y": -0.625, - "x": 6, - "f": 3 - }, - "= +", - { - "x": 5, - "f": 3 - }, - "- _" - ], - [ - { - "y": -0.75, - "x": 3, - "f": 3 - }, - "E", - { - "x": 11, - "f": 3 - }, - "I" - ], - [ - { - "y": -0.875, - "x": 2, - "t": "#0000ff\n#ff0000\n\n\n\n\n\n\n\n\n#ff0000", - "a": 4, - "f": 3 - }, - "PgUP\nUP\n\n\n\n\n\n\n\nW", - { - "x": 1, - "t": "#000000", - "a": 3, - "f": 3 - }, - "R\n\n\n\nrgb_tog", - { - "x": 9, - "a": 7, - "f": 3 - }, - "U", - { - "x": 1, - "f": 3 - }, - "O" - ], - [ - { - "y": -0.875, - "x": 5, - "a": 3, - "f": 3 - }, - "T\n\n\n\nbl_tog", - { - "x": 7, - "a": 7, - "f": 3 - }, - "Y" - ], - [ - { - "y": -0.875, - "f": 3 - }, - "Tab", - { - "f": 3 - }, - "Q", - { - "x": 15, - "f": 3 - }, - "P", - { - "f": 3 - }, - "] }" - ], - [ - { - "y": -0.625, - "x": 6 - }, - "", - { - "x": 5, - "f": 3 - }, - "[ {" - ], - [ - { - "y": -0.75, - "x": 3, - "t": "#0000ff\n#ff0000\n\n\n\n\n\n\n\n\n#ff0000", - "a": 0, - "f": 3 - }, - "End\nRIGHT\n\n\nrgb_sai\n\n\n\n\nD", - { - "x": 11, - "t": "#000000", - "a": 7, - "f": 3 - }, - "K" - ], - [ - { - "y": -0.875, - "x": 2, - "t": "#0000ff\n#ff0000\n\n\n\n\n\n\n\n\n#ff0000", - "a": 0, - "f": 3 - }, - "PgDwn\nDOWN\n\n\nrgb_hai\n\n\n\n\nS", - { - "x": 1, - "t": "#000000", - "a": 3, - "f": 3 - }, - "F\n\n\n\nrgb_val", - { - "x": 9, - "a": 7, - "f": 3 - }, - "J", - { - "x": 1, - "f": 3 - }, - "L" - ], - [ - { - "y": -0.875, - "x": 5, - "a": 3, - "f": 3 - }, - "G\n\n\n\nbl_inc", - { - "x": 7, - "a": 7, - "f": 3 - }, - "H" - ], - [ - { - "y": -0.875, - "c": "#0000ff", - "t": "#ffffffff", - "f": 3 - }, - "Raise", - { - "c": "#cccccc", - "t": "#0000ff\n#ff0000\n\n\n\n\n\n\n\n\n#ff0000", - "a": 4, - "f": 3 - }, - "Home\nLEFT\n\n\n\n\n\n\n\nA", - { - "x": 15, - "t": "#000000", - "a": 7, - "f": 3 - }, - ": ;", - { - "f": 3 - }, - "' \"" - ], - [ - { - "y": -0.625, - "x": 6 - }, - "", - { - "x": 5 - }, - "" - ], - [ - { - "y": -0.75, - "x": 3, - "a": 3, - "f": 3 - }, - "C\n\n\n\nrgb_sad", - { - "x": 11, - "a": 7, - "f": 3 - }, - ", <" - ], - [ - { - "y": -0.875, - "x": 2, - "a": 3, - "f": 3 - }, - "X\n\n\n\nrgb_sad", - { - "x": 1, - "f": 3 - }, - "V\n\n\n\nrgb_vad", - { - "x": 9, - "a": 7, - "f": 3 - }, - "M", - { - "x": 1, - "f": 3 - }, - ". >" - ], - [ - { - "y": -0.875, - "x": 5, - "a": 3, - "f": 3 - }, - "B\n\n\n\nbl_dec", - { - "x": 7, - "a": 7, - "f": 3 - }, - "N" - ], - [ - { - "y": -0.875, - "a": 3, - "f": 3 - }, - "Shift\n\n\n\neep_rst", - { - "a": 7, - "f": 3 - }, - "Z", - { - "x": 15, - "f": 3 - }, - "/ ?", - { - "f": 3 - }, - "Shift" - ], - [ - { - "y": -0.25, - "x": 2, - "f": 3 - }, - "Alt", - { - "x": 13, - "f": 3 - }, - "DOWN" - ], - [ - { - "y": -0.9749999999999996, - "x": 3.5, - "f": 3 - }, - "Ctrl", - { - "x": 10.15, - "f": 3 - }, - "LEFT" - ], - [ - { - "y": -0.7750000000000004, - "f": 3 - }, - "`~", - { - "f": 3 - }, - "\\|", - { - "x": 15, - "f": 3 - }, - "UP", - { - "f": 3 - }, - "RIGHT" - ], - [ - { - "r": 30, - "rx": 6.5, - "ry": 4.25, - "y": -0.25, - "x": -0.2999999999999998, - "c": "#eb7c15", - "f": 3, - "h": 2 - }, - "Space", - { - "c": "#cccccc", - "f": 3 - }, - "Del" - ], - [ - { - "x": -1.2999999999999998, - "c": "#ff0000", - "f": 3 - }, - "Lower", - { - "x": 1, - "c": "#cccccc", - "t": "#0000ff\n#ff0000", - "a": 4 - }, - "\nApp\n\n\n\n\n\n\n\nOS" - ], - [ - { - "r": -30, - "rx": 13, - "y": -0.5, - "x": -2, - "t": "#000000", - "a": 7, - "f": 3 - }, - "PrtScr", - { - "c": "#eb7c15", - "f": 3, - "h": 2 - }, - "Space" - ], - [ - { - "x": -2, - "c": "#cccccc", - "f": 3 - }, - "Enter", - { - "x": 1, - "c": "#0000ff", - "t": "#ffffff", - "f": 3 - }, - "Raise" - ] -] \ No newline at end of file diff --git a/keyboards/omkbd/ergodash/rev1/keymaps/greenshadowmaker/keymap.c b/keyboards/omkbd/ergodash/rev1/keymaps/greenshadowmaker/keymap.c deleted file mode 100644 index 7ed548b765..0000000000 --- a/keyboards/omkbd/ergodash/rev1/keymaps/greenshadowmaker/keymap.c +++ /dev/null @@ -1,124 +0,0 @@ -#include QMK_KEYBOARD_H - -enum custom_keycodes { - LOWER = SAFE_RANGE, - RAISE, -}; - -enum layer_names { - _QWERTY, - _LOWER, - _RAISE, - _ADJUST, -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - /* Qwerty - * ,----------------------------------------------------------------------------------------------------------------------. - * | ESC | 1 | 2 | 3 | 4 | 5 | = | | - | 6 | 7 | 8 | 9 | 0 |Backsp| - * |------+------+------+------+------+------+------+--------------------+------+------+------+------+------+------+------| - * | Tab | Q | W | E | R | T | | | [ | Y | U | I | O | P | ] | - * |------+------+------+------+------+------+------+--------------------+------+------+------+------+------+------+------| - * | Raise| A | S | D | F | G | | | | H | J | K | L | ; | " | - * |------+------+------+------+------+------+---------------------------+------+------+------+------+------+------+------| - * | Shift| Z | X | C | V | B |||||||| Del | | |||||||| N | M | , | . | / | Shift| - * |-------------+------+------+------+------+------+------+------+------+------+------+------+------+------+-------------| - * | ` | \ | ALt | Ctrl |||||||| Lower| Space| LGui|||||||| Enter| Space| Raise|||||||| Left | Down | Up | Right| - * ,----------------------------------------------------------------------------------------------------------------------. - */ - [_QWERTY] = LAYOUT( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_EQL, KC_MINS, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, XXXXXXX, KC_LBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_RBRC, - RAISE, KC_A, KC_S, KC_D, KC_F, KC_G, XXXXXXX, XXXXXXX, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_DEL, KC_PSCR, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, - KC_GRV,KC_BSLS, KC_LALT, KC_LCTL, LOWER, KC_SPC,KC_LGUI, KC_ENT ,KC_SPC , RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT - ), - - /* Lower - * ,----------------------------------------------------------------------------------------------------------------------. - * | | F1 | F2 | F3 | F4 | F5 | | | | F6 | F7 | F8 | F9 | F10 | | - * |------+------+------+------+------+------+------+--------------------+------+------+------+------+------+------+------| - * | | | Up | | | | | | | | | | | | | - * |------+------+------+------+------+------+------+--------------------+------+------+------+------+------+------+------| - * | Raise| Left | Down | Rght | | | | | | | | | | | | - * |------+------+------+------+------+------+---------------------------+------+------+------+------+------+------+------| - * | Shift| | | | | |||||||| | | |||||||| | | | | | Shift| - * |-------------+------+------+------+------+------+------+------+------+------+------+------+------+------+-------------| - * | | | | |||||||| Lower| Space| |||||||| | Space| Raise|||||||| | | | | - * ,----------------------------------------------------------------------------------------------------------------------. - */ - [_LOWER] = LAYOUT( - XXXXXXX, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, XXXXXXX, XXXXXXX, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, XXXXXXX, - XXXXXXX, XXXXXXX, KC_UP, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - RAISE, KC_LEFT, KC_DOWN, KC_RGHT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - KC_LSFT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_RSFT, - XXXXXXX, XXXXXXX, XXXXXXX,XXXXXXX, LOWER, KC_SPC ,XXXXXXX, XXXXXXX, KC_SPC , RAISE, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX - ), - - /* Raise - * ,----------------------------------------------------------------------------------------------------------------------. - * | | | | | | | | | | | | | | | | - * |------+------+------+------+------+------+------+--------------------+------+------+------+------+------+------+------| - * | | | PgUp | | | | | | | | | | | | | - * |------+------+------+------+------+------+------+--------------------+------+------+------+------+------+------+------| - * | Raise| Home | PgDwn| End | | | | | | | | | | | | - * |------+------+------+------+------+------+---------------------------+------+------+------+------+------+------+------| - * | Shift| | | | | |||||||| | | |||||||| | | | | | Shift| - * |-------------+------+------+------+------+------+------+------+------+------+------+------+------+------+-------------| - * | | | | |||||||| Lower| Space| |||||||| |Space | Raise|||||||| | | | | - * ,----------------------------------------------------------------------------------------------------------------------. - */ - [_RAISE] = LAYOUT( - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, KC_PGUP, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - RAISE, KC_HOME, KC_PGDN, KC_END, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - KC_LSFT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_RSFT, - XXXXXXX, XXXXXXX, XXXXXXX,XXXXXXX, LOWER, KC_SPC ,XXXXXXX, XXXXXXX, KC_SPC , RAISE, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX - ), - - /* Adjust (Both Raise and Lower Together) - * ,----------------------------------------------------------------------------------------------------------------------. - * | Reset| | | | | | | | | | | | | | | - * |------+------+------+------+------+------+------+--------------------+------+------+------+------+------+------+------| - * | | | | |rgbtog|bl_tog| | | | | | | | | | - * |------+------+------+------+------+------+------+--------------------+------+------+------+------+------+------+------| - * | Raise| |rgbhui|rgbsai|rgbvai|bl_inc| | | | | | | | | | - * |------+------+------+------+------+------+---------------------------+------+------+------+------+------+------+------| - * |EE_CLR| |rgbhud|rgbdec|rgbvad|bl_dec|||||||| | | |||||||| | | | | | Shift| - * |-------------+------+------+------+------+------+------+------+------+------+------+------+------+------+-------------| - * | | | | |||||||| Lower| Space| |||||||| | Space| Raise|||||||| | | | | - * ,----------------------------------------------------------------------------------------------------------------------. - */ - [_ADJUST] = LAYOUT( - QK_BOOT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_TOG, BL_TOGG, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - RAISE, XXXXXXX, RGB_HUI, RGB_SAI, RGB_VAI, BL_UP, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - EE_CLR, XXXXXXX, RGB_HUD, RGB_SAD, RGB_VAD, BL_DOWN, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_RSFT, - XXXXXXX, XXXXXXX, XXXXXXX,XXXXXXX, LOWER, KC_SPC ,XXXXXXX, XXXXXXX, KC_SPC, RAISE, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX - ) -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case LOWER: - if (record->event.pressed) { - layer_on(_LOWER); - update_tri_layer(_LOWER, _RAISE, _ADJUST); - } else { - layer_off(_LOWER); - update_tri_layer(_LOWER, _RAISE, _ADJUST); - } - return false; - case RAISE: - if (record->event.pressed) { - layer_on(_RAISE); - update_tri_layer(_LOWER, _RAISE, _ADJUST); - } else { - layer_off(_RAISE); - update_tri_layer(_LOWER, _RAISE, _ADJUST); - } - return false; - } - return true; -} diff --git a/keyboards/omkbd/ergodash/rev1/keymaps/greenshadowmaker/rules.mk b/keyboards/omkbd/ergodash/rev1/keymaps/greenshadowmaker/rules.mk deleted file mode 100644 index 11b62b9bff..0000000000 --- a/keyboards/omkbd/ergodash/rev1/keymaps/greenshadowmaker/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -BACKLIGHT_ENABLE = yes -RGBLIGHT_ENABLE = yes -AUDIO_ENABLE = no diff --git a/keyboards/omkbd/ergodash/rev1/keymaps/tw1t611/config.h b/keyboards/omkbd/ergodash/rev1/keymaps/tw1t611/config.h deleted file mode 100644 index a597d848e2..0000000000 --- a/keyboards/omkbd/ergodash/rev1/keymaps/tw1t611/config.h +++ /dev/null @@ -1,27 +0,0 @@ -/* -This is the c configuration file for the keymap - -Copyright 2012 Jun Wako -Copyright 2015 Jack Humbert - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - -/* Select hand configuration */ - -#define MASTER_LEFT -// #define MASTER_RIGHT -// #define EE_HANDS diff --git a/keyboards/omkbd/ergodash/rev1/keymaps/tw1t611/keymap.c b/keyboards/omkbd/ergodash/rev1/keymaps/tw1t611/keymap.c deleted file mode 100644 index 938f3950fd..0000000000 --- a/keyboards/omkbd/ergodash/rev1/keymaps/tw1t611/keymap.c +++ /dev/null @@ -1,24 +0,0 @@ -#include QMK_KEYBOARD_H -#include "keymap_german.h" - -enum layers { - _QWERTZ, - _MOD, -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_QWERTZ] = LAYOUT( - _______ ,KC_1 ,KC_2 ,KC_3 ,KC_4 ,KC_5 ,_______ , KC_RSFT ,KC_6 ,KC_7 ,KC_8 ,KC_9 ,KC_0 ,_______ , - KC_ESC ,KC_Q ,KC_W ,KC_E ,KC_R ,KC_T ,KC_BSPC , KC_DEL ,KC_Y ,KC_U ,KC_I ,KC_O ,KC_P ,DE_ADIA , - KC_TAB ,KC_A ,KC_S ,KC_D ,KC_F ,KC_G ,DE_UNDS , KC_LALT ,KC_H ,KC_J ,KC_K ,KC_L ,DE_EQL ,DE_ODIA , - _______ ,KC_Z ,KC_X ,KC_C ,KC_V ,KC_B ,KC_SPC , KC_ENT ,KC_N ,KC_M ,KC_COMM ,KC_DOT ,DE_SS ,DE_UDIA , - _______ ,_______ ,_______ ,_______ , KC_LCTL ,KC_SPC ,KC_LSFT , MO(_MOD),KC_ENT ,KC_LGUI , _______ ,_______ ,_______ ,_______ - ), - [_MOD] = LAYOUT( - KC_F11 ,KC_F1 ,KC_F2 ,KC_F3 ,KC_F4 ,KC_F5 ,RGB_MOD , QK_BOOT,KC_F6 ,KC_F7 ,KC_F8 ,KC_F9 ,KC_F10 ,KC_F12 , - DE_CIRC ,DE_QUOT ,DE_DQUO ,DE_LCBR ,DE_RCBR ,DE_GRV ,RGB_TOG , _______ ,DE_PERC ,DE_PLUS ,DE_MINS ,DE_ASTR ,DE_SLSH ,DE_BSLS , - DE_TILD ,DE_EXLM ,DE_DLR ,DE_LPRN ,DE_RPRN ,DE_AMPR ,RGB_M_P , _______ ,KC_LEFT ,KC_DOWN ,KC_UP ,KC_RGHT ,DE_QUES ,DE_PIPE , - _______ ,DE_AT ,DE_EURO ,DE_LBRC ,DE_RBRC ,_______ ,_______ , _______ ,DE_HASH ,DE_LABK ,DE_SCLN ,DE_COLN ,DE_RABK ,DE_SECT , - _______ ,_______ ,_______ ,_______ , _______ ,_______ ,_______ , _______ ,_______ ,_______ , _______ ,_______ ,_______ ,_______ - ), -}; \ No newline at end of file diff --git a/keyboards/omkbd/ergodash/rev1/keymaps/tw1t611/readme.md b/keyboards/omkbd/ergodash/rev1/keymaps/tw1t611/readme.md deleted file mode 100644 index 54ee4d4f1f..0000000000 --- a/keyboards/omkbd/ergodash/rev1/keymaps/tw1t611/readme.md +++ /dev/null @@ -1,4 +0,0 @@ -# Tw1t611 Ergodash Layout - -This is a german layout for the ergodash keyboard. The Umlauts are placed on the right side. -It uses two layers and has vim like aligned arrow keys. diff --git a/keyboards/omkbd/ergodash/rev1/keymaps/tw1t611/rules.mk b/keyboards/omkbd/ergodash/rev1/keymaps/tw1t611/rules.mk deleted file mode 100644 index bb9e33b082..0000000000 --- a/keyboards/omkbd/ergodash/rev1/keymaps/tw1t611/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -BACKLIGHT_ENABLE = no -RGBLIGHT_ENABLE = no -AUDIO_ENABLE = no