From 78a74ca9748b12c27fcddef576a2a9f7f8a9eb38 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Fri, 16 Feb 2024 13:25:44 +0000 Subject: [PATCH] [Keymap Removal] keyboard with most keymaps (#23092) --- keyboards/dz60/keymaps/crd_ansi/keymap.c | 30 - keyboards/dz60/keymaps/crd_tsangan/keymap.c | 30 - .../dz60/keymaps/devinceble_wkl_tofu/keymap.c | 41 - .../keymaps/devinceble_wkl_tofu/readme.md | 9 - .../dz60/keymaps/devinceble_wkl_tofu/rules.mk | 1 - keyboards/dz60/keymaps/joooosh_hhkb/keymap.c | 49 -- .../dz60/keymaps/olligranlund_iso/keymap.c | 113 --- .../dz60/keymaps/olligranlund_iso/readme.md | 6 - .../dz60/keymaps/olligranlund_iso/rules.mk | 3 - .../dz60/keymaps/olligranlund_iso_v2/keymap.c | 113 --- .../keymaps/olligranlund_iso_v2/readme.md | 6 - .../dz60/keymaps/olligranlund_iso_v2/rules.mk | 3 - .../keymaps/colemak_es_osx/config.h | 20 - .../keymaps/colemak_es_osx/keymap.c | 397 --------- .../keymaps/colemak_es_osx/readme.md | 67 -- .../keymaps/hacker_dvorak/.gitignore | 2 - .../ergodox_ez/keymaps/hacker_dvorak/config.h | 88 -- .../keymaps/hacker_dvorak/gulpfile.js | 22 - .../keymaps/hacker_dvorak/hacker_dvorak.c | 353 -------- .../keycodes/aliases_definitions.c | 13 - .../hacker_dvorak/keycodes/custom_keycodes.c | 7 - .../ergodox_ez/keymaps/hacker_dvorak/keymap.c | 28 - .../hacker_dvorak/layers/layers_definitions.c | 12 - .../keymaps/hacker_dvorak/package.json | 15 - .../hacker_dvorak/plover/plover_mode.c | 20 - .../keymaps/hacker_dvorak/readme.md | 62 -- .../ergodox_ez/keymaps/hacker_dvorak/rules.mk | 37 - .../tap_dance/mod_tap_layer_dances/dot_comm.c | 41 - .../mod_tap_layer_dances/h_mouse_gui.c | 39 - .../mod_tap_layer_dances/j_media_meh.c | 43 - .../mod_tap_layer_dances/k_numpad_hyper.c | 45 -- .../mod_tap_layer_dances/m_chords_hyper.c | 45 -- .../mod_tap_layer_dances/none_lead.c | 40 - .../mod_tap_layer_dances/quot_dquot.c | 41 - .../mod_tap_layer_dances/scln_coln.c | 43 - .../mod_tap_layer_dances/u_arrows_gui.c | 39 - .../mod_tap_layer_dances/w_media_meh.c | 43 - .../tap_dance/tap_dance_actions.c | 44 - .../hacker_dvorak/tap_dance/tap_dance_setup.c | 75 -- .../hacker_dvorak/tap_dance/tap_dances.c | 98 --- .../hacker_dvorak/user/eeconfig_init_user.c | 3 - .../hacker_dvorak/user/layer_set_state_user.c | 121 --- .../hacker_dvorak/user/matrix_scan_user.c | 20 - .../hacker_dvorak/user/process_record_user.c | 75 -- keyboards/gh60/revc/keymaps/bluezio/keymap.c | 38 - keyboards/gh60/revc/keymaps/bluezio/rules.mk | 1 - keyboards/gh60/revc/keymaps/chaser/README.md | 96 --- keyboards/gh60/revc/keymaps/chaser/keymap.c | 328 -------- .../gh60/revc/keymaps/dbroqua_7U/keymap.c | 78 -- .../gh60/revc/keymaps/dbroqua_7U/rules.mk | 1 - keyboards/gh60/revc/keymaps/emiilsd/keymap.c | 48 -- .../gh60/revc/keymaps/robotmaxtron/config.h | 34 - .../gh60/revc/keymaps/robotmaxtron/keymap.c | 112 --- .../gh60/revc/keymaps/robotmaxtron/readme.md | 16 - .../gh60/revc/keymaps/robotmaxtron/rules.mk | 1 - keyboards/gh60/revc/keymaps/sethbc/keymap.c | 18 - .../gh60/satan/keymaps/addcninblue/keymap.c | 196 ----- .../gh60/satan/keymaps/addcninblue/readme.md | 13 - .../gh60/satan/keymaps/addcninblue/rules.mk | 20 - keyboards/gh60/satan/keymaps/ben_iso/config.h | 8 - keyboards/gh60/satan/keymaps/ben_iso/keymap.c | 127 --- .../gh60/satan/keymaps/ben_iso/readme.md | 12 - keyboards/gh60/satan/keymaps/ben_iso/rules.mk | 18 - keyboards/gh60/satan/keymaps/bri/keymap.c | 68 -- keyboards/gh60/satan/keymaps/bri/readme.md | 2 - keyboards/gh60/satan/keymaps/chaser/keymap.c | 49 -- keyboards/gh60/satan/keymaps/chaser/readme.md | 38 - keyboards/gh60/satan/keymaps/chaser/rules.mk | 18 - .../gh60/satan/keymaps/dende_iso/keymap.c | 78 -- .../gh60/satan/keymaps/dende_iso/readme.md | 61 -- .../gh60/satan/keymaps/dende_iso/rules.mk | 18 - .../gh60/satan/keymaps/denolfe/README.md | 12 - keyboards/gh60/satan/keymaps/denolfe/keymap.c | 72 -- keyboards/gh60/satan/keymaps/denolfe/rules.mk | 17 - .../gh60/satan/keymaps/dkrieger/config.h | 26 - .../gh60/satan/keymaps/dkrieger/keymap.c | 166 ---- .../gh60/satan/keymaps/dkrieger/readme.md | 23 - .../gh60/satan/keymaps/dkrieger/rules.mk | 19 - keyboards/gh60/satan/keymaps/lepa/keymap.c | 146 ---- keyboards/gh60/satan/keymaps/lepa/readme.md | 13 - keyboards/gh60/satan/keymaps/lepa/rules.mk | 19 - keyboards/gh60/satan/keymaps/mark1/keymap.c | 31 - keyboards/gh60/satan/keymaps/mark1/readme.md | 5 - .../gh60/satan/keymaps/no_caps_lock/keymap.c | 55 -- .../gh60/satan/keymaps/no_caps_lock/readme.md | 1 - .../satan/keymaps/olligranlund_iso/config.h | 26 - .../satan/keymaps/olligranlund_iso/keymap.c | 98 --- .../satan/keymaps/olligranlund_iso/readme.md | 18 - .../satan/keymaps/olligranlund_iso/rules.mk | 17 - keyboards/gh60/satan/keymaps/rask63/keymap.c | 83 -- keyboards/gh60/satan/keymaps/sethbc/keymap.c | 47 -- keyboards/gh60/satan/keymaps/sethbc/readme.md | 3 - keyboards/gh60/satan/keymaps/sethbc/rules.mk | 18 - .../gh60/satan/keymaps/spacemanspiff/keymap.c | 75 -- .../satan/keymaps/spacemanspiff/readme.md | 34 - .../gh60/satan/keymaps/unxmaal/README.md | 20 - keyboards/gh60/satan/keymaps/unxmaal/keymap.c | 84 -- keyboards/gh60/satan/keymaps/unxmaal/rules.mk | 18 - keyboards/hhkb/ansi/keymaps/cinaeco/README.md | 23 - keyboards/hhkb/ansi/keymaps/cinaeco/config.h | 10 - keyboards/hhkb/ansi/keymaps/cinaeco/keymap.c | 173 ---- keyboards/hhkb/ansi/keymaps/cinaeco/rules.mk | 20 - keyboards/hhkb/ansi/keymaps/lxol/keymap.c | 181 ----- .../hhkb/ansi/keymaps/schaeferdev/README.md | 36 - .../hhkb/ansi/keymaps/schaeferdev/config.h | 9 - .../hhkb/ansi/keymaps/schaeferdev/keymap.c | 76 -- .../hhkb/ansi/keymaps/schaeferdev/rules.mk | 1 - .../hhkb/ansi/keymaps/shela/action_pseudo.c | 149 ---- .../hhkb/ansi/keymaps/shela/action_pseudo.h | 27 - keyboards/hhkb/ansi/keymaps/shela/config.h | 36 - keyboards/hhkb/ansi/keymaps/shela/keymap.c | 443 ---------- .../hhkb/ansi/keymaps/shela/keymap_jis2us.h | 49 -- keyboards/hhkb/ansi/keymaps/shela/readme.md | 68 -- keyboards/hhkb/ansi/keymaps/shela/rules.mk | 3 - .../hhkb/ansi/keymaps/tobiasvl_iso/keymap.c | 20 - .../hhkb/ansi/keymaps/tobiasvl_iso/readme.md | 22 - keyboards/hhkb/jp/keymaps/bakingpy/keymap.c | 16 - keyboards/hhkb/jp/keymaps/bakingpy/rules.mk | 1 - keyboards/hhkb/jp/keymaps/enoch_jp/keymap.c | 44 - keyboards/hhkb/jp/keymaps/enoch_jp/rules.mk | 3 - .../hhkb/jp/keymaps/halfqwerty_jp/README.md | 49 -- .../hhkb/jp/keymaps/halfqwerty_jp/keymap.c | 76 -- .../hhkb/jp/keymaps/halfqwerty_jp/rules.mk | 1 - keyboards/hhkb/jp/keymaps/rdg_jp/keymap.c | 50 -- keyboards/hhkb/jp/keymaps/rdg_jp/rules.mk | 1 - keyboards/hhkb/jp/keymaps/sh_jp/README.md | 86 -- keyboards/hhkb/jp/keymaps/sh_jp/keymap.c | 45 -- keyboards/hhkb/jp/keymaps/sh_jp/rules.mk | 1 - .../idobao/id75/keymaps/drewdobo/config.h | 23 - .../idobao/id75/keymaps/drewdobo/keymap.c | 65 -- .../idobao/id75/keymaps/drewdobo/readme.md | 1 - .../idobao/id75/keymaps/drewdobo/rules.mk | 17 - keyboards/idobao/id75/keymaps/gkbd/config.h | 25 - keyboards/idobao/id75/keymaps/gkbd/keymap.c | 41 - keyboards/idobao/id75/keymaps/gkbd/readme.md | 7 - keyboards/idobao/id75/keymaps/gkbd/rules.mk | 1 - .../idobao/id75/keymaps/gkbd_75/config.h | 20 - .../idobao/id75/keymaps/gkbd_75/keymap.c | 35 - .../idobao/id75/keymaps/gkbd_75/readme.md | 7 - .../idobao/id75/keymaps/gkbd_orthon/config.h | 19 - .../idobao/id75/keymaps/gkbd_orthon/keymap.c | 78 -- .../idobao/id75/keymaps/gkbd_orthon/readme.md | 11 - keyboards/idobao/id75/keymaps/paryz/config.h | 20 - keyboards/idobao/id75/keymaps/paryz/keymap.c | 144 ---- keyboards/idobao/id75/keymaps/paryz/rules.mk | 2 - .../idobao/id75/keymaps/pathnirvana/config.h | 24 - .../idobao/id75/keymaps/pathnirvana/keymap.c | 44 - .../idobao/id75/keymaps/pathnirvana/rules.mk | 3 - .../id75/keymaps/xaceofspaidsx/keymap.c | 67 -- .../id75/keymaps/xaceofspaidsx/readme.md | 1 - .../id75/keymaps/xaceofspaidsx/rules.mk | 19 - .../keymaps/catrielmuller_camilad/config.h | 17 - .../keymaps/catrielmuller_camilad/keymap.c | 33 - .../keymaps/catrielmuller_camilad/readme.md | 1 - .../keymaps/catrielmuller_camilad/rules.mk | 1 - .../kbdfans/kbd67/rev2/keymaps/droxx/config.h | 30 - .../kbdfans/kbd67/rev2/keymaps/droxx/keymap.c | 71 -- .../kbd67/rev2/keymaps/droxx/readme.md | 30 - .../kbdfans/kbd67/rev2/keymaps/droxx/rules.mk | 3 - .../kbd67/rev2/keymaps/jscatena88/keymap.c | 58 -- .../kbd67/rev2/keymaps/jscatena88/readme.md | 4 - .../kbd67/rev2/keymaps/naphtaline/keymap.c | 58 -- .../kbd67/rev2/keymaps/naphtaline/readme.md | 4 - .../kbd67/rev2/keymaps/rouge8/keymap.c | 60 -- .../kbd67/rev2/keymaps/rouge8/readme.md | 1 - .../kbd67/rev2/keymaps/rouge8/rules.mk | 2 - .../kbd75/keymaps/aaronireland/keymap.c | 212 ----- .../kbd75/keymaps/aaronireland/readme.md | 39 - .../kbd75/keymaps/adamdehaven/config.h | 3 - .../kbd75/keymaps/adamdehaven/keymap.c | 168 ---- .../kbd75/keymaps/adamdehaven/rules.mk | 1 - keyboards/kbdfans/kbd75/keymaps/adit/keymap.c | 23 - .../kbdfans/kbd75/keymaps/broswen/README.md | 7 - .../kbdfans/kbd75/keymaps/broswen/keymap.c | 22 - .../kbdfans/kbd75/keymaps/digital/keymap.c | 22 - .../kbdfans/kbd75/keymaps/digital/readme.md | 5 - .../kbdfans/kbd75/keymaps/ethan605/keymap.c | 67 -- .../kbd75/keymaps/kingwangwong/keymap.c | 145 ---- .../kbd75/keymaps/spacemanspiff/keymap.c | 41 - .../kbd75/keymaps/spacemanspiff/readme.md | 35 - .../kbdfans/niu_mini/keymaps/dyesub/keymap.c | 74 -- .../kbdfans/niu_mini/keymaps/dyesub/readme.md | 7 - .../kbdfans/niu_mini/keymaps/dyesub/rules.mk | 2 - .../kbdfans/niu_mini/keymaps/edvard/keymap.c | 194 ----- .../kbdfans/niu_mini/keymaps/edvard/readme.md | 5 - .../niu_mini/keymaps/framtava/config.h | 29 - .../niu_mini/keymaps/framtava/keymap.c | 279 ------- .../niu_mini/keymaps/framtava/readme.md | 2 - .../niu_mini/keymaps/framtava/rules.mk | 3 - .../niu_mini/keymaps/nosarthur/README.md | 35 - .../niu_mini/keymaps/nosarthur/keymap.c | 8 - .../keymaps/nosarthur/keymap_colemak_dh.json | 1 - .../keymaps/nosarthur/keymap_qwerty.json | 1 - .../niu_mini/keymaps/nosarthur/rules.mk | 4 - .../kbdfans/niu_mini/keymaps/tobias/config.h | 37 - .../kbdfans/niu_mini/keymaps/tobias/keymap.c | 383 --------- .../kbdfans/niu_mini/keymaps/tobias/readme.md | 2 - .../kbdfans/niu_mini/keymaps/tobias/rules.mk | 2 - .../keebio/bdn9/keymaps/ghostseven/config.h | 20 - .../keebio/bdn9/keymaps/ghostseven/keymap.c | 71 -- keyboards/keebio/bdn9/keymaps/lickel/keymap.c | 171 ---- .../keebio/bdn9/keymaps/lickel/readme.md | 21 - keyboards/keebio/bdn9/keymaps/lickel/rules.mk | 6 - .../bdn9/keymaps/vosechu-browser/keymap.c | 58 -- .../keebio/bdn9/keymaps/vosechu-ksp/keymap.c | 173 ---- .../keymaps/insertsnideremarks/config.h | 37 - .../keymaps/insertsnideremarks/keymap.c | 381 --------- .../keymaps/insertsnideremarks/readme.md | 1 - .../keymaps/insertsnideremarks/rules.mk | 19 - .../bfo9000/keymaps/rogthefrog6x9/keymap.c | 20 - .../bfo9000/keymaps/shadyproject/keymap.c | 81 -- .../bfo9000/keymaps/shadyproject/readme.md | 11 - .../bfo9000/keymaps/tuesdayjohn/config.h | 37 - .../bfo9000/keymaps/tuesdayjohn/keymap.c | 341 -------- .../bfo9000/keymaps/tuesdayjohn/rules.mk | 19 - .../keebio/bfo9000/keymaps/vladkvit/keymap.c | 34 - .../keebio/bfo9000/keymaps/vladkvit/readme.md | 4 - .../levinson/keymaps/drogglbecher/config.h | 11 - .../levinson/keymaps/drogglbecher/keymap.c | 76 -- .../levinson/keymaps/drogglbecher/rules.mk | 6 - .../keebio/levinson/keymaps/jyh/keymap.c | 202 ----- .../keebio/levinson/keymaps/jyh/readme.md | 32 - .../keebio/levinson/keymaps/jyh/rules.mk | 1 - .../keebio/levinson/keymaps/jyh2/config.h | 41 - .../keebio/levinson/keymaps/jyh2/keymap.c | 222 ----- .../keebio/levinson/keymaps/jyh2/readme.md | 32 - .../keebio/levinson/keymaps/jyh2/rules.mk | 2 - .../levinson/keymaps/ksamborski/config.h | 35 - .../levinson/keymaps/ksamborski/keymap.c | 151 ---- .../levinson/keymaps/ksamborski/rules.mk | 3 - .../levinson/keymaps/mmacdougall/README.md | 21 - .../levinson/keymaps/mmacdougall/config.h | 24 - .../levinson/keymaps/mmacdougall/keymap.c | 197 ----- .../levinson/keymaps/mmacdougall/rules.mk | 2 - .../levinson/keymaps/treadwell/config.h | 25 - .../levinson/keymaps/treadwell/keymap.c | 175 ---- .../levinson/keymaps/treadwell/rules.mk | 2 - .../nyquist/keymaps/bwprobably/config.h | 30 - .../nyquist/keymaps/bwprobably/keymap.c | 31 - .../nyquist/keymaps/bwprobably/rules.mk | 1 - .../nyquist/keymaps/georgepetri/config.h | 26 - .../nyquist/keymaps/georgepetri/keymap.c | 106 --- .../nyquist/keymaps/georgepetri/readme.md | 52 -- .../nyquist/keymaps/georgepetri/rules.mk | 5 - .../nyquist/keymaps/georgepetri3/config.h | 25 - .../nyquist/keymaps/georgepetri3/keymap.c | 106 --- .../nyquist/keymaps/georgepetri3/readme.md | 52 -- .../nyquist/keymaps/georgepetri3/rules.mk | 5 - .../keebio/nyquist/keymaps/jojiichan/config.h | 45 -- .../keebio/nyquist/keymaps/jojiichan/keymap.c | 46 -- .../keebio/nyquist/keymaps/jojiichan/rules.mk | 2 - .../nyquist/keymaps/pipicanim/README.md | 63 -- .../keebio/nyquist/keymaps/pipicanim/config.h | 40 - .../keebio/nyquist/keymaps/pipicanim/keymap.c | 29 - .../keebio/nyquist/keymaps/pipicanim/rules.mk | 1 - .../keebio/nyquist/keymaps/shovelpaw/config.h | 47 -- .../keebio/nyquist/keymaps/shovelpaw/keymap.c | 156 ---- .../keebio/nyquist/keymaps/shovelpaw/rules.mk | 3 - .../quefrency/keymaps/bfiedler/config.h | 27 - .../quefrency/keymaps/bfiedler/keymap.c | 70 -- .../quefrency/keymaps/bfiedler/rules.mk | 3 - .../quefrency/keymaps/bjohnson/config.h | 35 - .../quefrency/keymaps/bjohnson/keymap.c | 33 - .../quefrency/keymaps/bjohnson/rules.mk | 22 - .../quefrency/keymaps/drashna_ms/config.h | 40 - .../quefrency/keymaps/drashna_ms/keymap.c | 43 - .../quefrency/keymaps/drashna_ms/rules.mk | 5 - .../quefrency/keymaps/georgepetri/config.h | 33 - .../quefrency/keymaps/georgepetri/keymap.c | 91 --- .../quefrency/keymaps/georgepetri/readme.md | 64 -- .../quefrency/keymaps/georgepetri/rules.mk | 1 - .../quefrency/keymaps/joestrong/README.md | 17 - .../quefrency/keymaps/joestrong/keymap.c | 41 - .../quefrency/keymaps/kingwangwong/config.h | 27 - .../quefrency/keymaps/kingwangwong/keymap.c | 40 - .../quefrency/keymaps/rogthefrog/keymap.c | 46 -- .../keymaps/unausgeschlafen/keymap.c | 62 -- .../keymaps/unausgeschlafen/readme.md | 26 - .../keymaps/unausgeschlafen/rules.mk | 1 - .../keebio/quefrency/keymaps/yoryer/keymap.c | 42 - .../keymaps/dvorak_nguyenvietyen/keymap.c | 22 - keyboards/kinesis/keymaps/farmergreg/keymap.c | 157 ---- .../kinesis/keymaps/farmergreg/readme.md | 1 - keyboards/kinesis/keymaps/farmergreg/rules.mk | 5 - keyboards/kinesis/keymaps/heatxsink/keymap.c | 148 ---- keyboards/kinesis/keymaps/heatxsink/readme.md | 165 ---- keyboards/kinesis/keymaps/heatxsink/rules.mk | 5 - .../keymaps/insertsnideremarks/config.h | 12 - .../keymaps/insertsnideremarks/keymap.c | 480 ----------- .../keymaps/insertsnideremarks/readme.md | 226 ------ .../keymaps/insertsnideremarks/rules.mk | 21 - keyboards/kinesis/keymaps/jwon/keymap.c | 122 --- keyboards/kinesis/keymaps/jwon/readme.md | 8 - keyboards/kinesis/keymaps/jwon/rules.mk | 3 - .../kinesis/keymaps/tuesdayjohn/config.h | 5 - .../kinesis/keymaps/tuesdayjohn/keymap.c | 430 ---------- .../kinesis/keymaps/tuesdayjohn/readme.md | 219 ----- .../kinesis/keymaps/tuesdayjohn/rules.mk | 19 - keyboards/kinesis/keymaps/tw1t611/keymap.c | 33 - keyboards/kinesis/keymaps/tw1t611/readme.md | 1 - keyboards/kinesis/keymaps/tw1t611/rules.mk | 18 - .../rev1/keymaps/gabustoledo/config.h | 81 -- .../rev1/keymaps/gabustoledo/keymap.c | 125 --- .../rev1/keymaps/gabustoledo/readme.md | 47 -- .../rev1/keymaps/gabustoledo/rules.mk | 5 - .../bm40hsrgb/rev1/keymaps/signynt/config.h | 86 -- .../bm40hsrgb/rev1/keymaps/signynt/keymap.c | 242 ------ .../bm40hsrgb/rev1/keymaps/signynt/readme.md | 117 --- .../bm40hsrgb/rev1/keymaps/signynt/rules.mk | 7 - .../rev1/keymaps/signynt_2_loud/config.h | 86 -- .../rev1/keymaps/signynt_2_loud/keymap.c | 215 ----- .../rev1/keymaps/signynt_2_loud/readme.md | 117 --- .../rev1/keymaps/signynt_2_loud/rules.mk | 7 - .../rev1/keymaps/signynt_2_quiet/config.h | 86 -- .../rev1/keymaps/signynt_2_quiet/keymap.c | 179 ---- .../rev1/keymaps/signynt_2_quiet/readme.md | 117 --- .../rev1/keymaps/signynt_2_quiet/rules.mk | 7 - .../rev1/keymaps/wolff_abnt2/keymap.c | 216 ----- .../rev1/keymaps/wolff_abnt2/readme.md | 79 -- .../kprepublic/jj40/keymaps/brdlf/keymap.c | 168 ---- .../kprepublic/jj40/keymaps/brdlf/readme.md | 69 -- .../kprepublic/jj40/keymaps/brdlf/rules.mk | 1 - .../kprepublic/jj40/keymaps/cockpit/keymap.c | 144 ---- .../kprepublic/jj40/keymaps/cockpit/readme.md | 55 -- .../kprepublic/jj40/keymaps/fun40/config.h | 8 - .../kprepublic/jj40/keymaps/fun40/keymap.c | 98 --- .../kprepublic/jj40/keymaps/fun40/readme.md | 4 - .../kprepublic/jj40/keymaps/fun40/rules.mk | 17 - .../jj40/keymaps/oscillope/config.h | 8 - .../jj40/keymaps/oscillope/keymap.c | 124 --- .../jj40/keymaps/oscillope/rules.mk | 11 - .../kprepublic/jj40/keymaps/suzuken/config.h | 8 - .../kprepublic/jj40/keymaps/suzuken/keymap.c | 99 --- .../minidox/keymaps/dustypomerleau/README.md | 28 - .../minidox/keymaps/dustypomerleau/config.h | 23 - .../minidox/keymaps/dustypomerleau/keymap.c | 434 ---------- .../minidox/keymaps/dustypomerleau/rules.mk | 5 - .../minidox/keymaps/haegin/keymap.c | 86 -- .../minidox/keymaps/norman/config.h | 4 - .../minidox/keymaps/norman/keymap.c | 69 -- .../minidox/keymaps/norman/readme.md | 56 -- .../minidox/keymaps/rsthd_combos/config.h | 5 - .../minidox/keymaps/rsthd_combos/keymap.c | 109 --- .../minidox/keymaps/rsthd_combos/readme.md | 22 - .../minidox/keymaps/rsthd_combos/rules.mk | 1 - .../minidox/keymaps/tw1t611/keymap.c | 59 -- .../minidox/keymaps/tw1t611/readme.md | 23 - .../minidox/keymaps/tw1t611/rules.mk | 1 - keyboards/massdrop/alt/keymaps/b_/config.h | 118 --- keyboards/massdrop/alt/keymaps/b_/keymap.c | 50 -- keyboards/massdrop/alt/keymaps/bonta/keymap.c | 112 --- .../massdrop/alt/keymaps/emptyflask/README.md | 14 - .../massdrop/alt/keymaps/emptyflask/config.h | 3 - .../massdrop/alt/keymaps/emptyflask/keymap.c | 292 ------- .../massdrop/alt/keymaps/ewersp/README.md | 30 - .../massdrop/alt/keymaps/ewersp/config.h | 3 - .../massdrop/alt/keymaps/ewersp/keymap.c | 242 ------ .../alt/keymaps/favorable-mutation/README.md | 14 - .../alt/keymaps/favorable-mutation/config.h | 28 - .../alt/keymaps/favorable-mutation/keymap.c | 145 ---- .../massdrop/alt/keymaps/hlmtre/keymap.c | 131 --- keyboards/massdrop/alt/keymaps/mac/keymap.c | 115 --- .../massdrop/alt/keymaps/mac_md/keymap.c | 258 ------ .../massdrop/alt/keymaps/mac_md/rules.mk | 2 - .../massdrop/alt/keymaps/pregame/config.h | 150 ---- .../massdrop/alt/keymaps/pregame/keymap.c | 248 ------ .../massdrop/alt/keymaps/pregame/readme.md | 35 - .../massdrop/alt/keymaps/pregame/rules.mk | 14 - .../massdrop/alt/keymaps/reywood/README.md | 5 - .../massdrop/alt/keymaps/reywood/keymap.c | 189 ----- .../alt/keymaps/reywood/rgb_matrix_user.c | 193 ----- .../alt/keymaps/reywood/rgb_matrix_user.h | 3 - .../massdrop/alt/keymaps/reywood/rules.mk | 5 - .../alt/keymaps/urbanvanilla/config.h | 27 - .../alt/keymaps/urbanvanilla/keymap.c | 164 ---- .../alt/keymaps/urbanvanilla/readme.md | 48 -- .../alt/keymaps/urbanvanilla/rules.mk | 2 - keyboards/massdrop/ctrl/keymaps/R167/keymap.c | 143 ---- .../massdrop/ctrl/keymaps/R167/readme.md | 14 - .../massdrop/ctrl/keymaps/endgame/README.md | 83 -- .../massdrop/ctrl/keymaps/endgame/config.h | 101 --- .../ctrl/keymaps/endgame/config_led.c | 83 -- .../massdrop/ctrl/keymaps/endgame/keymap.c | 489 ----------- .../massdrop/ctrl/keymaps/endgame/rules.mk | 13 - .../massdrop/ctrl/keymaps/foxx1337/README.md | 18 - .../massdrop/ctrl/keymaps/foxx1337/config.h | 88 -- .../ctrl/keymaps/foxx1337/hid_protocol.c | 25 - .../ctrl/keymaps/foxx1337/hid_protocol.h | 80 -- .../massdrop/ctrl/keymaps/foxx1337/keymap.c | 268 ------ .../ctrl/keymaps/foxx1337/rgb_matrix_user.inc | 44 - .../massdrop/ctrl/keymaps/foxx1337/rules.mk | 6 - keyboards/massdrop/ctrl/keymaps/mac/keymap.c | 126 --- .../massdrop/ctrl/keymaps/mac_md/keymap.c | 269 ------ .../massdrop/ctrl/keymaps/mac_md/rules.mk | 2 - .../massdrop/ctrl/keymaps/r-pufky/config.h | 27 - .../massdrop/ctrl/keymaps/r-pufky/keymap.c | 175 ---- .../massdrop/ctrl/keymaps/r-pufky/readme.md | 44 - .../ctrl/keymaps/responsive_pattern/README.md | 17 - .../ctrl/keymaps/responsive_pattern/keymap.c | 764 ------------------ .../ctrl/keymaps/responsive_pattern/rules.mk | 2 - .../massdrop/ctrl/keymaps/xanimos/config.h | 117 --- .../ctrl/keymaps/xanimos/config_led.c | 98 --- .../massdrop/ctrl/keymaps/xanimos/keymap.c | 517 ------------ .../massdrop/ctrl/keymaps/xanimos/readme.md | 200 ----- .../massdrop/ctrl/keymaps/xanimos/rules.mk | 13 - .../v2/keymaps/lbibass_625_space/config.h | 4 - .../v2/keymaps/lbibass_625_space/keymap.c | 50 -- .../v2/keymaps/lbibass_625_space/readme.md | 2 - .../v2/keymaps/lbibass_625_space/rules.mk | 11 - .../v2/keymaps/lbibass_split_space/config.h | 4 - .../v2/keymaps/lbibass_split_space/keymap.c | 33 - .../v2/keymaps/lbibass_split_space/readme.md | 2 - .../v2/keymaps/lbibass_split_space/rules.mk | 11 - .../mechmini/v2/keymaps/wsturgiss/config.h | 11 - .../mechmini/v2/keymaps/wsturgiss/keymap.c | 96 --- .../mechmini/v2/keymaps/wsturgiss/rules.mk | 11 - .../nullbitsco/snap/keymaps/typehud/config.h | 46 -- .../nullbitsco/snap/keymaps/typehud/keymap.c | 157 ---- .../nullbitsco/snap/keymaps/typehud/readme.md | 51 -- .../nullbitsco/snap/keymaps/typehud/rules.mk | 6 - .../nullbitsco/snap/keymaps/typehud/typehud.c | 349 -------- .../nullbitsco/snap/keymaps/typehud/typehud.h | 87 -- .../ikki68_aurora/keymaps/ewersp/README.md | 40 - .../ikki68_aurora/keymaps/ewersp/config.h | 19 - .../ikki68_aurora/keymaps/ewersp/keymap.c | 215 ----- .../ikki68_aurora/keymaps/ewersp/rules.mk | 1 - 426 files changed, 27404 deletions(-) delete mode 100644 keyboards/dz60/keymaps/crd_ansi/keymap.c delete mode 100644 keyboards/dz60/keymaps/crd_tsangan/keymap.c delete mode 100644 keyboards/dz60/keymaps/devinceble_wkl_tofu/keymap.c delete mode 100644 keyboards/dz60/keymaps/devinceble_wkl_tofu/readme.md delete mode 100644 keyboards/dz60/keymaps/devinceble_wkl_tofu/rules.mk delete mode 100644 keyboards/dz60/keymaps/joooosh_hhkb/keymap.c delete mode 100644 keyboards/dz60/keymaps/olligranlund_iso/keymap.c delete mode 100644 keyboards/dz60/keymaps/olligranlund_iso/readme.md delete mode 100644 keyboards/dz60/keymaps/olligranlund_iso/rules.mk delete mode 100644 keyboards/dz60/keymaps/olligranlund_iso_v2/keymap.c delete mode 100644 keyboards/dz60/keymaps/olligranlund_iso_v2/readme.md delete mode 100644 keyboards/dz60/keymaps/olligranlund_iso_v2/rules.mk delete mode 100644 keyboards/ergodox_ez/keymaps/colemak_es_osx/config.h delete mode 100644 keyboards/ergodox_ez/keymaps/colemak_es_osx/keymap.c delete mode 100644 keyboards/ergodox_ez/keymaps/colemak_es_osx/readme.md delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/.gitignore delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/config.h delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/gulpfile.js delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/hacker_dvorak.c delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/keycodes/aliases_definitions.c delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/keycodes/custom_keycodes.c delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/keymap.c delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/layers/layers_definitions.c delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/package.json delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/plover/plover_mode.c delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/readme.md delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/rules.mk delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/dot_comm.c delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/h_mouse_gui.c delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/j_media_meh.c delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/k_numpad_hyper.c delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/m_chords_hyper.c delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/none_lead.c delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/quot_dquot.c delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/scln_coln.c delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/u_arrows_gui.c delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/w_media_meh.c delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/tap_dance_actions.c delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/tap_dance_setup.c delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/tap_dances.c delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/user/eeconfig_init_user.c delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/user/layer_set_state_user.c delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/user/matrix_scan_user.c delete mode 100644 keyboards/ergodox_ez/keymaps/hacker_dvorak/user/process_record_user.c delete mode 100644 keyboards/gh60/revc/keymaps/bluezio/keymap.c delete mode 100644 keyboards/gh60/revc/keymaps/bluezio/rules.mk delete mode 100644 keyboards/gh60/revc/keymaps/chaser/README.md delete mode 100644 keyboards/gh60/revc/keymaps/chaser/keymap.c delete mode 100644 keyboards/gh60/revc/keymaps/dbroqua_7U/keymap.c delete mode 100644 keyboards/gh60/revc/keymaps/dbroqua_7U/rules.mk delete mode 100644 keyboards/gh60/revc/keymaps/emiilsd/keymap.c delete mode 100644 keyboards/gh60/revc/keymaps/robotmaxtron/config.h delete mode 100644 keyboards/gh60/revc/keymaps/robotmaxtron/keymap.c delete mode 100644 keyboards/gh60/revc/keymaps/robotmaxtron/readme.md delete mode 100644 keyboards/gh60/revc/keymaps/robotmaxtron/rules.mk delete mode 100644 keyboards/gh60/revc/keymaps/sethbc/keymap.c delete mode 100644 keyboards/gh60/satan/keymaps/addcninblue/keymap.c delete mode 100644 keyboards/gh60/satan/keymaps/addcninblue/readme.md delete mode 100644 keyboards/gh60/satan/keymaps/addcninblue/rules.mk delete mode 100644 keyboards/gh60/satan/keymaps/ben_iso/config.h delete mode 100644 keyboards/gh60/satan/keymaps/ben_iso/keymap.c delete mode 100644 keyboards/gh60/satan/keymaps/ben_iso/readme.md delete mode 100644 keyboards/gh60/satan/keymaps/ben_iso/rules.mk delete mode 100644 keyboards/gh60/satan/keymaps/bri/keymap.c delete mode 100644 keyboards/gh60/satan/keymaps/bri/readme.md delete mode 100644 keyboards/gh60/satan/keymaps/chaser/keymap.c delete mode 100644 keyboards/gh60/satan/keymaps/chaser/readme.md delete mode 100644 keyboards/gh60/satan/keymaps/chaser/rules.mk delete mode 100644 keyboards/gh60/satan/keymaps/dende_iso/keymap.c delete mode 100644 keyboards/gh60/satan/keymaps/dende_iso/readme.md delete mode 100644 keyboards/gh60/satan/keymaps/dende_iso/rules.mk delete mode 100644 keyboards/gh60/satan/keymaps/denolfe/README.md delete mode 100644 keyboards/gh60/satan/keymaps/denolfe/keymap.c delete mode 100644 keyboards/gh60/satan/keymaps/denolfe/rules.mk delete mode 100644 keyboards/gh60/satan/keymaps/dkrieger/config.h delete mode 100644 keyboards/gh60/satan/keymaps/dkrieger/keymap.c delete mode 100644 keyboards/gh60/satan/keymaps/dkrieger/readme.md delete mode 100644 keyboards/gh60/satan/keymaps/dkrieger/rules.mk delete mode 100644 keyboards/gh60/satan/keymaps/lepa/keymap.c delete mode 100644 keyboards/gh60/satan/keymaps/lepa/readme.md delete mode 100644 keyboards/gh60/satan/keymaps/lepa/rules.mk delete mode 100644 keyboards/gh60/satan/keymaps/mark1/keymap.c delete mode 100644 keyboards/gh60/satan/keymaps/mark1/readme.md delete mode 100644 keyboards/gh60/satan/keymaps/no_caps_lock/keymap.c delete mode 100644 keyboards/gh60/satan/keymaps/no_caps_lock/readme.md delete mode 100644 keyboards/gh60/satan/keymaps/olligranlund_iso/config.h delete mode 100644 keyboards/gh60/satan/keymaps/olligranlund_iso/keymap.c delete mode 100644 keyboards/gh60/satan/keymaps/olligranlund_iso/readme.md delete mode 100644 keyboards/gh60/satan/keymaps/olligranlund_iso/rules.mk delete mode 100644 keyboards/gh60/satan/keymaps/rask63/keymap.c delete mode 100644 keyboards/gh60/satan/keymaps/sethbc/keymap.c delete mode 100644 keyboards/gh60/satan/keymaps/sethbc/readme.md delete mode 100644 keyboards/gh60/satan/keymaps/sethbc/rules.mk delete mode 100644 keyboards/gh60/satan/keymaps/spacemanspiff/keymap.c delete mode 100644 keyboards/gh60/satan/keymaps/spacemanspiff/readme.md delete mode 100644 keyboards/gh60/satan/keymaps/unxmaal/README.md delete mode 100644 keyboards/gh60/satan/keymaps/unxmaal/keymap.c delete mode 100644 keyboards/gh60/satan/keymaps/unxmaal/rules.mk delete mode 100644 keyboards/hhkb/ansi/keymaps/cinaeco/README.md delete mode 100644 keyboards/hhkb/ansi/keymaps/cinaeco/config.h delete mode 100644 keyboards/hhkb/ansi/keymaps/cinaeco/keymap.c delete mode 100644 keyboards/hhkb/ansi/keymaps/cinaeco/rules.mk delete mode 100644 keyboards/hhkb/ansi/keymaps/lxol/keymap.c delete mode 100644 keyboards/hhkb/ansi/keymaps/schaeferdev/README.md delete mode 100644 keyboards/hhkb/ansi/keymaps/schaeferdev/config.h delete mode 100644 keyboards/hhkb/ansi/keymaps/schaeferdev/keymap.c delete mode 100644 keyboards/hhkb/ansi/keymaps/schaeferdev/rules.mk delete mode 100644 keyboards/hhkb/ansi/keymaps/shela/action_pseudo.c delete mode 100644 keyboards/hhkb/ansi/keymaps/shela/action_pseudo.h delete mode 100644 keyboards/hhkb/ansi/keymaps/shela/config.h delete mode 100644 keyboards/hhkb/ansi/keymaps/shela/keymap.c delete mode 100644 keyboards/hhkb/ansi/keymaps/shela/keymap_jis2us.h delete mode 100644 keyboards/hhkb/ansi/keymaps/shela/readme.md delete mode 100644 keyboards/hhkb/ansi/keymaps/shela/rules.mk delete mode 100644 keyboards/hhkb/ansi/keymaps/tobiasvl_iso/keymap.c delete mode 100644 keyboards/hhkb/ansi/keymaps/tobiasvl_iso/readme.md delete mode 100644 keyboards/hhkb/jp/keymaps/bakingpy/keymap.c delete mode 100644 keyboards/hhkb/jp/keymaps/bakingpy/rules.mk delete mode 100644 keyboards/hhkb/jp/keymaps/enoch_jp/keymap.c delete mode 100644 keyboards/hhkb/jp/keymaps/enoch_jp/rules.mk delete mode 100644 keyboards/hhkb/jp/keymaps/halfqwerty_jp/README.md delete mode 100644 keyboards/hhkb/jp/keymaps/halfqwerty_jp/keymap.c delete mode 100644 keyboards/hhkb/jp/keymaps/halfqwerty_jp/rules.mk delete mode 100644 keyboards/hhkb/jp/keymaps/rdg_jp/keymap.c delete mode 100644 keyboards/hhkb/jp/keymaps/rdg_jp/rules.mk delete mode 100644 keyboards/hhkb/jp/keymaps/sh_jp/README.md delete mode 100644 keyboards/hhkb/jp/keymaps/sh_jp/keymap.c delete mode 100644 keyboards/hhkb/jp/keymaps/sh_jp/rules.mk delete mode 100644 keyboards/idobao/id75/keymaps/drewdobo/config.h delete mode 100644 keyboards/idobao/id75/keymaps/drewdobo/keymap.c delete mode 100644 keyboards/idobao/id75/keymaps/drewdobo/readme.md delete mode 100644 keyboards/idobao/id75/keymaps/drewdobo/rules.mk delete mode 100644 keyboards/idobao/id75/keymaps/gkbd/config.h delete mode 100644 keyboards/idobao/id75/keymaps/gkbd/keymap.c delete mode 100644 keyboards/idobao/id75/keymaps/gkbd/readme.md delete mode 100644 keyboards/idobao/id75/keymaps/gkbd/rules.mk delete mode 100644 keyboards/idobao/id75/keymaps/gkbd_75/config.h delete mode 100644 keyboards/idobao/id75/keymaps/gkbd_75/keymap.c delete mode 100644 keyboards/idobao/id75/keymaps/gkbd_75/readme.md delete mode 100644 keyboards/idobao/id75/keymaps/gkbd_orthon/config.h delete mode 100644 keyboards/idobao/id75/keymaps/gkbd_orthon/keymap.c delete mode 100644 keyboards/idobao/id75/keymaps/gkbd_orthon/readme.md delete mode 100644 keyboards/idobao/id75/keymaps/paryz/config.h delete mode 100644 keyboards/idobao/id75/keymaps/paryz/keymap.c delete mode 100644 keyboards/idobao/id75/keymaps/paryz/rules.mk delete mode 100644 keyboards/idobao/id75/keymaps/pathnirvana/config.h delete mode 100644 keyboards/idobao/id75/keymaps/pathnirvana/keymap.c delete mode 100644 keyboards/idobao/id75/keymaps/pathnirvana/rules.mk delete mode 100644 keyboards/idobao/id75/keymaps/xaceofspaidsx/keymap.c delete mode 100644 keyboards/idobao/id75/keymaps/xaceofspaidsx/readme.md delete mode 100644 keyboards/idobao/id75/keymaps/xaceofspaidsx/rules.mk delete mode 100644 keyboards/kbdfans/kbd67/rev2/keymaps/catrielmuller_camilad/config.h delete mode 100644 keyboards/kbdfans/kbd67/rev2/keymaps/catrielmuller_camilad/keymap.c delete mode 100644 keyboards/kbdfans/kbd67/rev2/keymaps/catrielmuller_camilad/readme.md delete mode 100644 keyboards/kbdfans/kbd67/rev2/keymaps/catrielmuller_camilad/rules.mk delete mode 100644 keyboards/kbdfans/kbd67/rev2/keymaps/droxx/config.h delete mode 100644 keyboards/kbdfans/kbd67/rev2/keymaps/droxx/keymap.c delete mode 100644 keyboards/kbdfans/kbd67/rev2/keymaps/droxx/readme.md delete mode 100644 keyboards/kbdfans/kbd67/rev2/keymaps/droxx/rules.mk delete mode 100644 keyboards/kbdfans/kbd67/rev2/keymaps/jscatena88/keymap.c delete mode 100644 keyboards/kbdfans/kbd67/rev2/keymaps/jscatena88/readme.md delete mode 100644 keyboards/kbdfans/kbd67/rev2/keymaps/naphtaline/keymap.c delete mode 100644 keyboards/kbdfans/kbd67/rev2/keymaps/naphtaline/readme.md delete mode 100644 keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/keymap.c delete mode 100644 keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/readme.md delete mode 100644 keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/rules.mk delete mode 100644 keyboards/kbdfans/kbd75/keymaps/aaronireland/keymap.c delete mode 100644 keyboards/kbdfans/kbd75/keymaps/aaronireland/readme.md delete mode 100644 keyboards/kbdfans/kbd75/keymaps/adamdehaven/config.h delete mode 100644 keyboards/kbdfans/kbd75/keymaps/adamdehaven/keymap.c delete mode 100644 keyboards/kbdfans/kbd75/keymaps/adamdehaven/rules.mk delete mode 100644 keyboards/kbdfans/kbd75/keymaps/adit/keymap.c delete mode 100644 keyboards/kbdfans/kbd75/keymaps/broswen/README.md delete mode 100644 keyboards/kbdfans/kbd75/keymaps/broswen/keymap.c delete mode 100644 keyboards/kbdfans/kbd75/keymaps/digital/keymap.c delete mode 100644 keyboards/kbdfans/kbd75/keymaps/digital/readme.md delete mode 100644 keyboards/kbdfans/kbd75/keymaps/ethan605/keymap.c delete mode 100644 keyboards/kbdfans/kbd75/keymaps/kingwangwong/keymap.c delete mode 100644 keyboards/kbdfans/kbd75/keymaps/spacemanspiff/keymap.c delete mode 100644 keyboards/kbdfans/kbd75/keymaps/spacemanspiff/readme.md delete mode 100644 keyboards/kbdfans/niu_mini/keymaps/dyesub/keymap.c delete mode 100644 keyboards/kbdfans/niu_mini/keymaps/dyesub/readme.md delete mode 100644 keyboards/kbdfans/niu_mini/keymaps/dyesub/rules.mk delete mode 100644 keyboards/kbdfans/niu_mini/keymaps/edvard/keymap.c delete mode 100644 keyboards/kbdfans/niu_mini/keymaps/edvard/readme.md delete mode 100644 keyboards/kbdfans/niu_mini/keymaps/framtava/config.h delete mode 100644 keyboards/kbdfans/niu_mini/keymaps/framtava/keymap.c delete mode 100644 keyboards/kbdfans/niu_mini/keymaps/framtava/readme.md delete mode 100644 keyboards/kbdfans/niu_mini/keymaps/framtava/rules.mk delete mode 100644 keyboards/kbdfans/niu_mini/keymaps/nosarthur/README.md delete mode 100644 keyboards/kbdfans/niu_mini/keymaps/nosarthur/keymap.c delete mode 100644 keyboards/kbdfans/niu_mini/keymaps/nosarthur/keymap_colemak_dh.json delete mode 100644 keyboards/kbdfans/niu_mini/keymaps/nosarthur/keymap_qwerty.json delete mode 100644 keyboards/kbdfans/niu_mini/keymaps/nosarthur/rules.mk delete mode 100644 keyboards/kbdfans/niu_mini/keymaps/tobias/config.h delete mode 100644 keyboards/kbdfans/niu_mini/keymaps/tobias/keymap.c delete mode 100644 keyboards/kbdfans/niu_mini/keymaps/tobias/readme.md delete mode 100644 keyboards/kbdfans/niu_mini/keymaps/tobias/rules.mk delete mode 100644 keyboards/keebio/bdn9/keymaps/ghostseven/config.h delete mode 100644 keyboards/keebio/bdn9/keymaps/ghostseven/keymap.c delete mode 100644 keyboards/keebio/bdn9/keymaps/lickel/keymap.c delete mode 100644 keyboards/keebio/bdn9/keymaps/lickel/readme.md delete mode 100644 keyboards/keebio/bdn9/keymaps/lickel/rules.mk delete mode 100644 keyboards/keebio/bdn9/keymaps/vosechu-browser/keymap.c delete mode 100644 keyboards/keebio/bdn9/keymaps/vosechu-ksp/keymap.c delete mode 100644 keyboards/keebio/bfo9000/keymaps/insertsnideremarks/config.h delete mode 100644 keyboards/keebio/bfo9000/keymaps/insertsnideremarks/keymap.c delete mode 100644 keyboards/keebio/bfo9000/keymaps/insertsnideremarks/readme.md delete mode 100644 keyboards/keebio/bfo9000/keymaps/insertsnideremarks/rules.mk delete mode 100644 keyboards/keebio/bfo9000/keymaps/rogthefrog6x9/keymap.c delete mode 100644 keyboards/keebio/bfo9000/keymaps/shadyproject/keymap.c delete mode 100644 keyboards/keebio/bfo9000/keymaps/shadyproject/readme.md delete mode 100644 keyboards/keebio/bfo9000/keymaps/tuesdayjohn/config.h delete mode 100644 keyboards/keebio/bfo9000/keymaps/tuesdayjohn/keymap.c delete mode 100644 keyboards/keebio/bfo9000/keymaps/tuesdayjohn/rules.mk delete mode 100644 keyboards/keebio/bfo9000/keymaps/vladkvit/keymap.c delete mode 100644 keyboards/keebio/bfo9000/keymaps/vladkvit/readme.md delete mode 100644 keyboards/keebio/levinson/keymaps/drogglbecher/config.h delete mode 100644 keyboards/keebio/levinson/keymaps/drogglbecher/keymap.c delete mode 100644 keyboards/keebio/levinson/keymaps/drogglbecher/rules.mk delete mode 100644 keyboards/keebio/levinson/keymaps/jyh/keymap.c delete mode 100644 keyboards/keebio/levinson/keymaps/jyh/readme.md delete mode 100644 keyboards/keebio/levinson/keymaps/jyh/rules.mk delete mode 100644 keyboards/keebio/levinson/keymaps/jyh2/config.h delete mode 100644 keyboards/keebio/levinson/keymaps/jyh2/keymap.c delete mode 100644 keyboards/keebio/levinson/keymaps/jyh2/readme.md delete mode 100644 keyboards/keebio/levinson/keymaps/jyh2/rules.mk delete mode 100644 keyboards/keebio/levinson/keymaps/ksamborski/config.h delete mode 100644 keyboards/keebio/levinson/keymaps/ksamborski/keymap.c delete mode 100644 keyboards/keebio/levinson/keymaps/ksamborski/rules.mk delete mode 100644 keyboards/keebio/levinson/keymaps/mmacdougall/README.md delete mode 100644 keyboards/keebio/levinson/keymaps/mmacdougall/config.h delete mode 100644 keyboards/keebio/levinson/keymaps/mmacdougall/keymap.c delete mode 100644 keyboards/keebio/levinson/keymaps/mmacdougall/rules.mk delete mode 100644 keyboards/keebio/levinson/keymaps/treadwell/config.h delete mode 100644 keyboards/keebio/levinson/keymaps/treadwell/keymap.c delete mode 100644 keyboards/keebio/levinson/keymaps/treadwell/rules.mk delete mode 100644 keyboards/keebio/nyquist/keymaps/bwprobably/config.h delete mode 100644 keyboards/keebio/nyquist/keymaps/bwprobably/keymap.c delete mode 100644 keyboards/keebio/nyquist/keymaps/bwprobably/rules.mk delete mode 100644 keyboards/keebio/nyquist/keymaps/georgepetri/config.h delete mode 100644 keyboards/keebio/nyquist/keymaps/georgepetri/keymap.c delete mode 100644 keyboards/keebio/nyquist/keymaps/georgepetri/readme.md delete mode 100644 keyboards/keebio/nyquist/keymaps/georgepetri/rules.mk delete mode 100644 keyboards/keebio/nyquist/keymaps/georgepetri3/config.h delete mode 100644 keyboards/keebio/nyquist/keymaps/georgepetri3/keymap.c delete mode 100644 keyboards/keebio/nyquist/keymaps/georgepetri3/readme.md delete mode 100644 keyboards/keebio/nyquist/keymaps/georgepetri3/rules.mk delete mode 100644 keyboards/keebio/nyquist/keymaps/jojiichan/config.h delete mode 100644 keyboards/keebio/nyquist/keymaps/jojiichan/keymap.c delete mode 100644 keyboards/keebio/nyquist/keymaps/jojiichan/rules.mk delete mode 100644 keyboards/keebio/nyquist/keymaps/pipicanim/README.md delete mode 100644 keyboards/keebio/nyquist/keymaps/pipicanim/config.h delete mode 100644 keyboards/keebio/nyquist/keymaps/pipicanim/keymap.c delete mode 100644 keyboards/keebio/nyquist/keymaps/pipicanim/rules.mk delete mode 100644 keyboards/keebio/nyquist/keymaps/shovelpaw/config.h delete mode 100644 keyboards/keebio/nyquist/keymaps/shovelpaw/keymap.c delete mode 100644 keyboards/keebio/nyquist/keymaps/shovelpaw/rules.mk delete mode 100644 keyboards/keebio/quefrency/keymaps/bfiedler/config.h delete mode 100644 keyboards/keebio/quefrency/keymaps/bfiedler/keymap.c delete mode 100644 keyboards/keebio/quefrency/keymaps/bfiedler/rules.mk delete mode 100644 keyboards/keebio/quefrency/keymaps/bjohnson/config.h delete mode 100644 keyboards/keebio/quefrency/keymaps/bjohnson/keymap.c delete mode 100644 keyboards/keebio/quefrency/keymaps/bjohnson/rules.mk delete mode 100644 keyboards/keebio/quefrency/keymaps/drashna_ms/config.h delete mode 100644 keyboards/keebio/quefrency/keymaps/drashna_ms/keymap.c delete mode 100644 keyboards/keebio/quefrency/keymaps/drashna_ms/rules.mk delete mode 100644 keyboards/keebio/quefrency/keymaps/georgepetri/config.h delete mode 100644 keyboards/keebio/quefrency/keymaps/georgepetri/keymap.c delete mode 100644 keyboards/keebio/quefrency/keymaps/georgepetri/readme.md delete mode 100644 keyboards/keebio/quefrency/keymaps/georgepetri/rules.mk delete mode 100644 keyboards/keebio/quefrency/keymaps/joestrong/README.md delete mode 100644 keyboards/keebio/quefrency/keymaps/joestrong/keymap.c delete mode 100644 keyboards/keebio/quefrency/keymaps/kingwangwong/config.h delete mode 100644 keyboards/keebio/quefrency/keymaps/kingwangwong/keymap.c delete mode 100644 keyboards/keebio/quefrency/keymaps/rogthefrog/keymap.c delete mode 100644 keyboards/keebio/quefrency/keymaps/unausgeschlafen/keymap.c delete mode 100644 keyboards/keebio/quefrency/keymaps/unausgeschlafen/readme.md delete mode 100644 keyboards/keebio/quefrency/keymaps/unausgeschlafen/rules.mk delete mode 100644 keyboards/keebio/quefrency/keymaps/yoryer/keymap.c delete mode 100644 keyboards/kinesis/keymaps/dvorak_nguyenvietyen/keymap.c delete mode 100644 keyboards/kinesis/keymaps/farmergreg/keymap.c delete mode 100644 keyboards/kinesis/keymaps/farmergreg/readme.md delete mode 100644 keyboards/kinesis/keymaps/farmergreg/rules.mk delete mode 100644 keyboards/kinesis/keymaps/heatxsink/keymap.c delete mode 100644 keyboards/kinesis/keymaps/heatxsink/readme.md delete mode 100644 keyboards/kinesis/keymaps/heatxsink/rules.mk delete mode 100644 keyboards/kinesis/keymaps/insertsnideremarks/config.h delete mode 100644 keyboards/kinesis/keymaps/insertsnideremarks/keymap.c delete mode 100644 keyboards/kinesis/keymaps/insertsnideremarks/readme.md delete mode 100644 keyboards/kinesis/keymaps/insertsnideremarks/rules.mk delete mode 100644 keyboards/kinesis/keymaps/jwon/keymap.c delete mode 100644 keyboards/kinesis/keymaps/jwon/readme.md delete mode 100644 keyboards/kinesis/keymaps/jwon/rules.mk delete mode 100644 keyboards/kinesis/keymaps/tuesdayjohn/config.h delete mode 100644 keyboards/kinesis/keymaps/tuesdayjohn/keymap.c delete mode 100644 keyboards/kinesis/keymaps/tuesdayjohn/readme.md delete mode 100644 keyboards/kinesis/keymaps/tuesdayjohn/rules.mk delete mode 100644 keyboards/kinesis/keymaps/tw1t611/keymap.c delete mode 100644 keyboards/kinesis/keymaps/tw1t611/readme.md delete mode 100644 keyboards/kinesis/keymaps/tw1t611/rules.mk delete mode 100644 keyboards/kprepublic/bm40hsrgb/rev1/keymaps/gabustoledo/config.h delete mode 100755 keyboards/kprepublic/bm40hsrgb/rev1/keymaps/gabustoledo/keymap.c delete mode 100644 keyboards/kprepublic/bm40hsrgb/rev1/keymaps/gabustoledo/readme.md delete mode 100644 keyboards/kprepublic/bm40hsrgb/rev1/keymaps/gabustoledo/rules.mk delete mode 100644 keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt/config.h delete mode 100644 keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt/keymap.c delete mode 100644 keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt/readme.md delete mode 100644 keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt/rules.mk delete mode 100644 keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_loud/config.h delete mode 100644 keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_loud/keymap.c delete mode 100644 keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_loud/readme.md delete mode 100644 keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_loud/rules.mk delete mode 100644 keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_quiet/config.h delete mode 100644 keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_quiet/keymap.c delete mode 100644 keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_quiet/readme.md delete mode 100644 keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_quiet/rules.mk delete mode 100755 keyboards/kprepublic/bm40hsrgb/rev1/keymaps/wolff_abnt2/keymap.c delete mode 100755 keyboards/kprepublic/bm40hsrgb/rev1/keymaps/wolff_abnt2/readme.md delete mode 100644 keyboards/kprepublic/jj40/keymaps/brdlf/keymap.c delete mode 100644 keyboards/kprepublic/jj40/keymaps/brdlf/readme.md delete mode 100644 keyboards/kprepublic/jj40/keymaps/brdlf/rules.mk delete mode 100644 keyboards/kprepublic/jj40/keymaps/cockpit/keymap.c delete mode 100644 keyboards/kprepublic/jj40/keymaps/cockpit/readme.md delete mode 100644 keyboards/kprepublic/jj40/keymaps/fun40/config.h delete mode 100644 keyboards/kprepublic/jj40/keymaps/fun40/keymap.c delete mode 100644 keyboards/kprepublic/jj40/keymaps/fun40/readme.md delete mode 100644 keyboards/kprepublic/jj40/keymaps/fun40/rules.mk delete mode 100644 keyboards/kprepublic/jj40/keymaps/oscillope/config.h delete mode 100644 keyboards/kprepublic/jj40/keymaps/oscillope/keymap.c delete mode 100644 keyboards/kprepublic/jj40/keymaps/oscillope/rules.mk delete mode 100644 keyboards/kprepublic/jj40/keymaps/suzuken/config.h delete mode 100644 keyboards/kprepublic/jj40/keymaps/suzuken/keymap.c delete mode 100644 keyboards/maple_computing/minidox/keymaps/dustypomerleau/README.md delete mode 100644 keyboards/maple_computing/minidox/keymaps/dustypomerleau/config.h delete mode 100644 keyboards/maple_computing/minidox/keymaps/dustypomerleau/keymap.c delete mode 100644 keyboards/maple_computing/minidox/keymaps/dustypomerleau/rules.mk delete mode 100644 keyboards/maple_computing/minidox/keymaps/haegin/keymap.c delete mode 100644 keyboards/maple_computing/minidox/keymaps/norman/config.h delete mode 100644 keyboards/maple_computing/minidox/keymaps/norman/keymap.c delete mode 100644 keyboards/maple_computing/minidox/keymaps/norman/readme.md delete mode 100644 keyboards/maple_computing/minidox/keymaps/rsthd_combos/config.h delete mode 100644 keyboards/maple_computing/minidox/keymaps/rsthd_combos/keymap.c delete mode 100644 keyboards/maple_computing/minidox/keymaps/rsthd_combos/readme.md delete mode 100644 keyboards/maple_computing/minidox/keymaps/rsthd_combos/rules.mk delete mode 100644 keyboards/maple_computing/minidox/keymaps/tw1t611/keymap.c delete mode 100644 keyboards/maple_computing/minidox/keymaps/tw1t611/readme.md delete mode 100644 keyboards/maple_computing/minidox/keymaps/tw1t611/rules.mk delete mode 100644 keyboards/massdrop/alt/keymaps/b_/config.h delete mode 100644 keyboards/massdrop/alt/keymaps/b_/keymap.c delete mode 100644 keyboards/massdrop/alt/keymaps/bonta/keymap.c delete mode 100644 keyboards/massdrop/alt/keymaps/emptyflask/README.md delete mode 100644 keyboards/massdrop/alt/keymaps/emptyflask/config.h delete mode 100644 keyboards/massdrop/alt/keymaps/emptyflask/keymap.c delete mode 100644 keyboards/massdrop/alt/keymaps/ewersp/README.md delete mode 100644 keyboards/massdrop/alt/keymaps/ewersp/config.h delete mode 100644 keyboards/massdrop/alt/keymaps/ewersp/keymap.c delete mode 100644 keyboards/massdrop/alt/keymaps/favorable-mutation/README.md delete mode 100644 keyboards/massdrop/alt/keymaps/favorable-mutation/config.h delete mode 100644 keyboards/massdrop/alt/keymaps/favorable-mutation/keymap.c delete mode 100644 keyboards/massdrop/alt/keymaps/hlmtre/keymap.c delete mode 100644 keyboards/massdrop/alt/keymaps/mac/keymap.c delete mode 100644 keyboards/massdrop/alt/keymaps/mac_md/keymap.c delete mode 100644 keyboards/massdrop/alt/keymaps/mac_md/rules.mk delete mode 100644 keyboards/massdrop/alt/keymaps/pregame/config.h delete mode 100644 keyboards/massdrop/alt/keymaps/pregame/keymap.c delete mode 100644 keyboards/massdrop/alt/keymaps/pregame/readme.md delete mode 100644 keyboards/massdrop/alt/keymaps/pregame/rules.mk delete mode 100644 keyboards/massdrop/alt/keymaps/reywood/README.md delete mode 100644 keyboards/massdrop/alt/keymaps/reywood/keymap.c delete mode 100644 keyboards/massdrop/alt/keymaps/reywood/rgb_matrix_user.c delete mode 100644 keyboards/massdrop/alt/keymaps/reywood/rgb_matrix_user.h delete mode 100644 keyboards/massdrop/alt/keymaps/reywood/rules.mk delete mode 100644 keyboards/massdrop/alt/keymaps/urbanvanilla/config.h delete mode 100644 keyboards/massdrop/alt/keymaps/urbanvanilla/keymap.c delete mode 100644 keyboards/massdrop/alt/keymaps/urbanvanilla/readme.md delete mode 100644 keyboards/massdrop/alt/keymaps/urbanvanilla/rules.mk delete mode 100644 keyboards/massdrop/ctrl/keymaps/R167/keymap.c delete mode 100644 keyboards/massdrop/ctrl/keymaps/R167/readme.md delete mode 100644 keyboards/massdrop/ctrl/keymaps/endgame/README.md delete mode 100644 keyboards/massdrop/ctrl/keymaps/endgame/config.h delete mode 100644 keyboards/massdrop/ctrl/keymaps/endgame/config_led.c delete mode 100644 keyboards/massdrop/ctrl/keymaps/endgame/keymap.c delete mode 100644 keyboards/massdrop/ctrl/keymaps/endgame/rules.mk delete mode 100644 keyboards/massdrop/ctrl/keymaps/foxx1337/README.md delete mode 100644 keyboards/massdrop/ctrl/keymaps/foxx1337/config.h delete mode 100644 keyboards/massdrop/ctrl/keymaps/foxx1337/hid_protocol.c delete mode 100644 keyboards/massdrop/ctrl/keymaps/foxx1337/hid_protocol.h delete mode 100644 keyboards/massdrop/ctrl/keymaps/foxx1337/keymap.c delete mode 100644 keyboards/massdrop/ctrl/keymaps/foxx1337/rgb_matrix_user.inc delete mode 100644 keyboards/massdrop/ctrl/keymaps/foxx1337/rules.mk delete mode 100644 keyboards/massdrop/ctrl/keymaps/mac/keymap.c delete mode 100644 keyboards/massdrop/ctrl/keymaps/mac_md/keymap.c delete mode 100644 keyboards/massdrop/ctrl/keymaps/mac_md/rules.mk delete mode 100644 keyboards/massdrop/ctrl/keymaps/r-pufky/config.h delete mode 100644 keyboards/massdrop/ctrl/keymaps/r-pufky/keymap.c delete mode 100644 keyboards/massdrop/ctrl/keymaps/r-pufky/readme.md delete mode 100644 keyboards/massdrop/ctrl/keymaps/responsive_pattern/README.md delete mode 100644 keyboards/massdrop/ctrl/keymaps/responsive_pattern/keymap.c delete mode 100644 keyboards/massdrop/ctrl/keymaps/responsive_pattern/rules.mk delete mode 100644 keyboards/massdrop/ctrl/keymaps/xanimos/config.h delete mode 100644 keyboards/massdrop/ctrl/keymaps/xanimos/config_led.c delete mode 100644 keyboards/massdrop/ctrl/keymaps/xanimos/keymap.c delete mode 100644 keyboards/massdrop/ctrl/keymaps/xanimos/readme.md delete mode 100644 keyboards/massdrop/ctrl/keymaps/xanimos/rules.mk delete mode 100755 keyboards/mechkeys/mechmini/v2/keymaps/lbibass_625_space/config.h delete mode 100755 keyboards/mechkeys/mechmini/v2/keymaps/lbibass_625_space/keymap.c delete mode 100644 keyboards/mechkeys/mechmini/v2/keymaps/lbibass_625_space/readme.md delete mode 100755 keyboards/mechkeys/mechmini/v2/keymaps/lbibass_625_space/rules.mk delete mode 100755 keyboards/mechkeys/mechmini/v2/keymaps/lbibass_split_space/config.h delete mode 100755 keyboards/mechkeys/mechmini/v2/keymaps/lbibass_split_space/keymap.c delete mode 100644 keyboards/mechkeys/mechmini/v2/keymaps/lbibass_split_space/readme.md delete mode 100755 keyboards/mechkeys/mechmini/v2/keymaps/lbibass_split_space/rules.mk delete mode 100755 keyboards/mechkeys/mechmini/v2/keymaps/wsturgiss/config.h delete mode 100644 keyboards/mechkeys/mechmini/v2/keymaps/wsturgiss/keymap.c delete mode 100755 keyboards/mechkeys/mechmini/v2/keymaps/wsturgiss/rules.mk delete mode 100644 keyboards/nullbitsco/snap/keymaps/typehud/config.h delete mode 100644 keyboards/nullbitsco/snap/keymaps/typehud/keymap.c delete mode 100644 keyboards/nullbitsco/snap/keymaps/typehud/readme.md delete mode 100644 keyboards/nullbitsco/snap/keymaps/typehud/rules.mk delete mode 100644 keyboards/nullbitsco/snap/keymaps/typehud/typehud.c delete mode 100644 keyboards/nullbitsco/snap/keymaps/typehud/typehud.h delete mode 100644 keyboards/wuque/ikki68_aurora/keymaps/ewersp/README.md delete mode 100644 keyboards/wuque/ikki68_aurora/keymaps/ewersp/config.h delete mode 100644 keyboards/wuque/ikki68_aurora/keymaps/ewersp/keymap.c delete mode 100644 keyboards/wuque/ikki68_aurora/keymaps/ewersp/rules.mk diff --git a/keyboards/dz60/keymaps/crd_ansi/keymap.c b/keyboards/dz60/keymaps/crd_ansi/keymap.c deleted file mode 100644 index 7bf564eecb0..00000000000 --- a/keyboards/dz60/keymaps/crd_ansi/keymap.c +++ /dev/null @@ -1,30 +0,0 @@ -#include QMK_KEYBOARD_H - -enum keyboard_layers { - _BL = 0, // Base Layer - _FL // Function Layer -}; - -// Custom #defined keycodes (shorter macros for readability) -#define KC_CTES CTL_T(KC_ESC) -#define KC_RSUP RSFT_T(KC_UP) -#define KC_FNLT LT(_FL, KC_LEFT) -#define KC_RADN RALT_T(KC_DOWN) -#define KC_RCRT RCTL_T(KC_RIGHT) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BL] = 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, - KC_CTES, 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_RSUP, - KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_FNLT, KC_RADN, KC_RCRT - ), - [_FL] = LAYOUT_60_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_DEL, - _______, KC_HOME, KC_UP, KC_END, _______, _______, _______, _______, KC_MUTE, _______, _______, KC_PGDN, KC_PGUP, QK_BOOT, - _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_SCRL, KC_VOLD, KC_VOLU, KC_PAUS, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______ - ) -}; diff --git a/keyboards/dz60/keymaps/crd_tsangan/keymap.c b/keyboards/dz60/keymaps/crd_tsangan/keymap.c deleted file mode 100644 index 7f0c9f44250..00000000000 --- a/keyboards/dz60/keymaps/crd_tsangan/keymap.c +++ /dev/null @@ -1,30 +0,0 @@ -#include QMK_KEYBOARD_H - -enum keyboard_layers { - _BL = 0, // Base Layer - _FL // Function Layer -}; - -// Custom #defined keycodes (shorter macros for readability) -#define KC_CTES CTL_T(KC_ESC) -#define KC_RSUP RSFT_T(KC_UP) -#define KC_RGLT RGUI_T(KC_LEFT) -#define KC_RADN RALT_T(KC_DOWN) -#define KC_RCRT RCTL_T(KC_RIGHT) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BL] = LAYOUT_60_tsangan_hhkb( - 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_ESC, - 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_CTES, 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_RSUP, MO(_FL), - KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGLT, KC_RADN, KC_RCRT - ), - [_FL] = LAYOUT_60_tsangan_hhkb( - _______, 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_UP, KC_END, _______, _______, _______, _______, KC_MUTE, _______, _______, KC_PGDN, KC_PGUP, KC_DEL, - _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_SCRL, KC_VOLD, KC_VOLU, KC_PAUS, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______ - ) -}; diff --git a/keyboards/dz60/keymaps/devinceble_wkl_tofu/keymap.c b/keyboards/dz60/keymaps/devinceble_wkl_tofu/keymap.c deleted file mode 100644 index 5135a7b8ea8..00000000000 --- a/keyboards/dz60/keymaps/devinceble_wkl_tofu/keymap.c +++ /dev/null @@ -1,41 +0,0 @@ -/* Copyright 2019 Devinceble AKA Vimwarrior - * - * 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_60_tsangan_hhkb( - 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(1), - KC_LALT, KC_LCTL, KC_LGUI, KC_SPC, KC_RCTL, KC_RGUI, MO(2) - ), - [1] = LAYOUT_60_tsangan_hhkb( - 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_TRNS, KC_BTN1, KC_MS_U, KC_BTN2, KC_WH_U, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, - KC_TRNS, KC_MS_L, KC_MS_D, KC_MS_R, KC_WH_D, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_RGHT, KC_TRNS, - KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, 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 - ), - [2] = LAYOUT_60_tsangan_hhkb( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, 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_RMOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD, KC_TRNS, KC_TRNS, - KC_CAPS, RGB_M_P, RGB_M_B, RGB_M_R, RGB_M_SW, RGB_M_SN, RGB_M_K, RGB_M_X, RGB_M_G, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, BL_TOGG, BL_STEP, BL_ON, BL_OFF, BL_UP, BL_DOWN,BL_BRTG, 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/dz60/keymaps/devinceble_wkl_tofu/readme.md b/keyboards/dz60/keymaps/devinceble_wkl_tofu/readme.md deleted file mode 100644 index 221ce8061e7..00000000000 --- a/keyboards/dz60/keymaps/devinceble_wkl_tofu/readme.md +++ /dev/null @@ -1,9 +0,0 @@ -# Devinceble AKA Vimwarrior WKL Tofu Keymap - -Build Hex File: - - make dz60:devinceble_wkl_tofu - -Flash Keyboard - - make dz60:devinceble_wkl_tofu:flash diff --git a/keyboards/dz60/keymaps/devinceble_wkl_tofu/rules.mk b/keyboards/dz60/keymaps/devinceble_wkl_tofu/rules.mk deleted file mode 100644 index 522abf46b15..00000000000 --- a/keyboards/dz60/keymaps/devinceble_wkl_tofu/rules.mk +++ /dev/null @@ -1 +0,0 @@ -MOUSEKEY_ENABLE = yes diff --git a/keyboards/dz60/keymaps/joooosh_hhkb/keymap.c b/keyboards/dz60/keymaps/joooosh_hhkb/keymap.c deleted file mode 100644 index 3ae3b75f7d5..00000000000 --- a/keyboards/dz60/keymaps/joooosh_hhkb/keymap.c +++ /dev/null @@ -1,49 +0,0 @@ -#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 | - | = | \| | Del | - * |-----------------------------------------------------------------------------------------+ - * | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | - * |-----------------------------------------------------------------------------------------+ - * | LCTRL | A | S | D | F | G | H | J | K | L | ; | ' | Enter | - * |-----------------------------------------------------------------------------------------+ - * | LShift | Z | X | C | V | B | N | M | , | . | / | RShift | FN1 | - * |-----------------------------------------------------------------------------------------+ - * | LGUI | LAlt | Space | RAlt | RCTRL | - * `-----------------------------------------------------------------------------------------' - */ - LAYOUT_60_hhkb( - 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, - 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(1), - KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL), - - -/* FN1 LAYER - * - * ,--------------------------------------------------------------------------------------------------------------------- - * | KC_GRV | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | INSERT | QK_BOOT | - * |---------------------------------------------------------------------------------------------------------------------+ - * | RGB_TOG | _ | _ | _ | _ | _ | _ | _ | PSCR | SLCK | PAUS | UP | _ | CLR | - * |---------------------------------------------------------------------------------------------------------------------+ - * | CAPS | VOLD | VOLU | MUTE | _ | _ | PAST | PSLS | HOME | PGUP | LEFT | RIGHT | RETURN | - * |---------------------------------------------------------------------------------------------------------------------+ - * | _ | _ | _ | _ | _ | _ | PPLS | PMNS | END | PGDN | DOWN | _ | _ | - * |---------------------------------------------------------------------------------------------------------------------+ - * | _ | _ | _ | APP | _ | - * `---------------------------------------------------------------------------------------------------------------------' - */ - LAYOUT_60_hhkb( - 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_INS, QK_BOOT, - RGB_TOG, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, KC_UP, _______, KC_CLR, - KC_CAPS, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RIGHT, KC_RETURN, - _______, _______, _______, _______, _______, _______, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, _______, _______, - _______, _______, _______, KC_APP, _______), -}; diff --git a/keyboards/dz60/keymaps/olligranlund_iso/keymap.c b/keyboards/dz60/keymaps/olligranlund_iso/keymap.c deleted file mode 100644 index e71bac47deb..00000000000 --- a/keyboards/dz60/keymaps/olligranlund_iso/keymap.c +++ /dev/null @@ -1,113 +0,0 @@ -/* Copyright 2020 Oliver Granlund - * - * 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 - -/* ISO 60 layout by olligranlund -* -* This layout starts from a standard ISO 60% layout, and adds one function layer. -* If you wish to only have one wide spacebar, you can easily do that by dismissing the "side" spacebar switches. -* -* Default Layer -* ,-----------------------------------------------------------------------------------------. -* | Esc | 1 ! | 2 " | 3 § | 4 $ | 5 % | 6 & | 7 / | 8 ( | 9 ) | 0 = | ß ? | ´ ` | Del | BSPC| -* |-----------------------------------------------------------------------------------------| -* | Tab | Q | W | E | R | T | Y | U | I | O | P | Ä | + * | Enter | -* |---------------------------------------------------------------------------------- | -* | FN | A | S | D | F | G | H | J | K | L | Ö | Ü | # ' | | -* |-----------------------------------------------------------------------------------------| -* | Shift | < > | Z | X | C | V | B | N | M | , ; | . : | - _ | Shift |Shift| -* |-----------------------------------------------------------------------------------------| -* | LCtl | LGUI | LAlt | Space | Space | Space | RAlt | FN | App | RCtl | -* `-----------------------------------------------------------------------------------------' -*/ - -enum custom_keycodes { - EMOJI_DANCERS = SAFE_RANGE, - EMOJI_PERJANTAI, - EMOJI_THISISFINE, - EMOJI_KOVAAAJOA, -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case EMOJI_DANCERS: - if (record->event.pressed) { - // when keycode QMKBEST is pressed - SEND_STRING(">dancers>"); - } - break; - - case EMOJI_PERJANTAI: - if (record->event.pressed) { - // when keycode QMKBEST is pressed - SEND_STRING(">perjantaideploy>"); - } - break; - - case EMOJI_THISISFINE: - if (record->event.pressed) { - // when keycode QMKBEST is pressed - SEND_STRING(">this/is/fine>"); - } - break; - - case EMOJI_KOVAAAJOA: - if (record->event.pressed) { - // when keycode QMKBEST is pressed - SEND_STRING(">kovaaajoa>"); - } - break; - } - - return true; -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - // 0 Base - LAYOUT_60_iso_split_space_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_DEL, 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, - MO(2), 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_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, TG(1), - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, MO(3), KC_APP, KC_RCTL), - - // 1 Base with arrows - LAYOUT_60_iso_split_space_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_DEL, 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, - MO(2), 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_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_UP, KC_TRNS, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT), - - // 2 FN - LAYOUT_60_iso_split_space_bs_rshift( - 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_DEL, - KC_NO, KC_MPRV, KC_MPLY, KC_MNXT, KC_NO, KC_NO, KC_NO, KC_PGDN, KC_UP, KC_PGUP, KC_NO, KC_NO, KC_NO, - KC_NO, KC_VOLD, KC_MUTE, KC_VOLU, KC_NO, KC_NO, KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_NO, KC_NO, KC_NO, KC_NO, - KC_LSFT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_END, KC_NO, KC_NO, KC_NO, KC_NO, KC_RSFT, KC_CAPS, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_NO, KC_APP, KC_RCTL), - - // 3 FN with RGB and macros - LAYOUT_60_iso_split_space_bs_rshift( - KC_GRV, RGB_TOG, RGB_MOD, RGB_RMOD, RGB_HUI, RGB_SAI, RGB_VAI, RGB_HUD, RGB_SAD, RGB_VAD, KC_F10, KC_F11, KC_F12, KC_DEL, QK_BOOT, - KC_NO, KC_NO, EMOJI_DANCERS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_UP, KC_NO, KC_NO, KC_NO, KC_NO, - KC_NO, EMOJI_PERJANTAI, EMOJI_THISISFINE,EMOJI_KOVAAAJOA, KC_NO, KC_NO, KC_NO, KC_LEFT, KC_DOWN, KC_RGHT, KC_NO, KC_NO, KC_NO, KC_NO, - KC_LSFT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_END, KC_NO, KC_NO, KC_NO, KC_NO, KC_RSFT, KC_CAPS, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_NO, KC_APP, KC_RCTL), - -}; diff --git a/keyboards/dz60/keymaps/olligranlund_iso/readme.md b/keyboards/dz60/keymaps/olligranlund_iso/readme.md deleted file mode 100644 index 77869e4361f..00000000000 --- a/keyboards/dz60/keymaps/olligranlund_iso/readme.md +++ /dev/null @@ -1,6 +0,0 @@ -# DZ60 with splitted parts with VIA support -### by Oliver Granlund - -![Finished product](https://i.imgur.com/HlEo5Ygl.jpg) - -This is still under progress, but currently works on Windows as a daily driver. \ No newline at end of file diff --git a/keyboards/dz60/keymaps/olligranlund_iso/rules.mk b/keyboards/dz60/keymaps/olligranlund_iso/rules.mk deleted file mode 100644 index 9008ce984f8..00000000000 --- a/keyboards/dz60/keymaps/olligranlund_iso/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -EXTRAKEY_ENABLE = yes -VIA_ENABLE = yes -LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/dz60/keymaps/olligranlund_iso_v2/keymap.c b/keyboards/dz60/keymaps/olligranlund_iso_v2/keymap.c deleted file mode 100644 index 6aede3f13f3..00000000000 --- a/keyboards/dz60/keymaps/olligranlund_iso_v2/keymap.c +++ /dev/null @@ -1,113 +0,0 @@ -/* Copyright 2020 Oliver Granlund - * - * 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 - -/* ISO 60 layout by olligranlund -* -* This layout starts from a standard ISO 60% layout, and adds one function layer. -* If you wish to only have one wide spacebar, you can easily do that by dismissing the "side" spacebar switches. -* -* Default Layer -* ,-----------------------------------------------------------------------------------------. -* | Esc | 1 ! | 2 " | 3 § | 4 $ | 5 % | 6 & | 7 / | 8 ( | 9 ) | 0 = | ß ? | ´ ` | Del | BSPC| -* |-----------------------------------------------------------------------------------------| -* | Tab | Q | W | E | R | T | Y | U | I | O | P | Ä | + * | Enter | -* |---------------------------------------------------------------------------------- | -* | FN | A | S | D | F | G | H | J | K | L | Ö | Ü | # ' | | -* |-----------------------------------------------------------------------------------------| -* | Shift | < > | Z | X | C | V | B | N | M | , ; | . : | - _ | Shift |Shift| -* |-----------------------------------------------------------------------------------------| -* | LCtl | LGUI | LAlt | Space | Space | Space | RAlt | FN | App | RCtl | | -* `-----------------------------------------------------------------------------------------' -*/ - -enum custom_keycodes { - EMOJI_DANCERS = SAFE_RANGE, - EMOJI_PERJANTAI, - EMOJI_THISISFINE, - EMOJI_KOVAAAJOA, -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case EMOJI_DANCERS: - if (record->event.pressed) { - // when keycode QMKBEST is pressed - SEND_STRING(">dancers>"); - } - break; - - case EMOJI_PERJANTAI: - if (record->event.pressed) { - // when keycode QMKBEST is pressed - SEND_STRING(">perjantaideploy>"); - } - break; - - case EMOJI_THISISFINE: - if (record->event.pressed) { - // when keycode QMKBEST is pressed - SEND_STRING(">this/is/fine>"); - } - break; - - case EMOJI_KOVAAAJOA: - if (record->event.pressed) { - // when keycode QMKBEST is pressed - SEND_STRING(">kovaaajoa>"); - } - break; - } - - return true; -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - // 0 Base - LAYOUT_60_iso_5x1u_split_bs_rshift_spc( - 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_DEL, 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, - MO(2), 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_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, TG(1), - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, MO(3), KC_APP, KC_PSCR, KC_RCTL), - - // 1 Base with arrows - LAYOUT_60_iso_5x1u_split_bs_rshift_spc( - 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_DEL, 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, - MO(2), 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_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_UP, KC_TRNS, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, MO(3), KC_LEFT, KC_DOWN, KC_RGHT), - - // 2 FN - LAYOUT_60_iso_5x1u_split_bs_rshift_spc( - 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_DEL, - KC_NO, KC_MPRV, KC_MPLY, KC_MNXT, KC_NO, KC_NO, KC_NO, KC_PGDN, KC_UP, KC_PGUP, KC_NO, KC_NO, KC_NO, - KC_NO, KC_VOLD, KC_MUTE, KC_VOLU, KC_NO, KC_NO, KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_NO, KC_NO, KC_NO, KC_NO, - KC_LSFT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_END, KC_NO, KC_NO, KC_NO, KC_NO, KC_RSFT, KC_CAPS, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_NO, KC_APP, KC_PSCR, KC_RCTL), - - // 3 FN with RGB and macros - LAYOUT_60_iso_5x1u_split_bs_rshift_spc( - KC_GRV, RGB_TOG, RGB_MOD, RGB_RMOD, RGB_HUI, RGB_SAI, RGB_VAI, RGB_HUD, RGB_SAD, RGB_VAD, KC_F10, KC_F11, KC_F12, KC_DEL, QK_BOOT, - KC_NO, KC_NO, EMOJI_DANCERS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_UP, KC_NO, KC_NO, KC_NO, KC_NO, - KC_NO, EMOJI_PERJANTAI, EMOJI_THISISFINE,EMOJI_KOVAAAJOA, KC_NO, KC_NO, KC_NO, KC_LEFT, KC_DOWN, KC_RGHT, KC_NO, KC_NO, KC_NO, KC_NO, - KC_LSFT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_END, KC_NO, KC_NO, KC_NO, KC_NO, KC_RSFT, KC_CAPS, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_NO, KC_APP, KC_PSCR, KC_RCTL), - -}; diff --git a/keyboards/dz60/keymaps/olligranlund_iso_v2/readme.md b/keyboards/dz60/keymaps/olligranlund_iso_v2/readme.md deleted file mode 100644 index 1d81116af83..00000000000 --- a/keyboards/dz60/keymaps/olligranlund_iso_v2/readme.md +++ /dev/null @@ -1,6 +0,0 @@ -# DZ60 with splitted parts with VIA support -### by Oliver Granlund - -![Finished product](https://i.imgur.com/AT1Lyrxl.jpg) - -This is still under progress, but currently works on Windows as a daily driver. Also added macros for Slack emojis \ No newline at end of file diff --git a/keyboards/dz60/keymaps/olligranlund_iso_v2/rules.mk b/keyboards/dz60/keymaps/olligranlund_iso_v2/rules.mk deleted file mode 100644 index 9008ce984f8..00000000000 --- a/keyboards/dz60/keymaps/olligranlund_iso_v2/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -EXTRAKEY_ENABLE = yes -VIA_ENABLE = yes -LTO_ENABLE = yes \ No newline at end of file diff --git a/keyboards/ergodox_ez/keymaps/colemak_es_osx/config.h b/keyboards/ergodox_ez/keymaps/colemak_es_osx/config.h deleted file mode 100644 index a1e4d79768b..00000000000 --- a/keyboards/ergodox_ez/keymaps/colemak_es_osx/config.h +++ /dev/null @@ -1,20 +0,0 @@ -#pragma once - -// Sets good default for the speed of the mouse. -#undef MOUSEKEY_INTERVAL -#undef MOUSEKEY_DELAY -#undef MOUSEKEY_TIME_TO_MAX -#undef MOUSEKEY_MAX_SPEED - -#define MOUSEKEY_INTERVAL 20 -#define MOUSEKEY_DELAY 100 -#define MOUSEKEY_TIME_TO_MAX 60 -#define MOUSEKEY_MAX_SPEED 7 - -#undef MOUSEKEY_WHEEL_MAX_SPEED -#undef MOUSEKEY_WHEEL_TIME_TO_MAX -#undef MOUSEKEY_WHEEL_DELAY - -#define MOUSEKEY_WHEEL_MAX_SPEED 5 -#define MOUSEKEY_WHEEL_TIME_TO_MAX 60 -#define MOUSEKEY_WHEEL_DELAY 100 \ No newline at end of file diff --git a/keyboards/ergodox_ez/keymaps/colemak_es_osx/keymap.c b/keyboards/ergodox_ez/keymaps/colemak_es_osx/keymap.c deleted file mode 100644 index a505fc2b62b..00000000000 --- a/keyboards/ergodox_ez/keymaps/colemak_es_osx/keymap.c +++ /dev/null @@ -1,397 +0,0 @@ -/* - Copyright 2019 Mario Arias - - 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" - -#include "keymap_spanish.h" - -enum layers { - BASE = 0, //Colemak - QWERTY, //Qwerty - FN, //Colemak but FN1 to FN12 instead of numbers - NUM, //Numpad - MOUSE, //Mouse and media controls - IDEA //Shortcuts for IDEA / Other tools -}; - -//Special paste -#define S_PASTE LSFT(LGUI(KC_V)) -//tmux prefix -#define T_PREFIX LCTL(KC_B) -// Column mode -#define I_COLUMN ALGR(LCTL(LGUI(ES_MINS))) -// Terminal -#define I_TERM ALGR(KC_F12) -// Line comment -#define I_LN_COM LCTL(LGUI(KC_7)) -// Block comment -#define I_BK_COM LCTL(LGUI(KC_8)) -// Reformat code -#define I_REFORM LALT(LGUI(KC_L)) -// Rename -#define I_RENAME LSFT(KC_F6) -// Find usages -#define I_FUSAGE LALT(KC_F7) -// Code for Packt -#define P_CODE LCTL(ALGR(KC_X)) -// Search -#define I_SEARCH LCTL(LSFT(KC_F)) - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -/* Keymap 0: Colemak MacOS Spanish layer - * ,--------------------------------------------------. ,--------------------------------------------------. - * | Esc | 1 ! | 2 " | 3 · | 4 $ | 5 % | º \ | | ¡ ¿ | 6 & | 7 / | 8 ( | 9 ) | 0 = | Backsp | - * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| - * | TAB | Q | W | F | P | G | Home | | End | J | L | U | Y | Ñ | ' ? | - * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | CAPS | A | R | S | T | D |------| |------| H | N | E | I | O | ENT | - * |--------+------+------+------+------+------| <> | | -_ |------+------+------+------+------+--------| - * | Shift | Z | X | C | V | B | | | | K | M | , ; | . : | UP | Shift | - * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' - * | Del | PgUp |Ctl/PD|Alt/[ |Cmd/] | |Cmd/{ |Alt/} | LEFT | DOWN | RIGHT| - * `----------------------------------' `----------------------------------' - * ,--------------. ,--------------. - * | Num | Mouse | | Qwer | Ctrl | - * ,------|------|-------| |------+-------+------. - * | | | FN | |SPaste| | | - * |LShift|Backsp|-------| |------| ENT |Space | - * | | | IDEA | | T-pre| | | - * `---------------------' `---------------------' - */ -[BASE] = LAYOUT_ergodox( -// left hand - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, ES_LABK, - KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_HOME, - KC_CAPS, KC_A, KC_R, KC_S, KC_T, KC_D, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_GRV, - KC_DEL, KC_PGUP, CTL_T(KC_PGDN), ALT_T(ES_GRV), GUI_T(ES_PLUS), - - DF(NUM), DF(MOUSE), - DF(FN), - KC_LSFT, KC_BSPC, MO(IDEA), - -// right hand - ES_IEXL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, - KC_END, KC_J, KC_L, KC_U, KC_Y, ES_NTIL, ES_QUOT, - KC_H, KC_N, KC_E, KC_I, KC_O, KC_ENT, - ES_MINS, KC_K, KC_M, KC_COMM, KC_DOT, KC_UP, KC_RSFT, - GUI_T(ES_ACUT), ALT_T(KC_BSLS), KC_LEFT, KC_DOWN, KC_RIGHT, - - DF(QWERTY), KC_RCTL, - S_PASTE, - T_PREFIX, KC_ENT, KC_SPC -), -/* Keymap 1: Spanish QWERTY layer (games) //Will probably change it for a Linux/Windows Colemak layer - * - * ,--------------------------------------------------. ,--------------------------------------------------. - * | | | | | | | | | | | | | | | | - * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| - * | | Q | W | E | R | T | | | | Y | U | I | O | P | | - * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | | A | S | D | F | G |------| |------| H | J | K | L | Ñ | | - * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | | Z | X | C | V | B | | | | N | M | | | | | - * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' - * | | | | | | | | | | | | - * `----------------------------------' `----------------------------------' - * ,-------------. ,-------------. - * | | | | Base | | - * ,------|------|------| |------+--------+------. - * | | | | | | | | - * | | |------| |------| | | - * | | | | | | | | - * `--------------------' `----------------------' - */ -[QWERTY] = LAYOUT_ergodox( - // left hand - _______, _______, _______, _______, _______, _______, _______, - _______, KC_Q, KC_W, KC_E, KC_R, KC_T, _______, - _______, KC_A, KC_S, KC_D, KC_F, KC_G, - _______, KC_Z, KC_X, KC_C, KC_V, KC_B, _______, - _______, _______, _______, _______, _______, - - _______, _______, - _______, - _______, _______, _______, - -// right hand - _______, _______, _______, _______, _______, _______, _______, - _______, KC_Y, KC_U, KC_I, KC_O, KC_P, _______, - KC_H, KC_J, KC_K, KC_L, KC_SCLN, _______, - _______, KC_N, KC_M, _______, _______, _______, _______, - _______, _______, _______, _______, _______, - DF(BASE), _______, - _______, - _______, _______, _______ -), -/* Keymap 2: Function Layer -* -* ,--------------------------------------------------. ,--------------------------------------------------. -* | | F1 | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | F12 | | -* |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| -* | | | | | | | | | | | | | | | | -* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| -* | | | | | | |------| |------| | | | | | | -* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| -* | | | | | | | | | | | | | | | | -* `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' -* | | | | | | | | | | | | -* `----------------------------------' `----------------------------------' -* ,-------------. ,-------------. -* | | | | | | -* ,------|------|------| |------+------+------. -* | | | Base | | | | | -* | | |------| |------| | | -* | | | | | | | | -* `--------------------' `--------------------' -*/ -[FN] = LAYOUT_ergodox( - // left hand - _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, - _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, - - _______, _______, - DF(BASE), - _______, _______, _______, - -// right hand - KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, - _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, - - _______, _______, - _______, - _______, _______, _______ -), -/* Mouse and media controls - * - * ,--------------------------------------------------. ,--------------------------------------------------. - * | Esc | | | | | | Play | | Vol+ | | | | | | | - * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| - * | | | | Ms U | | | | | | | | Wh U | | | | - * |--------+------+------+------+------+------| Rwd | | Vol- |------+------+------+------+------+--------| - * | | | Ms L | Ms D | Ms R | |------| |------| | Wh L | Wh D | Wh R | | | - * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | | | Acc0 | Acc1 | Acc2 | | Fwd | | Mute | | Btn1 | Btn2 | Btn3 | | | - * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' - * | | | | | | | | | | | | - * `----------------------------------' `----------------------------------' - * ,-------------. ,-------------. - * | Num | Base | | | | - * ,------|------|------| |------+------+------. - * | | | | | | | | - * | | |------ |------| | | - * | | | | | | | | - * `--------------------' `--------------------' - */ -[MOUSE] = LAYOUT_ergodox( -// left hand - KC_ESC, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_MPLY, - XXXXXXX, XXXXXXX, XXXXXXX, KC_MS_U, XXXXXXX, XXXXXXX, KC_MRWD, - XXXXXXX, XXXXXXX, KC_MS_L, KC_MS_D, KC_MS_R, XXXXXXX, - XXXXXXX, XXXXXXX, KC_ACL0, KC_ACL1, KC_ACL2, XXXXXXX, KC_MFFD, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - - DF(NUM), DF(BASE), - XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, - -// right hand - KC_VOLU, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - KC_VOLD, XXXXXXX, XXXXXXX, KC_WH_U, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, KC_WH_L, KC_WH_D, KC_WH_R, XXXXXXX, XXXXXXX, - KC_MUTE, XXXXXXX, KC_BTN1, KC_BTN2, KC_BTN3, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - - XXXXXXX, XXXXXXX, - XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX -), -/* Num pad - * - * ,--------------------------------------------------. ,--------------------------------------------------. - * | | | | | | | | | | ( | ) | = | / | * | | - * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| - * | | | | Up | | | | | | | 7 | 8 | 9 | - | | - * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | | | Left | Down |Right | |------| |------| | 4 | 5 | 6 | + | | - * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | | | | | | | | | | | 1 | 2 | 3 |Enter | | - * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' - * | | | | | | | 0 | 0 | , |Enter | . | - * `----------------------------------' `----------------------------------' - * ,-------------. ,-------------. - * | Base | | | | | - * ,------|------|------| |------+------+------. - * | | | | | | | | - * | | |------ |------| | | - * | | | | | | | | - * `--------------------' `--------------------' - */ -[NUM] = LAYOUT_ergodox( -// left hand - _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, KC_UP, _______, _______, _______, - _______, _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, - _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, - - DF(BASE), _______, - _______, - _______, _______, _______, - -// right hand - _______, LSFT(KC_8), LSFT(KC_9), 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_P0, KC_P0, KC_PDOT, KC_PENT, KC_DOT, - - _______, _______, - _______, - _______, _______, _______ -), -/* IDEA - * - * ,--------------------------------------------------. ,--------------------------------------------------. - * | | | | | | | Renm | | Usag | | LnCm | BkCm | | Term | | - * |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------| - * | | | |Search| | | | | | | Refm | | | | | - * |--------+------+------+------+------+------| | | Col |------+------+------+------+------+--------| - * | | | | | | |------| |------| | | | | | | - * |--------+------+------+------+------+------| | | |------+------+------+------+------+--------| - * | | | Code | | | | | | | | | | | | | - * `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------' - * | | | | | | | | | | | | - * `----------------------------------' `----------------------------------' - * ,-------------. ,-------------. - * | | | | | | - * ,------|------|------| |------+------+------. - * | | | | | | | | - * | | |------ |------| | | - * | | | | | | | | - * `--------------------' `--------------------' - */ -[IDEA] = LAYOUT_ergodox( - -//Left hand - _______, _______, _______, _______, _______, _______, I_RENAME, - _______, _______, _______, I_SEARCH, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, P_CODE, _______, _______, _______, _______, - _______, _______, _______, _______, _______, - - _______, DF(BASE), - _______, - _______, _______, _______, - -// right hand - I_FUSAGE, _______, I_LN_COM, I_BK_COM, _______, I_TERM, _______, - I_COLUMN, _______, I_REFORM, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, - - _______, _______, - _______, - _______, _______, _______ -) -}; - - -void led_1_off(void) { - ergodox_right_led_1_off(); -} - -void led_2_off(void) { - ergodox_right_led_2_off(); -} - -void led_3_off(void) { - ergodox_right_led_3_off(); -} - -//Runs just one time when the keyboard initializes -void matrix_init_use(void) { - led_1_off(); - led_2_off(); - led_3_off(); -} - -// Value to use to switch LEDs on. The default value of 255 is far too bright. -static const uint8_t max_led_value = 20; - - -void led_1_on(void) { - ergodox_right_led_1_on(); - ergodox_right_led_1_set(max_led_value); -} - -void led_2_on(void) { - ergodox_right_led_2_on(); - ergodox_right_led_2_set(max_led_value); -} - -void led_3_on(void) { - ergodox_right_led_3_on(); - ergodox_right_led_3_set(max_led_value); -} - -layer_state_t layer_state_set_user(layer_state_t state) { - - if(layer_state_cmp(state ,IDEA)) { - led_1_on(); - led_3_on(); - } else { - led_1_off(); - led_3_off(); - } - - return state; -}; - -void matrix_scan_user(void) { - - ergodox_board_led_off(); - led_1_off(); - led_2_off(); - led_3_off(); - - if(layer_state_cmp(default_layer_state, QWERTY)) { - led_3_on(); - } - - if(layer_state_cmp(default_layer_state, FN)) { - led_2_on(); - } - - if(layer_state_cmp(default_layer_state, NUM)) { - led_2_on(); - led_3_on(); - } - - if(layer_state_cmp(default_layer_state, MOUSE)) { - led_1_on(); - } -}; diff --git a/keyboards/ergodox_ez/keymaps/colemak_es_osx/readme.md b/keyboards/ergodox_ez/keymaps/colemak_es_osx/readme.md deleted file mode 100644 index b17ae015aaa..00000000000 --- a/keyboards/ergodox_ez/keymaps/colemak_es_osx/readme.md +++ /dev/null @@ -1,67 +0,0 @@ -# ErgoDox EZ Spanish Colemak configuration - -## Description - -A Colemak keymap adapted for Spanish. - -### Base Layer - Spanish Colemak - -The Base Layer is a Colemak keymap with an additional "ñ" next to the "y" key. The arrow cluster has a proper T inverted shape. - -It includes almost all Spanish Symbols from a normal 100% keyboard thanks to the use of tap keys - - -| Pressed | Tap | Shift | Alt | -|---|---|---|---| -|Left Ctrl|PgDn||| -|Left Alt|`|ˆ|[| -|Left Cmd|+|*|]| -|Right Cmd|´|¨|{| -|Right Alt|ç|Ç|}| - -For example, if you want to type ```[]```, you keep pressing the "Left Alt" (To modify) and tap "Right Alt" and "Right Cmd" to send "[" and "]" - -### Qwerty Layer - -A Qwerty layer for gaming and maybe some VIM commands. It just modifies the few keys that are different between Colemak and Qwerty and keep all the others keys - -### Fn Layer - -A layer to change the number row including "º" and "¡" for "Fn1" to "Fn12". The rest is just the same as the Base layer - -### Mouse and media controls - -Mouse movement on the left hand, wheel and buttons on the right hand. "Play/Pause", "Rewind", "Forward" in the Left inner column. "Volume Up", "Volume Down" and "Mute" in the Right inner column - -### Numpad - -A complete numpad in the right hand, plus and Arrow cluster on the left hand - -### IDEA (JetBrains IDEs) - -A momentary layer for IDEA shortcuts that require more than two fingers or any Fn key - -## How to build it - -If you already have all the dependencies (Check QMK's documentation), you can run the command: - -```bash -make ergodox_ez:colemak_es_osx -``` - -On MacOS, if you're using MacPorts you can install the following dependencies: - -```bash -port install avr-binutils -port install avr-gcc -port install avr-libc -``` - -This isn't an exhaustive list and maybe there other dependencies that are technically necessary - -## Changelog - -* Jul 2019: - * Initial version for the new QMK version - -![](https://imgur.com/AyWNGlL.png) \ No newline at end of file diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/.gitignore b/keyboards/ergodox_ez/keymaps/hacker_dvorak/.gitignore deleted file mode 100644 index 504afef81fb..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -node_modules/ -package-lock.json diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/config.h b/keyboards/ergodox_ez/keymaps/hacker_dvorak/config.h deleted file mode 100644 index b9617654e89..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/config.h +++ /dev/null @@ -1,88 +0,0 @@ -/* - 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 - - -#undef TAPPING_TERM -#define TAPPING_TERM 175 -#define TAPPING_TERM_PER_KEY - -#undef DEBOUNCE -#define DEBOUNCE 15 - - -#define RGB_MATRIX_SLEEP - -#undef FORCE_NKRO -#define FORCE_NKRO - -#undef TAPPING_TOGGLE -#define TAPPING_TOGGLE 5 - -#define LEADER_TIMEOUT 1000 -#define PERMISSIVE_HOLD -#define DANCING_TERM 175 - -#define ONESHOT_TAP_TOGGLE 5 - -#undef ONESHOT_TIMEOUT -#define ONESHOT_TIMEOUT 5000 - -#define COMBO_TERM 200 - -#undef RGBLIGHT_HUE_STEP -#define RGBLIGHT_HUE_STEP 24 - -#undef RGBLIGHT_SAT_STEP -#define RGBLIGHT_SAT_STEP 24 - -#undef RGBLIGHT_VAL_STEP -#define RGBLIGHT_VAL_STEP 24 - -#undef RGBLIGHT_BRI_STEP -#define RGBLIGHT_BRI_STEP 24 - -#undef RGBLIGHT_LIMIT_VAL -#define RGBLIGHT_LIMIT_VAL 255 - - -#undef MOUSEKEY_INTERVAL -#define MOUSEKEY_INTERVAL 10 - -#undef MOUSEKEY_DELAY -#define MOUSEKEY_DELAY 15 - -#undef MOUSEKEY_MAX_SPEED -#define MOUSEKEY_MAX_SPEED 20 - -#undef MOUSEKEY_TIME_TO_MAX -#define MOUSEKEY_TIME_TO_MAX 200 - -#undef MOUSEKEY_WHEEL_MAX_SPEED -#define MOUSEKEY_WHEEL_MAX_SPEED 20 - -#undef MOUSEKEY_WHEEL_TIME_TO_MAX -#define MOUSEKEY_WHEEL_TIME_TO_MAX 200 - - -// #undef NO_DEBUG -// #define NO_DEBUG - -// #undef NO_PRINT -// #define NO_PRINT - -// #define RETRO_TAPPING -// #define QUICK_TAP_TERM 0 - -// #define AUTO_SHIFT_TIMEOUT 150 -// #define NO_AUTO_SHIFT_SPECIAL -// #define NO_AUTO_SHIFT_NUMERIC -// #define NO_AUTO_SHIFT_ALPHA - -// #define EXTRA_LONG_COMBOS -// #define EXTRA_EXTRA_LONG_COMBOS -// #define COMBO_ALLOW_ACTION_KEYS - -// #define RGBLIGHT_SLEEP diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/gulpfile.js b/keyboards/ergodox_ez/keymaps/hacker_dvorak/gulpfile.js deleted file mode 100644 index 81a4e93fda4..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/gulpfile.js +++ /dev/null @@ -1,22 +0,0 @@ -const gulp = require('gulp'); -const run = require('gulp-run-command').default; - - -const ROOT_DIR = '../../../../'; -const BUILD_DIR = `${ROOT_DIR}.build`; -const HACKER_DVORAK_DIR = './**/*'; - -const CLEAN_CMD = `rm -rf ${BUILD_DIR}`; -const BUILD_CMD = `make -C ${ROOT_DIR} ergodox_ez:hacker_dvorak`; - -gulp.task('clean', run(CLEAN_CMD)); - -gulp.task('build', gulp.series('clean', run(BUILD_CMD, { - ignoreErrors: true -}))); - -gulp.task('watch', gulp.series('build', () => { - gulp.watch(HACKER_DVORAK_DIR, gulp.series('build')); -})); - -gulp.task('default', gulp.series('watch')); diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/hacker_dvorak.c b/keyboards/ergodox_ez/keymaps/hacker_dvorak/hacker_dvorak.c deleted file mode 100644 index 19627ad11fd..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/hacker_dvorak.c +++ /dev/null @@ -1,353 +0,0 @@ -// Keyboard keymap: -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [DVORAK] = LAYOUT_ergodox( - - // HACKER DVORAK left hand - - //------------------------+-------------------------+-------------------------+-------------------------+-------------------------+-------------------------+------------------------// - // ESCAPE | | | | | | START RECORDING // - // | | | | | | // - KC_ESC, TD(GRV_TILD), TD(AT_DLR), TD(LCBR_LABK), TD(LPRN_LBRC), TD(EXLM_QUES), DM_REC1, // - // | ~ | $ | < | [ | ? | // - // | TAP DANCE: ` | TAP DANCE: @ TAP DANCE: { | TAP DANCE: ( | TAP DANCE: ! | DYNAMIC MARCO 1 // - //------------------------+-------------------------+-------------------------+-------------------------+-------------------------+-------------------------+------------------------// - // TAB | MOD TAP: ALT+SHIFT | MOD TAP: CTRL+ALT | MOD TAP: CTRL+SHIFT | P | Y | // - // | | | | | | // - KC_TAB, TD(NONE_LEAD), TD(QUOT_DQUO), TD(DOT_COMM), LCG_T(KC_P), LAG_T(KC_Y), DM_PLY1, // - // | LEAD | " | , | | | // - // | TAP DANCE: NONE | TAP DANCE: ' | TAP DANCE: . | MOD TAP: CTRL+GUI | MOD TAP: ALT+GUI | // - //------------------------+-------------------------+-------------------------+-------------------------+-------------------------+-------------------------| PLAY DYNAMIC MACRO 1 // - // | MOD TAP: ALT | MOD TAP: CTRL | LAYER TAP: SHIFT | M TAP DANCE: ARROWS/GUI | MOD TAP: SHIFT+GUI | // - // | | | | Ü | | // - TD(EQL_PLUS), LALT_T(KC_A), LCTL_T(KC_O), LSFT_T(KC_E), TD(U_ARR_GUI), SGUI_T(KC_I), //-----------------------// - // + | Á | Ó | É | Ú | Í | // - // TAP DANCE: = | TAP DANCE: A | TAP DANCE: O | TAP DANCE: E | TAP DANCE: U | TAP DANCE: I | // - //------------------------+-------------------------+-------------------------+-------------------------+-------------------------+-------------------------| META // - // STOP RECORDING | MOD TAP: GUI+SHIFT+ALT | Q | J | K | X | // - // | | | | | | // - DM_RSTP, TD(SCLN_COLN), LCAG_T(KC_Q), TD(J_MED_MEH), TD(K_NUM_HYP), LCSG_T(KC_X), KC_LGUI, // - // | : | | | | | // - // DYNAMIC MACRO | TAP DANCE: ; | MOD TAP: SHIFT+GUI | M TAP DANCE: MEDIA/MEH | M TAP DANCE: ATM/HYPER | MOD TAP: CTL+SHIFT+GUI | // - //------------------------+-------------------------+-------------------------+-------------------------+-------------------------+-------------------------+------------------------// - // LAYERS SWITCHER | APPLICATION MENU | | | // - // | | | | SCROLL // - TG(LAYERS), KC_APP, KC_NUM, KC_SCRL, KC_CAPS, // - // | | | | NUM // - // LAYER TOGGLE | | | | TAP DANCE: CAPS // - //------------------------+-------------------------+-------------------------+-------------------------+------------------------// - - // HACKER DVORAK left thumb - - //------------------------+------------------------// - // MOUSE WHEEL LEFT | MOUSE WHEEL RIGHT // - // | // - KC_WH_L, KC_WH_R, // - // | // - // | // - //-------------------------+-------------------------+------------------------// - // | | HOME // - // | | // - /* SPACE | BACKSPACE */ KC_HOME, // - // | | // - // | | // - KC_SPC, KC_BSPC, //-----------------------// - // | | END // - // | | // - /* | */ KC_END, // - // | | // - // | | // - //-------------------------+-------------------------+------------------------// - - // HACKER DVORAK right hand - - //------------------------+-------------------------+-------------------------+-------------------------+-------------------------+-------------------------+------------------------// - // | | | | | | // - // | | | | | | // - DM_REC2, TD(APMR_PIPE), TD(RPRN_RBRC), TD(RCBR_RABK), TD(HASH_PERC), TD(ASTR_CIRC), XXXXXXX, // - // | | | | | | // - // | | | | | | // - //------------------------+-------------------------+-------------------------+-------------------------+-------------------------+-------------------------+------------------------// - // | | | | | | // - // | | | | | | // - DM_PLY2, LAG_T(KC_F), LCG_T(KC_G), C_S_T(KC_C), LCA_T(KC_R), LAS_T(KC_L), TD(SLSH_BSLS), // - // | | | | | | // - // | | | | | | // - // |-------------------------+-------------------------+-------------------------+-------------------------+-------------------------+------------------------// - // | | | | | | // - // | | | | | | // - /*-----------------------*/ SGUI_T(KC_D), TD(H_MOU_GUI), LSFT_T(KC_T), LCTL_T(KC_N), LALT_T(KC_S), TD(MINS_UNDS), // - // | | | | | | // - // | | | | | | // - // |-------------------------+-------------------------+-------------------------+-------------------------+-------------------------+------------------------// - // | | | | | | // - // | | | | | | // - KC_LGUI, LCSG_T(KC_B), TD(M_CHO_HYP), TD(W_MED_MEH), LCAG_T(KC_V), LASG_T(KC_Z), COMPOSE, // - // | | | | | | // - // | | | | | | ⎄ // - //------------------------+-------------------------+-------------------------+-------------------------+-------------------------+-------------------------+------------------------// - // | | | | // - // | | | | // - KC_LEFT, KC_UP, KC_DOWN, KC_RGHT, KC_SYRQ, // - // | | | | // - // | | | | // - //------------------------+-------------------------+-------------------------+-------------------------+------------------------// - - // HACKER DVORAK right thumb - - //------------------------+------------------------// - // | // - // | // - KC_WH_U, KC_WH_D, // - // | // - // | // - //------------------------+-------------------------+------------------------// - // | | // - // | | // - KC_PGUP, // | // - // | | // - // | | // - //------------------------| | // - // | | // - // | | // - KC_PGDN, KC_DEL, KC_ENT // - // | | // - // | | // - //------------------------+-------------------------+------------------------// - - ), - - [PLOVER] = LAYOUT_ergodox( - // left hand - XXXXXXX, XXXXXXX, KC_MS_BTN2, KC_MS_UP, KC_MS_BTN1, KC_MS_BTN3, GUI_T(KC_NO), - KC_ESC, KC_MS_BTN4, KC_MS_LEFT, KC_MS_DOWN, KC_MS_RIGHT, KC_MS_BTN5, PV_NUM, - KC_TAB, PV_LS, PV_LT, PV_LP, PV_LH, PV_STAR, - KC_CAPS, PV_LS, PV_LK, PV_LW, PV_LR, PV_STAR, PV_STAR, - XXXXXXX, TG(LAYERS), PV_NUM, PV_NUM, PV_NUM, - - // left thumb - KC_SPACE, KC_BSPC, - KC_HOME, - PV_A, PV_O, KC_END, - - // right hand - KC_MS_ACCEL2, KC_MS_ACCEL1, KC_MS_ACCEL0, KC_UP, KC_APPLICATION, XXXXXXX, KC_MS_WH_UP, - PV_NUM, KC_MS_WH_LEFT, KC_LEFT, KC_DOWN, KC_RIGHT, KC_MS_WH_RIGHT, KC_MS_WH_DOWN, - PV_STAR, PV_RF, PV_RP, PV_RL, PV_RT, PV_RD, - PV_STAR, PV_STAR, PV_RR, PV_RB, PV_RG, PV_RS, PV_RZ, - PV_NUM, PV_NUM, PV_NUM, PV_NUM, XXXXXXX, - - // right thumb - KC_DELETE, KC_ENTER, - KC_PGUP, - KC_PGDN, PV_E, PV_U - ), - - [GAMING] = LAYOUT_ergodox( - // left hand - KC_ESCAPE, GUI_T(KC_MINS), KC_I, KC_O, KC_P, ALGR_T(KC_EQL), KC_T, - KC_TAB, KC_LALT, KC_Q, KC_W, KC_E, ALL_T(KC_R), KC_G, - LT(MOUSE, KC_GRV), KC_LCTL, KC_A, KC_S, KC_D, MEH_T(KC_F), - KC_BSLS, KC_LSFT, KC_Z, KC_X, KC_C, SCMD_T(KC_V), KC_M, - XXXXXXX, TG(LAYERS), KC_COMM, KC_DOT, KC_LBRC, - - // left thumb - MO(MEDIA_FN), KC_NUM, - KC_SCLN, - KC_SPACE, KC_ENTER, KC_BSPC, - - // right hand - KC_QUOT, KC_Y, KC_K, KC_U, KC_KP_7, KC_KP_8, KC_KP_9, - KC_MS_WH_UP, KC_H, KC_J, KC_L, KC_KP_4, KC_KP_2, KC_KP_6, - KC_B, KC_MS_UP, KC_N, KC_KP_1, KC_KP_5, KC_KP_3, - KC_MS_WH_DOWN, KC_MS_LEFT, KC_MS_DOWN, KC_MS_RIGHT, KC_UP, KC_KP_0, KC_SLASH, - KC_RBRC, KC_LEFT, KC_DOWN, KC_RIGHT, XXXXXXX, - - // right thumb - KC_MS_BTN5, MO(CHORD), - KC_MS_BTN4, - KC_MS_BTN3, KC_MS_BTN2, KC_MS_BTN1 - ), - - [ARROWS] = LAYOUT_ergodox( - // left hand - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, SCMD_T(KC_NO), MEH_T(KC_NO), ALL_T(KC_NO), XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, KC_LCTL, KC_LSFT, XXXXXXX, _______, XXXXXXX, - XXXXXXX, KC_RALT, KC_LALT, GUI_T(KC_NO), XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - - // left thumb - XXXXXXX, XXXXXXX, - KC_HOME, - KC_SPACE, KC_BSPC, KC_END, - - // right hand - LGUI(KC_X), XXXXXXX, LCTL(KC_X), KC_MS_WH_UP, XXXXXXX, XXXXXXX, XXXXXXX, - LGUI(KC_C), XXXXXXX, LCTL(KC_C), KC_UP, SCTL(KC_C), LCTL(KC_Z), LGUI(KC_Z), - KC_MS_WH_LEFT, KC_LEFT, KC_DOWN, KC_RIGHT, KC_MS_WH_RIGHT, KC_APPLICATION, - LGUI(KC_V), XXXXXXX, LCTL(KC_V), KC_MS_WH_DOWN, SCTL(KC_V), LCTL(KC_Y), SGUI(KC_Z), - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_SCRL, - - // right thumb - XXXXXXX, XXXXXXX, - KC_PGUP, - KC_PGDN, KC_DELETE, KC_ENTER - ), - - [MOUSE] = LAYOUT_ergodox( - // left hand - XXXXXXX, XXXXXXX, XXXXXXX, KC_MS_WH_UP, LCTL(KC_X), XXXXXXX, LGUI(KC_X), - LGUI(KC_Z), LCTL(KC_Z), SCTL(KC_C), KC_MS_UP, LCTL(KC_C), KC_MS_BTN4, LGUI(KC_C), - KC_MS_BTN3, KC_MS_WH_LEFT, KC_MS_LEFT, KC_MS_DOWN, KC_MS_RIGHT, KC_MS_WH_RIGHT, - LGUI(KC_Z), LCTL(KC_Y), SCTL(KC_V), KC_MS_WH_DOWN, LCTL(KC_V), KC_MS_BTN5, LGUI(KC_V), - KC_SCRL, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - - // left thumb - XXXXXXX, XXXXXXX, - XXXXXXX, - KC_MS_BTN1, KC_MS_BTN2, XXXXXXX, - - // right hand - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, ALL_T(KC_NO), MEH_T(KC_NO), SCMD_T(KC_NO), XXXXXXX, - XXXXXXX, _______, KC_MS_ACCEL1, KC_LSFT, KC_LCTL, KC_MS_ACCEL2, - XXXXXXX, XXXXXXX, XXXXXXX, GUI_T(KC_NO), KC_LALT, KC_RALT, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - - // right thumb - XXXXXXX, XXXXXXX, - XXXXXXX, - XXXXXXX, XXXXXXX, KC_MS_ACCEL0 - ), - - [NUMPAD] = LAYOUT_ergodox( - // left hand - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, GUI_T(KC_NO), XXXXXXX, ALL_T(KC_NO), XXXXXXX, XXXXXXX, - _______, KC_LCTL, KC_LSFT, _______, MEH_T(KC_NO), XXXXXXX, - XXXXXXX, KC_RALT, KC_LALT, XXXXXXX, SCMD_T(KC_NO), XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - - // left thumb - XXXXXXX, XXXXXXX, - KC_HOME, - KC_SPACE, KC_BSPC, KC_END, - - // right hand - KC_X, KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, - KC_O, KC_I, KC_1, KC_2, KC_3, KC_SLSH, KC_PERC, - KC_M, KC_4, KC_5, KC_6, KC_PLUS, KC_MINS, - KC_L, KC_J, KC_7, KC_8, KC_9, KC_ASTR, KC_CIRC, - KC_DOT, KC_0, KC_COMM, KC_UNDS, KC_BSLS, - - // right thumb - XXXXXXX, XXXXXXX, - KC_PGUP, - KC_PGDN, KC_DELETE, KC_ENTER - ), - - [LAYERS] = LAYOUT_ergodox( - // left hand - 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, XXXXXXX, - - // left thumb - XXXXXXX, XXXXXXX, - XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, - - // right hand - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, TO(DVORAK), TO(PLOVER), TO(GAMING), XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - - // right thumb - XXXXXXX, XXXXXXX, - XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX - ), - - [MEDIA_FN] = LAYOUT_ergodox( - // left hand - KC_VOLD, KC_MUTE, RGB_TOG, XXXXXXX, KC_MAIL, KC_FIND, KC_WWW_REFRESH, - KC_MPRV, KC_F9, KC_F7, KC_F5, KC_F3, KC_F1, KC_WWW_HOME, - KC_PAUS, KC_F19, KC_F17, KC_F15, KC_F13, KC_F11, - RGB_HUD, XXXXXXX, XXXXXXX, _______, KC_F23, KC_F21, KC_WWW_BACK, - RGB_VAD, KC_CAPS, KC_PSCR, XXXXXXX, MO(FIRMWARE), - - // left thumb - _______, XXXXXXX, - XXXXXXX, - XXXXXXX, XXXXXXX, KC_MEDIA_EJECT, - - // right hand - KC_WWW_FAVORITES, KC_MYCM, KC_CALC, XXXXXXX, RGB_MOD, RGB_M_P, KC_VOLU, - KC_WWW_SEARCH, KC_F2, KC_F4, KC_F6, KC_F8, KC_F10, KC_MNXT, - KC_F12, KC_F14, KC_F16, KC_F18, KC_F20, KC_MPLY, - KC_WWW_FORWARD, KC_F22, KC_F24, _______, XXXXXXX, XXXXXXX, RGB_HUI, - KC_PWR, XXXXXXX, KC_SLEP, KC_WAKE, RGB_VAI, - - // right thumb - XXXXXXX, XXXXXXX, - XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX - ), - - [CHORD] = LAYOUT_ergodox( - // left hand - XXXXXXX, HYPR(KC_F1), HYPR(KC_F2), HYPR(KC_F3), HYPR(KC_F4), HYPR(KC_F5), XXXXXXX, - XXXXXXX, HYPR(KC_F6), HYPR(KC_F7), HYPR(KC_F8), HYPR(KC_F9), HYPR(KC_F10), XXXXXXX, - XXXXXXX, HYPR(KC_F11), HYPR(KC_F12), HYPR(KC_F13), HYPR(KC_F14), HYPR(KC_F15), - XXXXXXX, HYPR(KC_F16), HYPR(KC_F17), HYPR(KC_F18), HYPR(KC_F19), HYPR(KC_F20), XXXXXXX, - XXXXXXX, HYPR(KC_F21), HYPR(KC_F22), HYPR(KC_F23), HYPR(KC_F24), - - // left thumb - XXXXXXX, XXXXXXX, - XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, - - // right hand - 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, XXXXXXX, - - // right thumb - XXXXXXX, _______, - XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX - ), - - [FIRMWARE] = LAYOUT_ergodox( - - // left hand - 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, XXXXXXX, _______, - - // left thumb - XXXXXXX, XXXXXXX, - XXXXXXX, - QK_BOOT, XXXXXXX, XXXXXXX, - - // right hand - 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, XXXXXXX, XXXXXXX, - - // right thumb - XXXXXXX, XXXXXXX, - XXXXXXX, - XXXXXXX, XXXXXXX, EE_CLR - ) -}; diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/keycodes/aliases_definitions.c b/keyboards/ergodox_ez/keymaps/hacker_dvorak/keycodes/aliases_definitions.c deleted file mode 100644 index 323358357ad..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/keycodes/aliases_definitions.c +++ /dev/null @@ -1,13 +0,0 @@ -// Compound keycode aliases -#define SCTL(kc) LSFT(LCTL(kc)) // Modifier keys: SHIFT+CTRL+kc combination. - -// Tap -#define LASG_T(kc) MT(MOD_LGUI | MOD_LALT | MOD_LSFT, kc) // Mod tap: kc when tapped, GUI+ALT+SHIFT when held. -#define LCSG_T(kc) MT(MOD_LGUI | MOD_LSFT | MOD_LCTL, kc) // Mod tap: kc when tapped, GUI+CTL+SHIFT when held. - -#define LCG_T(kc) MT(MOD_LCTL | MOD_LGUI, kc) // Mod tap: kc when tapped, CTL+GUI when held. -#define LAS_T(kc) MT(MOD_LALT | MOD_LSFT, kc) // Mod tap: kc when tapped, ALT+SHIFT when held. -#define LAG_T(kc) MT(MOD_LALT | MOD_LGUI, kc) // Mod tap: kc when tapped, ALT+GUI when held. - -// Others -#define COMPOSE KC_RALT // Compose key (used to input characters like á, ñ, ü). diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/keycodes/custom_keycodes.c b/keyboards/ergodox_ez/keymaps/hacker_dvorak/keycodes/custom_keycodes.c deleted file mode 100644 index 338910b53f6..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/keycodes/custom_keycodes.c +++ /dev/null @@ -1,7 +0,0 @@ -// Define custom user keycodes: -enum custom_keycodes { - PLACEHOLDER = SAFE_RANGE, // Can always be here. - MY_CUSTOM_MACRO, // Custom macro example. - MY_OTHER_MACRO, // Custom macro example. - DYNAMIC_MACRO_RANGE // Should always be the last. -}; diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/keymap.c b/keyboards/ergodox_ez/keymaps/hacker_dvorak/keymap.c deleted file mode 100644 index e953f06de8c..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/keymap.c +++ /dev/null @@ -1,28 +0,0 @@ -#include QMK_KEYBOARD_H // Includes the QMK-verse. -#include "keymap_plover.h" // Includes the Plover keymap for easier readability. - - -// TODO: No eeprom changes unless needed, custom rgb settings for animations. -#include "keycodes/aliases_definitions.c" -#include "layers/layers_definitions.c" -#include "tap_dance/tap_dance_setup.c" -#include "tap_dance/tap_dances.c" -#include "user/matrix_scan_user.c" -#include "tap_dance/mod_tap_layer_dances/none_lead.c" -#include "tap_dance/mod_tap_layer_dances/dot_comm.c" -#include "tap_dance/mod_tap_layer_dances/quot_dquot.c" -#include "tap_dance/mod_tap_layer_dances/scln_coln.c" -#include "tap_dance/mod_tap_layer_dances/u_arrows_gui.c" -#include "tap_dance/mod_tap_layer_dances/h_mouse_gui.c" -#include "tap_dance/mod_tap_layer_dances/j_media_meh.c" -#include "tap_dance/mod_tap_layer_dances/w_media_meh.c" -#include "tap_dance/mod_tap_layer_dances/k_numpad_hyper.c" -#include "tap_dance/mod_tap_layer_dances/m_chords_hyper.c" -#include "tap_dance/tap_dance_actions.c" -#include "keycodes/custom_keycodes.c" -#include "dynamic_macro.h" // Includes dynamic macro definitions, needed *after* the custom keycodes. -#include "hacker_dvorak.c" -#include "user/eeconfig_init_user.c" -#include "user/process_record_user.c" -#include "plover/plover_mode.c" -#include "user/layer_set_state_user.c" diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/layers/layers_definitions.c b/keyboards/ergodox_ez/keymaps/hacker_dvorak/layers/layers_definitions.c deleted file mode 100644 index f252bc802b2..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/layers/layers_definitions.c +++ /dev/null @@ -1,12 +0,0 @@ -enum layers { // Hacker Dvorak keyboard layers: - DVORAK = 0, // * Dvorak base layer. - PLOVER = 1, // * Steno layer for use with Plover. - GAMING = 2, // * Gaming layer intended for general purpose playing. - ARROWS = 3, // * Arrows movement keys and edition shortcuts. - MOUSE = 4, // * Mouse movement keys and edition shortcuts. - NUMPAD = 5, // * ATM style numpad with symbols and letters that should suffice to input any numeric literal. - LAYERS = 6, // * Layer switcher used to change between DVORAK, PLOVER and GAMING layers. - MEDIA_FN = 7, // * Media, RGB and function keys from F1 to F24 in symmetric fashion. - CHORD = 8, // * Hot keys layer (uses hyper + F1 .. F24) suitable for global shortcut tasks. - FIRMWARE = 9 // * Layer with firmware related functionality, like the reset and EEPROM keys. -}; diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/package.json b/keyboards/ergodox_ez/keymaps/hacker_dvorak/package.json deleted file mode 100644 index 173bcd5a866..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/package.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "hacker_dvorak", - "version": "1.0.0", - "description": "Inspired by the [*Programmer Dvorak*](https://www.kaufmann.no/roland/dvorak) keyboard layout, cherry picked ideas from other layouts in the [EZ Repository](https://configure.ergodox-ez.com/search?q=dvorak&legacy=true), a character distribution [heatmap vizualizer](https://run.plnkr.co/plunks/5EEO8nJ2wRzYAfT3), my own subjective use cases and lots of trial and error.", - "main": "gulpfile.js", - "scripts": { - "test": "test" - }, - "author": "SalchiPapa", - "license": "GPL-2.0", - "dependencies": { - "gulp": "^4.0.0", - "gulp-run-command": "0.0.9" - } -} diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/plover/plover_mode.c b/keyboards/ergodox_ez/keymaps/hacker_dvorak/plover/plover_mode.c deleted file mode 100644 index b388264907a..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/plover/plover_mode.c +++ /dev/null @@ -1,20 +0,0 @@ -// TODO: improve feedback -void plover_toggle(void) { - // Press "PHROLG" - register_code(PV_LP); - register_code(PV_LH); - register_code(PV_LR); - register_code(PV_O); - register_code(PV_RL); - register_code(PV_RG); - - // Release "PHROLG" - unregister_code(PV_LP); - unregister_code(PV_LH); - unregister_code(PV_LR); - unregister_code(PV_O); - unregister_code(PV_RL); - unregister_code(PV_RG); -} - -bool PLOVER_MODE = false; diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/readme.md b/keyboards/ergodox_ez/keymaps/hacker_dvorak/readme.md deleted file mode 100644 index 8089a6d55a4..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/readme.md +++ /dev/null @@ -1,62 +0,0 @@ -# [Ergodox EZ Hacker Dvorak Layout](https://configure.ergodox-ez.com/layouts/Wadz/latest/0) - -Inspired by the [*Programmer Dvorak*](https://www.kaufmann.no/roland/dvorak) keyboard layout, cherry picked ideas from other layouts in the [EZ Repository](https://configure.ergodox-ez.com/search?q=dvorak&legacy=true), a character distribution [heatmap vizualizer](https://run.plnkr.co/plunks/5EEO8nJ2wRzYAfT3), my own subjective use cases and lots of trial and error. - -## Setup - -Configure your OS keyboard layout to US, or the keymap will be incorrect. - -## Limitations - -I plan to use [QMK](https://docs.qmk.fm) in the future, in order to overcome some limitations of the Ergodox EZ [graphical configurator](https://configure.ergodox-ez.com/layouts/default/latest/0)), however I will defer that, until more progress is made to the new [configurator](https://medium.com/the-ergo/the-configurator-is-out-of-beta-e107aec80cae). - -## Layers - -1. Dvorak - * US Dvorak layout. - * All symbols (including shifted symbols). - * All modifier are dual keys positioned near the home row. -2. Querty - * Used to overcome the limitation pointed above, when your OS layout is set to Dvorak instead of US, this way you can use - Standard Dvorak (available by default on all the main operating systems) on other normal keybdoards and Hacker Dvorak on - the Ergodox EZ Shine at the same time, without changing back and forth tho OS layout. -3. Gaming - * Still in development. - * Left side is mainly "normal" Qwerty. - * Right side is mainly for movement, either using the mouse, the arrow keys, the number pad or the `H`, `J`, `K`, `L` as direction keys. -4. Arrows - * Arrow keys navigation. - * All modifier keys. - * Common text edititng shortcuts (doesn't work for MacOS). -5. Mouse - * Mouse navigation. - * All modifier keys. - * Common text edititng shortcuts (doesn't work for MacOS). -6. Numpad - * ATM style numpad. - * All modifier keys. - * Letters from `A` to `F` for hexadecimal numbers (`B` is also used for binary numeric literals in most programming - languages, ie. `0b11001`). - * `X` for hexadecimal numeric literals in most programming languages, ie. `0xbeef`. - * `O` for octal numeric literals in most programming languages, ie `0o123`. - * `J` for complex numeric literals in Python, ie. `3j`. - * `I` and `M` for complex Julia numeric literals, ie. `3im`. - * Common symbols for mathematical operations. -7. Hyper Fn - * Useful for custom global shortcuts. -8. Media Fn - * Media keys. - * Function keys. - * EZ Shine keys. -9. Meh Fn - * Useful for custom application shortcuts. -10. Meh Fn + - * Useful for custom standard shortcuts. - -## To Do - -Add images. - -*** - -Please comment below if you have any ideas or suggestions. If you have used this layout or used it as a base, I'd love to hear about your experience! diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/rules.mk b/keyboards/ergodox_ez/keymaps/hacker_dvorak/rules.mk deleted file mode 100644 index aaf4e53f6eb..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/rules.mk +++ /dev/null @@ -1,37 +0,0 @@ -# Set any rules.mk overrides for your specific keymap here. -# See rules at https://docs.qmk.fm/#/config_options?id=the-rulesmk-file - -LTO_ENABLE = yes -NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -TAP_DANCE_ENABLE = yes -MOUSEKEY_ENABLE = yes # Mouse keys(+4700b). -EXTRAKEY_ENABLE = yes # Audio control and System control(+450b). -RGBLIGHT_ENABLE = yes -LEADER_ENABLE = yes - -UNICODE_ENABLE = no -COMMAND_ENABLE = no # Commands for debug and configuration -SWAP_HANDS_ENABLE = no # Allow swapping hands of keyboard. - - -# This are by default off: -# COMBO_ENABLE = no -# UCIS_ENABLE = no # For Unicode. -# UNICODEMAP_ENABLE = no -# SLEEP_LED_ENABLE = no # Turn off leds when computer is sleeping. -# KEY_LOCK_ENABLE = no # (+1730b) -# CONSOLE_ENABLE = no # Console for debug(+400b) -# MIDI_ENABLE = no -# BLUETOOTH_ENABLE = no -# AUDIO_ENABLE = no -# VARIABLE_TRACE = no -# BACKLIGHT_ENABLE = no -# RGB_MATRIX_ENABLE = no - -# POINTING_DEVICE_ENABLE = no - -# AUTO_SHIFT_ENABLE = no - -# This don't need argument? -# CUSTOM_MATRIX # Custom matrix file for the ErgoDox EZ -# SPLIT_KEYBOARD diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/dot_comm.c b/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/dot_comm.c deleted file mode 100644 index e96c7c275e2..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/dot_comm.c +++ /dev/null @@ -1,41 +0,0 @@ -//instanalize an instance of 'tap' for the Dot - Comma tap dance. -static tap dot_comm_state = { - .is_press_action = true, - .state = 0 -}; - -void dot_comm_finished(tap_dance_state_t *state, void *user_data) { - dot_comm_state.state = current_dance(state); - switch (dot_comm_state.state) { - case SINGLE_TAP: - register_code(KC_DOT); - break; - - case SINGLE_HOLD: - register_code(KC_LCTL); - register_code(KC_LSFT); - break; - - case DOUBLE_TAP: - register_code(KC_COMM); - break; - } -} - -void dot_comm_reset(tap_dance_state_t *state, void *user_data) { - switch (dot_comm_state.state) { - case SINGLE_TAP: - unregister_code(KC_DOT); - break; - - case SINGLE_HOLD: - unregister_code(KC_LCTL); - unregister_code(KC_LSFT); - break; - - case DOUBLE_TAP: - unregister_code(KC_COMM); - break; - } - dot_comm_state.state = 0; -} diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/h_mouse_gui.c b/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/h_mouse_gui.c deleted file mode 100644 index 0589128a580..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/h_mouse_gui.c +++ /dev/null @@ -1,39 +0,0 @@ -//instanalize an instance of 'tap' for the H - Mouse - Gui tap dance. -static tap h_mouse_gui_state = { - .is_press_action = true, - .state = 0 -}; - -void h_mouse_gui_finished(tap_dance_state_t *state, void *user_data) { - h_mouse_gui_state.state = current_dance(state); - switch (h_mouse_gui_state.state) { - case SINGLE_TAP: - register_code(KC_H); - break; - - case SINGLE_HOLD: - layer_on(MOUSE); - break; - - case DOUBLE_HOLD: - register_code(KC_LGUI); - break; - } -} - -void h_mouse_gui_reset(tap_dance_state_t *state, void *user_data) { - switch (h_mouse_gui_state.state) { - case SINGLE_TAP: - unregister_code(KC_H); - break; - - case SINGLE_HOLD: - layer_off(MOUSE); - break; - - case DOUBLE_HOLD: - unregister_code(KC_LGUI); - break; - } - h_mouse_gui_state.state = 0; -} diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/j_media_meh.c b/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/j_media_meh.c deleted file mode 100644 index a1400236dce..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/j_media_meh.c +++ /dev/null @@ -1,43 +0,0 @@ -//instanalize an instance of 'tap' for the J - Media - Meh tap dance. -static tap j_media_meh_state = { - .is_press_action = true, - .state = 0 -}; - -void j_media_meh_finished(tap_dance_state_t *state, void *user_data) { - j_media_meh_state.state = current_dance(state); - switch (j_media_meh_state.state) { - case SINGLE_TAP: - register_code(KC_J); - break; - - case SINGLE_HOLD: - layer_on(MEDIA_FN); - break; - - case DOUBLE_HOLD: - register_code(KC_LCTL); - register_code(KC_LSFT); - register_code(KC_LALT); - break; - } -} - -void j_media_meh_reset(tap_dance_state_t *state, void *user_data) { - switch (j_media_meh_state.state) { - case SINGLE_TAP: - unregister_code(KC_J); - break; - - case SINGLE_HOLD: - layer_off(MEDIA_FN); - break; - - case DOUBLE_HOLD: - unregister_code(KC_LCTL); - unregister_code(KC_LSFT); - unregister_code(KC_LALT); - break; - } - j_media_meh_state.state = 0; -} diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/k_numpad_hyper.c b/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/k_numpad_hyper.c deleted file mode 100644 index c405e650911..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/k_numpad_hyper.c +++ /dev/null @@ -1,45 +0,0 @@ -//instanalize an instance of 'tap' for the K - Numpad - Hyper tap dance. -static tap k_numpad_hyper_state = { - .is_press_action = true, - .state = 0 -}; - -void k_numpad_hyper_finished(tap_dance_state_t *state, void *user_data) { - k_numpad_hyper_state.state = current_dance(state); - switch (k_numpad_hyper_state.state) { - case SINGLE_TAP: - register_code(KC_K); - break; - - case SINGLE_HOLD: - layer_on(NUMPAD); - break; - - case DOUBLE_HOLD: - register_code(KC_LCTL); - register_code(KC_LSFT); - register_code(KC_LALT); - register_code(KC_LGUI); - break; - } -} - -void k_numpad_hyper_reset(tap_dance_state_t *state, void *user_data) { - switch (k_numpad_hyper_state.state) { - case SINGLE_TAP: - unregister_code(KC_K); - break; - - case SINGLE_HOLD: - layer_off(NUMPAD); - break; - - case DOUBLE_HOLD: - unregister_code(KC_LCTL); - unregister_code(KC_LSFT); - unregister_code(KC_LALT); - unregister_code(KC_LGUI); - break; - } - k_numpad_hyper_state.state = 0; -} diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/m_chords_hyper.c b/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/m_chords_hyper.c deleted file mode 100644 index 736074e7512..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/m_chords_hyper.c +++ /dev/null @@ -1,45 +0,0 @@ -//instanalize an instance of 'tap' for the M - Chords - Hyper tap dance. -static tap m_chords_hyper_state = { - .is_press_action = true, - .state = 0 -}; - -void m_chords_hyper_finished(tap_dance_state_t *state, void *user_data) { - m_chords_hyper_state.state = current_dance(state); - switch (m_chords_hyper_state.state) { - case SINGLE_TAP: - register_code(KC_M); - break; - - case SINGLE_HOLD: - layer_on(CHORD); - break; - - case DOUBLE_HOLD: - register_code(KC_LCTL); - register_code(KC_LSFT); - register_code(KC_LALT); - register_code(KC_LGUI); - break; - } -} - -void m_chords_hyper_reset(tap_dance_state_t *state, void *user_data) { - switch (m_chords_hyper_state.state) { - case SINGLE_TAP: - unregister_code(KC_M); - break; - - case SINGLE_HOLD: - layer_off(CHORD); - break; - - case DOUBLE_HOLD: - unregister_code(KC_LCTL); - unregister_code(KC_LSFT); - unregister_code(KC_LALT); - unregister_code(KC_LGUI); - break; - } - m_chords_hyper_state.state = 0; -} diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/none_lead.c b/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/none_lead.c deleted file mode 100644 index a553f874cc1..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/none_lead.c +++ /dev/null @@ -1,40 +0,0 @@ -//instanalize an instance of 'tap' for the None - Lead tap dance. -static tap none_lead_state = { - .is_press_action = true, - .state = 0 -}; - -void none_lead_finished(tap_dance_state_t *state, void *user_data) { - none_lead_state.state = current_dance(state); - switch (none_lead_state.state) { - case SINGLE_TAP: - register_code(KC_NO); - break; - - case SINGLE_HOLD: - register_code(KC_LALT); - register_code(KC_LSFT); - break; - - case DOUBLE_TAP: - leader_start(); - break; - } -} - -void none_lead_reset(tap_dance_state_t *state, void *user_data) { - switch (none_lead_state.state) { - case SINGLE_TAP: - unregister_code(KC_NO); - break; - - case SINGLE_HOLD: - unregister_code(KC_LALT); - unregister_code(KC_LSFT); - break; - - case DOUBLE_TAP: - break; - } - none_lead_state.state = 0; -} diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/quot_dquot.c b/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/quot_dquot.c deleted file mode 100644 index 8b1af61cacc..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/quot_dquot.c +++ /dev/null @@ -1,41 +0,0 @@ -//instanalize an instance of 'tap' for the Quote - Double Quote tap dance. -static tap quot_dquot_state = { - .is_press_action = true, - .state = 0 -}; - -void quot_dquot_finished(tap_dance_state_t *state, void *user_data) { - quot_dquot_state.state = current_dance(state); - switch (quot_dquot_state.state) { - case SINGLE_TAP: - register_code(KC_QUOT); - break; - - case SINGLE_HOLD: - register_code(KC_LCTL); - register_code(KC_LALT); - break; - - case DOUBLE_TAP: - register_code16(KC_DQUO); - break; - } -} - -void quot_dquot_reset(tap_dance_state_t *state, void *user_data) { - switch (quot_dquot_state.state) { - case SINGLE_TAP: - unregister_code(KC_QUOT); - break; - - case SINGLE_HOLD: - unregister_code(KC_LCTL); - unregister_code(KC_LALT); - break; - - case DOUBLE_TAP: - unregister_code16(KC_DQUO); - break; - } - quot_dquot_state.state = 0; -} diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/scln_coln.c b/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/scln_coln.c deleted file mode 100644 index 8cc3b6dfe17..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/scln_coln.c +++ /dev/null @@ -1,43 +0,0 @@ -//instanalize an instance of 'tap' for the Semicolon - Colon tap dance. -static tap scln_coln_state = { - .is_press_action = true, - .state = 0 -}; - -void scln_coln_finished(tap_dance_state_t *state, void *user_data) { - scln_coln_state.state = current_dance(state); - switch (scln_coln_state.state) { - case SINGLE_TAP: - register_code(KC_SCLN); - break; - - case SINGLE_HOLD: - register_code(KC_LALT); - register_code(KC_LSFT); - register_code(KC_LGUI); - break; - - case DOUBLE_TAP: - register_code16(KC_COLN); - break; - } -} - -void scln_coln_reset(tap_dance_state_t *state, void *user_data) { - switch (scln_coln_state.state) { - case SINGLE_TAP: - unregister_code(KC_SCLN); - break; - - case SINGLE_HOLD: - unregister_code(KC_LALT); - unregister_code(KC_LSFT); - unregister_code(KC_LGUI); - break; - - case DOUBLE_TAP: - unregister_code16(KC_COLN); - break; - } - scln_coln_state.state = 0; -} diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/u_arrows_gui.c b/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/u_arrows_gui.c deleted file mode 100644 index b9a213ef083..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/u_arrows_gui.c +++ /dev/null @@ -1,39 +0,0 @@ -//instanalize an instance of 'tap' for the U - Arrows - Gui tap dance. -static tap u_arrows_gui_state = { - .is_press_action = true, - .state = 0 -}; - -void u_arrows_gui_finished(tap_dance_state_t *state, void *user_data) { - u_arrows_gui_state.state = current_dance(state); - switch (u_arrows_gui_state.state) { - case SINGLE_TAP: - register_code(KC_U); - break; - - case SINGLE_HOLD: - layer_on(ARROWS); - break; - - case DOUBLE_HOLD: - register_code(KC_LGUI); - break; - } -} - -void u_arrows_gui_reset(tap_dance_state_t *state, void *user_data) { - switch (u_arrows_gui_state.state) { - case SINGLE_TAP: - unregister_code(KC_U); - break; - - case SINGLE_HOLD: - layer_off(ARROWS); - break; - - case DOUBLE_HOLD: - unregister_code(KC_LGUI); - break; - } - u_arrows_gui_state.state = 0; -} diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/w_media_meh.c b/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/w_media_meh.c deleted file mode 100644 index 5f2bb2a69a4..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/mod_tap_layer_dances/w_media_meh.c +++ /dev/null @@ -1,43 +0,0 @@ -//instanalize an instance of 'tap' for the W - Media - Meh tap dance. -static tap w_media_meh_state = { - .is_press_action = true, - .state = 0 -}; - -void w_media_meh_finished(tap_dance_state_t *state, void *user_data) { - w_media_meh_state.state = current_dance(state); - switch (w_media_meh_state.state) { - case SINGLE_TAP: - register_code(KC_W); - break; - - case SINGLE_HOLD: - layer_on(MEDIA_FN); - break; - - case DOUBLE_HOLD: - register_code(KC_LCTL); - register_code(KC_LSFT); - register_code(KC_LALT); - break; - } -} - -void w_media_meh_reset(tap_dance_state_t *state, void *user_data) { - switch (w_media_meh_state.state) { - case SINGLE_TAP: - unregister_code(KC_W); - break; - - case SINGLE_HOLD: - layer_off(MEDIA_FN); - break; - - case DOUBLE_HOLD: - unregister_code(KC_LCTL); - unregister_code(KC_LSFT); - unregister_code(KC_LALT); - break; - } - w_media_meh_state.state = 0; -} diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/tap_dance_actions.c b/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/tap_dance_actions.c deleted file mode 100644 index fe13023d45c..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/tap_dance_actions.c +++ /dev/null @@ -1,44 +0,0 @@ -// Register the double tap dances: -tap_dance_action_t tap_dance_actions[] = { - [EQL_PLUS] = ACTION_TAP_DANCE_DOUBLE(KC_EQL, KC_PLUS), - [MINS_UNDS] = ACTION_TAP_DANCE_DOUBLE(KC_MINS, KC_UNDS), - [SLSH_BSLS] = ACTION_TAP_DANCE_DOUBLE(KC_SLSH, KC_BSLS), - [GRV_TILD] = ACTION_TAP_DANCE_DOUBLE(KC_GRV, KC_TILD), - [ASTR_CIRC] = ACTION_TAP_DANCE_DOUBLE(KC_ASTR, KC_CIRC), - [APMR_PIPE] = ACTION_TAP_DANCE_DOUBLE(KC_AMPR, KC_PIPE), - [EXLM_QUES] = ACTION_TAP_DANCE_DOUBLE(KC_EXLM, KC_QUES), - [HASH_PERC] = ACTION_TAP_DANCE_DOUBLE(KC_HASH, KC_PERC), - [AT_DLR] = ACTION_TAP_DANCE_DOUBLE(KC_AT, KC_DLR), - [LPRN_LBRC] = ACTION_TAP_DANCE_DOUBLE(KC_LPRN, KC_LBRC), - [RPRN_RBRC] = ACTION_TAP_DANCE_DOUBLE(KC_RPRN, KC_RBRC), - [LCBR_LABK] = ACTION_TAP_DANCE_DOUBLE(KC_LCBR, KC_LABK), - [RCBR_RABK] = ACTION_TAP_DANCE_DOUBLE(KC_RCBR, KC_RABK), - [SCLN_COLN] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, scln_coln_finished, scln_coln_reset), - [QUOT_DQUO] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, quot_dquot_finished, quot_dquot_reset), - [DOT_COMM] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, dot_comm_finished, dot_comm_reset), - [NONE_LEAD] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, none_lead_finished, none_lead_reset), - [U_ARR_GUI] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, u_arrows_gui_finished, u_arrows_gui_reset), - [H_MOU_GUI] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, h_mouse_gui_finished, h_mouse_gui_reset), - [J_MED_MEH] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, j_media_meh_finished, j_media_meh_reset), - [W_MED_MEH] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, w_media_meh_finished, w_media_meh_reset), - [K_NUM_HYP] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, k_numpad_hyper_finished, k_numpad_hyper_reset), - [M_CHO_HYP] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, m_chords_hyper_finished, m_chords_hyper_reset), -}; - -uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case TD(SCLN_COLN): - case TD(QUOT_DQUO): - case TD(DOT_COMM): - case TD(NONE_LEAD): - case TD(U_ARR_GUI): - case TD(H_MOU_GUI): - case TD(J_MED_MEH): - case TD(W_MED_MEH): - case TD(K_NUM_HYP): - case TD(M_CHO_HYP): - return DANCING_TERM; - default: - return TAPPING_TERM; - } -} diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/tap_dance_setup.c b/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/tap_dance_setup.c deleted file mode 100644 index d7331232307..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/tap_dance_setup.c +++ /dev/null @@ -1,75 +0,0 @@ -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. -}; - -/* Return an integer that corresponds to what kind of tap dance should be executed. - * - * How to figure out tap dance state: interrupted and pressed. - * - * Interrupted: If the state of a dance dance is "interrupted", that means that another key has been hit - * under the tapping term. This is typically indicitive that you are trying to "tap" the key. - * - * 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". - * - * One thing that is currenlty not possible with qmk software in regards to tap dance is to mimic the "permissive hold" - * feature. In general, advanced tap dances do not work well if they are used with commonly typed letters. - * For example "A". Tap dances are best used on non-letter keys that are not hit while typing letters. - * - * Good places to put an advanced tap dance: - * z,q,x,j,k,v,b, any function key, home/end, comma, semi-colon - * - * Criteria for "good placement" of a tap dance key: - * Not a key that is hit frequently in a sentence - * Not a key that is used frequently to double tap, for example 'tab' is often double tapped in a terminal, or - * in a web form. So 'tab' would be a poor choice for a tap dance. - * Letters used in common words as a double. For example 'p' in 'pepper'. If a tap dance function existed on the - * letter 'p', the word 'pepper' would be quite frustating to type. - * - * For the third point, there does exist the 'DOUBLE_SINGLE_TAP', however this is not fully tested - * - */ -int current_dance(tap_dance_state_t *state) { - int current_state = 0; - if (state->count == 1) { - if (state->interrupted || !state->pressed) { - current_state = SINGLE_TAP; - } else { - current_state = SINGLE_HOLD; //key has not been interrupted, but they key is still held. Means you want to send a 'HOLD'. - } - } else if (state->count == 2) { - /* - * 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) { - current_state = DOUBLE_SINGLE_TAP; - } else if (state->pressed) { - current_state = DOUBLE_HOLD; - } else { - current_state = DOUBLE_TAP; - } - } else if (state->count == 3) { - if (state->interrupted) { - current_state = TRIPLE_SINGLE_TAP; - } else if (state->pressed) { - current_state = TRIPLE_HOLD; - } else { - current_state = TRIPLE_TAP; - } - } - return current_state; -} diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/tap_dances.c b/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/tap_dances.c deleted file mode 100644 index d05a71d7e59..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/tap_dance/tap_dances.c +++ /dev/null @@ -1,98 +0,0 @@ - //--------------------------------------------------------------------------------------------// - // | | | | | // - // Single tap | Single hold | Double tap | Double hold | Triple tap | Triple hold // -// Mod tap dances: // | | | | | // -enum tap_dances { //--------------------------------------------------------------------------------------------// - // | | | | | // - EQL_PLUS = 0, // = | | + | | | // - // | | | | | // - //--------------------------------------------------------------------------------------------// - // | | | | | // - MINS_UNDS = 1, // - | | _ | | | // - // | | | | | // - //--------------------------------------------------------------------------------------------// - // | | | | | // - SLSH_BSLS = 2, // / | | \ | | | // - // | | | | | // - //--------------------------------------------------------------------------------------------// - // | | | | | // - GRV_TILD = 3, // ` | | ~ | | | // - // | | | | | // - //--------------------------------------------------------------------------------------------// - // | | | | | // - QUOT_DQUO = 4, // ' | CTRL+ALT | " | | | // - // | | | | | // - //--------------------------------------------------------------------------------------------// - // | | | | | // - SCLN_COLN = 5, // ; |ALT+SHIFT+META | : | | | // - // | | | | | // - //--------------------------------------------------------------------------------------------// - // | | | | | // - ASTR_CIRC = 6, // * | | ^ | | | // - // | | | | | // - //--------------------------------------------------------------------------------------------// - // | | | | | // - APMR_PIPE = 7, // & | | | | | | // - // | | | | | // - //--------------------------------------------------------------------------------------------// - // | | | | | // - EXLM_QUES = 8, // ! | | ? | | | // - // | | | | | // - //--------------------------------------------------------------------------------------------// - // | | | | | // - HASH_PERC = 9, // # | | % | | | // - // | | | | | // - //--------------------------------------------------------------------------------------------// - // | | | | | // - AT_DLR = 10, // @ | | $ | | | // - // | | | | | // - //--------------------------------------------------------------------------------------------// - // | | | | | // - LPRN_LBRC = 11, // ( | | [ | | | // - // | | | | | // - //--------------------------------------------------------------------------------------------// - // | | | | | // - RPRN_RBRC = 12, // ) | | ] | | | // - // | | | | | // - //--------------------------------------------------------------------------------------------// - // | | | | | // - LCBR_LABK = 13, // { | | < | | | // - // | | | | | // - //--------------------------------------------------------------------------------------------// - // | | | | | // - RCBR_RABK = 14, // } | | > | | | // - // | | | | | // - //--------------------------------------------------------------------------------------------// - // | | | | | // - DOT_COMM = 15, // . | CTRL+SHIFT | , | | | // - // | | | | | // - //--------------------------------------------------------------------------------------------// - // | | | | | // - NONE_LEAD = 16, // NONE | ALT+SHIFT | LEAD | | | // - // | | | | | // - //--------------------------------------------------------------------------------------------// - // | | | | | // - U_ARR_GUI = 17, // U | ARROWS | | GUI | | // - // | | | | | // - //--------------------------------------------------------------------------------------------// - // | | | | | // - H_MOU_GUI = 18, // H | MOUSE | | GUI | | // - // | | | | | // - //--------------------------------------------------------------------------------------------// - // | | | | | // - J_MED_MEH = 19, // J | MEDIA_FN | | MEH | | // - // | | | | | // - //--------------------------------------------------------------------------------------------// - // | | | | | // - W_MED_MEH = 20, // W | MEDIA_FN | | MEH | | // - // | | | | | // - //--------------------------------------------------------------------------------------------// - // | | | | | // - K_NUM_HYP = 21, // K | NUMPAD | | HYPER | | // - // | | | | | // - //--------------------------------------------------------------------------------------------// - // | | | | | // - M_CHO_HYP = 22, // M | CHORD | | HYPER | | // - // | | | | | // - //--------------------------------------------------------------------------------------------// -}; diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/user/eeconfig_init_user.c b/keyboards/ergodox_ez/keymaps/hacker_dvorak/user/eeconfig_init_user.c deleted file mode 100644 index 41b7b669413..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/user/eeconfig_init_user.c +++ /dev/null @@ -1,3 +0,0 @@ -// void eeconfig_init_user(void) { -// -// }; diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/user/layer_set_state_user.c b/keyboards/ergodox_ez/keymaps/hacker_dvorak/user/layer_set_state_user.c deleted file mode 100644 index 5ce5f5298f6..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/user/layer_set_state_user.c +++ /dev/null @@ -1,121 +0,0 @@ - -layer_state_t layer_state_set_user(layer_state_t state) { - uint8_t layer = get_highest_layer(state); - - switch (layer) { - case DVORAK: - rgblight_sethsv_noeeprom(HSV_GREEN); - rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT); - - if (PLOVER_MODE) { - plover_toggle(); - PLOVER_MODE = false; - } - - break; - - case PLOVER: - rgblight_sethsv_noeeprom(HSV_RED); - rgblight_mode_noeeprom(RGBLIGHT_MODE_BREATHING + 3); - - if (!(PLOVER_MODE)) { - plover_toggle(); - PLOVER_MODE = true; - } - - break; - - case GAMING: - rgblight_sethsv_noeeprom(HSV_RED); - rgblight_mode_noeeprom(RGBLIGHT_MODE_KNIGHT + 2); - - if (PLOVER_MODE) { - plover_toggle(); - PLOVER_MODE = false; - } - - break; - - case ARROWS: - rgblight_sethsv_noeeprom(HSV_BLUE); - rgblight_mode_noeeprom(RGBLIGHT_MODE_KNIGHT + 2); - - if (PLOVER_MODE) { - plover_toggle(); - PLOVER_MODE = false; - } - - break; - - case MOUSE: - rgblight_sethsv_noeeprom(HSV_BLUE); - rgblight_mode_noeeprom(RGBLIGHT_MODE_KNIGHT + 2); - - if (PLOVER_MODE) { - plover_toggle(); - PLOVER_MODE = false; - } - - break; - - case NUMPAD: - rgblight_sethsv_noeeprom(HSV_BLUE); - rgblight_mode_noeeprom(RGBLIGHT_MODE_KNIGHT + 2); - - if (PLOVER_MODE) { - plover_toggle(); - PLOVER_MODE = false; - } - - break; - - case LAYERS: - rgblight_sethsv_noeeprom(HSV_CYAN); - rgblight_mode_noeeprom(RGBLIGHT_MODE_KNIGHT + 2); - - if (PLOVER_MODE) { - plover_toggle(); - PLOVER_MODE = false; - } - - break; - - case MEDIA_FN: - rgblight_sethsv_noeeprom(HSV_YELLOW); - rgblight_mode_noeeprom(RGBLIGHT_MODE_KNIGHT + 2); - - if (PLOVER_MODE) { - plover_toggle(); - PLOVER_MODE = false; - } - - break; - - case CHORD: - rgblight_sethsv_noeeprom(HSV_MAGENTA); - rgblight_mode_noeeprom(RGBLIGHT_MODE_KNIGHT + 2); - - if (PLOVER_MODE) { - plover_toggle(); - PLOVER_MODE = false; - } - - break; - - case FIRMWARE: - rgblight_sethsv_noeeprom(HSV_MAGENTA); - rgblight_mode_noeeprom(RGBLIGHT_MODE_KNIGHT + 2); - - if (PLOVER_MODE) { - plover_toggle(); - PLOVER_MODE = false; - } - - break; - - default: - break; - } - - return state; -} diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/user/matrix_scan_user.c b/keyboards/ergodox_ez/keymaps/hacker_dvorak/user/matrix_scan_user.c deleted file mode 100644 index fc6c99cb85f..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/user/matrix_scan_user.c +++ /dev/null @@ -1,20 +0,0 @@ -bool MATRIX_SCANNED = false; - -void matrix_scan_user(void) { - if (!(MATRIX_SCANNED)) { - rgblight_sethsv_noeeprom(HSV_GREEN); - MATRIX_SCANNED = true; - } -}; - -void leader_end_user(void) { - if (leader_sequence_one_key(TD(APMR_PIPE))) { - register_code(KC_LCTL); - register_code(KC_LSFT); - register_code(KC_U); - - unregister_code(KC_U); - unregister_code(KC_LSFT); - unregister_code(KC_LCTL); - } -} diff --git a/keyboards/ergodox_ez/keymaps/hacker_dvorak/user/process_record_user.c b/keyboards/ergodox_ez/keymaps/hacker_dvorak/user/process_record_user.c deleted file mode 100644 index 967d554081c..00000000000 --- a/keyboards/ergodox_ez/keymaps/hacker_dvorak/user/process_record_user.c +++ /dev/null @@ -1,75 +0,0 @@ -// TODO: Improve this currently there is no feedback if activated by other means. -bool CAPS_LOCK = false; -bool NUM_LOCK = false; -bool SCROLL_LOCK = false; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - if (!process_record_dynamic_macro(keycode, record)) { - return false; - } - - switch (keycode) { - case KC_CAPS_LOCK: - if (record->event.pressed) { - if (!(CAPS_LOCK)) { - ergodox_right_led_1_on(); - CAPS_LOCK = true; - } else { - ergodox_right_led_1_off(); - CAPS_LOCK = false; - } - } - - return true; - - case KC_NUM_LOCK: - if (record->event.pressed) { - if (!(NUM_LOCK)) { - ergodox_right_led_2_on(); - NUM_LOCK = true; - } else { - ergodox_right_led_2_off(); - NUM_LOCK = false; - } - } - - return true; - - case KC_SCROLL_LOCK: - if (record->event.pressed) { - if (!(SCROLL_LOCK)) { - ergodox_right_led_3_on(); - SCROLL_LOCK = true; - } else { - ergodox_right_led_3_off(); - SCROLL_LOCK = false; - } - } - - return true; - - case KC_MS_WH_UP ... KC_MS_WH_RIGHT: - if (record->event.pressed) { - if (SCROLL_LOCK) { - return false; - } else { - return true; - } - } - - case MY_CUSTOM_MACRO: - if (record->event.pressed) { - SEND_STRING("QMK is the best thing ever!"); // this is our macro! - return false; - } - - case MY_OTHER_MACRO: - if (record->event.pressed) { - SEND_STRING(SS_LCTL("ac")); // selects all and copies - return false; - } - - default: - return true; - } -} diff --git a/keyboards/gh60/revc/keymaps/bluezio/keymap.c b/keyboards/gh60/revc/keymaps/bluezio/keymap.c deleted file mode 100644 index 23692edb19c..00000000000 --- a/keyboards/gh60/revc/keymaps/bluezio/keymap.c +++ /dev/null @@ -1,38 +0,0 @@ -#include QMK_KEYBOARD_H - -// lshift split, backspace split, full ANSI enter, full right shift -#define LAYOUT_BZIO( \ - K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K49, \ - K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \ - K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2D, \ - K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, \ - K40, K41, K42, K45, K4A, K4B, K4C, K4D \ - ) { \ - { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \ - { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \ - { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, KC_NO, K2D }, \ - { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, KC_NO, K3D }, \ - { K40, K41, K42, KC_NO, KC_NO, K45, KC_NO, KC_NO, KC_NO, K49, K4A, K4B, K4C, K4D } \ - } - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* 0: HHKB with hyper key where ctrl used to be, and right half of left - shift used as a key lock */ - LAYOUT_BZIO( - 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, QK_LOCK, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, - KC_HYPR, KC_LGUI, KC_LALT, LT(1, KC_SPC), KC_RALT, KC_RGUI, KC_APP, KC_RCTL), - - /* 1: spacefn with WASD arrows/navigation block and extra space key for - realignment of source code, plus IJKL mouse arrows, volume up/down in <>, - and caps lock where it used to be */ - LAYOUT_BZIO( - 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_TRNS, KC_TRNS, - KC_TRNS, KC_PGUP, KC_UP, KC_PGDN, KC_INSERT, KC_MS_BTN2, KC_TRNS, KC_TRNS, KC_MS_U, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT, - KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_DELETE, KC_MS_BTN1, KC_TRNS, KC_MS_L, KC_MS_D, KC_MS_R, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_HOME, KC_SPC, KC_END, KC_PSCR, KC_TRNS, KC_TRNS, 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), -}; diff --git a/keyboards/gh60/revc/keymaps/bluezio/rules.mk b/keyboards/gh60/revc/keymaps/bluezio/rules.mk deleted file mode 100644 index 116d505b7ee..00000000000 --- a/keyboards/gh60/revc/keymaps/bluezio/rules.mk +++ /dev/null @@ -1 +0,0 @@ -KEY_LOCK_ENABLE = yes diff --git a/keyboards/gh60/revc/keymaps/chaser/README.md b/keyboards/gh60/revc/keymaps/chaser/README.md deleted file mode 100644 index e6ec9e82bed..00000000000 --- a/keyboards/gh60/revc/keymaps/chaser/README.md +++ /dev/null @@ -1,96 +0,0 @@ -# [dragonchasers](https://github.com/dragonchaser) GH60 layout - -Layout derived from the default GH60 keymap. - -![Photo of the keyboard](https://pbs.twimg.com/media/DQzlD0yX0AA8spX.jpg) - -## Layers - -### Base Layer -``` -,-----------------------------------------------------------. -|Esc~| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp | -|-----------------------------------------------------------| -|Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ | -|-----------------------------------------------------------| -|FN | A| S| D| F| G| H| J| K| L| ;| '|Return | -|-----------------------------------------------------------| -|Shift | Z| X| C| V| B| N| M| ,| .| /| Up |FN | -|-----------------------------------------------------------| -|Ctrl|Gui |Alt | Space |Alt |Left |Down|Right| -`-----------------------------------------------------------' - -Note: right FN triggers function layer, - left FN(CAPS) is a one-shot button for the macro layer -``` - -### Function Layer -``` -,-----------------------------------------------------------. -|GRV|F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12| DEL | -|-----------------------------------------------------------| -| MB3|MB2|MUP|MB1|MWU| | | |INS| |RST| | |Print| -|-----------------------------------------------------------| -| | ML|MDN|MR |MWD| | | | | | | | -|-----------------------------------------------------------| -|CAPS | | | | | | | | | | |PGUP| | -|-----------------------------------------------------------| -| | | | |Ctrl|HOME|PGD |END | -`-----------------------------------------------------------' -``` - -### Macro Layer -``` -,-----------------------------------------------------------. -|DEF| |DUE| | | | | | | | | |GAM| ARR| -|-----------------------------------------------------------| -| |MAG|CLO|DUT|RBS|TIG| | | |COU|PSH| | | | -|-----------------------------------------------------------| -| |ADD|STS|DFF|FTC|PLL| | |LOG| | | | -|-----------------------------------------------------------| -| | | |COM| |BRN| | | | |MUT|VOL+|PLPA| -|-----------------------------------------------------------| -| | | | |APP |PREV|VOL-|NEXT| -`-----------------------------------------------------------' - -Abbreviations: --------------- -DEF - return to default layer -DUE - enable git duet mode -GAM - backlight WASD -ARR - backlight arrows -- -MAG - git submodule sync --recursive \ - && git submodule update --init --recursive \ - && git submodule foreach --recursive "git co . \ - && git reset --hard && git clean -dffx" -CLO - git clone -DUT - git duet (when in duet mode) -RBS - git rebase -TIG - tig -COU - git checkout -PSH - git push -- -ADD - git add -STS - git status -DFF - git diff -FTC - git fetch -PLL - git pull -LOG - git log -- -COM - git commit (or git duet commit if in duet mode) -BRN - git branch -MUT - audio mute -VOL+ - increase volume -PLPA - play/pause -- -APP - application (windows menu key) -PREV - previous song -VOL- - decrease volume -NEXT - next song - -Note: git commands are SEND_STRING macros sent to the - currently focused window Make sure it is your terminal :) - ``` - -**NOTE:** an outdated version of this keymap is also present for the Satan keyboard, which is no longer maintained since I could not get my hands on a properly working PCB. diff --git a/keyboards/gh60/revc/keymaps/chaser/keymap.c b/keyboards/gh60/revc/keymaps/chaser/keymap.c deleted file mode 100644 index e04367d86bf..00000000000 --- a/keyboards/gh60/revc/keymaps/chaser/keymap.c +++ /dev/null @@ -1,328 +0,0 @@ -#include QMK_KEYBOARD_H -#include - - -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 _QW 0 -#define _FL 1 -#define _MC 2 - -bool git_duet = false; -bool backlight_arrows = false; -bool backlight_gaming = false; -enum custom_keycodes { - /* GIT related keycodes */ - G_ADD = SAFE_RANGE, G_BRN, G_COM, G_COU, G_CLO, - G_DFF, G_DUE, G_DUT, G_FTC, G_LOG, G_MAG, G_MRG, - G_MRT, G_PSH, G_PLL, G_RBS, G_STH, G_STS, G_TIG, - - /* Multi-media related keycodes */ - A_MUTE, A_NEXT, A_PLPA, A_PREV, A_VOUP, A_VDWN, - - /* System related shortcuts */ - F_BTN, M_WAPP, K_ARR, K_WASD, -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - /* - * ,-----------------------------------------------------------. - * |Esc~| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp | - * |-----------------------------------------------------------| - * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ | - * |-----------------------------------------------------------| - * |FN | A| S| D| F| G| H| J| K| L| ;| '|Return | - * |-----------------------------------------------------------| - * |Shift | Z| X| C| V| B| N| M| ,| .| /| FN |Up | - * |-----------------------------------------------------------| - * |Ctrl|Gui |Alt | Space |Alt |Left |Down|Right| - * `-----------------------------------------------------------' - * - * Note: right FN triggers function layer, - * left FN is a one-shot button for the macro layer - */ - /* Layer 0: Qwerty */ - [_QW] = LAYOUT_60_ansi_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, - OSL(_MC), 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, F_BTN, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT - ), - - /* - * ,-----------------------------------------------------------. - * |GRV|F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12| DEL | - * |-----------------------------------------------------------| - * | MB3|MB2|MUP|MB1|MWU| | | |INS| |RST| | |Print| - * |-----------------------------------------------------------| - * | | ML|MDN|MR |MWD| | | | | | | | - * |-----------------------------------------------------------| - * |CAPS | | | | | | | | | | |PGUP| | - * |-----------------------------------------------------------| - * | | | | |Ctrl|HOME|PGD |END | - * `-----------------------------------------------------------' - */ - /* Layer 1: Functions */ - [_FL] = LAYOUT_60_ansi_split_rshift( - 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_BTN3, KC_BTN2, KC_MS_U, KC_BTN1, KC_WH_U, _______, _______, _______, KC_INS, _______, QK_BOOT, _______, _______, KC_PSCR, - KC_CAPS, KC_MS_L, KC_MS_D, KC_MS_R, KC_WH_D, _______, _______, _______, _______, _______, _______, _______, KC_TILD, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGUP, - _______, _______, _______, _______, KC_RCTL, KC_HOME, KC_PGDN, KC_END - ), - - /* - * ,-----------------------------------------------------------. - * |DEF| |DUE| | | | | | | | | |GAM| ARR| - * |-----------------------------------------------------------| - * | |MAG|CLO|DUT|RBS|TIG|MRT| | |COU|PSH| | | | - * |-----------------------------------------------------------| - * | |ADD|STS|DFF|FTC|PLL|MRG| |STH|LOG| | | F_OFF| - * |-----------------------------------------------------------| - * | | | |COM| |BRN| | | | |MUT|VOL+|PLPA| - * |-----------------------------------------------------------| - * | | | | |APP |PREV|VOL-|NEXT| - * `-----------------------------------------------------------' - * - * Abbreviations: - * -------------- - * DEF - return to default layer - * DUE - enable git duet mode - * CLO - git clone - * DUT - git duet (when in duet mode) - * RBS - git rebase - * MAG - git submodule sync --recursive && git submodule update --init --recursive && git submodule foreach --recursive "git co . && git reset --hard && git clean -dffx" - * TIG - tig - * MRG - git merge - * MRT - git mergetool - * COU - git checkout - * PSH - git push - * ADD - git add - * STS - git status - * DFF - git diff - * FTC - git fetch - * PLL - git pull - * STH - git stash - * LOG - git log - * COM - git commit (or git duet commit if in duet mode) - * BRN - git branch - * APP - application (windows menu key) - * MUT - audio mute - * VOL+ - increase volume - * VOL- - decrease volume - * PLPA - play/pause - * PREV - previous song - * NEXT - next song - * ARR - backlight arrow keys - * GAM - backlight WASD - * - * Note: git commands are SEND_STRING macros sent to the - * currently focused window Make sure it is your terminal :) - */ - /* Layer 2: Macros (Git & Multimedia) */ - [_MC] = LAYOUT_60_ansi_split_rshift( - TO(_QW), XXXXXXX, G_DUE, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, K_WASD, K_ARR, - XXXXXXX, G_MAG, G_CLO, G_DUT, G_RBS, G_TIG, G_MRT, XXXXXXX, XXXXXXX, G_COU, G_PSH, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, G_ADD, G_STS, G_DFF, G_FTC, G_PLL, G_MRG, XXXXXXX, G_STH, G_LOG, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, G_COM, XXXXXXX, G_BRN, XXXXXXX, XXXXXXX, XXXXXXX, A_MUTE, A_PLPA, A_VOUP, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, M_WAPP, A_PREV, A_VDWN, A_NEXT - ), - -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - if (record->event.pressed) { - switch(keycode) { - /* - * Begin git layer - */ - case G_ADD: - SEND_STRING("git add "); - layer_off(_MC); - return false;break; - case G_BRN: - SEND_STRING("git branch\n"); - layer_off(_MC); - return false;break; - case G_CLO: - SEND_STRING("git clone "); - layer_off(_MC); - return false;break; - case G_COM: - if(git_duet) { - SEND_STRING("git duet-commit "); - } else { - SEND_STRING("git commit "); - } - layer_off(_MC); - return false;break; - case G_COU: - SEND_STRING("git checkout "); - layer_off(_MC); - return false;break; - case G_DFF: - SEND_STRING("git diff\n"); - layer_off(_MC); - return false;break; - case G_DUE: - git_duet = !git_duet; - if(git_duet) { - gh60_esc_led_on(); - } else { - gh60_esc_led_off(); - } - layer_off(_MC); - return false;break; - case G_DUT: - if(git_duet) { - SEND_STRING("git duet "); - } - layer_off(_MC); - return false; break; - case G_FTC: - SEND_STRING("git fetch "); - layer_off(_MC); - return false;break; - case G_LOG: - SEND_STRING("git log --graph\n"); - layer_off(_MC); - return false;break; - case G_MAG: - // This is some git-magic to resync recursive submodule structures inside git projects (thx to https://github.com/jimmykarily) - SEND_STRING("git submodule sync --recursive && git submodule update --init --recursive && git submodule foreach --recursive \" git co . && git reset --hard && git clean -dffx \" \n"); - layer_off(_MC); - return false; break; - case G_MRG: - SEND_STRING("git merge "); - layer_off(_MC); - return false;break; - case G_MRT: - SEND_STRING("git mergetool "); - layer_off(_MC); - return false;break; - case G_PLL: - SEND_STRING("git pull "); - layer_off(_MC); - return false;break; - case G_PSH: - SEND_STRING("git push "); - layer_off(_MC); - return false;break; - case G_RBS: - SEND_STRING("git rebase "); - layer_off(_MC); - return false;break; - case G_STH: - SEND_STRING("git stash "); - layer_off(_MC); - return false;break; - case G_STS: - SEND_STRING("git status\n"); - layer_off(_MC); - return false;break; - case G_TIG: - SEND_STRING("tig\n"); - layer_off(_MC); - return false;break; - /* - * End git layer - */ - - /* - * Begin multimedia keys - */ - case A_MUTE: - register_code(KC_AUDIO_MUTE); - unregister_code(KC_AUDIO_MUTE); - layer_off(_MC); - return false;break; - case A_PLPA: - register_code(KC_MEDIA_PLAY_PAUSE); - unregister_code(KC_MEDIA_PLAY_PAUSE); - layer_off(_MC); - return false;break; - case A_VOUP: - register_code(KC_AUDIO_VOL_UP); - return false;break; - case A_VDWN: - register_code(KC_AUDIO_VOL_DOWN); - return false;break; - case A_PREV: - register_code(KC_MEDIA_PREV_TRACK); - unregister_code(KC_MEDIA_PREV_TRACK); - layer_off(_MC); - return false;break; - case A_NEXT: - register_code(KC_MEDIA_NEXT_TRACK); - unregister_code(KC_MEDIA_NEXT_TRACK); - layer_off(_MC); - return false;break; - /* - * End multimedia keys - */ - - // Tap dance to get the app button mapped - case M_WAPP: - register_code(KC_APP); - unregister_code(KC_APP); - layer_off(_MC); - return false;break; - - /* - * Begin multimedia keys - */ - case K_ARR: - backlight_arrows = !backlight_arrows; - if(backlight_arrows) { - gh60_poker_leds_on(); - } else { - gh60_poker_leds_off(); - } - layer_off(_MC); - return false;break; - case K_WASD: - backlight_gaming = !backlight_gaming; - if(backlight_gaming) { - gh60_wasd_leds_on(); - } else { - gh60_wasd_leds_off(); - } - layer_off(_MC); - return false; break; - case F_BTN: - gh60_fn_led_on(); - layer_on(_FL); - return false;break; - } - /* - * End multimedia keys - */ - - } else { - switch(keycode) { - /* - * Oneshots that will switch back to the default layer on KEY_UP - */ - case A_VOUP: - unregister_code(KC_AUDIO_VOL_UP); - layer_off(_MC); - return false;break; - case A_VDWN: - unregister_code(KC_AUDIO_VOL_DOWN); - layer_off(_MC); - return false;break; - case F_BTN: - layer_off(_FL); - gh60_fn_led_off(); - return false;break; - } - } - return true; -}; diff --git a/keyboards/gh60/revc/keymaps/dbroqua_7U/keymap.c b/keyboards/gh60/revc/keymaps/dbroqua_7U/keymap.c deleted file mode 100644 index 639c0ded91f..00000000000 --- a/keyboards/gh60/revc/keymaps/dbroqua_7U/keymap.c +++ /dev/null @@ -1,78 +0,0 @@ -#include QMK_KEYBOARD_H - -#define _DEFAULT 0 -#define _FN 1 - -enum custom_keycodes { - LED_TOGGLE = SAFE_RANGE -}; - -int esc_led = 0; - -// Fillers to make layering more clear -#define ______ KC_TRNS - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -/* Qwerty gui/alt/space/alt/gui - * ,-----------------------------------------------------------------------------------------. - * | 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 | N | M | , | . | / | RShift | FN | - * |-----------------------------------------------------------------------------------------+ - * |LGUI | LAlt | Space | RAlt |RGUI | - * `-----------------------------------------------------------------' - */ - [_DEFAULT] = LAYOUT_60_ansi_split_bs_rshift( /* Basic QWERTY */ - 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(_FN), - ______, KC_LGUI, KC_LALT, KC_SPC, ______, KC_RALT, KC_RGUI, ______ - ), - -/* FN Layer - * ,-----------------------------------------------------------------------------------------. - * | Led | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | Ins | Del | - * |-----------------------------------------------------------------------------------------+ - * | CAPS | | | | | | | | Psc | Slck| Paus| Up | | | - * |-----------------------------------------------------------------------------------------+ - * | | Vol-| Vol+| Mute| | | * | / | Home| PgUp| Left|Right| | - * |-----------------------------------------------------------------------------------------+ - * | | Prev| Play| Next| | | + | - | End |PgDn| Down| | | - * |-----------------------------------------------------------------------------------------+ - * | | | | Stop | | - * `-----------------------------------------------------------------' - */ - [_FN] = LAYOUT_60_ansi_split_bs_rshift( /* Layer 1 */ - LED_TOGGLE,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_CAPS, ______, ______, ______, ______, ______, ______, ______, KC_PSCR, KC_SCRL, KC_PAUS, KC_UP, ______, ______, - ______, KC_VOLD, KC_VOLU, KC_MUTE, ______, ______, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT,______, - ______, KC_MPRV, KC_MPLY, KC_MNXT, ______, ______, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, ______, ______, - ______, ______, ______, ______, ______, KC_MSTP, ______, ______ - ) -}; - -void esc_led_toggle(void) { - if (esc_led == 0){ - esc_led = 1; - gh60_esc_led_on(); - } else { - esc_led = 0; - gh60_esc_led_off(); - } -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case LED_TOGGLE: - if (record->event.pressed) { - esc_led_toggle(); - } - return false; - } - return true; -} diff --git a/keyboards/gh60/revc/keymaps/dbroqua_7U/rules.mk b/keyboards/gh60/revc/keymaps/dbroqua_7U/rules.mk deleted file mode 100644 index 9e00b7531a2..00000000000 --- a/keyboards/gh60/revc/keymaps/dbroqua_7U/rules.mk +++ /dev/null @@ -1 +0,0 @@ -SLEEP_LED_ENABLE = yes diff --git a/keyboards/gh60/revc/keymaps/emiilsd/keymap.c b/keyboards/gh60/revc/keymaps/emiilsd/keymap.c deleted file mode 100644 index 75e7691c433..00000000000 --- a/keyboards/gh60/revc/keymaps/emiilsd/keymap.c +++ /dev/null @@ -1,48 +0,0 @@ -/* Copyright 2018 Funderburker - * - * 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] = { - /* - ISO HHKB layout: - - * 2u Backspace - * ISO Enter - * split left Shift - * split right Shift - * Caps as Control - * 1u/1.5u/7u/1.5u//1u bottom row - */ - - /* 0: QWERTY */ - [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_NO, - 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_BSLS, KC_ENT, - KC_LSFT, KC_GRV, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, MO(1), KC_RSFT, - KC_NO, KC_LALT, KC_LGUI, KC_SPC, KC_NO, KC_NO, KC_RALT, KC_CAPS, KC_NO - ), - - /* 1: Fn layer */ - [1] = 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_DEL, - _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_END, KC_UP, _______, _______, - _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, _______, _______, _______, KC_PGUP, KC_LEFT, KC_RGHT, _______, _______, - _______, KC_MPRV, KC_MPLY, KC_MNXT, _______, _______, _______, _______, _______, _______, KC_PGDN, KC_DOWN, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - -}; diff --git a/keyboards/gh60/revc/keymaps/robotmaxtron/config.h b/keyboards/gh60/revc/keymaps/robotmaxtron/config.h deleted file mode 100644 index cef899ee126..00000000000 --- a/keyboards/gh60/revc/keymaps/robotmaxtron/config.h +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright 2012 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 . -*/ - -#pragma once - -#define WS2812_DI_PIN F4 -#define RGBLED_NUM 8 -#define RGBLIGHT_EFFECT_BREATHING -#define RGBLIGHT_EFFECT_RAINBOW_MOOD -#define RGBLIGHT_EFFECT_RAINBOW_SWIRL -#define RGBLIGHT_EFFECT_SNAKE -#define RGBLIGHT_EFFECT_KNIGHT -#define RGBLIGHT_EFFECT_CHRISTMAS -#define RGBLIGHT_EFFECT_STATIC_GRADIENT -#define RGBLIGHT_EFFECT_RGB_TEST -#define RGBLIGHT_EFFECT_ALTERNATING -#define RGBLIGHT_EFFECT_TWINKLE -#define RGBLIGHT_HUE_STEP 8 -#define RGBLIGHT_SAT_STEP 8 -#define RGBLIGHT_VAL_STEP 8 diff --git a/keyboards/gh60/revc/keymaps/robotmaxtron/keymap.c b/keyboards/gh60/revc/keymaps/robotmaxtron/keymap.c deleted file mode 100644 index 4651af4f52b..00000000000 --- a/keyboards/gh60/revc/keymaps/robotmaxtron/keymap.c +++ /dev/null @@ -1,112 +0,0 @@ -#include QMK_KEYBOARD_H - -#define _BL 0 -#define _AL 1 -#define _FL 2 -#define _UL 3 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* - * Base layer, pretty standard ANSI layout. - * ,-----------------------------------------------------------. - * |F(12)| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp | - * |-----------------------------------------------------------| - * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \| - * |-----------------------------------------------------------| - * |Caps/Fn| 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 |Menu|Ctrl| - * `-----------------------------------------------------------' - */ - [_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,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, - 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_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_NO,KC_RSFT, - KC_LCTL,KC_LGUI,KC_LALT, KC_SPC, KC_NO,KC_RALT,MO(2),KC_APP,KC_RCTL), - - /* - * Locking arrow keys to WASD for when you need dedicated arrow keys - * ,-----------------------------------------------------------. - * | | | | | | | | | | | | | | | - * |-----------------------------------------------------------| - * | | |Up | | | | | | | | | | | | - * |-----------------------------------------------------------| - * | |Left|Down|Rght| | | | | | | | | | - * |-----------------------------------------------------------| - * | | | | | | | | | | | | | - * |-----------------------------------------------------------| - * | | | | | | | | | - * `-----------------------------------------------------------' - */ - [_AL] = 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,KC_TRNS,KC_TRNS, - KC_TRNS,KC_TRNS,KC_UP,KC_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_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_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, - KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS), - - - /* - * Primary function layer, mostly the same as the traditional Pok3r layout. - * ,-------------------------------------------------------------. - * |`~ | F1| F2| F3| F4| F5| F6| F7| F8| F9| F10| F11| F12|DEL | - * |-------------------------------------------------------------| - * | |_AL| | | | |Calc|PgUp|Up|PgDn|Ptscn|Srlck|Pause| | - * |-------------------------------------------------------------| - * | | | | | | |Home|Left|Down|Rght|Ins| | | - * |-------------------------------------------------------------| - * | |_UL| | | | | | | | | | | - * |-------------------------------------------------------------| - * | | | | | | | | | - * `-------------------------------------------------------------' - */ - [_FL] = LAYOUT( - 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, - KC_TRNS,TG(1),KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_CALC,KC_PGUP,KC_UP,KC_PGDN,KC_PSCR,KC_SCRL,KC_PAUS,KC_TRNS, - KC_TRNS,KC_MUTE,KC_VOLD,KC_VOLU,KC_TRNS,KC_TRNS,KC_HOME,KC_LEFT,KC_DOWN,KC_RGHT,KC_INS,KC_TRNS,KC_TRNS,KC_TRNS, - KC_TRNS,KC_TRNS,TG(3),KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_END,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, - KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS), - - /* - * Locking layer for controlling the underglow. - * - * ,-----------------------------------------------------------. - * | | | | | | | | | | | | | | | - * |-----------------------------------------------------------| - * | | | | | | | | | | | | | | | - * |-----------------------------------------------------------| - * | |On|Mode| | | | | | | | | | | - * |-----------------------------------------------------------| - * | | |Hue+|Hue-|Sat+|Sat-|Val+|Val-| | | | | - * |-----------------------------------------------------------| - * | | | | | | | | | - * `-----------------------------------------------------------' - */ - [_UL] = 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,KC_TRNS,KC_TRNS, - KC_TRNS,KC_TRNS,KC_TRNS,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,KC_TRNS,KC_TRNS,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_HUI,RGB_HUD,RGB_SAI,RGB_SAD,RGB_VAI,RGB_VAD,KC_TRNS,KC_TRNS,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_scan_user(void) { - -// Layer LED indicators -// ESC led on when in function layer, WASD cluster leds enabled when on arrow cluster - layer_state_t layer = layer_state; - if (layer & (1<<1)) { - gh60_wasd_leds_on(); - } else { - gh60_wasd_leds_off(); - } - - if (layer & (1<<2)) { - gh60_esc_led_on(); - } else { - gh60_esc_led_off(); - } -}; diff --git a/keyboards/gh60/revc/keymaps/robotmaxtron/readme.md b/keyboards/gh60/revc/keymaps/robotmaxtron/readme.md deleted file mode 100644 index 8db7b3f65b4..00000000000 --- a/keyboards/gh60/revc/keymaps/robotmaxtron/readme.md +++ /dev/null @@ -1,16 +0,0 @@ -robotmaxtron's GH60 Layout -===================== - -##Quantum MK Firmware -For the full Quantum feature list, see the parent readme.md. - -* Standard ANSI layout with Pok3r styled function layers -* ESC key led enables when on function layer -* Lockable layer with arrow keys on WASD with backlighting to indicate locked on arrow layer -* Neopixel/WS2812 RGB Underglow Support - -## Reference Images -![Wiring Refererence](https://i.imgur.com/BkJ39JD.jpg) - -### Additional Credits -Keymap has been based on various keymaps available from the QMK Repo for the GH60-SATAN and KC60 keyboards. diff --git a/keyboards/gh60/revc/keymaps/robotmaxtron/rules.mk b/keyboards/gh60/revc/keymaps/robotmaxtron/rules.mk deleted file mode 100644 index 1e3cebb1451..00000000000 --- a/keyboards/gh60/revc/keymaps/robotmaxtron/rules.mk +++ /dev/null @@ -1 +0,0 @@ -RGBLIGHT_ENABLE = yes diff --git a/keyboards/gh60/revc/keymaps/sethbc/keymap.c b/keyboards/gh60/revc/keymaps/sethbc/keymap.c deleted file mode 100644 index 7d511001601..00000000000 --- a/keyboards/gh60/revc/keymaps/sethbc/keymap.c +++ /dev/null @@ -1,18 +0,0 @@ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* 0: qwerty */ - LAYOUT_60_ansi_split_bs_rshift( - 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_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(1), - KC_LCTL,KC_LALT,KC_LGUI, KC_SPC, KC_RGUI,KC_RALT,KC_APP,KC_RCTL), - /* 1: fn */ - LAYOUT_60_ansi_split_bs_rshift( - 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_CAPS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_UP,KC_TRNS,KC_TRNS, - KC_TRNS,KC_VOLD,KC_VOLU,KC_MUTE,KC_TRNS,KC_TRNS,KC_PAST,KC_PSLS,KC_HOME,KC_PGUP,KC_LEFT,KC_RIGHT,KC_PENT, - KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_PPLS,KC_PMNS,KC_END,KC_PGDN,KC_DOWN,KC_TRNS,KC_TRNS, - KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS), -}; diff --git a/keyboards/gh60/satan/keymaps/addcninblue/keymap.c b/keyboards/gh60/satan/keymaps/addcninblue/keymap.c deleted file mode 100644 index 91f37bf4166..00000000000 --- a/keyboards/gh60/satan/keymaps/addcninblue/keymap.c +++ /dev/null @@ -1,196 +0,0 @@ -#include QMK_KEYBOARD_H -#include "rgblight.h" - -#define _DEFAULT 0 -#define _FN 1 -#define _VIM 10 -#define _VIM_SHIFT 11 -#define _VIM_CONTROL 12 - -enum custom_keycodes { - DYNAMIC_MACRO_RANGE = SAFE_RANGE, - a_MACRO, - A_MACRO, - I_MACRO, - O_MACRO, -}; - -#define KC_PREV_WORD LCTL(KC_LEFT) -#define KC_NEXT_WORD LCTL(KC_RIGHT) -#define KC_UNDO LCTL(KC_Z) -#define KC_CUT LCTL(KC_X) -#define KC_COPY LCTL(KC_C) -#define KC_PASTE LCTL(KC_V) - -#include "dynamic_macro.h" - -static uint8_t old_layer = 0; - -// Fillers to make layering more clear -#define ______ KC_TRNS -#define XXXXXX KC_NO - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -/* Qwerty gui/alt/space/alt/gui - * ,-----------------------------------------------------------------------------------------. - * | 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 | N | M | , | . | / | RShift | VIM | - * |-----------------------------------------------------------------------------------------+ - * | FN | LAlt | Space | RAlt |RGUI | - * `-----------------------------------------------------------------' - */ - [_DEFAULT] = LAYOUT_60_ansi_split_bs_rshift( /* Basic 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_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 , TO(_VIM) , - ______ , MO(_FN) , KC_LALT , KC_SPC , KC_RALT , KC_RGUI , ______ , ______ - ), - -/* FN Layer - * ,-----------------------------------------------------------------------------------------. - * |GRAVE| F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | Ins | Del | - * |-----------------------------------------------------------------------------------------+ - * | CAPS | Vol-| Mute| Vol+|MAC+ |MAC |MAC- | PgUp| Home| |Print| Up | | Del | - * |-----------------------------------------------------------------------------------------+ - * | Ctrl | End | | PgDn| | | Left| Down| Up |Right| Left|Right| Enter | - * |-----------------------------------------------------------------------------------------+ - * | Shift | Prev| Play| Next| BL- | BL | BL+ | | | | Down| RShift | DEF | - * |-----------------------------------------------------------------------------------------+ - * | | LAlt | Space | RAlt | Reset | - * `-----------------------------------------------------------------' - */ - [_FN] = LAYOUT_60_ansi_split_bs_rshift( /* Layer 2 */ - 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_INS , KC_DEL , - KC_CAPS , KC_VOLD , KC_MUTE , KC_VOLU , DM_REC1 , DM_PLY1 , DM_RSTP , KC_PGUP , KC_HOME , ______ , KC_PSCR , KC_UP , ______ , KC_DEL , - KC_LCTL , KC_END , ______ , KC_PGDN , ______ , ______ , KC_LEFT , KC_DOWN , KC_UP , KC_RIGHT , KC_LEFT , KC_RGHT , KC_ENT , - KC_LSFT , KC_MPRV , KC_MPLY , KC_MNXT , BL_DOWN , BL_TOGG , BL_UP , ______ , ______ , ______ , KC_DOWN , KC_RSFT , TO(_DEFAULT) , - ______ , ______ , KC_LALT , KC_SPC , KC_RALT , QK_BOOT , ______ , ______ - ), - -/* VIM Layer - * ,-----------------------------------------------------------------------------------------. - * | DEF | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | \ | ` | - * |-----------------------------------------------------------------------------------------+ - * | | | WORD| WORD| | | COPY| UNDO| DEF |ENTER|PASTE| | | Del | - * |-----------------------------------------------------------------------------------------+ - * | V_Ctrl |a_ins| | | | | Left| Down| Up |Right| | | Enter | - * |-----------------------------------------------------------------------------------------+ - * | V_Shift | | | | | PREV| | | | | | RShift | Def | - * |-----------------------------------------------------------------------------------------+ - * | | LAlt | Space | RAlt | | - * `-----------------------------------------------------------------' - */ - [_VIM] = LAYOUT_60_ansi_split_bs_rshift( /* Layer 10 */ - TO(_DEFAULT) , 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 , - XXXXXX , XXXXXX , KC_NEXT_WORD , KC_NEXT_WORD , XXXXXX , XXXXXX , KC_COPY , KC_UNDO , TO(_DEFAULT) , KC_ENTER , KC_PASTE , XXXXXX , XXXXXX , KC_DEL , - MO(_VIM_CONTROL) , a_MACRO , XXXXXX , XXXXXX , XXXXXX , XXXXXX , KC_LEFT , KC_DOWN , KC_UP , KC_RIGHT , XXXXXX , XXXXXX , KC_ENTER , - MO(_VIM_SHIFT) , XXXXXX , XXXXXX , XXXXXX , XXXXXX , KC_PREV_WORD , XXXXXX , XXXXXX , XXXXXX , XXXXXX , XXXXXX , KC_RSFT , TO(_DEFAULT) , - XXXXXX , XXXXXX , KC_LALT , KC_SPC , KC_RALT , XXXXXX , XXXXXX , XXXXXX - ), - -/* VIM Layer - * ,-----------------------------------------------------------------------------------------. - * | DEF | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | \ | ` | - * |-----------------------------------------------------------------------------------------+ - * | | | WORD| WORD| | | | |I_ins|ENTER| | | | Del | - * |-----------------------------------------------------------------------------------------+ - * | |A_ins| | | | | Left| Down| Up |Right| | | Enter | - * |-----------------------------------------------------------------------------------------+ - * | | | | | | PREV| | | | | | RShift | Def | - * |-----------------------------------------------------------------------------------------+ - * | | LAlt | Space | RAlt | | - * `-----------------------------------------------------------------' - */ - [_VIM_SHIFT] = LAYOUT_60_ansi_split_bs_rshift( /* Layer 11 */ - TO(_DEFAULT) , 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 , - XXXXXX , XXXXXX , KC_NEXT_WORD , KC_NEXT_WORD , XXXXXX , XXXXXX , XXXXXX , XXXXXX , I_MACRO , O_MACRO , XXXXXX , XXXXXX , XXXXXX , KC_DEL , - XXXXXX , A_MACRO , XXXXXX , KC_PGDN , XXXXXX , XXXXXX , KC_LEFT , KC_DOWN , KC_UP , KC_RIGHT , XXXXXX , XXXXXX , KC_ENTER , - XXXXXX , XXXXXX , XXXXXX , XXXXXX , XXXXXX , KC_PREV_WORD , XXXXXX , XXXXXX , XXXXXX , XXXXXX , XXXXXX , KC_RSFT , TO(_DEFAULT) , - XXXXXX , XXXXXX , KC_LALT , KC_SPC , KC_RALT , QK_BOOT , XXXXXX , XXXXXX - ), - -/* FN Layer - * ,-----------------------------------------------------------------------------------------. - * | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | Ins | Del | - * |-----------------------------------------------------------------------------------------+ - * | | Vol-| Mute| Vol+| | | | PgUp| Ins | |Print| Up | | Del | - * |-----------------------------------------------------------------------------------------+ - * | Ctrl | App | | PgDn| | | Left| Down| Up |Right| Left|Right| Enter | - * |-----------------------------------------------------------------------------------------+ - * | Shift | Prev| Play| Next| BL- | BL | BL+ | | | | Down| RShift | Def | - * |-----------------------------------------------------------------------------------------+ - * | | LAlt | Space | RAlt | Reset | - * `-----------------------------------------------------------------' - */ - [_VIM_CONTROL] = LAYOUT_60_ansi_split_bs_rshift( /* Layer 12 */ - TO(_DEFAULT) , 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 , - XXXXXX , XXXXXX , KC_NEXT_WORD , KC_NEXT_WORD , XXXXXX , XXXXXX , XXXXXX , XXXXXX , I_MACRO , O_MACRO , XXXXXX , XXXXXX , XXXXXX , KC_DEL , - XXXXXX , A_MACRO , XXXXXX , KC_PGDN , XXXXXX , XXXXXX , KC_LEFT , KC_DOWN , KC_UP , KC_RIGHT , XXXXXX , XXXXXX , KC_ENTER , - XXXXXX , XXXXXX , XXXXXX , XXXXXX , XXXXXX , KC_PREV_WORD , XXXXXX , XXXXXX , XXXXXX , XXXXXX , XXXXXX , KC_RSFT , TO(_DEFAULT) , - XXXXXX , XXXXXX , KC_LALT , KC_SPC , KC_RALT , QK_BOOT , XXXXXX , XXXXXX - ) , -}; - -void persistent_default_layer_set(uint16_t default_layer) { - eeconfig_update_default_layer(default_layer); - default_layer_set(default_layer); -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - if (!process_record_dynamic_macro(keycode, record)) { - return false; - } - if (record->event.pressed) { - switch(keycode) { - case a_MACRO: - SEND_STRING(SS_TAP(X_RIGHT)); - layer_off(_VIM); - return false; - break; - case A_MACRO: - SEND_STRING(SS_TAP(X_END)); - layer_off(_VIM_SHIFT); - layer_off(_VIM); - return false; - break; - case I_MACRO: - SEND_STRING(SS_TAP(X_HOME)); - layer_off(_VIM_SHIFT); - layer_off(_VIM); - return false; - break; - case O_MACRO: - SEND_STRING(SS_TAP(X_ENTER)); - layer_off(_VIM_SHIFT); - layer_off(_VIM); - return false; - break; - } - } - return true; -} - -void matrix_scan_user(void) { - uint8_t layer = get_highest_layer(layer_state); - - if (old_layer != layer) { - switch (layer) { - case _DEFAULT: - case _FN: - backlight_set(1); - break; - case _VIM: - case _VIM_SHIFT: - case _VIM_CONTROL: - backlight_set(4); - break; - } - old_layer = layer; - } -}; diff --git a/keyboards/gh60/satan/keymaps/addcninblue/readme.md b/keyboards/gh60/satan/keymaps/addcninblue/readme.md deleted file mode 100644 index 7e652053455..00000000000 --- a/keyboards/gh60/satan/keymaps/addcninblue/readme.md +++ /dev/null @@ -1,13 +0,0 @@ -# Addcninblue's HHKB-ish Layout - -Inspired by Dbroqua's layout - -[Layer 1](http://www.keyboard-layout-editor.com/#/gists/0e7798cb81c8f76baa5066ec1c34df8e): pretty standard layout. Shift + esc = ~, unlike normal hhkb. -[Layer 2](http://www.keyboard-layout-editor.com/#/gists/096099221ac48d4d0c84a2b859bbb7c0): Vim-like layout. -[Layer Vim](http://www.keyboard-layout-editor.com/#/gists/73b27b51c5e18d7999cc5fa39b4f3389) : vim layout until exit layout - -## Programming Instructions: -Enter into programming mode and run the following command: -``` -$ sudo make satan:addcninblue:dfu -``` diff --git a/keyboards/gh60/satan/keymaps/addcninblue/rules.mk b/keyboards/gh60/satan/keymaps/addcninblue/rules.mk deleted file mode 100644 index fe07e497f9c..00000000000 --- a/keyboards/gh60/satan/keymaps/addcninblue/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 = no # Console for debug(+400) -COMMAND_ENABLE = no # Commands for debug and configuration -SLEEP_LED_ENABLE = no # Enables your LED to breathe while your computer is sleeping. -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 = yes # Enable keyboard backlight functionality -MIDI_ENABLE = no # MIDI controls -AUDIO_ENABLE = no # Audio output on port C6 -UNICODEMAP_ENABLE = no -UNICODE_ENABLE = no # Unicode -UCIS_ENABLE = no # Keep in mind that not all will work (See WinCompose for details on Windows). -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 diff --git a/keyboards/gh60/satan/keymaps/ben_iso/config.h b/keyboards/gh60/satan/keymaps/ben_iso/config.h deleted file mode 100644 index 34add127271..00000000000 --- a/keyboards/gh60/satan/keymaps/ben_iso/config.h +++ /dev/null @@ -1,8 +0,0 @@ -#pragma once - -/*MOUSE CONFIG OPTIONS */ -#define MOUSEKEY_INTERVAL 20 -#define MOUSEKEY_DELAY 0 -#define MOUSEKEY_TIME_TO_MAX 45 -#define MOUSEKEY_MAX_SPEED 3 -#define MOUSEKEY_WHEEL_DELAY 0 diff --git a/keyboards/gh60/satan/keymaps/ben_iso/keymap.c b/keyboards/gh60/satan/keymaps/ben_iso/keymap.c deleted file mode 100644 index 5a61a854e75..00000000000 --- a/keyboards/gh60/satan/keymaps/ben_iso/keymap.c +++ /dev/null @@ -1,127 +0,0 @@ -#include QMK_KEYBOARD_H - - -#define BASE 0 // Default layer -#define SPACE 1 // Space layer -#define NUMPAD 2 // Alt layer -#define CAPS 3 // Caps layer -#define FN1 4 // Generic function layer - -#define MAC0 M(0) // -#define MAC1 M(1) // -#define MAC2 M(2) // -#define MAC3 M(3) // -#define MAC4 M(4) // -#define MAC5 M(5) // -#define MAC6 M(6) // -#define MAC7 M(7) // -#define MAC8 M(8) // -#define MAC9 M(9) // -#define GRAV KC_GRV // -#define MEDI F(FNO1)// - -// General shortenings -#define ESCA KC_ESC -#define MINS KC_MINS -#define EQUL KC_EQL -#define BSPC KC_BSPC -#define DELE KC_DEL -#define LBRC KC_LBRC -#define RBRC KC_RBRC -#define ALTR KC_RALT -#define SCLN KC_SCLN -#define QUOT KC_QUOT -#define NUHS KC_NUHS -#define ENTE KC_ENT -#define NUBS KC_NUBS // Less/ greater sign -#define COMM KC_COMM // Comma -#define FSTO KC_DOT // Full stop -#define SLSH KC_SLSH -#define ALTL KC_LALT -#define GUIL KC_LGUI -#define GUIR KC_RGUI -#define MENO KC_MENU - -// Special Actions and Media Keys -#define INSE KC_INS // Insert here -#define HOME KC_HOME // Go to beginning of line -#define ENDI KC_END // go to end of line -#define PSCR KC_PSCR // Print Screen -#define SLCK KC_SCRL // go to end of line -#define PGDN KC_PGDN // go to end of line -#define PGUP KC_PGUP // go to end of line -#define PLPS KC_MPLY // Play/Pause -#define PAUS KC_PAUS // Pause button -#define MUTE KC_MUTE // Mute sound -#define VOLU KC_VOLU // Volume increase -#define VOLD KC_VOLD // Volume decrease -#define MNXT KC_MNXT // next track -#define MPRV KC_MPRV // prev track -#define MSTP KC_MSTP // stop playing -#define MSEL KC_MSEL // Select media (Start playing it) -#define MAIL KC_MAIL // Open default mail app -#define CALC KC_CALC // Open default calculator app -#define MYCM KC_MYCM // Open default file manager - -// increase readability -#define XXXXX KC_NO - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - /* Keymap BASE: (Base Layer) Default Layer - * ,-----------------------------------------------------------. - * |Esc~| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp | - * |-----------------------------------------------------------| - * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| R | - * |-----------------------------------------------------------| - * |CAPS | A| S| D| F| G| H| J| K| L| ;| '| # | R | - * |-----------------------------------------------------------| - * |Shft| \ | Z| X| C| V| B| N| M| ,| .| /|Shift | - * |-----------------------------------------------------------| - * |Ctrl|Gui |Alt | Space |Alt |Gui |FN |Ctrl | - * `-----------------------------------------------------------| - */ - - [BASE] = LAYOUT_60_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_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, - OSL(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, - 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_LCTL, KC_LGUI, KC_LALT, LT(SPACE, KC_SPC), KC_RALT, OSL(FN1), TG(NUMPAD), KC_RCTL - ), - - [SPACE] = LAYOUT_60_iso( - 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_DEL, - _______, _______, _______, _______, MAIL, _______, _______, HOME, KC_UP, PSCR, SLCK, PAUS, PGUP, - _______, _______, _______, PGUP, PGDN, _______, LALT(KC_F4), KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______, _______, _______, - _______, _______, _______, _______, CALC, _______, _______, _______, MUTE, VOLD, VOLU, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______ - ), - - [NUMPAD] = LAYOUT_60_iso( //Numpad and alt shortcuts - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, KC_1, KC_2, KC_3, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, KC_4, KC_5, KC_6, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, KC_7, KC_8, KC_9, KC_0, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______ - ), - - [CAPS] = LAYOUT_60_iso( //Mostly mouse layer with option for caps too - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, KC_MS_ACCEL0, KC_MS_ACCEL1, KC_MS_ACCEL2, _______, _______, _______, KC_MS_U, _______, _______, _______, _______, - _______, KC_CAPS, _______, _______, KC_MS_BTN1, KC_MS_BTN2, _______, KC_MS_L, KC_MS_D, KC_MS_R, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______ - ), - - [FN1] = LAYOUT_60_iso( //Functions/settings - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, BL_TOGG, BL_UP, BL_DOWN, BL_TOGG, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______ - ), - -}; - - diff --git a/keyboards/gh60/satan/keymaps/ben_iso/readme.md b/keyboards/gh60/satan/keymaps/ben_iso/readme.md deleted file mode 100644 index 74b7680b2f1..00000000000 --- a/keyboards/gh60/satan/keymaps/ben_iso/readme.md +++ /dev/null @@ -1,12 +0,0 @@ -# UK ISO layout for the Satan GH60 -## By Ben James ------ -This layout has a few unique features including: -* Spacebar activates special features when held: - * Arrow keys directly under right hand - * Volume control - * Fn keys on number row - * PageUp/PageDn/Home/other general buttons -* Mouse control when CAPS is held. Right hand controls mouse direction, left hand controls speed and mouse buttons. -* Space cadet style brackets when left/right shift are tapped - diff --git a/keyboards/gh60/satan/keymaps/ben_iso/rules.mk b/keyboards/gh60/satan/keymaps/ben_iso/rules.mk deleted file mode 100644 index 14367f2f8a3..00000000000 --- a/keyboards/gh60/satan/keymaps/ben_iso/rules.mk +++ /dev/null @@ -1,18 +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 = no # 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 = yes # 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 - diff --git a/keyboards/gh60/satan/keymaps/bri/keymap.c b/keyboards/gh60/satan/keymaps/bri/keymap.c deleted file mode 100644 index c7068595b20..00000000000 --- a/keyboards/gh60/satan/keymaps/bri/keymap.c +++ /dev/null @@ -1,68 +0,0 @@ -#include QMK_KEYBOARD_H - - -#define _BL 0 -#define _FL 1 -#define _NAV 2 - -#define ALEFT LALT(KC_LEFT) -#define ARGHT LALT(KC_RGHT) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Keymap _BL: (Base Layer) Default Layer - * ,-----------------------------------------------------------. - * |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 |Gui |FN |Ctrl | - * `-----------------------------------------------------------' - */ -[_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(2), 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_LALT,KC_LGUI, KC_SPC, KC_RGUI,KC_RALT, KC_RCTL, MO(_FL) ), - - /* Keymap _FL: Function Layer - * ,-----------------------------------------------------------. - * | | | | | | | | | | | | | | | - * |-----------------------------------------------------------| - * | | | | | | | | | | | |BL-|BL+|BL | - * |-----------------------------------------------------------| - * | | | | | | | | | | | | | - * |-----------------------------------------------------------| - * | | F1|F2 | F3|F4 | F5| F6| F7| F8| | | | - * |-----------------------------------------------------------| - * |QK_BOOT| | | | | | | | - * `-----------------------------------------------------------' - */ -[_FL] = LAYOUT_60_ansi( - #ifdef RGBLIGHT_ENABLE - 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,_______, - _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, BL_DOWN,BL_UP, BL_TOGG, - _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______, - _______,RGB_TOG,RGB_MOD,RGB_HUI,RGB_HUD,RGB_SAI,RGB_SAD,RGB_VAI,RGB_VAD,_______,_______,_______, - QK_BOOT,_______,_______, _______, _______,_______,_______, _______ - #else - 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,_______, - _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, BL_DOWN,BL_UP, BL_TOGG, - _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, - _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, - QK_BOOT,_______,_______, _______, _______,_______,_______,_______ - #endif - ), - -[_NAV] = LAYOUT_60_ansi( - _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, - _______,_______,_______,_______,_______,_______,_______,ALEFT , KC_UP ,ARGHT ,_______,_______,_______,_______, - _______,_______,_______,_______,_______,_______,_______,KC_LEFT,KC_DOWN,KC_RGHT,_______,_______, _______, - _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, - _______,_______,_______, _______, _______,_______,_______,_______), - -}; diff --git a/keyboards/gh60/satan/keymaps/bri/readme.md b/keyboards/gh60/satan/keymaps/bri/readme.md deleted file mode 100644 index bed305997d5..00000000000 --- a/keyboards/gh60/satan/keymaps/bri/readme.md +++ /dev/null @@ -1,2 +0,0 @@ -#QWERTY keymap for Satan GH60 with layers for arrow keys, function keys, and backlight controls. -#The layout of modifiers is intended to mimic the MacBook Air keyboard. \ No newline at end of file diff --git a/keyboards/gh60/satan/keymaps/chaser/keymap.c b/keyboards/gh60/satan/keymaps/chaser/keymap.c deleted file mode 100644 index 15251e99c90..00000000000 --- a/keyboards/gh60/satan/keymaps/chaser/keymap.c +++ /dev/null @@ -1,49 +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 _BL 0 -#define _FL 1 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Keymap _BL: (Base Layer) Default Layer - * ,-----------------------------------------------------------. - * |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| ,| .| /| Up |FN | - * |-----------------------------------------------------------| - * |Ctrl|Gui |Alt | Space |Alt |Left |Down|Right| - * `-----------------------------------------------------------' - */ -[_BL] = 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_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_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 ,MO(_FL) , - KC_LCTL ,KC_LGUI,KC_LALT, KC_SPC ,KC_RALT,KC_LEFT,KC_DOWN,KC_RIGHT), - /* Keymap _FL: Function Layer - * ,-----------------------------------------------------------. - * |GRV|F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12| DEL | - * |-----------------------------------------------------------| - * | MB3|MB2|MUP|MB1|MWU| | | |INS| |RST| | |Print| - * |-----------------------------------------------------------| - * | | ML|MDN|MR |MWD| | | | | | | | - * |-----------------------------------------------------------| - * | | | | | | | | | | | |PGUP| | - * |-----------------------------------------------------------| - * | | | | |Ctrl|HOME|PGD |END | - * `-----------------------------------------------------------' - */ -[_FL] = 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_DEL ,_______, - KC_MS_BTN3 ,KC_MS_BTN2 ,KC_MS_UP ,KC_MS_BTN1 ,KC_MS_WH_UP ,_______,_______,_______,KC_INS ,_______,QK_BOOT,_______,_______ ,KC_PSCR , - _______ ,KC_MS_LEFT ,KC_MS_DOWN ,KC_MS_RIGHT,KC_MS_WH_DOWN,_______,_______,_______,_______,_______,_______,_______,_______ ,_______ , - _______ ,_______ ,_______ ,_______ ,_______ ,_______,_______,_______,_______,_______,_______,_______,KC_PGUP ,_______ , - KC_LCTL ,_______ ,KC_LALT , _______, KC_RCTL,KC_HOME,KC_PGDN ,KC_END ), -}; diff --git a/keyboards/gh60/satan/keymaps/chaser/readme.md b/keyboards/gh60/satan/keymaps/chaser/readme.md deleted file mode 100644 index c6e70b18866..00000000000 --- a/keyboards/gh60/satan/keymaps/chaser/readme.md +++ /dev/null @@ -1,38 +0,0 @@ -# [dragonchasers](https://github.com/dragonchaser) Satan GH60 layout - -Layout derived from the default Satan GH60 keymap. - -![Photo of the keyboard](https://pbs.twimg.com/media/DQzlD0yX0AA8spX.jpg) - -## Layers - -### Base -``` -,-----------------------------------------------------------. -|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| ,| .| /| Up |FN | -|-----------------------------------------------------------| -|Ctrl|Gui |Alt | Space |Alt |Left |Down|Right| -`-----------------------------------------------------------' -``` - -### Function Layer - -``` -,-----------------------------------------------------------. -|GRV|F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12| DEL | -|-----------------------------------------------------------| -| MB3|MB2|MUP|MB1|MWU| | | |INS| |RST| | |Print| -|-----------------------------------------------------------| -| | ML|MDN|MR |MWD| | | | | | | | -|-----------------------------------------------------------| -| | | | | | | | | | | |PGUP| | -|-----------------------------------------------------------| -| | | | |Ctrl|HOME|PGD |END | -`-----------------------------------------------------------' -``` diff --git a/keyboards/gh60/satan/keymaps/chaser/rules.mk b/keyboards/gh60/satan/keymaps/chaser/rules.mk deleted file mode 100644 index 14367f2f8a3..00000000000 --- a/keyboards/gh60/satan/keymaps/chaser/rules.mk +++ /dev/null @@ -1,18 +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 = no # 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 = yes # 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 - diff --git a/keyboards/gh60/satan/keymaps/dende_iso/keymap.c b/keyboards/gh60/satan/keymaps/dende_iso/keymap.c deleted file mode 100644 index 94c8a22392c..00000000000 --- a/keyboards/gh60/satan/keymaps/dende_iso/keymap.c +++ /dev/null @@ -1,78 +0,0 @@ -#include QMK_KEYBOARD_H - -#include "keymap_extras/keymap_german.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 _DEF 0 -#define _FNK 1 -#define _MEDIA 2 - -// dual-role shortcuts -#define FN_CAPS LT(_MEDIA, KC_CAPS) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Keymap _DEF: Default Layer - * ,------------------------------------------------------------. - * |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| ß| ´|bcksp|fn1| - * |------------------------------------------------------------| - * |Tab | Q| W| E| R| T| Z| U| I| O| P| Ü| +| | - * |----------------------------------------------------- Return| - * |fn2 | A| S| D| F| G| H| J| K| L| Ö| Ä| # | | - * |------------------------------------------------------------| - * |Sft | < | Y| X| C| V| B| N| M| ,| .| -| RSft| del | - * |------------------------------------------------------------| - * |Ctrl|Win |Alt | Space |RAlt |Win |App|RCtrl| - * `------------------------------------------------------------' - */ -[_DEF] = LAYOUT_60_iso_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, DE_SS, DE_ACUT, KC_BSPC, MO(_FNK), - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, DE_Z, KC_U, KC_I, KC_O, KC_P, DE_UDIA, DE_PLUS, - FN_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, DE_ODIA, DE_ADIA, DE_HASH, KC_ENT, - KC_LSFT, DE_LABK, DE_Y, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, DE_MINS, KC_RSFT, KC_DELETE, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPACE, KC_ALGR, KC_RGUI, KC_APP, KC_RCTL), - - - /* Keymap _FNK: Function Keys - * ,------------------------------------------------------------. - * | ^ | F1| F2| F3| F4| F5| F6| F7| F8| F9| F0|F11|F12| Ins | | - * |------------------------------------------------------------| - * | |PGU| Up|PGD| | | |Ins|Hom|PDU| | | | | - * |----------------------------------------------------- | - * | |Lft|Dwn|Rgt| | | |Del|End|PGD| | | | | - * |------------------------------------------------------------| - * | | | | | | | | | | | | | | | - * |------------------------------------------------------------| - * | | | | | | | | | - * `------------------------------------------------------------' - */ -[_FNK] = LAYOUT_60_iso_split_bs_rshift( - DE_CIRC, 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_PGUP, KC_UP, KC_PGDN, _______, _______, _______, _______, KC_INS, KC_HOME, KC_PGUP, _______, _______, - _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______, _______, _______, KC_DEL, KC_END, KC_PGDN, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______), - - /* Keymap _MEDIA: Media and Mouse Layer - * ,------------------------------------------------------------. - * | | | | | | | | | | | | | | | | - * |------------------------------------------------------------| - * | | | | | | | |MLC| MU|MRC| | | | | - * |----------------------------------------------------- | - * | |PRV|VLD|VLU|NXT| | | ML| MD| MR| | | | | - * |------------------------------------------------------------| - * | | | | | | | | | | | | | UP | | - * |------------------------------------------------------------| - * | | | | PLAY | |LEFT|DWN|RIGHT| - * `------------------------------------------------------------' - */ - -[_MEDIA] = LAYOUT_60_iso_split_bs_rshift( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, KC_BTN1, KC_MS_U, KC_BTN2, _______, _______, _______, - _______, KC_MPRV, KC_VOLD, KC_VOLU, KC_MNXT, _______, _______, KC_MS_L, KC_MS_D, KC_MS_R, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_UP , _______, - _______, _______, _______, KC_MPLY, _______, KC_LEFT, KC_DOWN, KC_RIGHT), - }; diff --git a/keyboards/gh60/satan/keymaps/dende_iso/readme.md b/keyboards/gh60/satan/keymaps/dende_iso/readme.md deleted file mode 100644 index 238a2f725f0..00000000000 --- a/keyboards/gh60/satan/keymaps/dende_iso/readme.md +++ /dev/null @@ -1,61 +0,0 @@ -# Satan GH60 ISO-DE Layout with split backspace and right shift - -![Layout Image](https://i.imgur.com/a7znS69.jpg) - -## Default Layer -This ISO-DE based layout has a split backspace. the left part is the actual backspace and the right parts serves as a FN key. -The right shift is also split, with the right part serving as the del key. -``` -/* Keymap _DEF: Default Layer - * ,------------------------------------------------------------. - * |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| ß| ´|bcksp|fn1| - * |------------------------------------------------------------| - * |Tab | Q| W| E| R| T| Z| U| I| O| P| Ü| +| | - * |----------------------------------------------------- Return| - * |fn2 | A| S| D| F| G| H| J| K| L| Ö| Ä| # | | - * |------------------------------------------------------------| - * |Sft | < | Y| X| C| V| B| N| M| ,| .| -| RSft| del | - * |------------------------------------------------------------| - * |Ctrl|Win |Alt | Space |RAlt |Win |App|RCtrl| - * `------------------------------------------------------------' - */ -``` - - -## FN Key Layer -The Function keys can be accessed when holding fn1 (right part of backspace) - -``` -/* Keymap _FNK: Function Keys - * ,------------------------------------------------------------. - * | ^ | F1| F2| F3| F4| F5| F6| F7| F8| F9| F0|F11|F12| Ins | | - * |------------------------------------------------------------| - * | |PGU| Up|PGD| | | |Ins|Hom|PDU| | | | | - * |----------------------------------------------------- | - * | |Lft|Dwn|Rgt| | | |Del|End|PGD| | | | | - * |------------------------------------------------------------| - * | | | | | | | | | | | | | | | - * |------------------------------------------------------------| - * | | | | | | | | | - * `------------------------------------------------------------' - */ -``` - -## Media and Mouse Layer -The Media Keys and Mouse control can be accessed when holding capslock (fn2) - -``` -/* Keymap _MEDIA: Media and Mouse Layer - * ,------------------------------------------------------------. - * | | | | | | | | | | | | | | | | - * |------------------------------------------------------------| - * | | | | | | | |MLC| MU|MRC| | | | | - * |----------------------------------------------------- | - * | |PRV|VLD|VLU|NXT| | | ML| MD| MR| | | | | - * |------------------------------------------------------------| - * | | | | | | | | | | | | | UP | | - * |------------------------------------------------------------| - * | | | | PLAY | |LEFT|DWN|RIGHT| - * `------------------------------------------------------------' - */ -``` \ No newline at end of file diff --git a/keyboards/gh60/satan/keymaps/dende_iso/rules.mk b/keyboards/gh60/satan/keymaps/dende_iso/rules.mk deleted file mode 100644 index 14367f2f8a3..00000000000 --- a/keyboards/gh60/satan/keymaps/dende_iso/rules.mk +++ /dev/null @@ -1,18 +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 = no # 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 = yes # 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 - diff --git a/keyboards/gh60/satan/keymaps/denolfe/README.md b/keyboards/gh60/satan/keymaps/denolfe/README.md deleted file mode 100644 index 147ea4288a6..00000000000 --- a/keyboards/gh60/satan/keymaps/denolfe/README.md +++ /dev/null @@ -1,12 +0,0 @@ -# denolfe's Layout -Customized Satan keymap - -![Layout](https://i.imgur.com/IrSUSMR.png "Practical Keymap") - -## Programming Instructions: -`cd` into keymap directory, `make dfu` - -## Features -- Movement keys with CapsLock + h, j, k, l -- Media Keys -- Backlight control diff --git a/keyboards/gh60/satan/keymaps/denolfe/keymap.c b/keyboards/gh60/satan/keymaps/denolfe/keymap.c deleted file mode 100644 index a9931561f35..00000000000 --- a/keyboards/gh60/satan/keymaps/denolfe/keymap.c +++ /dev/null @@ -1,72 +0,0 @@ -#include QMK_KEYBOARD_H - - -#ifdef RGBLIGHT_ENABLE -#include "rgblight.h" -#endif - -// 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 _BL 0 -#define _FL 1 -#define _SL 2 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Keymap _BL: (Base Layer) Default Layer - * ,-----------------------------------------------------------. - * |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 |Gui |FN |Ctrl | - * `-----------------------------------------------------------' - */ -[_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, MO(_FL), KC_RGUI, KC_RCTL), - - /* Keymap _FL: Function Layer - * ,-----------------------------------------------------------. - * | | | | | | | | | | | | | | QK_BOOT| - * |-----------------------------------------------------------| - * | | | | | | | | | | | |BL-|BL+|BL | - * |-----------------------------------------------------------| - * | | | | | | | | | | | | | - * |-----------------------------------------------------------| - * | | F1|F2 | F3|F4 | F5| F6| F7| F8| | | | - * |-----------------------------------------------------------| - * | | | | | | | | | - * `-----------------------------------------------------------' - */ -[_FL] = LAYOUT_60_ansi( - #ifdef RGBLIGHT_ENABLE - 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, QK_BOOT, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, BL_DOWN, BL_UP, BL_TOGG, - KC_TRNS, KC_TRNS, 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_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - #else - 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_PGDN, KC_PGUP, KC_TRNS, KC_END, KC_MPRV, KC_MNXT, KC_MPLY, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, BL_DOWN, BL_TOGG, BL_UP, KC_HOME, LCTL(KC_LEFT), LCTL(KC_END), LCTL(KC_RIGHT), KC_TRNS, QK_BOOT, - KC_TRNS, KC_TRNS, LM(2, MOD_LSFT), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - #endif - ), - -[_SL] = 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_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGDN, KC_PGUP, KC_TRNS, LSFT(KC_END), KC_MPRV, KC_MNXT, KC_MPLY, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, LSFT(KC_LEFT), LSFT(KC_DOWN), LSFT(KC_UP), LSFT(KC_RIGHT), KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, BL_DOWN, BL_TOGG, BL_UP, LSFT(KC_HOME), LCTL(LSFT(KC_LEFT)), LCTL(LSFT(KC_END)), LCTL(LSFT(KC_RIGHT)), KC_TRNS, QK_BOOT, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), -}; diff --git a/keyboards/gh60/satan/keymaps/denolfe/rules.mk b/keyboards/gh60/satan/keymaps/denolfe/rules.mk deleted file mode 100644 index 07feaa8a407..00000000000 --- a/keyboards/gh60/satan/keymaps/denolfe/rules.mk +++ /dev/null @@ -1,17 +0,0 @@ - -# Build Options -# comment out to disable the options. -# -BOOTMAGIC_ENABLE = yes # 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 # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -RGBLIGHT_ENABLE = no # Enable keyboard underlight functionality (+4870) -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality (+1150) -MIDI_ENABLE = no # MIDI controls -AUDIO_ENABLE = no -UNICODE_ENABLE = no # Unicode -BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID - diff --git a/keyboards/gh60/satan/keymaps/dkrieger/config.h b/keyboards/gh60/satan/keymaps/dkrieger/config.h deleted file mode 100644 index faea4d660fe..00000000000 --- a/keyboards/gh60/satan/keymaps/dkrieger/config.h +++ /dev/null @@ -1,26 +0,0 @@ -/* -Copyright 2012 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 . -*/ - -#ifndef CONFIG_H -#define CONFIG_H - -#include "../../config.h" - -/* Tap Dance */ -#define TAPPING_TERM 200 - -#endif diff --git a/keyboards/gh60/satan/keymaps/dkrieger/keymap.c b/keyboards/gh60/satan/keymaps/dkrieger/keymap.c deleted file mode 100644 index 949e5bf2d91..00000000000 --- a/keyboards/gh60/satan/keymaps/dkrieger/keymap.c +++ /dev/null @@ -1,166 +0,0 @@ -#include QMK_KEYBOARD_H - -#define _DEFAULT 0 -#define _FN 1 -#define _MOUSE 2 -#define _MOUSESHIFT 3 -#define _UTIL 4 - -// Fillers to make layering more clear -#define ______ KC_TRNS - -enum { - SUPER_FN = 0, - SINGLE_HOLD = 1, - DOUBLE_HOLD = 2, - TRIPLE_HOLD = 3 -}; - -typedef struct { - bool is_press_action; - int state; -} tap; - -int cur_dance (tap_dance_state_t *state) { - if (state->interrupted == false || state->pressed) { - if (state->count < 2) return SINGLE_HOLD; - if (state->count < 3) return DOUBLE_HOLD; - else return TRIPLE_HOLD; - } - else return 9; -} - -//instantiate an instance of 'tap' for the 'fn' tap dance. -static tap fn_tap_state = { - .is_press_action = true, - .state = 0 -}; - -void fn_finished (tap_dance_state_t *state, void *user_data) { - fn_tap_state.state = cur_dance(state); - switch (fn_tap_state.state) { - /* case SINGLE_HOLD: register_code(MO(_FN)); break; */ - case SINGLE_HOLD: layer_on(_FN); break; - case DOUBLE_HOLD: layer_on(_MOUSE); break; - case TRIPLE_HOLD: layer_on(_UTIL); - } -} - -void fn_reset (tap_dance_state_t *state, void *user_data) { - switch (fn_tap_state.state) { - case SINGLE_HOLD: layer_off(_FN); break; - case DOUBLE_HOLD: layer_off(_MOUSE); layer_off(_MOUSESHIFT); break; - case TRIPLE_HOLD: layer_off(_UTIL); - } -} - -tap_dance_action_t tap_dance_actions[] = { - [SUPER_FN] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, fn_finished, fn_reset) -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -/* Qwerty gui/alt/space/alt/gui - * ,-----------------------------------------------------------------------------------------. - * | 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 | N | M | , | . | / | RShift | FN | - * |-----------------------------------------------------------------------------------------+ - * |LGUI | LAlt | Space | RAlt |RGUI | - * `-----------------------------------------------------------------' - */ - [_DEFAULT] = LAYOUT_60_ansi_split_bs_rshift( /* Basic QWERTY */ - 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, TD(SUPER_FN), - ______, KC_LGUI,KC_LALT, KC_SPC, KC_RALT,KC_RGUI, ______, ______ - ), - -/* FN Layer - * ,-----------------------------------------------------------------------------------------. - * | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | Ins | Del | - * |-----------------------------------------------------------------------------------------+ - * | CAPS | BL- | BL+ | BL | | | | | Psc | Slck| Paus| Up | | | - * |-----------------------------------------------------------------------------------------+ - * | | Vol-| Vol+| Mute| | | * | / | Home| PgUp| Left|Right| | - * |-----------------------------------------------------------------------------------------+ - * | | Prev| Play| Next| | | + | - | End |PgDn| Down| | | - * |-----------------------------------------------------------------------------------------+ - * | | | | Stop | | - * `-----------------------------------------------------------------' - */ - [_FN] = LAYOUT_60_ansi_split_bs_rshift( /* Layer 1 */ - ______, 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_CAPS, ______, ______, ______, ______, ______, ______, ______, KC_PSCR, KC_SCRL, KC_PAUS, KC_UP, ______, ______, - ______, KC_VOLD,KC_VOLU,KC_MUTE,______, ______, KC_PAST,KC_PSLS,KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, ______, - ______, KC_MPRV,KC_MPLY,KC_MNXT,______, ______, KC_PPLS,KC_PMNS,KC_END, KC_PGDN, KC_DOWN, ______, ______, - ______, ______, ______, ______, KC_MSTP, ______, ______, ______ - ), - -/* MOUSE Layer - * ,-----------------------------------------------------------------------------------------. - * | | | | | | | | | | | | | | |QK_BOOT| - * |----------------------------------------------------------------------------------------- - * | | | | | | | | | | | |UCurs| | | - * |----------------------------------------------------------------------------------------- - * | | | | | | | | | | |LCurs|RCurs| | - * |----------------------------------------------------------------------------------------- - * | ScrollHold| | | | | | | | | |DCurs| ScrollHold| | - * |-----------------------------------------------------------------------------------------+ - * | | | LClick | MClick| RClick| - * `-----------------------------------------------------------------' - */ - [_MOUSE] = LAYOUT_60_ansi_split_bs_rshift( - ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, QK_BOOT, - ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, KC_MS_UP, ______, ______, - ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, KC_MS_LEFT, KC_MS_RIGHT, ______, - MO(_MOUSESHIFT), ______, ______, ______, ______, ______, ______, ______, ______, ______, KC_MS_DOWN, MO(_MOUSESHIFT), ______, - ______, ______, ______, KC_MS_BTN1, KC_MS_BTN3, KC_MS_BTN2, ______, ______ - ), - -/* MOUSESHIFT Layer - * ,-----------------------------------------------------------------------------------------. - * | | | | | | | | | | | | | | | | - * |----------------------------------------------------------------------------------------- - * | | | | | | | | | | | |UScrl| | | - * |----------------------------------------------------------------------------------------- - * | | | | | | | | | | |LScrl|RScrl| | - * |----------------------------------------------------------------------------------------- - * | | | | | | | | | | |DScrl| | | - * |-----------------------------------------------------------------------------------------+ - * | | | | | | - * `-----------------------------------------------------------------' - */ - [_MOUSESHIFT] = LAYOUT_60_ansi_split_bs_rshift( - ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, - ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, KC_MS_WH_UP, ______, ______, - ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, KC_MS_WH_LEFT, KC_MS_WH_RIGHT, ______, - ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, KC_MS_WH_DOWN, ______, ______, - ______, ______, ______, ______, ______, ______, ______, ______ - ), - -/* UTIL Layer - * ,-----------------------------------------------------------------------------------------. - * | | | | | | | | | | | | | | |QK_BOOT| - * |----------------------------------------------------------------------------------------- - * | | | | | | | | | | | | | | | - * |----------------------------------------------------------------------------------------- - * | | | | | | | | | | | | | | - * |----------------------------------------------------------------------------------------- - * | | | | | | | | | | | | | | - * |-----------------------------------------------------------------------------------------+ - * | | | | | | - * `-----------------------------------------------------------------' - */ - [_UTIL] = LAYOUT_60_ansi_split_bs_rshift( - ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, QK_BOOT, - ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, - ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, - ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, ______, - ______, ______, ______, ______, ______, ______, ______, ______ - ) -}; diff --git a/keyboards/gh60/satan/keymaps/dkrieger/readme.md b/keyboards/gh60/satan/keymaps/dkrieger/readme.md deleted file mode 100644 index 8941132391e..00000000000 --- a/keyboards/gh60/satan/keymaps/dkrieger/readme.md +++ /dev/null @@ -1,23 +0,0 @@ -# dkrieger HHKB like Layout - -Base derived from dbroqua (special thanks) - -Based on HHKB with the following [dip switches][1] engaged: - -- SW3: delete key -> backspace -- SW5: swap alt and meta keys -- SW2: Mac Mode (partial implementation, includes media keys - - Note: this was copied from dbroqua, there seem to have been some - modifications from stock Mac Mode - -Additionally, this layout includes a mouse layer engaged by tapping Fn 3 times, -holding on the third time. The arrow keys move the mouse, scrolling when shift -is held (either left or right). Right alt is left click, right meta is right -click. - -# Programming Instructions: -Enter into programming mode and run the following command. -``` -$ sudo KEYMAP=dkrieger_hhkb make dfu -``` -[1]: http://www.elitekeyboards.com/products.php?sub=pfu_keyboards,hhkbpro2&pid=pdkb400b diff --git a/keyboards/gh60/satan/keymaps/dkrieger/rules.mk b/keyboards/gh60/satan/keymaps/dkrieger/rules.mk deleted file mode 100644 index a0c892505c7..00000000000 --- a/keyboards/gh60/satan/keymaps/dkrieger/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 = 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 -TAP_DANCE_ENABLE = yes - diff --git a/keyboards/gh60/satan/keymaps/lepa/keymap.c b/keyboards/gh60/satan/keymaps/lepa/keymap.c deleted file mode 100644 index 88196862a87..00000000000 --- a/keyboards/gh60/satan/keymaps/lepa/keymap.c +++ /dev/null @@ -1,146 +0,0 @@ -#include QMK_KEYBOARD_H - -#define MY_ESC LT(1, KC_ESC) -#define MY_ENT LT(1, KC_ENT) -#define MY_APP LT(2, KC_APP) - -#define MY_LCA TD(TD_LCTL_ALT) -#define MY_RCA TD(TD_RCTL_ALT) -#define MY_LGA TD(TD_LGUI_ALT) -#define MY_RGA TD(TD_RGUI_ALT) -#define MY_LCG TD(TD_LCTL_GUI) -#define MY_RCG TD(TD_RCTL_GUI) -#define MY_LSH TD(TD_LSFT_HPR) -#define MY_RSH TD(TD_RSFT_HPR) - -enum { - TD_LCTL_ALT, - TD_RCTL_ALT, - TD_LGUI_ALT, - TD_RGUI_ALT, - TD_LCTL_GUI, - TD_RCTL_GUI, - TD_LSFT_HPR, - TD_RSFT_HPR -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - 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, - MY_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, MY_ENT, - MY_LSH, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, MY_RSH, - MY_LGA, MY_LCG, MY_LCA, KC_SPC, MY_RCA, MY_RCG, MY_APP, MY_RGA), - - LAYOUT_60_ansi( - 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_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, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), - - LAYOUT_60_ansi( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, DB_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), -}; - -enum { - SINGLE_TAP = 1, - SINGLE_HOLD = 2, - DOUBLE_TAP = 3, - DOUBLE_HOLD = 4, - DOUBLE_SINGLE_TAP = 5, - UNKNOWN_TAP = 6 -}; - -typedef struct { - bool is_press_action; - int state; -} tap; - -int cur_dance(tap_dance_state_t *state) { - switch (state->count) { - case 1: - if (state->interrupted || state->pressed == 0) { - return SINGLE_TAP; - } - return SINGLE_HOLD; - case 2: - if (state->interrupted) { - return DOUBLE_SINGLE_TAP; - } - if (state->pressed) { - return DOUBLE_HOLD; - } - return DOUBLE_TAP; - } - return UNKNOWN_TAP; -} - -#define my_dance_combo(N, K0, REGFN, UNREGFN) my_dance_combo_expanded(N, K0, REGFN, UNREGFN) -#define my_dance_combo_expanded(N, K0, REGFN, UNREGFN) \ -static tap N ## _state = { \ - .is_press_action = true, \ - .state = 0 \ -}; \ - \ -void N ## _finished(tap_dance_state_t *state, void *user_data) { \ - N ## _state.state = cur_dance(state); \ - switch (N ## _state.state) { \ - case SINGLE_TAP: case SINGLE_HOLD: \ - register_code(K0); \ - break; \ - case DOUBLE_TAP: case DOUBLE_SINGLE_TAP: case DOUBLE_HOLD: \ - register_code(K0); \ - REGFN; \ - break; \ - } \ -} \ - \ -void N ## _reset(tap_dance_state_t *state, void *user_data) { \ - switch (N ## _state.state) { \ - case SINGLE_TAP: case SINGLE_HOLD: \ - unregister_code(K0); \ - break; \ - case DOUBLE_TAP: case DOUBLE_SINGLE_TAP: case DOUBLE_HOLD: \ - UNREGFN; \ - unregister_code(K0); \ - break; \ - } \ - N ## _state.state = 0; \ -} - -#define my_dance_reg_code_1(K1) register_code(K1) -#define my_dance_unreg_code_1(K1) unregister_code(K1) -#define my_dance_combo_1(N, K0, K1) \ - my_dance_combo(N, K0, my_dance_reg_code_1(K1), my_dance_unreg_code_1(K1)) - -#define my_dance_reg_code_3(K1, K2, K3) \ - do { register_code(K1); register_code(K2); register_code(K3); } while (0) -#define my_dance_unreg_code_3(K1, K2, K3) \ - do { unregister_code(K3); unregister_code(K2); unregister_code(K1); } while (0) -#define my_dance_combo_3(N, K0, K1, K2, K3) \ - my_dance_combo(N, K0, my_dance_reg_code_3(K1, K2, K3), my_dance_unreg_code_3(K1, K2, K3)) - -my_dance_combo_1(lca, KC_LCTL, KC_LALT) -my_dance_combo_1(rca, KC_RCTL, KC_RALT) -my_dance_combo_1(lga, KC_LGUI, KC_LALT) -my_dance_combo_1(rga, KC_RGUI, KC_RALT) -my_dance_combo_1(lcg, KC_LCTL, KC_LGUI) -my_dance_combo_1(rcg, KC_RCTL, KC_RGUI) -my_dance_combo_3(lsh, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI) -my_dance_combo_3(rsh, KC_RSFT, KC_RCTL, KC_RALT, KC_RGUI) - -tap_dance_action_t tap_dance_actions[] = { - [TD_LCTL_ALT] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, lca_finished, lca_reset), - [TD_RCTL_ALT] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, rca_finished, rca_reset), - [TD_LGUI_ALT] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, lga_finished, lga_reset), - [TD_RGUI_ALT] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, rga_finished, rga_reset), - [TD_LCTL_GUI] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, lcg_finished, lcg_reset), - [TD_RCTL_GUI] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, rcg_finished, rcg_reset), - [TD_LSFT_HPR] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, lsh_finished, lsh_reset), - [TD_RSFT_HPR] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, rsh_finished, rsh_reset) -}; diff --git a/keyboards/gh60/satan/keymaps/lepa/readme.md b/keyboards/gh60/satan/keymaps/lepa/readme.md deleted file mode 100644 index a53693d03f5..00000000000 --- a/keyboards/gh60/satan/keymaps/lepa/readme.md +++ /dev/null @@ -1,13 +0,0 @@ -# Satan GH60 ANSI Layout that uses tap dance - -![Satan GH60 Image](https://i.imgur.com/T5FX7Sn.png) - -Notes: -- Enter and Esc keys activate layer Fn1 when held, and work as usual when tapped. -- Menu key activates layer Fn2 when held, and works as usual when tapped. -- For the next keys a first key is used when held, and a second one is used when tapped 2 times: - - Shift and Hyper; - - Win and Win+Alt; - - Ctrl and Ctrl+Alt; - - Alt and Win+Ctrl. - diff --git a/keyboards/gh60/satan/keymaps/lepa/rules.mk b/keyboards/gh60/satan/keymaps/lepa/rules.mk deleted file mode 100644 index 0eceeb297e9..00000000000 --- a/keyboards/gh60/satan/keymaps/lepa/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 = no # Mouse keys(+4700) -EXTRAKEY_ENABLE = no # Audio control and System control(+450) -CONSOLE_ENABLE = no # 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 -TAP_DANCE_ENABLE = yes - diff --git a/keyboards/gh60/satan/keymaps/mark1/keymap.c b/keyboards/gh60/satan/keymaps/mark1/keymap.c deleted file mode 100644 index de9b80da18d..00000000000 --- a/keyboards/gh60/satan/keymaps/mark1/keymap.c +++ /dev/null @@ -1,31 +0,0 @@ -#include QMK_KEYBOARD_H - - -#define KC_____ KC_TRNS -#define KC_FN MO(1) // Fn -#define KC_FNLK TG(1) // Fn lock -#define KC_HOME LGUI(KC_LEFT) // Home, or cmd-left -#define KC_END LGUI(KC_RGHT) // End, or cmd-right -#define KC_SLP LGUI(LALT(KC_PWR)) // sleep, or cmd-option-power -#define KC_SCLK LCTL(LSFT(KC_PWR)) // lock screen, or ctrl-shift-power - -// Mark I keyboard layout for GH60 Satan -// http://www.keyboard-layout-editor.com/#/gists/e1cde292bd2094cc3b763206d4d2cfb5 -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // 0: qwerty - [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_FN, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_FN, - KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT, KC_RCTL, KC_FNLK - ), - // 1: fn layer - [1] = 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_DEL, _______, - _______, KC_VOLU, _______, _______, _______, _______, _______, KC_HOME, KC_UP, KC_END, KC_PGUP, _______, _______, _______, - _______, KC_VOLD, KC_MRWD, KC_MPLY, KC_MFFD, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, _______, _______, _______, - _______, _______, KC_MUTE, _______, _______, _______, _______, _______, _______, KC_SCLK, KC_SLP, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______ - ) -}; \ No newline at end of file diff --git a/keyboards/gh60/satan/keymaps/mark1/readme.md b/keyboards/gh60/satan/keymaps/mark1/readme.md deleted file mode 100644 index 060faf80cd1..00000000000 --- a/keyboards/gh60/satan/keymaps/mark1/readme.md +++ /dev/null @@ -1,5 +0,0 @@ -# Mark I layout for GH60 Satan - -A Mac keyboard for touch typists who enjoy having a Fn key on both the left-hand and right-hand side. - -[Layout](http://www.keyboard-layout-editor.com/#/gists/e1cde292bd2094cc3b763206d4d2cfb5) diff --git a/keyboards/gh60/satan/keymaps/no_caps_lock/keymap.c b/keyboards/gh60/satan/keymaps/no_caps_lock/keymap.c deleted file mode 100644 index 45889c02321..00000000000 --- a/keyboards/gh60/satan/keymaps/no_caps_lock/keymap.c +++ /dev/null @@ -1,55 +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. -enum layer_names { - _BL, - _FL -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Keymap _BL: (Base Layer) Default Layer - * ,-----------------------------------------------------------. - * | ~| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =| Backsp | - * |-----------------------------------------------------------| - * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ | - * |-----------------------------------------------------------| - * |ESC | A| S| D| F| G| H| J| K| L| ;| '|Return | - * |-----------------------------------------------------------| - * |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift | - * |-----------------------------------------------------------| - * |Ctrl|Gui |Alt | Space |Alt |FL |Gui |FL(tgl)| - * `-----------------------------------------------------------' - */ - [_BL] = 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, - 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_SPC, KC_RALT, MO(_FL), KC_RGUI, TG(_FL) - ), - - /* Keymap _FL: Function Layer - * ,-----------------------------------------------------------. - * | | F1|F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12| DEL | - * |-----------------------------------------------------------| - * | |Home|PgUp| | | | | | | | |BR- |BR+ | | - * |-----------------------------------------------------------| - * | |End|PgDn| | | |Left|Down|Up|Right|Prv|Nxt|Ply | - * |-----------------------------------------------------------| - * | | | | | | | | |Vdn|Vup|Mute| | - * |-----------------------------------------------------------| - * | | | | | | | | | - * `-----------------------------------------------------------' - * hjkl for arrows because vim - */ - [_FL] = LAYOUT_60_ansi( - 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_HOME, KC_PGUP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_F14, KC_F15, KC_TRNS, - KC_TRNS, KC_END, KC_PGDN, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_MPRV, KC_MNXT, KC_MPLY, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, 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 - ), -}; diff --git a/keyboards/gh60/satan/keymaps/no_caps_lock/readme.md b/keyboards/gh60/satan/keymaps/no_caps_lock/readme.md deleted file mode 100644 index b3bfe7988e9..00000000000 --- a/keyboards/gh60/satan/keymaps/no_caps_lock/readme.md +++ /dev/null @@ -1 +0,0 @@ -Standard layout with caps lock replaced by esc. Navigation and multimedia keys are on the second layer. diff --git a/keyboards/gh60/satan/keymaps/olligranlund_iso/config.h b/keyboards/gh60/satan/keymaps/olligranlund_iso/config.h deleted file mode 100644 index 75c16329086..00000000000 --- a/keyboards/gh60/satan/keymaps/olligranlund_iso/config.h +++ /dev/null @@ -1,26 +0,0 @@ -// Backlight configuration -#undef BACKLIGHT_LEVELS -#define BACKLIGHT_LEVELS 10 - -// Underlight configuration -#undef WS2812_DI_PIN -#define WS2812_DI_PIN B2 -#undef RGBLED_NUM -#define RGBLED_NUM 16 // Number of LEDs -#undef RGBLIGHT_HUE_STEP -#define RGBLIGHT_HUE_STEP 8 -#undef RGBLIGHT_SAT_STEP -#define RGBLIGHT_SAT_STEP 8 -#undef RGBLIGHT_VAL_STEP -#define RGBLIGHT_VAL_STEP 8 - -#define RGBLIGHT_EFFECT_BREATHING -#define RGBLIGHT_EFFECT_RAINBOW_MOOD -#define RGBLIGHT_EFFECT_RAINBOW_SWIRL -#define RGBLIGHT_EFFECT_SNAKE -#define RGBLIGHT_EFFECT_KNIGHT -#define RGBLIGHT_EFFECT_CHRISTMAS -#define RGBLIGHT_EFFECT_STATIC_GRADIENT -#define RGBLIGHT_EFFECT_RGB_TEST -#define RGBLIGHT_EFFECT_ALTERNATING -#define RGBLIGHT_EFFECT_TWINKLE diff --git a/keyboards/gh60/satan/keymaps/olligranlund_iso/keymap.c b/keyboards/gh60/satan/keymaps/olligranlund_iso/keymap.c deleted file mode 100644 index a5bcccfafa3..00000000000 --- a/keyboards/gh60/satan/keymaps/olligranlund_iso/keymap.c +++ /dev/null @@ -1,98 +0,0 @@ -#include QMK_KEYBOARD_H - -#define BASE 0 // Default layer -#define MOUSE 1 // Space layer -#define NUMPAD 2 // Alt layer -#define CAPS 3 // Caps layer - -// General shortenings -#define ESCA KC_ESC -#define MINS KC_MINS -#define EQUL KC_EQL -#define BSPC KC_BSPC -#define DELE KC_DEL -#define LBRC KC_LBRC -#define RBRC KC_RBRC -#define ALTR KC_RALT -#define SCLN KC_SCLN -#define QUOT KC_QUOT -#define NUHS KC_NUHS -#define ENTE KC_ENT -#define NUBS KC_NUBS // Less/ greater sign -#define COMM KC_COMM // Comma -#define FSTO KC_DOT // Full stop -#define SLSH KC_SLSH -#define ALTL KC_LALT -#define GUIL KC_LGUI -#define GUIR KC_RGUI -#define MENO KC_MENU - -// Special Actions and Media Keys -#define INSE KC_INS // Insert here -#define HOME KC_HOME // Go to beginning of line -#define ENDI KC_END // go to end of line -#define PSCR KC_PSCR // Print Screen -#define SLCK KC_SCRL // go to end of line -#define PGDN KC_PGDN // go to end of line -#define PGUP KC_PGUP // go to end of line -#define PLPS KC_MPLY // Play/Pause -#define PAUS KC_PAUS // Pause button -#define MUTE KC_MUTE // Mute sound -#define VOLU KC_VOLU // Volume increase -#define VOLD KC_VOLD // Volume decrease -#define MNXT KC_MNXT // next track -#define MPRV KC_MPRV // prev track -#define MSTP KC_MSTP // stop playing -#define MSEL KC_MSEL // Select media (Start playing it) -#define MAIL KC_MAIL // Open default mail app -#define CALC KC_CALC // Open default calculator app -#define MYCM KC_MYCM // Open default file manager - -// increase readability -#define XXXXX KC_NO - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -/* Keymap BASE: (Base Layer) Default Layer - * ,-----------------------------------------------------------. - * |Esc~| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp | - * |-----------------------------------------------------------| - * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| R | - * |-----------------------------------------------------------| - * |CAPS | A| S| D| F| G| H| J| K| L| ;| '| # | R | - * |-----------------------------------------------------------| - * |Shft| \ | Z| X| C| V| B| N| M| ,| .| /|Shift | - * |-----------------------------------------------------------| - * |Ctrl|Gui |Alt | Space |Alt |Gui |FN |Ctrl | - * `-----------------------------------------------------------| - */ - -[ BASE ] = KEYMAP_ISO_SPLITRSHIFT( - 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, XXXXX, - LT(CAPS, 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_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, XXXXX, - KC_LCTL, KC_LGUI,KC_LALT, KC_SPC, KC_RALT, MO(CAPS), TG(NUMPAD), TG(MOUSE)), - -[ MOUSE ] = KEYMAP( // Mouse controls - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, XXXXX, - _______, _______, _______, _______, _______, _______, _______, KC_MS_BTN1, KC_MS_U, KC_MS_BTN2, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, KC_MS_L, KC_MS_D, KC_MS_R, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, XXXXX, - _______, _______, _______, _______, _______, _______, _______, _______), - -[ NUMPAD ] = KEYMAP( //Numpad and alt shortcuts - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, XXXXX, - _______, BL_TOGG, BL_DOWN,BL_UP, _______, _______, _______, KC_1, KC_2, KC_3, _______, _______, _______, _______, - _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, _______, _______, KC_4, KC_5, KC_6, _______, _______, _______, _______, - _______, _______, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, KC_7, KC_8, KC_9, KC_0, _______, _______, XXXXX, - _______, _______, _______, _______, _______, _______, _______, _______), - -[ CAPS ] = KEYMAP( // Main "function" key, arrows, media control - 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_DEL, XXXXX, - _______, KC_MPRV, KC_MPLY, KC_MNXT, _______, _______, _______, PGDN, KC_UP, PGUP, PSCR, SLCK, PAUS, _______, - _______, KC_VOLD, KC_MUTE, KC_VOLU, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, XXXXX, - _______, _______, _______, _______, _______, _______, _______, _______) - -}; diff --git a/keyboards/gh60/satan/keymaps/olligranlund_iso/readme.md b/keyboards/gh60/satan/keymaps/olligranlund_iso/readme.md deleted file mode 100644 index e0801ef8584..00000000000 --- a/keyboards/gh60/satan/keymaps/olligranlund_iso/readme.md +++ /dev/null @@ -1,18 +0,0 @@ -# ISO layout for the Satan GH60 -### Originally by Ben James, forked by Oliver Granlund - -![Finished product](https://i.imgur.com/s5HAgr6.jpg) - -I've wanted to make this as close to a P0ker as possible, but some macros in -the P0ker don't make sense... - -Some of the features: -* Caps activates special features when held: - * Arrow keys directly under right hand - * Volume control - * Fn keys on number row - * PageUp/PageDn/Home/other general buttons -* Mouse control -* Numpad (works so much better if this would be ortho) -### RGB-strip -![Behind the scenes](https://i.imgur.com/reHLXrc.jpg) diff --git a/keyboards/gh60/satan/keymaps/olligranlund_iso/rules.mk b/keyboards/gh60/satan/keymaps/olligranlund_iso/rules.mk deleted file mode 100644 index 7041837aabb..00000000000 --- a/keyboards/gh60/satan/keymaps/olligranlund_iso/rules.mk +++ /dev/null @@ -1,17 +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 = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # 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 -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 = yes # 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 = yes # Enable WS2812 RGB underlight. -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend diff --git a/keyboards/gh60/satan/keymaps/rask63/keymap.c b/keyboards/gh60/satan/keymaps/rask63/keymap.c deleted file mode 100644 index f12aaa5d3dd..00000000000 --- a/keyboards/gh60/satan/keymaps/rask63/keymap.c +++ /dev/null @@ -1,83 +0,0 @@ -#include QMK_KEYBOARD_H - - -#define _BASE 0 -#define _FNO 1 -#define _FNT 2 - -#define ________ KC_TRNS -#define XXXXXXXX KC_NO - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - /* - * Base layer - * - * ------------------------------------------------------------------------------------------- - * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | \ | Del | - * ------------------------------------------------------------------------------------------- - * | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | Bksp | - * ------------------------------------------------------------------------------------------- - * | Fn1 | A | S | D | F | G | H | J | K | L | ; | ' | Enter | - * ------------------------------------------------------------------------------------------- - * | Shift | Z | X | C | V | B | N | M | , | . | / | Up | Fn2 | - * ------------------------------------------------------------------------------------------- - * | Ctrl | Win | Alt | Space | AltGr | Left | Down | Right | - * ------------------------------------------------------------------------------------------- - */ - [_BASE] = LAYOUT_60_ansi_split_bs_rshift( - 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_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_BSPC, - MO(_FNO), 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, MO(_FNT), - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT - ), - - /* - * Fn1 layer - * - * ------------------------------------------------------------------------------------------- - * | Esc | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | Prsc| Ins | - * ------------------------------------------------------------------------------------------- - * | | | | | | | | | | | | | | | - * ------------------------------------------------------------------------------------------- - * | NONE | | | | | | | | | | | | | - * ------------------------------------------------------------------------------------------- - * | | | | | | | | | | | | PgUp | | - * ------------------------------------------------------------------------------------------- - * | | | | | | Home | PgDn | End | - * ------------------------------------------------------------------------------------------- - */ - [_FNO] = LAYOUT_60_ansi_split_bs_rshift( - 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_INS, - ________, ________, ________, ________, ________, ________, ________, ________, ________, ________, ________, ________, ________, ________, - ________, ________, ________, ________, ________, ________, ________, ________, ________, ________, ________, ________, ________, - ________, ________, ________, ________, ________, ________, ________, ________, ________, ________, ________, KC_PGUP, ________, - ________, ________, ________, ________, ________, KC_HOME, KC_PGDN, KC_END - ), - - /* - * Fn2 layer - * - * TODO: macro buttons - * - * ------------------------------------------------------------------------------------------- - * | | | | | | | | | | | | | | | | - * ------------------------------------------------------------------------------------------- - * | | | | | | | | | | Prev| Play| Next| | | - * ------------------------------------------------------------------------------------------- - * | CapsLk | | | | | | | | | Vol-| Vol+| Mute| | - * ------------------------------------------------------------------------------------------- - * | | | | | | | | | | Stop| | | NONE| - * ------------------------------------------------------------------------------------------- - * | Reset | Menu | | | M1 | M2 | M3 | M4 | - * ------------------------------------------------------------------------------------------- - */ - [_FNT] = LAYOUT_60_ansi_split_bs_rshift( - ________, ________, ________, ________, ________, ________, ________, ________, ________, ________, ________, ________, ________, ________, ________, - ________, ________, ________, ________, ________, ________, ________, ________, ________, KC_MPRV, KC_MPLY, KC_MNXT, ________, ________, - KC_CAPS, ________, ________, ________, ________, ________, ________, ________, ________, KC_VOLD, KC_VOLU, KC_MUTE, ________, - ________, ________, ________, ________, ________, ________, ________, ________, ________, KC_MSTP, ________, ________, ________, - QK_BOOT, KC_MENU, ________, ________, ________, ________, ________, ________ - ), -}; diff --git a/keyboards/gh60/satan/keymaps/sethbc/keymap.c b/keyboards/gh60/satan/keymaps/sethbc/keymap.c deleted file mode 100644 index f1195ba5a0e..00000000000 --- a/keyboards/gh60/satan/keymaps/sethbc/keymap.c +++ /dev/null @@ -1,47 +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 _BL 0 -#define _FL 1 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Keymap _BL: (Base Layer) 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 | - * |-----------------------------------------------------------| - * |CAPS | A| S| D| F| G| H| J| K| L| ;| '|Return | - * |-----------------------------------------------------------| - * |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift| fn | - * |-----------------------------------------------------------| - * |Ctrl|Gui |Alt | Space |Alt |Gui |FN |Ctrl | - * `-----------------------------------------------------------' - */ - [_BL] = LAYOUT_60_ansi_split_bs_rshift( - 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_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(_FL), - KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT, KC_MENU, KC_RCTL - ), - - [_FL] = LAYOUT_60_ansi_split_bs_rshift( - #ifdef RGBLIGHT_ENABLE - 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_CAPS, _______, RGB_TOG, RGB_MOD, RGB_HUI, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, KC_UP, _______, KC_DEL, - _______, KC_VOLD, RGB_HUD, RGB_SAI, RGB_SAD, _______, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_PENT, - _______, RGB_VAI, RGB_VAD, _______, _______, _______, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______ - #else - 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_CAPS, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, KC_UP, _______, KC_DEL, - _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_PENT, - _______, _______, _______, _______, _______, _______, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______ - #endif - ), -}; diff --git a/keyboards/gh60/satan/keymaps/sethbc/readme.md b/keyboards/gh60/satan/keymaps/sethbc/readme.md deleted file mode 100644 index ed0eb870165..00000000000 --- a/keyboards/gh60/satan/keymaps/sethbc/readme.md +++ /dev/null @@ -1,3 +0,0 @@ -# sethbc's Satan GH60 layout - -HHKB style split right shift and split backspace. Largely based on the HHKB layout. diff --git a/keyboards/gh60/satan/keymaps/sethbc/rules.mk b/keyboards/gh60/satan/keymaps/sethbc/rules.mk deleted file mode 100644 index 14367f2f8a3..00000000000 --- a/keyboards/gh60/satan/keymaps/sethbc/rules.mk +++ /dev/null @@ -1,18 +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 = no # 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 = yes # 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 - diff --git a/keyboards/gh60/satan/keymaps/spacemanspiff/keymap.c b/keyboards/gh60/satan/keymaps/spacemanspiff/keymap.c deleted file mode 100644 index b923ca40c6c..00000000000 --- a/keyboards/gh60/satan/keymaps/spacemanspiff/keymap.c +++ /dev/null @@ -1,75 +0,0 @@ -#include QMK_KEYBOARD_H - -// Each layer gets a name for readability, which is then used in the keymap matrix below. -#define _BL 0 -#define _FL 1 -#define _CL 3 - -// Add names for complex momentary keys, to keep the keymap matrix aligned better. -#define CTL_ESC MT(MOD_LCTL,KC_ESC) -#define GUI_ENT MT(MOD_RGUI, KC_ENT) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Keymap _BL: (Base Layer) Default Layer - * ,-----------------------------------------------------------. - * | `| F1| F2| F3| F4| F5| F6| F7| F8| F9| F0| -| =|Del | - * |-----------------------------------------------------------| - * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ | - * |-----------------------------------------------------------| - * |Ctl/Esc| A| S| D| F| G| H| J| K| L| ;| '|Return | - * |-----------------------------------------------------------| - * |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift | - * |-----------------------------------------------------------| - * |Ctrl|Alt |Gui | Space |Gui |Alt |FN |Ctrl | - * `-----------------------------------------------------------' - */ -[_BL] = 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_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, - MO(_CL), KC_RALT, KC_LGUI, KC_SPC, GUI_ENT, KC_RALT, KC_RCTL, MO(_FL)), - - - /* Keymap _FL: Function Layer - * ,-----------------------------------------------------------. - * | `| | | | | | | | | | | | | QK_BOOT| - * |-----------------------------------------------------------| - * | | | | | | | | | | | | | | | - * |-----------------------------------------------------------| - * | |VDN|VUP|MUTE| | | | | | | | | - * |-----------------------------------------------------------| - * | | | | | | | | | | | | | - * |-----------------------------------------------------------| - * | | | | | | | | | - * `-----------------------------------------------------------' - */ -[_FL] = LAYOUT_60_ansi( - KC_GRV, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______), - - /* Keymap _CL: Control+ Layer - * ,-----------------------------------------------------------. - * |Esc| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12| Del | - * |-----------------------------------------------------------| - * | | | | | | | | | | |PGU| | | | - * |-----------------------------------------------------------| - * | | | | | | |LFT| DN| UP|RGT| | | | - * |-----------------------------------------------------------| - * | | | | | | |PGD| | | | | | - * |-----------------------------------------------------------| - * | | | | | | | | | - * `-----------------------------------------------------------' - */ - -[_CL] = LAYOUT_60_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_DEL, - KC_TAB, LCTL(KC_Q), LCTL(KC_W), LCTL(KC_E), LCTL(KC_R), LCTL(KC_T), LCTL(KC_Y), LCTL(KC_U), LCTL(KC_I), LCTL(KC_O), KC_PGUP, KC_ESC, LCTL(KC_RBRC), LCTL(KC_BSLS), - _______, LCTL(KC_A), LCTL(KC_S), LCTL(KC_D), LCTL(KC_F), LCTL(KC_G), KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, LCTL(KC_SCLN), LCTL(KC_QUOT), LCTL(KC_ENT), - KC_LSFT, LCTL(KC_Z), LCTL(KC_X), LCTL(KC_C), LCTL(KC_V), KC_PGDN, LCTL(KC_N), LCTL(KC_M), LCTL(KC_COMM), LCTL(KC_DOT), LCTL(KC_SLSH), LCTL(KC_RSFT), - _______, LCTL(KC_LALT), LCTL(KC_LGUI), LCTL(KC_SPC), LCTL(KC_RGUI), LCTL(KC_RALT), KC_RCTL, MO(_FL)), -}; - diff --git a/keyboards/gh60/satan/keymaps/spacemanspiff/readme.md b/keyboards/gh60/satan/keymaps/spacemanspiff/readme.md deleted file mode 100644 index 1d592509de1..00000000000 --- a/keyboards/gh60/satan/keymaps/spacemanspiff/readme.md +++ /dev/null @@ -1,34 +0,0 @@ -# Spaceman Spiff Layout for GH60 Satan - -![Keyboard Layout](https://i.imgur.com/M9glFON.png) - - - -Designed specifically to make switching back-n-forth with the Apple's MacBook Pro keyboard intuitive. Has a slight tendency toward readline/vim keybindings. - -Caps locks becomes an `Esc` when pressed alone, or a `Ctrl` when pressed with another key. - -# Base Layer - -As simalar to the Apple keyboard as possible. Notiable exception is `Caps Lock`: -- `Esc` when pressed alone -- `Ctrl` when pressed with another key - -# Control+ Layer - -Left Ctrl key switches to the "Control+ Layer". This layer mostly acts like a control key in most cases, with a few exceptions: - -- `Ctl+` + `hjkl` are vim-style motion keys -- `Ctl+` + `p` and `Ctl+` + `n` are page up and down -- `Ctl+` + `Backspace` is forward delete - -# Fn Layer - -Audio Controls: -- `Fn` + `a` Volume Down -- `Fn` + `s` Volume Up -- `Fn` + `d` Mute - -To flash this layout you need to press `Fn+Backspace` - - diff --git a/keyboards/gh60/satan/keymaps/unxmaal/README.md b/keyboards/gh60/satan/keymaps/unxmaal/README.md deleted file mode 100644 index 50ad0cf1feb..00000000000 --- a/keyboards/gh60/satan/keymaps/unxmaal/README.md +++ /dev/null @@ -1,20 +0,0 @@ -Unxmaal's GH60 Satan Layout -===================== -* Mostly stolen from /u/robotmaxtron - -##Quantum MK Firmware -For the full Quantum feature list, see the parent readme.md. - -* Standard Mac ANSI layout -* Spacebar acts as space when tapped, Fn when held -* Menu acts as menu when tapped, Fn2 when held -* Layer1: - * Top row = `~, F1-F12, Del - * JKIL = arrow cluster -* Layer2: - * Top row = media controls - * JKIL = PgDn/Up/Home/Insert - * Backspace = Reset - -### Additional Credits -Keymap has been based on various keymaps available from the QMK Repo for the GH60-SATAN and KC60 keyboards. \ No newline at end of file diff --git a/keyboards/gh60/satan/keymaps/unxmaal/keymap.c b/keyboards/gh60/satan/keymaps/unxmaal/keymap.c deleted file mode 100644 index d70b8054ed8..00000000000 --- a/keyboards/gh60/satan/keymaps/unxmaal/keymap.c +++ /dev/null @@ -1,84 +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 _BL 0 -#define _AL 1 -#define _FL 2 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* - * ANSI Base, Mac style - * ,-----------------------------------------------------------------------------. - * |Esc | 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| = | Backsp | - * |-----------------------------------------------------------------------------| - * |Tab | Q | W | E | R | T | Y | U | I| O| P| [| ]| \| - * |-----------------------------------------------------------------------------| - * |Caps/Fn | A| S| D| F| G| H| J| K| L| ;| '| Enter | - * |-----------------------------------------------------------------------------| - * |Shift | Z| X| C| V| B| N| M| ,| .| /| Shift | - * |-----------------------------------------------------------------------------| - * |Fn|Alt |Gui | Space(tapped), Fn(held) |Gui |Alt |Menu(tapped, Fn2(held)|Ctrl| - * `-----------------------------------------------------------------------------' - */ - [_BL] = LAYOUT_60_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_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(_AL), KC_LALT, KC_LGUI, LT(_AL, KC_SPACE), KC_RGUI, KC_RALT, LT(_FL, KC_MENU), KC_RCTL - ), - - /* - * Pok3r style arrow cluster - * ,-----------------------------------------------------------. - * |`~ | F1| F2| F3| F4| F5| F6| F7| F8| F9| F10| F11| F12|DEL | - * |-----------------------------------------------------------| - * | | | | | | | | |Up| | | | | | - * |-----------------------------------------------------------| - * | | | | | | | |Left|Down|Right| | | | - * |-----------------------------------------------------------| - * | | | | | | | | | | | | | - * |-----------------------------------------------------------| - * | | | | | | | | | - * `-----------------------------------------------------------' - */ - [_AL] = 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_DELETE, - _______, _______, _______, _______, _______, _______, _______, _______, KC_UP, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______ - ), - - /* Keymap _FL: Function Layer - * ,-----------------------------------------------------------. - * | | | | | | | | | | | | | | QK_BOOT| - * |-----------------------------------------------------------| - * | | | | | | | | | | | |BL-|BL+|BL | - * |-----------------------------------------------------------| - * | | | | | | | | | | | | | - * |-----------------------------------------------------------| - * | | RGB on|RGB step|Hue+|Hue- |Sat+|Sat-|Val+| Val-| | | | - * |-----------------------------------------------------------| - * | | | | | | | | | - * `-----------------------------------------------------------' - */ - [_FL] = LAYOUT_60_ansi( - #ifdef RGBLIGHT_ENABLE - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, BL_DOWN, BL_UP, BL_TOGG, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______ - #else - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, BL_DOWN, BL_UP, BL_TOGG, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______ - #endif - ), -}; diff --git a/keyboards/gh60/satan/keymaps/unxmaal/rules.mk b/keyboards/gh60/satan/keymaps/unxmaal/rules.mk deleted file mode 100644 index 91ba6cd9e9a..00000000000 --- a/keyboards/gh60/satan/keymaps/unxmaal/rules.mk +++ /dev/null @@ -1,18 +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 = no # 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 = yes # 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 = yes # Enable WS2812 RGB underlight. -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend - diff --git a/keyboards/hhkb/ansi/keymaps/cinaeco/README.md b/keyboards/hhkb/ansi/keymaps/cinaeco/README.md deleted file mode 100644 index c1c48e60937..00000000000 --- a/keyboards/hhkb/ansi/keymaps/cinaeco/README.md +++ /dev/null @@ -1,23 +0,0 @@ -# QMK Keyboard Firmware for HHKB - -## Modifications - -### HHKB Fn Layer - -Added some Media keys. - -### Utility Layer (SpaceFN) - -Hold `Space` for: - -- Vi-style direction keys. -- WASD-style mouse keys. -- Dynamic macro playback on `1` and `2`. -- Qwerty/Colemak/Dvorak layout selection on `-`, `=` and `\ ` - -### Dynamic Macros - -Hold `q` and press: - -- `1` or `2` to record macro 1 or 2. -- `s` to stop recording. diff --git a/keyboards/hhkb/ansi/keymaps/cinaeco/config.h b/keyboards/hhkb/ansi/keymaps/cinaeco/config.h deleted file mode 100644 index ed660722c21..00000000000 --- a/keyboards/hhkb/ansi/keymaps/cinaeco/config.h +++ /dev/null @@ -1,10 +0,0 @@ -#pragma once - -#undef MANUFACTURER -#undef PRODUCT -#define MANUFACTURER "QMK" -#define PRODUCT "HHKB QMK cinaeco" - -// Increase "Tap" detection window. Avoid missing 'q' or 'z' when typing slowly. -#undef TAPPING_TERM -#define TAPPING_TERM 230 diff --git a/keyboards/hhkb/ansi/keymaps/cinaeco/keymap.c b/keyboards/hhkb/ansi/keymaps/cinaeco/keymap.c deleted file mode 100644 index 5ad8bee6412..00000000000 --- a/keyboards/hhkb/ansi/keymaps/cinaeco/keymap.c +++ /dev/null @@ -1,173 +0,0 @@ -/* -*- eval: (turn-on-orgtbl); -*- - * cinaeco's HHKB Layout - */ -#include QMK_KEYBOARD_H - -// Layers. -#define QWER 0 -#define COLE 1 -#define DVOR 2 -#define HHKB 3 -#define UTIL 4 -#define MREC 5 - -// Easier-to-read Layer Arrays. -#define ____ KC_TRNS - -enum hhkb_keycodes -{ - DYNAMIC_MACRO_RANGE = SAFE_RANGE, -}; - -#include "dynamic_macro.h" - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - /* QWER Layer: Qwerty Default - * - * ,--------------------------------------------------------------. - * |Esc| 1 | 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =| \| `| - * |--------------------------------------------------------------| - * |Tab |Q/MREC| W| E| R| T| Y| U| I| O| P| [| ]|Backs| - * |--------------------------------------------------------------| - * |Ctrl | A| S| D| F| G| H| J| K| L| ;| '|Ent/Ctrl| - * |--------------------------------------------------------------| - * |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift |Fn0| - * `--------------------------------------------------------------' - * |Alt|Gui | Space/UTIL |Gui |Alt| - * `-------------------------------------------' - * - */ - - [QWER] = 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_TAB, LT(MREC, 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, CTL_T(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(HHKB), - KC_LALT, KC_LGUI, LT(UTIL, KC_SPC), KC_RGUI, KC_RALT), - - /* COLE Layer: Colemak - * - * ,--------------------------------------------------------------. - * |Esc| 1 | 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =| \| `| - * |--------------------------------------------------------------| - * |Tab |Q/MREC| W| F| P| G| J| L| U| Y| ;| [| ]|Backs| - * |--------------------------------------------------------------| - * |Ctrl | A| R| S| T| D| H| N| E| I| O| '|Ent/Ctrl| - * |--------------------------------------------------------------| - * |Shift | Z| X| C| V| K| B| M| ,| .| /|Shift |Fn0| - * `--------------------------------------------------------------' - * |Alt|Gui | Space/UTIL |Gui |Alt| - * `-------------------------------------------' - * - */ - - [COLE] = 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_TAB, LT(MREC, 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, - KC_LCTL, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, CTL_T(KC_ENT), - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_K, KC_B, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(HHKB), - KC_LALT, KC_LGUI, LT(UTIL, KC_SPC), KC_RGUI, KC_RALT), - - /* DVOR Layer: Dvorak - * - * ,--------------------------------------------------------------. - * |Esc| 1 | 2| 3| 4| 5| 6| 7| 8| 9| 0| [| ]| \| `| - * |--------------------------------------------------------------| - * |Tab |'/MREC| ,| .| P| Y| F| G| C| R| L| /| =|Backs| - * |--------------------------------------------------------------| - * |Ctrl | A| O| E| U| I| D| H| T| N| S| -|Ent/Ctrl| - * |--------------------------------------------------------------| - * |Shift | ;| Q| J| K| X| B| M| W| V| Z|Shift |Fn0| - * `--------------------------------------------------------------' - * |Alt|Gui | Space/UTIL |Gui |Alt| - * `-------------------------------------------' - * - */ - - [DVOR] = LAYOUT( - 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_BSLS, KC_GRV, - KC_TAB, LT(MREC, 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, - KC_LCTL, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_MINS, CTL_T(KC_ENT), - KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_RSFT, MO(HHKB), - KC_LALT, KC_LGUI, LT(UTIL, KC_SPC), KC_RGUI, KC_RALT), - - /* HHKB Layer: HHKB mode (HHKB Fn) - * - * ,-----------------------------------------------------------. - * |Pwr| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Ins|Del| - * |-----------------------------------------------------------| - * |Caps |PLA|PRV|NXT| | | | |Psc|Slk|Pus|Up | |Backs| - * |-----------------------------------------------------------| - * | |VoD|VoU|Mut|Ejc| | *| /|Hom|PgU|Lef|Rig|Enter | - * |-----------------------------------------------------------| - * | | | | | | | +| -|End|PgD|Dow| | | - * `-----------------------------------------------------------' - * | | | |STOP | | - * `-------------------------------------------' - */ - - [HHKB] = LAYOUT( - KC_PWR, 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_CAPS, KC_MPLY, KC_MPRV, KC_MNXT, ____, ____, ____, ____, KC_PSCR, KC_SCRL, KC_PAUS, KC_UP, ____, KC_BSPC, - ____, KC_VOLD, KC_VOLU, KC_MUTE, KC_EJCT, ____, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_PENT, - ____, ____, ____, ____, ____, ____, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, ____, ____, - ____, ____, ____, KC_MSTP, ____), - - /* UTIL Layer: Extra utilities - * - * ,-------------------------------------------------------------. - * |DFU|PLY1|PLY2| | | | | | | | |QWE|COL|DVO|DBG| - * |-------------------------------------------------------------| - * | |MLB |M-Up|MRB|MwU| |Hom|PgD|PgU|End| | | | | - * |-------------------------------------------------------------| - * | |M-Lt|M-Dn|M-R|MwD| |LEF|DOW|UP |RIG| | | | - * |-------------------------------------------------------------| - * | | | | | |SPC| | | | | | | | - * `-------------------------------------------------------------' - * | | | | | | - * `-------------------------------------------' - * - */ - - [UTIL] = LAYOUT( - QK_BOOT, DM_PLY1, DM_PLY2, ____, ____, ____, ____, ____, ____, ____, ____, DF(QWER), DF(COLE), DF(DVOR), DB_TOGG, - ____, KC_BTN1, KC_MS_U, KC_BTN2, KC_WH_U, ____, KC_HOME, KC_PGDN, KC_PGUP, KC_END, ____, ____, ____, ____, - ____, KC_MS_L, KC_MS_D, KC_MS_R, KC_WH_D, ____, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, ____, ____, ____, - ____, ____, ____, ____, ____, KC_SPC, ____, ____, ____, ____, ____, ____, ____, - ____, ____, ____, ____, ____), - - /* MREC Layer: Record macros with `q` - * - * ,-------------------------------------------------------------. - * | |REC1|REC2| | | | | | | | | | | | | - * |-------------------------------------------------------------| - * | | | | | | | | | | | | | | | - * |-------------------------------------------------------------| - * | | |RSTP| | | | | | | | | | | - * |-------------------------------------------------------------| - * | | | | | | | | | | | | | | - * `-------------------------------------------------------------' - * | | | | | | - * `-------------------------------------------' - * - */ - - [MREC] = LAYOUT( - ____, DM_REC1, DM_REC2, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, - ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, - ____, ____, DM_RSTP, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, - ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, - ____, ____, ____, ____, ____) - -}; - -// For Dynamic Macros. -bool process_record_user(uint16_t keycode, keyrecord_t *record) -{ - if (!process_record_dynamic_macro(keycode, record)) - { - return false; - } - return true; -} diff --git a/keyboards/hhkb/ansi/keymaps/cinaeco/rules.mk b/keyboards/hhkb/ansi/keymaps/cinaeco/rules.mk deleted file mode 100644 index 4e4deffa122..00000000000 --- a/keyboards/hhkb/ansi/keymaps/cinaeco/rules.mk +++ /dev/null @@ -1,20 +0,0 @@ -# cinaeco's HHKB firmware - -# 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 = no # 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 = yes # 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 - diff --git a/keyboards/hhkb/ansi/keymaps/lxol/keymap.c b/keyboards/hhkb/ansi/keymaps/lxol/keymap.c deleted file mode 100644 index 25e75c8f991..00000000000 --- a/keyboards/hhkb/ansi/keymaps/lxol/keymap.c +++ /dev/null @@ -1,181 +0,0 @@ -/* -*- eval: (turn-on-orgtbl); -*- - * lxol HHKB Layout - */ -#include QMK_KEYBOARD_H - -#define BASE 0 -#define WIN 1 -#define HHKB 2 -#define RGUILEV 3 -#define LGUILEV 4 -#define RALTLEV 5 -#define LALTLEV 6 - -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 | [ | ] | Backs | | - |--------+---+---+---+---+---+---+---+---+---+-----+-------+----------+-------+---| - | Contro | A | S | D | F | G | H | J | K | L | ; | ' | RCtl/Ent | | | - |--------+---+---+---+---+---+---+---+---+---+-----+-------+----------+-------+---| - | Shift | Z | X | C | V | B | N | M | , | . | Fn2 | Shift | Fn0 | | | - |--------+---+---+---+---+---+---+---+---+---+-----+-------+----------+-------+---| - - |------+------+-------+------+------| - | LAlt | LGUI | Space | RGUI | RAlt | - |------+------+-------+------+------| - */ - - [BASE] = LAYOUT( // layer 0 : default - - 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, LT(LALTLEV, KC_A), LT(LGUILEV, KC_S), KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, LT(RGUILEV, KC_L), LT(RALTLEV, KC_SCLN), KC_QUOT, MT(MOD_RCTL, 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(HHKB), - KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT), - - /* Layer 1: HHKB mode (HHKB Fn) - |------+-----+-----+-----+----+----+----+----+-----+-----+-----+-----+-------+-------+-----| - | Pwr | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | Ins | Del | - |------+-----+-----+-----+----+----+----+----+-----+-----+-----+-----+-------+-------+-----| - | Caps | | | | | | | | Psc | Slk | Pus | Up | | Backs | | - |------+-----+-----+-----+----+----+----+----+-----+-----+-----+-----+-------+-------+-----| - | | VoD | VoU | Mut | | | * | / | Hom | PgU | Lef | Rig | Enter | | | - |------+-----+-----+-----+----+----+----+----+-----+-----+-----+-----+-------+-------+-----| - | | | | | | | + | - | End | PgD | Dow | | | | | - |------+-----+-----+-----+----+----+----+----+-----+-----+-----+-----+-------+-------+-----| - - |---+---+---+---+---| - | | | | | | - |---+---+---+---+---| - */ - - [HHKB] = LAYOUT( - KC_PWR, 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_CAPS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, KC_SCRL, KC_PAUS, KC_UP, KC_TRNS, KC_BSPC, - KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_TRNS, KC_TRNS, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_PENT, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), - - /* Layer LGUI: All keys with RGUI modifier - |--------+---+---+---+---+---+---+---+---+---+-----+-------+----------+-------+---| - | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | \ | ` | - |--------+---+---+---+---+---+---+---+---+---+-----+-------+----------+-------+---| - | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | Backs | | - |--------+---+---+---+---+---+---+---+---+---+-----+-------+----------+-------+---| - | Contro | A | S | D | F | G | H | J | K | | ; | ' | RCtl/Ent | | | - |--------+---+---+---+---+---+---+---+---+---+-----+-------+----------+-------+---| - | Shift | Z | X | C | V | B | N | M | , | . | Fn2 | Shift | Fn0 | | | - |--------+---+---+---+---+---+---+---+---+---+-----+-------+----------+-------+---| - - |------+------+-------+------+------| - | LAlt | LGUI | Space | RGUI | RAlt | - |------+------+-------+------+------| - */ - - [RGUILEV] = LAYOUT( // Right GUI layer by KC_L - - RGUI(KC_ESC), RGUI(KC_1), RGUI(KC_2), RGUI(KC_3), RGUI(KC_4), RGUI(KC_5), RGUI(KC_6), RGUI(KC_7), RGUI(KC_8), RGUI(KC_9), RGUI(KC_0), RGUI(KC_MINS), RGUI(KC_EQL), RGUI(KC_BSLS), RGUI(KC_GRV), - RGUI(KC_TAB), RGUI(KC_Q), RGUI(KC_W), RGUI(KC_E), RGUI(KC_R), RGUI(KC_T), RGUI(KC_Y), RGUI(KC_U), RGUI(KC_I), RGUI(KC_O), RGUI(KC_P), RGUI(KC_LBRC), RGUI(KC_RBRC), RGUI(KC_BSPC), - RGUI(KC_LCTL), RGUI(KC_A), RGUI(KC_S), RGUI(KC_D), RGUI(KC_F), RGUI(KC_G), RGUI(KC_H), RGUI(KC_J), RGUI(KC_K), KC_TRNS, KC_TRNS, RGUI(KC_QUOT), MT(MOD_RCTL, KC_ENT), - RGUI(KC_LSFT), RGUI(KC_Z), RGUI(KC_X), RGUI(KC_C), RGUI(KC_V), RGUI(KC_B), RGUI(KC_N), RGUI(KC_M), RGUI(KC_COMM), RGUI(KC_DOT), RGUI(KC_SLSH), RGUI(KC_RSFT), KC_TRNS, - KC_LALT, KC_LGUI, RGUI(KC_SPC), KC_RGUI, KC_RALT), - - /* Layer LGUI: All keys with LGUI modifier - |--------+---+---+---+---+---+---+---+---+---+-----+-------+----------+-------+---| - | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | \ | ` | - |--------+---+---+---+---+---+---+---+---+---+-----+-------+----------+-------+---| - | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | Backs | | - |--------+---+---+---+---+---+---+---+---+---+-----+-------+----------+-------+---| - | Contro | A | S | D | F | G | H | J | K | | ; | ' | RCtl/Ent | | | - |--------+---+---+---+---+---+---+---+---+---+-----+-------+----------+-------+---| - | Shift | Z | X | C | V | B | N | M | , | . | Fn2 | Shift | Fn0 | | | - |--------+---+---+---+---+---+---+---+---+---+-----+-------+----------+-------+---| - - |------+------+-------+------+------| - | LAlt | LGUI | Space | LGUI | RAlt | - |------+------+-------+------+------| - */ - - [LGUILEV] = LAYOUT( // Right GUI layer by KC_L - - LGUI(KC_ESC), LGUI(KC_1), LGUI(KC_2), LGUI(KC_3), LGUI(KC_4), LGUI(KC_5), LGUI(KC_6), LGUI(KC_7), LGUI(KC_8), LGUI(KC_9), LGUI(KC_0), LGUI(KC_MINS), LGUI(KC_EQL), LGUI(KC_BSLS), LGUI(KC_GRV), - LGUI(KC_TAB), LGUI(KC_Q), LGUI(KC_W), LGUI(KC_E), LGUI(KC_R), LGUI(KC_T), LGUI(KC_Y), LGUI(KC_U), LGUI(KC_I), LGUI(KC_O), LGUI(KC_P), LGUI(KC_LBRC), LGUI(KC_RBRC), LGUI(KC_BSPC), - LGUI(KC_LCTL), KC_TRNS, KC_TRNS, LGUI(KC_D), LGUI(KC_F), LGUI(KC_G), LGUI(KC_H), LGUI(KC_J), LGUI(KC_K), LGUI(KC_L), LGUI(KC_SCLN), LGUI(KC_QUOT), MT(MOD_RCTL, KC_ENT), - KC_LSFT, LGUI(KC_Z), LGUI(KC_X), LGUI(KC_C), LGUI(KC_V), LGUI(KC_B), LGUI(KC_N), LGUI(KC_M), LGUI(KC_COMM), LGUI(KC_DOT), LGUI(KC_SLSH), KC_RSFT, KC_TRNS, - KC_LALT, KC_LGUI, LGUI(KC_SPC), KC_LGUI, KC_RALT), - - /* Layer LALT: All keys with RALT modifier - |--------+---+---+---+---+---+---+---+---+---+-----+-------+----------+-------+---| - | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | \ | ` | - |--------+---+---+---+---+---+---+---+---+---+-----+-------+----------+-------+---| - | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | Backs | | - |--------+---+---+---+---+---+---+---+---+---+-----+-------+----------+-------+---| - | Contro | A | S | D | F | G | H | J | K | | ; | ' | RCtl/Ent | | | - |--------+---+---+---+---+---+---+---+---+---+-----+-------+----------+-------+---| - | Shift | Z | X | C | V | B | N | M | , | . | Fn2 | Shift | Fn0 | | | - |--------+---+---+---+---+---+---+---+---+---+-----+-------+----------+-------+---| - - |------+------+-------+------+------| - | LAlt | LGUI | Space | RGUI | RAlt | - |------+------+-------+------+------| - */ - - [RALTLEV] = LAYOUT( // Right ALT layer by KC_L - - RALT(KC_ESC), RALT(KC_1), RALT(KC_2), RALT(KC_3), RALT(KC_4), RALT(KC_5), RALT(KC_6), RALT(KC_7), RALT(KC_8), RALT(KC_9), RALT(KC_0), RALT(KC_MINS), RALT(KC_EQL), RALT(KC_BSLS), RALT(KC_GRV), - RALT(KC_TAB), RALT(KC_Q), RALT(KC_W), RALT(KC_E), RALT(KC_R), RALT(KC_T), RALT(KC_Y), RALT(KC_U), RALT(KC_I), RALT(KC_O), RALT(KC_P), RALT(KC_LBRC), RALT(KC_RBRC), RALT(KC_BSPC), - RALT(KC_LCTL), RALT(KC_A), RALT(KC_S), RALT(KC_D), RALT(KC_F), RALT(KC_G), RALT(KC_H), RALT(KC_J), RALT(KC_K), KC_TRNS, KC_TRNS, RALT(KC_QUOT), MT(MOD_RCTL, KC_ENT), - RALT(KC_LSFT), RALT(KC_Z), RALT(KC_X), RALT(KC_C), RALT(KC_V), RALT(KC_B), RALT(KC_N), RALT(KC_M), RALT(KC_COMM), RALT(KC_DOT), RALT(KC_SLSH), RALT(KC_RSFT), KC_TRNS, - KC_LALT, KC_LGUI, RALT(KC_SPC), KC_RGUI, KC_RALT), - - /* Layer LALT: All keys with LALT modifier - |--------+---+---+---+---+---+---+---+---+---+-----+-------+----------+-------+---| - | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | \ | ` | - |--------+---+---+---+---+---+---+---+---+---+-----+-------+----------+-------+---| - | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | Backs | | - |--------+---+---+---+---+---+---+---+---+---+-----+-------+----------+-------+---| - | Contro | A | S | D | F | G | H | J | K | | ; | ' | RCtl/Ent | | | - |--------+---+---+---+---+---+---+---+---+---+-----+-------+----------+-------+---| - | Shift | Z | X | C | V | B | N | M | , | . | Fn2 | Shift | Fn0 | | | - |--------+---+---+---+---+---+---+---+---+---+-----+-------+----------+-------+---| - - |------+------+-------+------+------| - | LAlt | LGUI | Space | LGUI | RAlt | - |------+------+-------+------+------| - */ - - [LALTLEV] = LAYOUT( // Right ALT layer by KC_L - - LALT(KC_ESC), LALT(KC_1), LALT(KC_2), LALT(KC_3), LALT(KC_4), LALT(KC_5), LALT(KC_6), LALT(KC_7), LALT(KC_8), LALT(KC_9), LALT(KC_0), LALT(KC_MINS), LALT(KC_EQL), LALT(KC_BSLS), LALT(KC_GRV), - LALT(KC_TAB), LALT(KC_Q), LALT(KC_W), LALT(KC_E), LALT(KC_R), LALT(KC_T), LALT(KC_Y), LALT(KC_U), LALT(KC_I), LALT(KC_O), LALT(KC_P), LALT(KC_LBRC), LALT(KC_RBRC), LALT(KC_BSPC), - LALT(KC_LCTL), KC_TRNS, KC_TRNS, LALT(KC_D), LALT(KC_F), LALT(KC_G), LALT(KC_H), LALT(KC_J), LALT(KC_K), LALT(KC_L), LALT(KC_SCLN), LALT(KC_QUOT), MT(MOD_RCTL, KC_ENT), - KC_LSFT, LALT(KC_Z), LALT(KC_X), LALT(KC_C), LALT(KC_V), LALT(KC_B), LALT(KC_N), LALT(KC_M), LALT(KC_COMM), LALT(KC_DOT), LALT(KC_SLSH), KC_RSFT, KC_TRNS, - KC_LALT, KC_LGUI, LALT(KC_SPC), KC_LGUI, KC_RALT), - - /* Layer WIN: Win layer - |--------+---+---+---+---+---+---+---+---+---+---+-------+----------+-------+---| - | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | \ | ` | - |--------+---+---+---+---+---+---+---+---+---+---+-------+----------+-------+---| - | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | Backs | | - |--------+---+---+---+---+---+---+---+---+---+---+-------+----------+-------+---| - | Contro | A | S | D | F | G | H | J | K | L | ; | ' | RCtl/Ent | | | - |--------+---+---+---+---+---+---+---+---+---+---+-------+----------+-------+---| - | Shift | Z | X | C | V | B | N | M | , | . | / | Shift | Fn0 | | | - |--------+---+---+---+---+---+---+---+---+---+---+-------+----------+-------+---| - - |------+------+-------+------+------| - | LGui | LAlt | Space | RGui | Ralt | - |------+------+-------+------+------| - */ - - [WIN] = LAYOUT( // BASE level with swapped GUI/ALT - - 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, LT(LGUILEV, KC_A), LT(LALTLEV, KC_S), KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, LT(RALTLEV, KC_L), LT(RGUILEV, KC_SCLN), KC_QUOT, MT(MOD_RCTL, 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(HHKB), - KC_RGUI, KC_RALT, KC_SPC, KC_RALT, KC_RGUI)}; diff --git a/keyboards/hhkb/ansi/keymaps/schaeferdev/README.md b/keyboards/hhkb/ansi/keymaps/schaeferdev/README.md deleted file mode 100644 index 15b87c498d3..00000000000 --- a/keyboards/hhkb/ansi/keymaps/schaeferdev/README.md +++ /dev/null @@ -1,36 +0,0 @@ - # QMK HHKB Keymap: schaeferdev - -This is my QMK keymap for the Happy Hacking Keyboard Pro 2 alternate controller made by Hasu. - - -## Movement Layer - -The main difference from the Default layer is the introduction of a Movement layer than can be used by holding the right command button. This layer enables to move the mouse and scroll using Page up and Page down. Additionally it allows to use Arrow-keys in VIM-like fashion on hjkl. - -I prefer this movement to the default HHKB FN layer as it allows all my fingers to remain on the home row. - -## Minor Changes - -- swapped Y and Z (as I am German and used to the different order). -- changed position of Delete Key -- both ` and ~ - - -## Setup (for macOS) -```bash -brew tap osx-cross/avr -brew install avr-gcc -brew install dfu-programmer -``` - - -## Flashing - -```bash -make clean -make hhkb:schaeferdev:dfu -``` - - -## Troubleshooting -For some reason I ran into the issue that my CMD key no longer recognized. I am not entirely sure what caused this but the problem occured regardless of the layout I flashed (was also broken for the default hhkb layout). I was able to fix this issue by resetting EEPROM of the keyboard. The easiest way to do this is probably to use the QMK Toolbox. diff --git a/keyboards/hhkb/ansi/keymaps/schaeferdev/config.h b/keyboards/hhkb/ansi/keymaps/schaeferdev/config.h deleted file mode 100644 index b3c799bb82a..00000000000 --- a/keyboards/hhkb/ansi/keymaps/schaeferdev/config.h +++ /dev/null @@ -1,9 +0,0 @@ -// Based off of this section: -// https://github.com/qmk/qmk_firmware/blob/master/doc/BUILD_GUIDE.md#the-configh-file -#pragma once - -// Define mousekey settings -#define MOUSEKEY_DELAY 0 -#define MOUSEKEY_INTERVAL 4 -#define MOUSEKEY_MAX_SPEED 1 -#define MOUSEKEY_TIME_TO_MAX 70 \ No newline at end of file diff --git a/keyboards/hhkb/ansi/keymaps/schaeferdev/keymap.c b/keyboards/hhkb/ansi/keymaps/schaeferdev/keymap.c deleted file mode 100644 index d1f56e0362c..00000000000 --- a/keyboards/hhkb/ansi/keymaps/schaeferdev/keymap.c +++ /dev/null @@ -1,76 +0,0 @@ -/* -*- eval: (turn-on-orgtbl); -*- - * default HHKB Layout - */ -#include QMK_KEYBOARD_H - -#define BASE 0 -#define HHKB 1 -#define MOVEMENT 2 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - /* BASE Level: Default Layer - |--------+---+---+---+---+---+---+---+---+---+---+-------+-----+-------+-----| - | ESC | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | Backs |Backs| - |--------+---+---+---+---+---+---+---+---+---+---+-------+-----+-------+-----| - | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | | - |--------+---+---+---+---+---+---+---+---+---+---+-------+-----+-------+-----| - |Ctrl/ESC| A | S | D | F | G | H | J | K | L | ; | ' | Ent | | | - |--------+---+---+---+---+---+---+---+---+---+---+-------+-----+-------+-----| - | Shift | Z | X | C | V | B | N | M | , | . | / | Shift | Fn0 | | | - |--------+---+---+---+---+---+---+---+---+---+---+-------+-----+-------+-----| - |------+------+-----------------------+------+------| - | LAlt | LGUI | ******* Space ******* | MOUSE| RAlt | - |------+------+-----------------------+------+------| - */ - - [BASE] = LAYOUT( // default 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_BSPC, - 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, - 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_Y, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(HHKB), - KC_LALT, KC_LCMD, /* */ KC_SPC, /* */ MO(MOVEMENT), KC_RALT), - - /* Layer HHKB: HHKB mode (HHKB Fn) - |------+-----+-----+-----+----+----+----+----+-----+-----+-----+-----+-------+-------+-----| - | Pwr | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | DEL | DEL | - |------+-----+-----+-----+----+----+----+----+-----+-----+-----+-----+-------+-------+-----| - | Caps | | | | | | | | Psc | Slk | Pus | Up | | Backs | | - |------+-----+-----+-----+----+----+----+----+-----+-----+-----+-----+-------+-------+-----| - | | VoD | VoU | Mut | | | * | / | Hom | PgU | Lef | Rig | Enter | | | - |------+-----+-----+-----+----+----+----+----+-----+-----+-----+-----+-------+-------+-----| - | | | | | | | + | - | End | PgD | Dow | | | | | - |------+-----+-----+-----+----+----+----+----+-----+-----+-----+-----+-------+-------+-----| - |------+------+----------------------+------+------+ - | **** | **** | ******************** | **** | **** | - |------+------+----------------------+------+------+ - */ - - [HHKB] = LAYOUT( - KC_PWR, 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_DEL, - KC_CAPS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, KC_SCRL, KC_PAUS, KC_UP, KC_TRNS, KC_BSPC, - KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_TRNS, KC_TRNS, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_PENT, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), - - /* Layer MOUSE: MOUSE mode (MOUSE Fn) - |------+-----+-----+-----+----+----+--------+----------------+--------------+-----------+-------------+-----+-------+-------+-----| - | `~ |ACC1 |ACC2 |ACC3 | | | | | | | | | | DEL | DEL | - |------+-----+-----+-----+----+----+--------+----------------+--------------+-----------+-------------+-----+-------+-------+-----| - | |MBTN2| | up | | PgU| | | | | | | | | | - |------+-----+-----+-----+----+----+--------+----------------+--------------+-----------+-------------+-----+-------+-------+-----| - | |MBTN1|right|down |left| PgD| <- | down arrow | up arrow | -> | | | | | | - |------+-----+-----+-----+----+----+--------+----------------+--------------+-----------+-------------+-----+-------+-------+-----| - | |MBTN3| | | | | | ~ (N) | | | | | | | | - |------+-----+-----+-----+----+----+--------+----------------+--------------+-----------+-------------+-----+-------+-------+-----| - |------+------+----------------------+------+------+ - | **** | **** | ******************** | **** | **** | - |------+------+----------------------+------+------+ - */ - - [MOVEMENT] = LAYOUT( - KC_GRV, KC_ACL0, KC_ACL1, KC_ACL2, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_BTN2, KC_TRNS, KC_MS_U, KC_TRNS, KC_PGUP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_BTN1, KC_MS_L, KC_MS_D, KC_MS_R, KC_PGDN, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_BTN3, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TILD, KC_TRNS, KC_TRNS, 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/hhkb/ansi/keymaps/schaeferdev/rules.mk b/keyboards/hhkb/ansi/keymaps/schaeferdev/rules.mk deleted file mode 100644 index 35591533cc6..00000000000 --- a/keyboards/hhkb/ansi/keymaps/schaeferdev/rules.mk +++ /dev/null @@ -1 +0,0 @@ -MOUSEKEY_ENABLE = yes \ No newline at end of file diff --git a/keyboards/hhkb/ansi/keymaps/shela/action_pseudo.c b/keyboards/hhkb/ansi/keymaps/shela/action_pseudo.c deleted file mode 100644 index 9c2b6e8ca52..00000000000 --- a/keyboards/hhkb/ansi/keymaps/shela/action_pseudo.c +++ /dev/null @@ -1,149 +0,0 @@ -/* Copyright 2020 shela - * - * 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 "quantum.h" -#include "command.h" -#include "action_pseudo.h" - -static uint8_t send_key_shift_bit[SHIFT_BIT_SIZE]; - -/* - * Action Pseudo Process. - * Gets the keycode in the same position of the specified layer. - * The keycode is sent after conversion according to the conversion keymap. - */ -void action_pseudo_process(keyrecord_t *record, uint8_t base_layer, const uint16_t (*keymap)[2]) { - uint8_t prev_shift; - uint16_t keycode; - uint16_t pseudo_keycode; - - /* Get keycode from specified layer */ - keycode = keymap_key_to_keycode(base_layer, record->event.key); - - prev_shift = get_mods() & MOD_MASK_SHIFT; - - if (record->event.pressed) { - /* If magic commands entered, keycode is not converted */ - if (IS_COMMAND()) { - if (prev_shift) { - add_shift_bit(keycode); - } - register_code(keycode); - return; - } - - if (prev_shift) { - pseudo_keycode = convert_keycode(keymap, keycode, true); - dprintf("pressed: %02X, converted: %04X\n", keycode, pseudo_keycode); - add_shift_bit(keycode); - - if (IS_LSFT(pseudo_keycode)) { - register_code(QK_LSFT ^ pseudo_keycode); - } else { - /* Delete shift mod temporarily */ - unregister_mods(prev_shift); - register_code(pseudo_keycode); - register_mods(prev_shift); - } - } else { - pseudo_keycode = convert_keycode(keymap, keycode, false); - dprintf("pressed: %02X, converted: %04X\n", keycode, pseudo_keycode); - - if (IS_LSFT(pseudo_keycode)) { - register_weak_mods(MOD_LSFT); - register_code(QK_LSFT ^ pseudo_keycode); - /* Prevent key repeat to avoid unintended output on Windows */ - unregister_code(QK_LSFT ^ pseudo_keycode); - unregister_weak_mods(MOD_LSFT); - } else { - register_code(pseudo_keycode); - } - } - } else { - if (get_shift_bit(keycode)) { - del_shift_bit(keycode); - pseudo_keycode = convert_keycode(keymap, keycode, true); - } else { - pseudo_keycode = convert_keycode(keymap, keycode, false); - } - dprintf("released: %02X, converted: %04X\n", keycode, pseudo_keycode); - - if (IS_LSFT(pseudo_keycode)) { - unregister_code(QK_LSFT ^ pseudo_keycode); - } else { - unregister_code(pseudo_keycode); - } - } -} - -/* Convert keycode according to the keymap */ -uint16_t convert_keycode(const uint16_t (*keymap)[2], uint16_t keycode, bool shift_modded) { - uint16_t pseudo_keycode = 0x00; /* default value */ - - switch (keycode) { - case KC_A ... KC_CAPS_LOCK: -#if defined(__AVR__) - if (shift_modded) { - pseudo_keycode = pgm_read_word(&keymap[keycode][1]); - } else { - pseudo_keycode = pgm_read_word(&keymap[keycode][0]); - } -#else - if (shift_modded) { - pseudo_keycode = keymap[keycode][1]; - } else { - pseudo_keycode = keymap[keycode][0]; - } -#endif - break; - } - - /* If pseudo keycode is the default value, use the keycode as it is */ - if (pseudo_keycode == 0x00) { - if (shift_modded) { - pseudo_keycode = S(keycode); - } else { - pseudo_keycode = keycode; - } - } - - return pseudo_keycode; -} - -uint8_t get_shift_bit(uint16_t keycode) { - if ((keycode >> 3) < SHIFT_BIT_SIZE) { - return send_key_shift_bit[keycode >> 3] & (1 << (keycode & 7)); - } else { - dprintf("get_shift_bit: Can't get shift bit. keycode: %02X\n", keycode); - return 0; - } -} - -void add_shift_bit(uint16_t keycode) { - if ((keycode >> 3) < SHIFT_BIT_SIZE) { - send_key_shift_bit[keycode >> 3] |= (1 << (keycode & 7)); - } else { - dprintf("add_shift_bit: Can't add shift bit. keycode: %02X\n", keycode); - } -} - -void del_shift_bit(uint16_t keycode) { - if ((keycode >> 3) < SHIFT_BIT_SIZE) { - send_key_shift_bit[keycode >> 3] &= ~(1 << (keycode & 7)); - } else { - dprintf("del_shift_bit: Can't delete shift bit. keycode: %02X\n", keycode); - } -} diff --git a/keyboards/hhkb/ansi/keymaps/shela/action_pseudo.h b/keyboards/hhkb/ansi/keymaps/shela/action_pseudo.h deleted file mode 100644 index 7c3d38fa07a..00000000000 --- a/keyboards/hhkb/ansi/keymaps/shela/action_pseudo.h +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright 2020 shela - * - * 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 SHIFT_BIT_SIZE (0xE7 / 8 + 1) /* 1bit per 1key */ -#define IS_LSFT(kc) ((QK_LSFT & (kc)) == QK_LSFT) - -void action_pseudo_process(keyrecord_t *, uint8_t, const uint16_t (*)[2]); -uint16_t convert_keycode(const uint16_t (*)[2], uint16_t, bool); - -uint8_t get_shift_bit(uint16_t); -void add_shift_bit(uint16_t); -void del_shift_bit(uint16_t); diff --git a/keyboards/hhkb/ansi/keymaps/shela/config.h b/keyboards/hhkb/ansi/keymaps/shela/config.h deleted file mode 100644 index db66659165b..00000000000 --- a/keyboards/hhkb/ansi/keymaps/shela/config.h +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright 2020 shela - * - * 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 - -/* USB Device descriptor parameter */ -#undef VENDOR_ID -#define VENDOR_ID 0x0853 -#undef PRODUCT_ID -#define PRODUCT_ID 0x0100 -#undef DEVICE_VER -#define DEVICE_VER 0x0102 -#undef MANUFACTURER -#define MANUFACTURER "Topre Corporation" -#undef PRODUCT -#define PRODUCT "HHKB Professional" - -#undef TAPPING_TERM -#define TAPPING_TERM 210 -#define SPFN_TAPPING_TERM 190 /* SpaceFN tapping term */ - -#define ONESHOT_TAP_TOGGLE 3 -#define ONESHOT_TIMEOUT 2000 diff --git a/keyboards/hhkb/ansi/keymaps/shela/keymap.c b/keyboards/hhkb/ansi/keymaps/shela/keymap.c deleted file mode 100644 index 922ec02c416..00000000000 --- a/keyboards/hhkb/ansi/keymaps/shela/keymap.c +++ /dev/null @@ -1,443 +0,0 @@ -/* Copyright 2020 shela - * - * 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_jis2us.h" -#include "action_pseudo.h" - -// clang-format off -enum keyboard_layers { - _QWERTY = 0, - _DVORAK, - _COLEMAK, - _PSEUDO, - _TENKEY, - _MOUSE, - _HHKB, - _SPACE_FN -}; - -enum custom_keycodes { - QWERTY = SAFE_RANGE, - DVORAK, - COLEMAK, - PSEUDO, - TENKEY, - MOUSE, - L_INNER, - R_INNER, - L_OUTER, - R_OUTER, - PSE_FN, - MACMODE, - DYNAMIC_MACRO_RANGE -}; -// clang-format on - -/* Additional custom keycodes */ -#define MO_HHKB MO(_HHKB) -#define LT_SPFN LT(_SPACE_FN, KC_SPC) -#define DM_STA1 DM_REC1 -#define DM_PLY1 DM_PLY1 - -/* User settings structure for the EEPROM */ -typedef union { - uint32_t raw; - struct { - uint8_t base_layer : 8; - bool mac_mode : 1; - }; -} user_config_t; - -user_config_t user_config; -static uint8_t base_layer = _QWERTY; -static bool mac_mode = false; -static bool l_long_pressed = false; -static bool l_pressed = false; -static uint16_t l_time = 0; -static bool r_long_pressed = false; -static bool r_pressed = false; -static uint16_t r_time = 0; - -static uint16_t l_inner = KC_NO; -static uint16_t l_outer = KC_NO; -static uint16_t r_inner = KC_NO; -static uint16_t r_outer = KC_NO; - -// clang-format off -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Qwerty Layer - * ,-----------------------------------------------------------------------------------------. - * | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | ` | BS | - * |-----------------------------------------------------------------------------------------| - * | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | - * |-----------------------------------------------------------------------------------------| - * | LControl | A | S | D | F | G | H | J | K | L | ; | ' | Enter | - * |-----------------------------------------------------------------------------------------| - * | LShift | Z | X | C | V | B | N | M | , | . | / | RShift |HHKB | - * `-----------------------------------------------------------------------------------------' - * |LOutr| LInner | SpaceFN | RInner |ROutr| - * `-----------------------------------------------------------------' - */ - [_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_GRV, 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_HHKB, - L_OUTER, L_INNER, LT_SPFN, R_INNER, R_OUTER - ), - - /* Dvorak Layer - * ,-----------------------------------------------------------------------------------------. - * | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | [ | ] | ` | BS | - * |-----------------------------------------------------------------------------------------| - * | Tab | ' | , | . | P | Y | F | G | C | R | L | / | = | \ | - * |-----------------------------------------------------------------------------------------| - * | LControl | A | O | E | U | I | D | H | T | N | S | - | Enter | - * |-----------------------------------------------------------------------------------------| - * | LShift | ; | Q | J | K | X | B | M | W | V | Z | RShift |HHKB | - * `-----------------------------------------------------------------------------------------' - * |LOutr| LInner | SpaceFN | RInner |ROutr| - * `-----------------------------------------------------------------' - */ - [_DVORAK] = LAYOUT( - 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_BSPC, - 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_BSLS, - KC_LCTL, 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_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_RSFT, MO_HHKB, - L_OUTER, L_INNER, LT_SPFN, R_INNER, R_OUTER - ), - - /* Colemak Layer - * ,-----------------------------------------------------------------------------------------. - * | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | ` | BS | - * |-----------------------------------------------------------------------------------------| - * | Tab | Q | W | F | P | G | J | L | U | Y | ; | [ | ] | \ | - * |-----------------------------------------------------------------------------------------| - * | LControl | A | R | S | T | D | H | N | E | I | O | ' | Enter | - * |-----------------------------------------------------------------------------------------| - * | LShift | Z | X | C | V | B | K | M | , | . | / | RShift |HHKB | - * `-----------------------------------------------------------------------------------------' - * |LOutr| LInner | SpaceFN | RInner |ROutr| - * `-----------------------------------------------------------------' - */ - [_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_GRV, KC_BSPC, - 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_LCTL, 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_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO_HHKB, - L_OUTER, L_INNER, LT_SPFN, R_INNER, R_OUTER - ), - - /* Pseudo Layer - * ,-----------------------------------------------------------------------------------------. - * | Esc |PseFn|PseFn|PseFn|PseFn|PseFn|PseFn|PseFn|PseFn|PseFn|PseFn|PseFn|PseFn|PseFn| BS | - * |-----------------------------------------------------------------------------------------| - * | Tab |PseFn|PseFn|PseFn|PseFn|PseFn|PseFn|PseFn|PseFn|PseFn|PseFn|PseFn|PseFn| PseFn | - * |-----------------------------------------------------------------------------------------| - * | Control |PseFn|PseFn|PseFn|PseFn|PseFn|PseFn|PseFn|PseFn|PseFn|PseFn|PseFn| Enter | - * |-----------------------------------------------------------------------------------------| - * | Shift |PseFn|PseFn|PseFn|PseFn|PseFn|PseFn|PseFn|PseFn|PseFn|PseFn| Shift |HHKB | - * `-----------------------------------------------------------------------------------------' - * |LOutr| LInner | SpaceFN | RInner |ROutr| - * `-----------------------------------------------------------------' - */ - [_PSEUDO] = LAYOUT( - KC_ESC, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, KC_BSPC, - KC_TAB, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, - KC_LCTL, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, KC_ENT, - KC_LSFT, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, PSE_FN, KC_RSFT, MO_HHKB, - L_OUTER, L_INNER, LT_SPFN, R_INNER, R_OUTER - ), - - /* Tenkey layer - * ,-----------------------------------------------------------------------------------------. - * | Esc | | | | | | | | | | / | * | - | | BS | - * |-----------------------------------------------------------------------------------------| - * | Tab | | | | | | | | | 7 | 8 | 9 | + | | - * |-----------------------------------------------------------------------------------------| - * | LControl | | | | | | | | | 4 | 5 | 6 | Enter | - * |-----------------------------------------------------------------------------------------| - * | LShift | | | | | | | | 1 | 2 | 3 | + |HHKB | - * `-----------------------------------------------------------------------------------------' - * |LOutr| LInner | SpaceFN | 0 | . | - * `-----------------------------------------------------------------' - */ - [_TENKEY] = LAYOUT( - KC_ESC, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_PSLS, KC_PAST, KC_PMNS, XXXXXXX, KC_BSPC, - KC_TAB, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_P7, KC_P8, KC_P9, KC_PPLS, XXXXXXX, - KC_LCTL, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_P4, KC_P5, KC_P6, KC_PENT, - KC_LSFT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_P1, KC_P2, KC_P3, KC_PPLS, MO_HHKB, - L_OUTER, L_INNER, LT_SPFN, KC_P0, KC_PDOT - ), - - /* Mouse layer - * ,-----------------------------------------------------------------------------------------. - * | Esc | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | BS | - * |-----------------------------------------------------------------------------------------| - * | Tab | | | | | | WhL | WhD | WhU | WhR | | | | | - * |-----------------------------------------------------------------------------------------| - * | LControl | | | | | | MsL | MsD | MsU | MsR | | | Enter | - * |-----------------------------------------------------------------------------------------| - * | LShift | | | | | | Mb1 | Mb2 | Mb3 | | | RShift |HHKB | - * `-----------------------------------------------------------------------------------------' - * |LOutr| LInner | Mb1 | RInner |ROutr| - * `-----------------------------------------------------------------' - */ - [_MOUSE] = 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, XXXXXXX, KC_BSPC, - KC_TAB, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_WH_L, KC_WH_D, KC_WH_U, KC_WH_R, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - KC_LCTL, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, XXXXXXX, XXXXXXX, KC_ENT, - KC_LSFT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_BTN1, KC_BTN2, KC_BTN3, XXXXXXX, XXXXXXX, KC_RSFT, MO_HHKB, - L_OUTER, L_INNER, KC_BTN1, R_INNER, R_OUTER - ), - - /* HHKB Layer - * ,-----------------------------------------------------------------------------------------. - * |Power| F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | Ins | Del | - * |-----------------------------------------------------------------------------------------| - * | Caps |Qwert|Dvork|Colmk|Psedo|Tenky|Mouse| |PScr |SLck |Paus | Up | | Clear | - * |-----------------------------------------------------------------------------------------| - * | |VolD |VolU |Mute |Ejct | | * | / |Home |PgUp |Left |Rght | Enter | - * |-----------------------------------------------------------------------------------------| - * | |Sta1 |Ply1 | | Mac | | + | - | End |PgDn |Down | | | - * `-----------------------------------------------------------------------------------------' - * | | | Space | | | - * `-----------------------------------------------------------------' - */ - [_HHKB] = LAYOUT( - KC_PWR, 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_CAPS, QWERTY, DVORAK, COLEMAK, PSEUDO, TENKEY, MOUSE, XXXXXXX, KC_PSCR, KC_SCRL, KC_PAUS, KC_UP, XXXXXXX, KC_NUM, - _______, KC_VOLD, KC_VOLU, KC_MUTE, KC_EJCT, XXXXXXX, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_PENT, - _______, DM_STA1, DM_PLY1, XXXXXXX, MACMODE, XXXXXXX, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, _______, _______, - _______, _______, KC_SPC, _______, _______ - ), - - /* SpaceFN Layer - * ,-----------------------------------------------------------------------------------------. - * | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | Del | - * |-----------------------------------------------------------------------------------------| - * | |Home | Up | End | | | |Home | End | |PScr |SLck |Paus | Ins | - * |-----------------------------------------------------------------------------------------| - * | |Left |Down |Rght |PgUp | |Left |Down | Up |Rght | | | | - * |-----------------------------------------------------------------------------------------| - * | | | |PgDn | | Spc | |PgDn |PgUp | | | | | - * `-----------------------------------------------------------------------------------------' - * | | | | | | - * `-----------------------------------------------------------------' - */ - [_SPACE_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, XXXXXXX, KC_DEL, - _______, KC_HOME, KC_UP, KC_END, XXXXXXX, XXXXXXX, XXXXXXX, KC_HOME, KC_END, XXXXXXX, KC_PSCR, KC_SCRL, KC_PAUS, KC_INS, - _______, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGUP, XXXXXXX, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, XXXXXXX, XXXXXXX, _______, - _______, XXXXXXX, XXXXXXX, KC_PGDN, XXXXXXX, KC_SPC, XXXXXXX, KC_PGDN, KC_PGUP, XXXXXXX, XXXXXXX, _______, XXXXXXX, - _______, _______, _______, _______, _______ - ), -}; -// clang-format on - -void set_mac_mode_keys(bool mac_mode) { - if (mac_mode) { - l_inner = KC_LCMD; - l_outer = KC_LOPT; - r_inner = KC_RCMD; - r_outer = KC_ROPT; - } else { - l_inner = KC_LALT; - l_outer = KC_LGUI; - r_inner = KC_RALT; - r_outer = KC_RGUI; - } -} - -void keyboard_post_init_user(void) { - user_config.raw = eeconfig_read_user(); - mac_mode = user_config.mac_mode; - base_layer = user_config.base_layer; - set_mac_mode_keys(mac_mode); -} - -/* Set default values for the EEPROM */ -void eeconfig_init_user(void) { - user_config.raw = 0; - user_config.base_layer = _QWERTY; - user_config.mac_mode = false; - eeconfig_update_user(user_config.raw); - base_layer = _QWERTY; - mac_mode = false; - set_mac_mode_keys(mac_mode); -} - -void persistent_default_layer_set(uint8_t layer) { - set_single_persistent_default_layer(layer); - user_config.base_layer = layer; - eeconfig_update_user(user_config.raw); - base_layer = layer; -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case QWERTY: - if (record->event.pressed) { - persistent_default_layer_set(_QWERTY); - } - return false; - case DVORAK: - if (record->event.pressed) { - persistent_default_layer_set(_DVORAK); - } - return false; - case COLEMAK: - if (record->event.pressed) { - persistent_default_layer_set(_COLEMAK); - } - return false; - case PSEUDO: - if (record->event.pressed) { - if (l_pressed && !l_long_pressed) { - register_code(l_inner); - l_long_pressed = true; - } - if (r_pressed && !r_long_pressed) { - register_code(r_inner); - r_long_pressed = true; - } - // set_single_persistent_default_layer(_PSEUDO); - } - return false; - case TENKEY: - if (record->event.pressed) { - default_layer_set(1U << _TENKEY); - } - return false; - case MOUSE: - if (record->event.pressed) { - default_layer_set(1U << _MOUSE); - } - return false; - case L_INNER: - if (record->event.pressed) { - l_pressed = true; - l_time = record->event.time; - } else { - if (l_pressed) { - if (l_long_pressed) { - unregister_code(l_inner); - l_long_pressed = false; - } else { - if (TIMER_DIFF_16(record->event.time, l_time) < TAPPING_TERM) { - if (mac_mode) { - register_code(KC_LNG2); - unregister_code(KC_LNG2); - } else { - register_code(KC_INT5); - unregister_code(KC_INT5); - } - } else { - register_code(l_inner); - unregister_code(l_inner); - } - } - l_pressed = false; - } - } - return false; - case R_INNER: - if (record->event.pressed) { - r_pressed = true; - r_time = record->event.time; - } else { - if (r_pressed) { - if (r_long_pressed) { - unregister_code(r_inner); - r_long_pressed = false; - } else { - if (TIMER_DIFF_16(record->event.time, r_time) < TAPPING_TERM) { - if (mac_mode) { - register_code(KC_LNG1); - unregister_code(KC_LNG1); - } else { - register_code(KC_INT2); - unregister_code(KC_INT2); - } - } else { - register_code(r_inner); - unregister_code(r_inner); - } - } - r_pressed = false; - } - } - return false; - case L_OUTER: - if (record->event.pressed) { - register_code(l_outer); - } else { - unregister_code(l_outer); - } - return false; - case R_OUTER: - if (record->event.pressed) { - register_code(r_outer); - } else { - unregister_code(r_outer); - } - return false; - case MACMODE: - if (record->event.pressed) { - /* Toggle Mac mode value */ - mac_mode = !mac_mode; - user_config.mac_mode = mac_mode; - eeconfig_update_user(user_config.raw); - set_mac_mode_keys(mac_mode); - } - return false; - case PSE_FN: - if (record->event.pressed) { - if (l_pressed && !l_long_pressed) { - register_code(l_inner); - l_long_pressed = true; - } - if (r_pressed && !r_long_pressed) { - register_code(r_inner); - r_long_pressed = true; - } - } - action_pseudo_process(record, base_layer, keymap_jis2us); - return false; - default: - if (record->event.pressed) { - if (l_pressed && !l_long_pressed) { - register_code(l_inner); - l_long_pressed = true; - } - if (r_pressed && !r_long_pressed) { - register_code(r_inner); - r_long_pressed = true; - } - } - } - return true; -} - -uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case LT_SPFN: - return SPFN_TAPPING_TERM; - default: - return TAPPING_TERM; - } -} diff --git a/keyboards/hhkb/ansi/keymaps/shela/keymap_jis2us.h b/keyboards/hhkb/ansi/keymaps/shela/keymap_jis2us.h deleted file mode 100644 index 163ae84fb40..00000000000 --- a/keyboards/hhkb/ansi/keymaps/shela/keymap_jis2us.h +++ /dev/null @@ -1,49 +0,0 @@ -/* Copyright 2020 shela - * - * 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 "keymap_japanese.h" - -// clang-format off -/* Keymap for converting JIS to US */ -const uint16_t PROGMEM keymap_jis2us[][2] = { - [KC_A ... KC_CAPS] = { 0x00, 0x00 }, /* default value */ - - [KC_1] = { KC_1, JP_EXLM }, /* 1 and ! -> 1 and ! */ - [KC_2] = { KC_2, JP_AT }, /* 2 and " -> 2 and @ */ - [KC_3] = { KC_3, JP_HASH }, /* 3 and # -> 3 and # */ - [KC_4] = { KC_4, JP_DLR }, /* 4 and $ -> 4 and $ */ - [KC_5] = { KC_5, JP_PERC }, /* 5 and % -> 5 and % */ - [KC_6] = { KC_6, JP_CIRC }, /* 6 and & -> 6 and ^ */ - [KC_7] = { KC_7, JP_AMPR }, /* 7 and ' -> 7 and & */ - [KC_8] = { KC_8, JP_ASTR }, /* 8 and ( -> 8 and * */ - [KC_9] = { KC_9, JP_LPRN }, /* 9 and ) -> 9 and ( */ - [KC_0] = { KC_0, JP_RPRN }, /* 0 -> 0 and ) */ - [KC_MINS] = { JP_MINS, JP_UNDS }, /* - and = -> - and _ */ - [KC_EQL] = { JP_EQL, JP_PLUS }, /* ^ and ~ -> = and + */ - [KC_LBRC] = { JP_LBRC, JP_LCBR }, /* @ and ` -> [ and { */ - [KC_RBRC] = { JP_RBRC, JP_RCBR }, /* [ and { -> ] and } */ - [KC_BSLS] = { JP_YEN, JP_PIPE }, /* ] and } -> \ and | */ - [KC_NUHS] = { JP_YEN, JP_PIPE }, /* ] and } -> \ and | */ - [KC_SCLN] = { JP_SCLN, JP_COLN }, /* ; and + -> ; and : */ - [KC_QUOT] = { JP_QUOT, JP_DQUO }, /* : and * -> ' and " */ - [KC_GRV] = { JP_GRV, JP_TILD }, /* Han/Zen -> ` and ~ */ - [KC_COMM] = { JP_COMM, JP_LABK }, /* , and < -> , and < */ - [KC_DOT] = { JP_DOT, JP_RABK }, /* . and > -> . and > */ - [KC_SLSH] = { JP_SLSH, JP_QUES }, /* / and ? -> / and ? */ -}; -// clang-format on diff --git a/keyboards/hhkb/ansi/keymaps/shela/readme.md b/keyboards/hhkb/ansi/keymaps/shela/readme.md deleted file mode 100644 index 36e15c2c483..00000000000 --- a/keyboards/hhkb/ansi/keymaps/shela/readme.md +++ /dev/null @@ -1,68 +0,0 @@ -# Shela's keymap for HHKB Pro 2 US Layout with Alternate Controller - -## Layers - -Layer 1: Qwerty Layer -Layer 2: Dvorak Layer -Layer 3: Colemak Layer -Layer 4: Pseudo US Layer -Layer 5: Tenkey Layer -Layer 6: Mouse Layer -Layer 7: HHKB Fn Layer -Layer 8: SpaceFN Layer - -### Qwerty/Dvorak/Colemak Layer - -Basic keymap layer for each keyboard layout. - -### Pseudo US Layer - -A layer that can be used with the same physical layout as the previously activated basic (Qwerty/Dvorak/Colemak) keymap layer, with the keyboard still configured as a Japanese keyboard on the OS. - -This is useful when using virtual environments and remote desktops, because you can use Japanese Windows with the same keyboard without changing the OS keyboard settings. Also, when using the keyboard as a US keyboard on Windows OS, all keys existing only on Japanese keyboards are ignored and it is not possible to assign these keys to the desired function of any application. You can avoid such problems. - -### Tenkey/Mouse Layer - -Tenkey (numeric keypad) and mouse layers. For the Tenkey to work, Numlock must be turned on in the OS. - -### HHKB Fn Layer - -A layer that is equivalent to Fn key of Happy Hacking Keyboard. There are also some layer switching keys and special function keys. - -### SpaceFN Layer - -Customized [SpaceFN](https://geekhack.org/index.php?topic=51069.0) layer. There are left-hand and right-hand Arrows/Home/End/PageUp/PageDown keys. Frequently used keys in HHKB Fn layer are configured to this layer and can be used as an alternative layer to the HHKB Fn layer. - -## Special function keycodes - -### Pseudo US keycode - -A special keycode that implements Pseudo US Layout. - -### Mac mode keycode - -A special keycode that toggles Mac mode. When Mac mode is enabled, the keymap of the Left Inner/Outer and Right Inner/Outer keys are changed for macOS. See _Left Inner/Outer, Right Inner/Outer keys_ for details. - -### Left Inner/Outer, Right Inner/Outer keycodes - -If you tap a Mod-Tap key and another key within the time specified by TAPPING_TERM, QMK interprets these keys as if they were pressed at the same time even if they were not pressed simultaneously. Therefore, for fast typists, Mod-Tap can accidentally send a keycode with modifier. These special keycodes allow you to work around this issue and change the keymap in Mac mode. - -These keys work as follows: - -Mac mode: Disabled - -| Key | Keycode | Tap | Hold | -| ----------- | ------- | ------- | ------- | -| Left Inner | L_INNER | KC_INT5 | KC_LALT | -| Left Outer | L_OUTER | KC_LGUI | KC_LGUI | -| Right Inner | R_INNER | KC_INT2 | KC_RALT | -| Right Outer | R_OUTER | KC_RGUI | KC_RGUI | - -Mac mode: Enabled - -| Key | Keycode | Tap | Hold | -| ----------- | ------- | ------- | ------- | -| Left Inner | L_INNER | KC_LNG2 | KC_LCMD | -| Left Outer | L_OUTER | KC_LOPT | KC_LOPT | -| Right Inner | R_INNER | KC_LNG1 | KC_RCMD | -| Right Outer | R_OUTER | KC_ROPT | KC_ROPT | diff --git a/keyboards/hhkb/ansi/keymaps/shela/rules.mk b/keyboards/hhkb/ansi/keymaps/shela/rules.mk deleted file mode 100644 index 84f6395a485..00000000000 --- a/keyboards/hhkb/ansi/keymaps/shela/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -DYNAMIC_MACRO_ENABLE = yes - -SRC += action_pseudo.c diff --git a/keyboards/hhkb/ansi/keymaps/tobiasvl_iso/keymap.c b/keyboards/hhkb/ansi/keymaps/tobiasvl_iso/keymap.c deleted file mode 100644 index 4f0451f7a9e..00000000000 --- a/keyboards/hhkb/ansi/keymaps/tobiasvl_iso/keymap.c +++ /dev/null @@ -1,20 +0,0 @@ -#include QMK_KEYBOARD_H - -#define SPACE_FN LT(1, KC_SPC) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [0] = LAYOUT( // default layer - 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_RBRC, 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_NUHS, 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, KC_NUBS, - KC_LALT, KC_LGUI, SPACE_FN, KC_RGUI, KC_RALT), - - [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_INS, KC_DEL, - KC_CAPS, KC_PGUP, KC_UP, KC_PGDN, _______, _______, _______, _______, _______, _______, _______, KC_HOME, _______, _______, - _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______, _______, _______, _______, _______, _______, KC_END, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______) -}; diff --git a/keyboards/hhkb/ansi/keymaps/tobiasvl_iso/readme.md b/keyboards/hhkb/ansi/keymaps/tobiasvl_iso/readme.md deleted file mode 100644 index 0da9d96ee4b..00000000000 --- a/keyboards/hhkb/ansi/keymaps/tobiasvl_iso/readme.md +++ /dev/null @@ -1,22 +0,0 @@ -# tobiasvl's ISO layout for HHKB - -This is my attempt to adapt my regular 60% Norwegian ISO layout to the physical HHKB layout, on the Happy Hacking Keyboard Pro 2 keyboard with the alternate QMK-compatible Hasu controller. - -## Base layer - -![HHKB ISO](https://i.imgur.com/8n4Kixw.png) - -The following changes have been made from standard HHKB: - -* The ] and \ keys are swapped so they're in the ISO locations, but a row higher. Whether or not this is a good idea depends heavily on what specific language layout you're using, but it makes sense for Norwegian, I think. -* The Fn key is replaced with the ISO key (ie. "non-US backslash"). It's gotta go somewhere! -* The spacebar doubles as space when tapped and Fn when held (ie. SpaceFN). This is a personal preference, but my second and more traditional choice would probably be to replace right GUI/Super with Fn. -* Grave Escape has been added (shift + Esc produces ~). - -## Function layer - -This is just how I personally prefer to set up my function layer, and doesn't have anything to do with ISO. You probably want to swap out this wholesale for your own function layer. - -* Navigation is moved: Arrow keys on WASD, Page Up and Page Down on QE, Home and End on the right (I have them to the left of the vertical Enter on ISO layouts). -* Grave Escape has been added (Fn + Esc produces \`). -* No media keys or anything. I don't use them. diff --git a/keyboards/hhkb/jp/keymaps/bakingpy/keymap.c b/keyboards/hhkb/jp/keymaps/bakingpy/keymap.c deleted file mode 100644 index cfcd5714058..00000000000 --- a/keyboards/hhkb/jp/keymaps/bakingpy/keymap.c +++ /dev/null @@ -1,16 +0,0 @@ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_jp( - 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_DEL, 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_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_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_BSLS, - MO(1), KC_GRV, KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_BSPC, KC_RGUI, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT), - - [1] = LAYOUT_jp( - KC_PWR, 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_CAPS, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, KC_UP, _______, - _______, KC_VOLD, KC_VOLU, KC_MUTE, KC_PWR, _______, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, _______, KC_PENT, - _______, _______, _______, _______, _______, _______, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, _______, _______)}; diff --git a/keyboards/hhkb/jp/keymaps/bakingpy/rules.mk b/keyboards/hhkb/jp/keymaps/bakingpy/rules.mk deleted file mode 100644 index a7f700f019c..00000000000 --- a/keyboards/hhkb/jp/keymaps/bakingpy/rules.mk +++ /dev/null @@ -1 +0,0 @@ -OPT_DEFS += -DHHKB_JP diff --git a/keyboards/hhkb/jp/keymaps/enoch_jp/keymap.c b/keyboards/hhkb/jp/keymaps/enoch_jp/keymap.c deleted file mode 100644 index 18529203458..00000000000 --- a/keyboards/hhkb/jp/keymaps/enoch_jp/keymap.c +++ /dev/null @@ -1,44 +0,0 @@ -#include QMK_KEYBOARD_H - -/* Layer 0: HHKB JP -* ,-----------------------------------------------------------. -* |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 10| -| =|Yen|Bsp| -* |-----------------------------------------------------------| -* |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| | -* |------------------------------------------------------` Ent| -* |Ctrl | A| S| D| F| G| H| J| K| L| ;| '| `| | -* |-----------------------------------------------------------| -* |Shft | Z| X| C| V| B| N| M| ,| .| /| \| Up|Sft| -* |-----------------------------------------------------------| -* | ||Ctl|Alt|Cmd| | Spc |Bsp| | | ||Lft|Dwn|Rgh| -* `-----------------------------------------------------------' -*/ - -/* Layer 1: HHKB mode (HHKB Fn) -* ,-----------------------------------------------------------. -* |Pwr| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Ins|Del| -* |-----------------------------------------------------------| -* |Caps |MPrev|MPlay|MNext| | | | |Psc|Slk|Pus|Up | | -* |------------------------------------------------------` | -* | |VoD|VoU|Mut| | | *| /|Hom|PgU|Lef|Rig| | | -* |-----------------------------------------------------------| -* | | | | | | | +| -|End|PgD|Dow| | | | -* |-----------------------------------------------------------| -* | || | | | | | | | | || | | | -* `-----------------------------------------------------------' -*/ - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_jp( - 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_GRAVE, 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_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_DEL, 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_BSLS, - KC_BSPC, KC_GRV, KC_LGUI, KC_LALT, MO(1), KC_SPC, KC_BSPC, KC_RSFT, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT), - - [1] = LAYOUT_jp( - _______, 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_CAPS, KC_MEDIA_PREV_TRACK, KC_MEDIA_PLAY_PAUSE, KC_MEDIA_NEXT_TRACK, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, KC_UP, _______, - _______, KC_VOLD, KC_VOLU, KC_MUTE, KC_PSCR, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_LEFT, KC_RGHT, _______, KC_PENT, - _______, _______, _______, _______, _______, _______, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______)}; diff --git a/keyboards/hhkb/jp/keymaps/enoch_jp/rules.mk b/keyboards/hhkb/jp/keymaps/enoch_jp/rules.mk deleted file mode 100644 index d35c58b777d..00000000000 --- a/keyboards/hhkb/jp/keymaps/enoch_jp/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -NKRO_ENABLE = yes - -OPT_DEFS += -DHHKB_JP diff --git a/keyboards/hhkb/jp/keymaps/halfqwerty_jp/README.md b/keyboards/hhkb/jp/keymaps/halfqwerty_jp/README.md deleted file mode 100644 index 222ad898efa..00000000000 --- a/keyboards/hhkb/jp/keymaps/halfqwerty_jp/README.md +++ /dev/null @@ -1,49 +0,0 @@ -# harfqwerty_jp - -half-QWERTY is a keyboard layout for one-handed typing on QWERTY keyboard. - -* When hold space bar, the keyboard enters mirror mode. -* To type a space, just tap the space bar. - -## BASE - - ,-----------------------------------------------------------. - |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 10| -| =|Yen|Bsp| - |-----------------------------------------------------------| - |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| | - |------------------------------------------------------` Ent| - |Ctrl | A| S| D| F| G| H| J| K| L| ;| '| `| | - |-----------------------------------------------------------| - |Shft | Z| X| C| V| B| N| M| ,| .| /| \| Up|Sft| - |-----------------------------------------------------------| - | ||Ctl|Alt|Cmd| | Spc | | | | ||Lft|Dwn|Rgh| - `-----------------------------------------------------------' - -## HHKB mode (HHKB Fn) - - ,-----------------------------------------------------------. - |Pwr| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Ins|Del| - |-----------------------------------------------------------| - |Caps | | | | | | | |Psc|Slk|Pus|Up | | | - |------------------------------------------------------` | - | |VoD|VoU|Mut| | | *| /|Hom|PgU|Lef|Rig| | | - |-----------------------------------------------------------| - | | | | | | | +| -|End|PgD|Dow| | | | - |-----------------------------------------------------------| - | || | | | | | | | | || | | | - `-----------------------------------------------------------' - - -## Mirror mode - - ,-----------------------------------------------------------. - | | 0| 9| 8| 7| 6| 5| 4| 3| 2| 1| | | | | - |-----------------------------------------------------------| - | | P| O| I| U| Y| T| R| E| W| Q| | | | - |------------------------------------------------------` | - | | ;| L| K| J| H| G| F| D| S| A| | | | - |-----------------------------------------------------------| - | | .| ,| M| N| B| V| C| X| Z| | | | | - |-----------------------------------------------------------| - | || | | | | | | | | || | | | - `-----------------------------------------------------------' diff --git a/keyboards/hhkb/jp/keymaps/halfqwerty_jp/keymap.c b/keyboards/hhkb/jp/keymaps/halfqwerty_jp/keymap.c deleted file mode 100644 index 7fc59c84c60..00000000000 --- a/keyboards/hhkb/jp/keymaps/halfqwerty_jp/keymap.c +++ /dev/null @@ -1,76 +0,0 @@ -/* -*- eval: (turn-on-orgtbl); -*- - * default HHKB Layout - */ -#include QMK_KEYBOARD_H - -enum -{ - BASE, - HHKB, - MIRROR, -}; - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - /* BASE Level: Default Layer - ,-----------------------------------------------------------. - |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 10| -| =|Yen|Bsp| - |-----------------------------------------------------------| - |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| | - |------------------------------------------------------` Ent| - |Ctrl | A| S| D| F| G| H| J| K| L| ;| '| `| | - |-----------------------------------------------------------| - |Shft | Z| X| C| V| B| N| M| ,| .| /| \| Up|Sft| - |-----------------------------------------------------------| - | ||Ctl|Alt|Cmd| | Spc | | | | ||Lft|Dwn|Rgh| - `-----------------------------------------------------------' - */ - [BASE] = LAYOUT_jp( - 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_INT3, 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_LCTL, 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_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_INT1, KC_UP, KC_RSFT, - MO(HHKB), KC_GRV, KC_LGUI, KC_LALT, KC_INT5, LT(MIRROR, KC_SPC), KC_INT4, KC_INT2, KC_RALT, MO(HHKB), KC_LEFT, KC_DOWN, KC_RGHT), - - /* Layer HHKB: HHKB mode (HHKB Fn) - ,-----------------------------------------------------------. - |Pwr| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Ins|Del| - |-----------------------------------------------------------| - |Caps | | | | | | | |Psc|Slk|Pus|Up | | | - |------------------------------------------------------` | - | |VoD|VoU|Mut| | | *| /|Hom|PgU|Lef|Rig| | | - |-----------------------------------------------------------| - | | | | | | | +| -|End|PgD|Dow| | | | - |-----------------------------------------------------------| - | || | | | | | | | | || | | | - `-----------------------------------------------------------' - */ - - [HHKB] = LAYOUT_jp( - KC_PWR, 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_CAPS, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, KC_UP, _______, - _______, KC_VOLD, KC_VOLU, KC_MUTE, KC_PWR, _______, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, _______, KC_PENT, - _______, _______, _______, _______, _______, _______, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), - - /* Mirror Level: when hold space bar - ,-----------------------------------------------------------. - | | 0| 9| 8| 7| 6| 5| 4| 3| 2| 1| | | | | - |-----------------------------------------------------------| - | | P| O| I| U| Y| T| R| E| W| Q| | | | - |------------------------------------------------------` | - | | ;| L| K| J| H| G| F| D| S| A| | | | - |-----------------------------------------------------------| - | | .| ,| M| N| B| V| C| X| Z| | | | | - |-----------------------------------------------------------| - | || | | | | | | | | || | | | - `-----------------------------------------------------------' - */ - [MIRROR] = LAYOUT_jp( - _______, KC_0, KC_9, KC_8, KC_7, KC_6, KC_5, KC_4, KC_3, KC_2, KC_1, _______, _______, _______, _______, - _______, KC_P, KC_O, KC_I, KC_U, KC_Y, KC_T, KC_R, KC_E, KC_W, KC_Q, _______, _______, - _______, KC_SCLN, KC_L, KC_K, KC_J, KC_H, KC_G, KC_F, KC_D, KC_S, KC_A, _______, _______, _______, - _______, KC_DOT, KC_COMM, KC_M, KC_N, KC_B, KC_V, KC_C, KC_X, KC_Z, _______, _______, _______, _______, - _______, _______, _______, _______, _______, KC_SPC, _______, _______, _______, _______, _______, _______, _______)}; - diff --git a/keyboards/hhkb/jp/keymaps/halfqwerty_jp/rules.mk b/keyboards/hhkb/jp/keymaps/halfqwerty_jp/rules.mk deleted file mode 100644 index a7f700f019c..00000000000 --- a/keyboards/hhkb/jp/keymaps/halfqwerty_jp/rules.mk +++ /dev/null @@ -1 +0,0 @@ -OPT_DEFS += -DHHKB_JP diff --git a/keyboards/hhkb/jp/keymaps/rdg_jp/keymap.c b/keyboards/hhkb/jp/keymaps/rdg_jp/keymap.c deleted file mode 100644 index b4eec445477..00000000000 --- a/keyboards/hhkb/jp/keymaps/rdg_jp/keymap.c +++ /dev/null @@ -1,50 +0,0 @@ -#include QMK_KEYBOARD_H - -enum -{ - ZER, - HDN, - OSY -}; - -#define CTL_ESC CTL_T(KC_ESC) -#define SFT_BSP SFT_T(KC_BSPC) - -#define SCRNS3 LGUI(LCTL(LSFT(KC_3))) -#define SCRNS4 LGUI(LCTL(LSFT(KC_4))) - -/* hhkb jp ~ layout - * ,-----------------------------------------------------------. - * |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 10| -| =|Yen|Bsp| - * |-----------------------------------------------------------| - * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| | - * |------------------------------------------------------` Ent| - * |Ctrl | A| S| D| F| G| H| J| K| L| ;| '| `| | - * |-----------------------------------------------------------| - * |Shft | Z| X| C| V| B| N| M| ,| .| /| \| Up|Sft| - * |-----------------------------------------------------------| - * | ||Ctl|Alt|Cmd| | Spc |Bsp| | | ||Lft|Dwn|Rgh| - * `-----------------------------------------------------------' - */ - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [ZER] = LAYOUT_jp( - 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_INS, 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, - CTL_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_GRV, 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_BSLS, KC_UP, KC_RSFT, - MO(HDN), KC_LCTL, KC_LALT, KC_LGUI, MO(HDN), KC_SPC, SFT_BSP, MO(HDN), MO(OSY), KC_NO, KC_LEFT, KC_DOWN, KC_RGHT), - - [HDN] = LAYOUT_jp( - 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_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, _______, - _______, KC_TILD, KC_GRV, KC_BSLS, KC_PIPE, KC_MINS, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_TILD, KC_GRV, _______, _______, - _______, KC_VOLD, KC_VOLU, KC_MUTE, KC_PWR, _______, _______, KC_ENT, _______, _______, _______, _______, KC_PGUP, _______, - _______, _______, _______, _______, _______, KC_UNDS, KC_DEL, _______, _______, _______, KC_HOME, KC_PGDN, KC_END), - - [OSY] = LAYOUT_jp( - _______, _______, _______, SCRNS3, SCRNS4, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______)}; diff --git a/keyboards/hhkb/jp/keymaps/rdg_jp/rules.mk b/keyboards/hhkb/jp/keymaps/rdg_jp/rules.mk deleted file mode 100644 index a7f700f019c..00000000000 --- a/keyboards/hhkb/jp/keymaps/rdg_jp/rules.mk +++ /dev/null @@ -1 +0,0 @@ -OPT_DEFS += -DHHKB_JP diff --git a/keyboards/hhkb/jp/keymaps/sh_jp/README.md b/keyboards/hhkb/jp/keymaps/sh_jp/README.md deleted file mode 100644 index 4f82f2f4e93..00000000000 --- a/keyboards/hhkb/jp/keymaps/sh_jp/README.md +++ /dev/null @@ -1,86 +0,0 @@ -###Keymaps with both Dvorak layout and QWER layout for HHKB JP. - -1. The default layout is Dvorak. -2. Use `Tog` to toggle between Dvorak and QWER -3. Holding `NewCmd`, the original `LftCmd`, will activate the `NewCmd` layer which means `NewCmd+key` is the same as `Cmd+key` in normal QWER layout.[1](#cmdTab) - - For example, no matter you are in Dvorak layout or QWER layout, you can use `Cmd+s` to save a currently editing file. -4. `Symb` makes type symbols easier - - for example: `Symb+a` is `!`. -5. `Spc+key` equals to `Shft+key` while using `Spc` alone will yield a space as usual. -6. There's an extra `Tab` in the last line. - -``` -Layer DVOR: -,-----------------------------------------------------------. -|Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =| |Bsp| -|-----------------------------------------------------------| -|Tab | '| ,| .| P| Y| F| G| C| R| L| /| =| | -|------------------------------------------------------` Ent| -|Ctrl | A| O| E| U| I| D| H| T| N| S| -| \| | -|-----------------------------------------------------------| -|Shft | ;| Q| J| K| X| B| M| W| V| Z| | Up| | -|-----------------------------------------------------------| -|FN| `| Alt|NewCmd|Symb| Spc |Symb|Tab|RCmd|Tog|Lft|Dwn|Rgh| -`-----------------------------------------------------------' -``` - -``` -Layer QWER: -,-----------------------------------------------------------. -|Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 10| -| =| |Bsp| -|-----------------------------------------------------------| -|Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| | -|------------------------------------------------------` Ent| -|Ctrl | A| S| D| F| G| H| J| K| L| ;| '| \| | -|-----------------------------------------------------------| -|Shft | Z| X| C| V| B| N| M| ,| .| /| | Up| | -|-----------------------------------------------------------| -|FN| `| Alt|NewCmd|Symb| Spc |Symb|Tab|Cmd|Tog|Lft|Dwn|Rgh| -`-----------------------------------------------------------' -``` - -``` -Layer Symb: -,-----------------------------------------------------------. -| | | | | | | | | | | | | | | | -|-----------------------------------------------------------| -| | | | [| ]| | | {| }| | | | | | -|------------------------------------------------------` | -| | !| @| #| $| %| ^| &| *| (| )| '| \| | -|-----------------------------------------------------------| -| | | | | | | | | | | | | | | -|-----------------------------------------------------------| -| | | | | | | | | | | | | | -`-----------------------------------------------------------' -``` - -``` -Layer FUNC: HHKB mode (HHKB Fn) -,-----------------------------------------------------------. -|Pwr| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Ins|Del| -|-----------------------------------------------------------| -|Caps | | | | | | | |Psc|Slk|Pus|Up | | | -|------------------------------------------------------` | -| |VoD|VoU|Mut| | | *| /|Hom|PgU|Lef|Rig| | | -|-----------------------------------------------------------| -| | | | | | | +| -|End|PgD|Dow| | | | -|-----------------------------------------------------------| -| || | | | | | | | | || | | | -`-----------------------------------------------------------' -``` - -``` -Empty Layer: -,-----------------------------------------------------------. -| | | | | | | | | | | | | | | | -|-----------------------------------------------------------| -| | | | | | | | | | | | | | | -|------------------------------------------------------` | -| | | | | | | | | | | | | | | -|-----------------------------------------------------------| -| | | | | | | | | | | | | | | -|-----------------------------------------------------------| -| | | | | | | | | | | | | | -`-----------------------------------------------------------' -``` -1: `NewCmd + Tab` does not work, you can use `RCmd+Tab` to switch among applications. diff --git a/keyboards/hhkb/jp/keymaps/sh_jp/keymap.c b/keyboards/hhkb/jp/keymaps/sh_jp/keymap.c deleted file mode 100644 index 3ba9ac5d901..00000000000 --- a/keyboards/hhkb/jp/keymaps/sh_jp/keymap.c +++ /dev/null @@ -1,45 +0,0 @@ -#include QMK_KEYBOARD_H - -enum -{ - DVOR, - QWER, - NEW_CMD, - SYMB, - FUNC -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [DVOR] = LAYOUT_jp( - 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_INT3, KC_BSPC, - 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_LCTL, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_MINS, KC_BSLS, KC_ENT, - KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_INT1, KC_UP, KC_RSFT, - MO(FUNC), KC_GRV, KC_LALT, MO(NEW_CMD), MO(SYMB), MT(MOD_LSFT, KC_SPC), MO(SYMB), KC_TAB, KC_RGUI, TG(QWER), KC_LEFT, KC_DOWN, KC_RGHT), - [QWER] = LAYOUT_jp( - 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_INT3, 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_LCTL, 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_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_INT1, KC_UP, KC_RSFT, - MO(FUNC), KC_GRV, KC_LALT, MO(NEW_CMD), MO(SYMB), MT(MOD_LSFT, KC_SPC), MO(SYMB), KC_TAB, KC_RGUI, _______, KC_LEFT, KC_DOWN, KC_RGHT), - - [NEW_CMD] = LAYOUT_jp( - _______, LGUI(KC_1), LGUI(KC_2), LGUI(KC_3), LGUI(KC_4), LGUI(KC_5), LGUI(KC_6), LGUI(KC_7), LGUI(KC_8), LGUI(KC_9), LGUI(KC_0), _______, _______, _______, LGUI(KC_BSPC), - _______, LGUI(KC_Q), LGUI(KC_W), LGUI(KC_E), LGUI(KC_R), LGUI(KC_T), LGUI(KC_Y), LGUI(KC_U), LGUI(KC_I), LGUI(KC_O), LGUI(KC_P), LGUI(KC_LBRC), LGUI(KC_RBRC), - _______, LGUI(KC_A), LGUI(KC_S), LGUI(KC_D), LGUI(KC_F), LGUI(KC_G), LGUI(KC_H), LGUI(KC_J), LGUI(KC_K), LGUI(KC_L), _______, _______, _______, _______, - LGUI(KC_LSFT), LGUI(KC_Z), LGUI(KC_X), LGUI(KC_C), LGUI(KC_V), LGUI(KC_B), LGUI(KC_N), LGUI(KC_M), LGUI(KC_COMM), LGUI(KC_DOT), LGUI(KC_SLSH), _______, _______, _______, - _______, _______, _______, _______, _______, LGUI(KC_SPC), _______, _______, _______, _______, LGUI(KC_LEFT), LGUI(KC_DOWN), LGUI(KC_RGHT)), - - [SYMB] = LAYOUT_jp( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, KC_LBRC, KC_RBRC, _______, _______, LSFT(KC_LBRC), LSFT(KC_RBRC), _______, _______, _______, _______, - _______, LSFT(KC_1), LSFT(KC_2), LSFT(KC_3), LSFT(KC_4), LSFT(KC_5), LSFT(KC_6), LSFT(KC_7), LSFT(KC_8), LSFT(KC_9), LSFT(KC_0), _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), - - [FUNC] = LAYOUT_jp( - KC_PWR, 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_CAPS, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, KC_UP, _______, - _______, KC_VOLD, KC_VOLU, KC_MUTE, KC_PWR, _______, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, _______, KC_PENT, - _______, _______, _______, _______, _______, _______, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______)}; diff --git a/keyboards/hhkb/jp/keymaps/sh_jp/rules.mk b/keyboards/hhkb/jp/keymaps/sh_jp/rules.mk deleted file mode 100644 index a7f700f019c..00000000000 --- a/keyboards/hhkb/jp/keymaps/sh_jp/rules.mk +++ /dev/null @@ -1 +0,0 @@ -OPT_DEFS += -DHHKB_JP diff --git a/keyboards/idobao/id75/keymaps/drewdobo/config.h b/keyboards/idobao/id75/keymaps/drewdobo/config.h deleted file mode 100644 index 58787ce12b9..00000000000 --- a/keyboards/idobao/id75/keymaps/drewdobo/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* Copyright 2017 Benjamin Kesselring - * - * 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 TAPPING_TOGGLE 5 diff --git a/keyboards/idobao/id75/keymaps/drewdobo/keymap.c b/keyboards/idobao/id75/keymaps/drewdobo/keymap.c deleted file mode 100644 index c27aa3bf742..00000000000 --- a/keyboards/idobao/id75/keymaps/drewdobo/keymap.c +++ /dev/null @@ -1,65 +0,0 @@ -/* Copyright 2020 Drew Smathers - * - * 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 - -// Keyboard Layers -enum layer_names { - _QW, - _QW_MAC, - _FN, - _MOUSE, -}; - -// Some short-cut aliases -#define Z_LALT LALT_T(KC_ESC) -#define Z_MAC DF(_QW_MAC) -#define Z_PC DF(_QW) - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [_QW] = LAYOUT_ortho_5x15( /* QWERTY */ - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, XXXXXXX, XXXXXXX, XXXXXXX, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, XXXXXXX, XXXXXXX, XXXXXXX, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_QUOT, - Z_LALT, KC_A, KC_S, KC_D, KC_F, KC_G, XXXXXXX, XXXXXXX, XXXXXXX, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_RALT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LCTL, XXXXXXX, KC_RCTL, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, - TT(_FN), XXXXXXX, XXXXXXX, TT(_MOUSE), KC_EQL, KC_BSPC, KC_DEL, XXXXXXX, KC_ENT, KC_SPC, KC_MINUS, KC_GRAVE, KC_LBRC, KC_RBRC, XXXXXXX - ), - - [_QW_MAC] = LAYOUT_ortho_5x15( /* QWERTY MAC */ - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_BRMU, KC_MUTE, KC_VOLU, 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_BRMD, XXXXXXX, KC_VOLD, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_QUOT, - Z_LALT, KC_A, KC_S, KC_D, KC_F, KC_G, XXXXXXX, XXXXXXX, XXXXXXX, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_RALT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LCMD, XXXXXXX, KC_RCMD, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, - TT(_FN), KC_LCTL, XXXXXXX, TT(_MOUSE), KC_EQL, KC_BSPC, KC_DEL, XXXXXXX, KC_ENT, KC_SPC, KC_MINUS, KC_GRAVE, KC_LBRC, KC_RBRC, KC_RCTL - ), - - [_FN] = LAYOUT_ortho_5x15( /* FUNCTION */ - KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, XXXXXXX, QK_BOOT, XXXXXXX, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_PGDN, KC_PGUP, 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, _______, Z_MAC, _______, XXXXXXX, KC_HOME, KC_END, XXXXXXX, XXXXXXX, XXXXXXX, - TT(_FN), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, Z_PC, _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX - ), - - [_MOUSE] = LAYOUT_ortho_5x15( /* MOUSE */ - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_WH_L, KC_WH_D, KC_WH_U, KC_WH_R, 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, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_BTN3, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - TT(_FN), XXXXXXX, XXXXXXX, TT(_MOUSE), XXXXXXX, KC_ACL1, KC_ACL2, XXXXXXX, KC_BTN2, KC_BTN1, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX - ) -}; diff --git a/keyboards/idobao/id75/keymaps/drewdobo/readme.md b/keyboards/idobao/id75/keymaps/drewdobo/readme.md deleted file mode 100644 index 209808ca87f..00000000000 --- a/keyboards/idobao/id75/keymaps/drewdobo/readme.md +++ /dev/null @@ -1 +0,0 @@ -# Drew's thumb-friendly keymap for idobo boards diff --git a/keyboards/idobao/id75/keymaps/drewdobo/rules.mk b/keyboards/idobao/id75/keymaps/drewdobo/rules.mk deleted file mode 100644 index f9bbfd4948c..00000000000 --- a/keyboards/idobao/id75/keymaps/drewdobo/rules.mk +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 2013 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 . - - -MOUSEKEY_ENABLE = yes diff --git a/keyboards/idobao/id75/keymaps/gkbd/config.h b/keyboards/idobao/id75/keymaps/gkbd/config.h deleted file mode 100644 index 35e479fdf6e..00000000000 --- a/keyboards/idobao/id75/keymaps/gkbd/config.h +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright 2021 Giorgi Chavchanidze - * - * 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 - -/* Selected Unicode input method relies on WinCompose - * https://docs.qmk.fm/#/feature_unicode?id=input-modes - * Linux users are better served by xkb configuration - * https://gitlab.com/lykt/geotype/-/blob/master/xkb/dsae - */ diff --git a/keyboards/idobao/id75/keymaps/gkbd/keymap.c b/keyboards/idobao/id75/keymaps/gkbd/keymap.c deleted file mode 100644 index 3b59e8ee2b2..00000000000 --- a/keyboards/idobao/id75/keymaps/gkbd/keymap.c +++ /dev/null @@ -1,41 +0,0 @@ -/* Copyright 2021 Giorgi Chavchanidze - * - * 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_ortho_5x15(/* Latin base */ - KC_ESC, KC_PSLS, KC_1, KC_2, KC_3, KC_4, KC_5, KC_PSCR, KC_6, KC_7, KC_8, KC_9, KC_0, KC_EQL, KC_DEL, - KC_TAB, KC_SCLN, KC_P, KC_Y, KC_T, KC_U, KC_G, KC_PGUP, KC_H, KC_N, KC_V, KC_K, KC_X, KC_MINS, KC_INS, - KC_CAPS, KC_W, KC_D, KC_S, KC_A, KC_E, KC_O, KC_PGDN, KC_L, KC_R, KC_I, KC_M, KC_B, KC_C, KC_ENT, - KC_LSFT, KC_BSLS, KC_J, KC_LBRC, KC_RBRC, KC_COMM, KC_DOT, KC_UP, KC_QUOT, KC_Z, KC_Q, KC_F, KC_SLSH, KC_GRV, KC_RSFT, - KC_LCTL, KC_LGUI, KC_LALT, MO(2), KC_HOME, KC_BSPC, KC_LEFT, KC_DOWN, KC_RGHT, KC_SPC, KC_END, MO(2), KC_RALT, RGUI_T(KC_APP), KC_RCTL - ), - [1] = LAYOUT_ortho_5x15(/* Unicode layer */ - KC_TRNS, KC_SLSH, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, UC(0x10EB), UC(0x10DE), UC(0x10E8), UC(0x10E2), UC(0x10E3), UC(0x10D2), KC_TRNS, UC(0x10EE), UC(0x10DC), UC(0x10D5), UC(0x10D9), UC(0x10E9), KC_TRNS, KC_TRNS, - KC_SCLN, UC(0x10D7), UC(0x10D3), UC(0x10E1), UC(0x10D0), UC(0x10D4), UC(0x10DD), KC_TRNS, UC(0x10DA), UC(0x10E0), UC(0x10D8), UC(0x10DB), UC(0x10D1), UC(0x10EA), KC_TRNS, - KC_TRNS, UC(0x10DF), UC(0x10EF), UC(0x10E7), UC(0x10EC), KC_TRNS, KC_TRNS, KC_TRNS, UC(0x10E6), UC(0x10D6), UC(0x10E5), UC(0x10E4), UC(0x10F0), UC(0x10ED), KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, 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_ortho_5x15(/* Function keys */ - QK_BOOT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, TG(1), 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, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - KC_SCRL, KC_NO, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_NO, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_NO, KC_PAUS, - 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_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_NO, KC_F11, KC_NO, KC_NO, KC_NO, KC_F12, KC_NO, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; diff --git a/keyboards/idobao/id75/keymaps/gkbd/readme.md b/keyboards/idobao/id75/keymaps/gkbd/readme.md deleted file mode 100644 index 3951f3e5646..00000000000 --- a/keyboards/idobao/id75/keymaps/gkbd/readme.md +++ /dev/null @@ -1,7 +0,0 @@ -![Georgian linear layout](https://lykt.xyz/kbd/linear/dsae.svg) - -# Georgian linear layout configuration for idobo - -Based on Georgian Carpalx optimized linear layout from [https://gitlab.com/lykt](https://gitlab.com/lykt) - -Some documentation (in Georgian) and resources (xkb, klc, json configurations) are available at [https://lykt.xyz/kbd/linear/](https://lykt.xyz/kbd/linear/) diff --git a/keyboards/idobao/id75/keymaps/gkbd/rules.mk b/keyboards/idobao/id75/keymaps/gkbd/rules.mk deleted file mode 100644 index 039f07c8e35..00000000000 --- a/keyboards/idobao/id75/keymaps/gkbd/rules.mk +++ /dev/null @@ -1 +0,0 @@ -UNICODE_ENABLE = yes diff --git a/keyboards/idobao/id75/keymaps/gkbd_75/config.h b/keyboards/idobao/id75/keymaps/gkbd_75/config.h deleted file mode 100644 index d969bd88a2f..00000000000 --- a/keyboards/idobao/id75/keymaps/gkbd_75/config.h +++ /dev/null @@ -1,20 +0,0 @@ -/* Copyright 2021 Giorgi Chavchanidze - * - * 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 200 -#define PERMISSIVE_HOLD diff --git a/keyboards/idobao/id75/keymaps/gkbd_75/keymap.c b/keyboards/idobao/id75/keymaps/gkbd_75/keymap.c deleted file mode 100644 index 33df46a9478..00000000000 --- a/keyboards/idobao/id75/keymaps/gkbd_75/keymap.c +++ /dev/null @@ -1,35 +0,0 @@ -/* Copyright 2021 Giorgi Chavchanidze - * - * 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_ortho_5x15( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_F1, KC_F4, KC_6, KC_7, KC_8, KC_9, KC_0, KC_EQL, KC_F7, - KC_TAB, KC_K, KC_P, KC_L, KC_R, KC_C, KC_F2, KC_F5, KC_M, KC_U, KC_O, KC_W, KC_X, KC_SLSH, KC_F8, - KC_CAPS, KC_D, KC_S, KC_T, KC_F, KC_N, KC_F3, KC_F6, KC_I, RSFT_T(KC_J), KC_E, KC_A, KC_H, KC_ENT, KC_F9, - KC_PGUP, KC_Q, KC_B, KC_G, KC_COMM, KC_DOT, KC_LGUI, KC_RALT, KC_MINS, KC_V, KC_Y, KC_QUOT, KC_Z, KC_UP, KC_F10, - KC_PGDN, KC_PSCR, KC_INS, KC_DEL, LT(1,KC_F11), KC_BSPC, KC_LSFT, KC_RCTL, KC_SPC, LT(1,KC_F12), KC_HOME, KC_END, KC_LEFT, KC_DOWN, KC_RGHT - ), - [1] = LAYOUT_ortho_5x15( - 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, RGB_TOG, - 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_LCBR, KC_RCBR, KC_LBRC, KC_RBRC, KC_SCRL, KC_NO, KC_NO, KC_PAUS, KC_BSLS, KC_PIPE, KC_SCLN, KC_COLN, 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, KC_NO, KC_NO, KC_NO, - KC_WAKE, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_GRV, KC_TRNS, KC_TRNS, KC_TILD, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_APP - ) -}; - diff --git a/keyboards/idobao/id75/keymaps/gkbd_75/readme.md b/keyboards/idobao/id75/keymaps/gkbd_75/readme.md deleted file mode 100644 index aa14049420d..00000000000 --- a/keyboards/idobao/id75/keymaps/gkbd_75/readme.md +++ /dev/null @@ -1,7 +0,0 @@ -![Orthocarpus layout](https://lykt.xyz/jnsf/ortho/ortho.jpg) - -# Orthocarpus layout configuration for idobo - -Based on ortholinear carpalx optimized layout from [https://gitlab.com/lykt](https://gitlab.com/lykt) - -Some documentation and resources (carpalx report, json configuration) are available at [https://lykt.xyz/jnsf/ortho/](https://lykt.xyz/jnsf/ortho/) diff --git a/keyboards/idobao/id75/keymaps/gkbd_orthon/config.h b/keyboards/idobao/id75/keymaps/gkbd_orthon/config.h deleted file mode 100644 index 3e8dcc75704..00000000000 --- a/keyboards/idobao/id75/keymaps/gkbd_orthon/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright 2021 Giorgi Chavchanidze - * - * 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 200 diff --git a/keyboards/idobao/id75/keymaps/gkbd_orthon/keymap.c b/keyboards/idobao/id75/keymaps/gkbd_orthon/keymap.c deleted file mode 100644 index 462bb3feee2..00000000000 --- a/keyboards/idobao/id75/keymaps/gkbd_orthon/keymap.c +++ /dev/null @@ -1,78 +0,0 @@ -/* Copyright 2021 Giorgi Chavchanidze - * - * 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 MIN_PROXIMITY 8000 - -uint16_t predecessor_key = KC_NO; -uint16_t adaptive_key = KC_NO; - -static uint16_t vowel_proximity; - -enum custom_keycodes { - ON = SAFE_RANGE, -}; - -bool promote_consonants(void) { - return predecessor_key == KC_O && timer_elapsed(vowel_proximity) < MIN_PROXIMITY && !(get_mods() & ~MOD_MASK_SHIFT & MOD_MASK_CAG); -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - - if (keycode == ON) { - - if (record->event.pressed) { - - keycode = promote_consonants()?KC_N:KC_O; - register_code(keycode); - adaptive_key = keycode; - - } - else { - unregister_code(adaptive_key); - } - } - - if (!IS_MODIFIER_KEYCODE(keycode) && record->event.pressed) { - if(keycode == KC_E || keycode == KC_A || keycode == KC_O || keycode == KC_I || keycode == KC_U) { - predecessor_key = KC_O; - vowel_proximity = timer_read(); - } - else { - predecessor_key = keycode; - } - } - - return true; -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_ortho_5x15(/* Base */ - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_LBRC, KC_APP, KC_RBRC, KC_6, KC_7, KC_8, KC_9, KC_0, KC_EQL, - KC_QUOT, KC_Z, KC_Y, KC_U, KC_F, KC_W, KC_LCBR, KC_PSCR, KC_RCBR, KC_G, KC_M, KC_P, KC_N, KC_J, KC_MINS, - KC_ESC, KC_H, KC_I, KC_E, KC_A, KC_C, KC_LPRN, MO(1), KC_RPRN, KC_L, KC_R, KC_T, KC_S, KC_D, KC_ENT, - KC_TAB, KC_SCLN, KC_X, KC_O, KC_COMM, KC_DOT, KC_SLSH, KC_LGUI, KC_BSLS, KC_K, KC_V, KC_B, RSFT_T(KC_Q), KC_UP, KC_INS, - KC_CAPS, KC_HOME, KC_END, KC_DEL, KC_BSPC, ON, KC_LSFT, KC_RCTL, KC_RALT, KC_SPC, KC_PGDN, KC_PGUP, KC_LEFT, KC_DOWN, KC_RGHT - ), - [1] = LAYOUT_ortho_5x15(/* Function keys */ - 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_SCRL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_NO, KC_TRNS, KC_NO, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_PAUS, - 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, - QK_BOOT, KC_NO, KC_NO, KC_NO, KC_NO, KC_F11, KC_TRNS, KC_TRNS, KC_TRNS, KC_F12, KC_NO, KC_NO, KC_NO, KC_NO, RGB_TOG - ) -}; diff --git a/keyboards/idobao/id75/keymaps/gkbd_orthon/readme.md b/keyboards/idobao/id75/keymaps/gkbd_orthon/readme.md deleted file mode 100644 index 36479ff9ba1..00000000000 --- a/keyboards/idobao/id75/keymaps/gkbd_orthon/readme.md +++ /dev/null @@ -1,11 +0,0 @@ -![Orthon layout](https://lykt.xyz/rtsd/orthon.svg) - -# Orthon layout - -Ortholinear carpalx optimized layout with adaptive thumb key. - -Adaptive key is - * **n** after **eaoiu** vowels - * **o** otherwise - -Some documentation and resources (carpalx report, json configuration) are available at [https://lykt.xyz/rtsd/#orthon](https://lykt.xyz/rtsd/#orthon) diff --git a/keyboards/idobao/id75/keymaps/paryz/config.h b/keyboards/idobao/id75/keymaps/paryz/config.h deleted file mode 100644 index 38c82875fa1..00000000000 --- a/keyboards/idobao/id75/keymaps/paryz/config.h +++ /dev/null @@ -1,20 +0,0 @@ -/* Copyright 2022 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 RGBLIGHT_SLEEP -#define RGB_MATRIX_SLEEP -#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 diff --git a/keyboards/idobao/id75/keymaps/paryz/keymap.c b/keyboards/idobao/id75/keymaps/paryz/keymap.c deleted file mode 100644 index 2d03c205ae8..00000000000 --- a/keyboards/idobao/id75/keymaps/paryz/keymap.c +++ /dev/null @@ -1,144 +0,0 @@ -/* ht 2018 Milton Griffin - * - * 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 - -// Keyboard Layers -enum layers { - _QWERTY, - _FN, - _LOWER, - _RAISE -}; - -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 | ENTER | - * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------+--------| - * | CAPS | A | S | D | F | G | HOME | DEL | PG UP | H | J | K | L | ; | ' RAISE| - * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------------------------+--------| - * | LSHIFT | Z | X | C | V | B | END | UP | PG DN | N | M | , | . | UP |? RSHIFT| - * |--------+--------+--------+--------+--------+-----------------+--------+--------+--------+--------+-----------------+--------+--------| - * | CTRL | ADJUST | ALT | GUI | SPACE | SPACE | LEFT | DOWN | RIGHT | BSPACE | BSPACE | ALT | LEFT | DOWN | RIGHT | - * '--------------------------------------------------------------------------------------------------------------------------------------' - */ - - [_QWERTY] = LAYOUT_ortho_5x15( /* QWERTY */ - QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_MINS, KC_GRV, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LBRC, KC_BSLS, KC_RBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_ENT, - LT(_LOWER,KC_CAPS), KC_A, KC_S, KC_D, KC_F, KC_G, KC_HOME, KC_DEL, KC_PGUP, KC_H, KC_J, KC_K, KC_L, KC_SCLN, LT(_RAISE, KC_QUOT), - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_END, KC_UP, KC_PGDN, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, RSFT_T(KC_SLSH), - KC_LCTL, MO(_FN),KC_LGUI, KC_LALT, KC_SPC, KC_SPC,KC_LEFT, KC_DOWN, KC_RGHT, KC_BSPC, KC_BSPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT - ), - - [_FN] = LAYOUT_ortho_5x15( - KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_NUM, KC_SLSH, KC_ASTR, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, - KC_PSCR, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_P7, KC_P8, KC_P9, KC_MINS, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, - KC_MPRV, KC_MPLY, KC_MNXT, RGB_HUI, KC_NO, KC_NO, KC_P4, KC_P5, KC_P6, KC_PLUS, KC_NO, QK_BOOT, KC_NO, KC_NO, KC_TRNS, - KC_VOLD, KC_MUTE, KC_VOLU, RGB_SAI, RGB_SPD, RGB_RMOD,KC_P1, KC_P2, KC_P3, KC_PENT, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_TRNS, - KC_TRNS, KC_NO, RGB_TOG, RGB_VAI, RGB_SPI, RGB_MOD, KC_P0, KC_NO, KC_PDOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), - - [_LOWER] = LAYOUT_ortho_5x15( - KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_NO, KC_SLSH, KC_ASTR, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, - KC_TRNS, KC_PGUP, KC_HOME, KC_UP, KC_END, KC_NO, KC_P7, KC_P8, KC_P9, KC_NO, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, - KC_TRNS, KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, KC_NO, KC_P4, KC_P5, KC_P6, KC_NO, KC_NUHS, KC_NUBS, KC_NO, KC_NO, KC_TRNS, - KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_P1, KC_P2, KC_P3, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_P0, KC_NO, KC_PDOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS -), - -[_RAISE] = LAYOUT_ortho_5x15( - KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_NO, KC_SLSH, KC_ASTR, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, - KC_TRNS, KC_NO, KC_HOME, KC_UP, KC_END, KC_NO, KC_P7, KC_P8, KC_P9, KC_NO, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, - KC_TRNS, KC_NO, KC_LEFT, KC_DOWN, KC_RGHT, KC_NO, KC_P4, KC_P5, KC_P6, KC_NO, KC_NUHS, KC_NUBS, KC_NO, KC_NO, KC_TRNS, - KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_P1, KC_P2, KC_P3, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_P0, KC_NO, KC_PDOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS -) -}; - -#ifdef RGB_MATRIX_ENABLE -void keyboard_post_init_user(void) { - g_led_config = (led_config_t){{ - // Key Matrix to LED Index - { 84, 83, 82, 81, 80, 79, 78, 77, 76, 75, 74, 73, 72, 71, 70 }, - { 69, 68, 67, 66, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55 }, - { 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40 }, - { 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25 }, - { 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10 } - }, { - // LED Index to Physical Position - {8, 12},{60, 12},{112, 12},{164, 12},{216, 12}, - {216, 60},{164, 60},{112, 60},{60, 60},{8, 60}, - {224, 64}, {208, 64}, {192, 64}, {176, 64}, {160, 64}, {144, 64}, {128, 64}, {112, 64}, {96, 64}, {80, 64}, {64, 64}, {48, 64}, {32, 64}, {16, 64}, {0, 64}, - {224, 48}, {208, 48}, {192, 48}, {176, 48}, {160, 48}, {144, 48}, {128, 48}, {112, 48}, {96, 48}, {80, 48}, {64, 48}, {48, 48}, {32, 48}, {16, 48}, {0, 48}, - {224, 32}, {208, 32}, {192, 32}, {176, 32}, {160, 32}, {144, 32}, {128, 32}, {112, 32}, {96, 32}, {80, 32}, {64, 32}, {48, 32}, {32, 32}, {16, 32}, {0, 32}, - {224, 16}, {208, 16}, {192, 16}, {176, 16}, {160, 16}, {144, 16}, {128, 16}, {112, 16}, {96, 16}, {80, 16}, {64, 16}, {48, 16}, {32, 16}, {16, 16}, {0, 16}, - {224, 0}, {208, 0}, {192, 0}, {176, 0}, {160, 0}, {144, 0}, {128, 0}, {112, 0}, {96, 0}, {80, 0}, {64, 0}, {48, 0}, {32, 0}, {16, 0}, {0, 0} - }, { - // LED Index to Flag - 2,2,2,2,2,2,2,2,2,2, - 1,1,1,1,4,4,9,9,9,4,4,1,1,1,1, - 1,4,4,4,4,4,9,9,9,4,4,4,4,4,1, - 1,4,4,4,4,4,9,9,9,4,4,4,4,4,1, - 1,4,4,4,4,4,9,9,9,4,4,4,4,4,1, - 1,4,4,4,4,4,9,9,9,4,4,4,4,4,1 - } - }; -}; - -bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { - if (host_keyboard_led_state().caps_lock) { - for (int i = 10; i <= 84; i++) { - if (g_led_config.flags[i] & LED_FLAG_MODIFIER) { - rgb_matrix_set_color(i, RGB_RED); - } - } - } - - if ( get_highest_layer(layer_state) > _QWERTY) { - HSV hsv = {0, 255, 255}; - - switch (get_highest_layer(layer_state)) { - case _FN: - hsv.h = 32; - break; - case _LOWER: - hsv.h = 116; - break; - case _RAISE: - hsv.h = 200; - break; - default: - break; - }; - - if (hsv.v > rgb_matrix_get_val()) { - hsv.v = RGB_MATRIX_MAXIMUM_BRIGHTNESS; - } - RGB rgb = hsv_to_rgb(hsv); - - for (int i = 10; i <= 84; i++) { - if ( g_led_config.flags[i] & LED_FLAG_INDICATOR) { - rgb_matrix_set_color(i, rgb.r, rgb.g, rgb.b); - } - }; - } - return false; -}; -#endif diff --git a/keyboards/idobao/id75/keymaps/paryz/rules.mk b/keyboards/idobao/id75/keymaps/paryz/rules.mk deleted file mode 100644 index 8ce8a7d06e0..00000000000 --- a/keyboards/idobao/id75/keymaps/paryz/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -VIA_ENABLE = yes -NKRO_ENABLE = yes diff --git a/keyboards/idobao/id75/keymaps/pathnirvana/config.h b/keyboards/idobao/id75/keymaps/pathnirvana/config.h deleted file mode 100644 index dd95794254a..00000000000 --- a/keyboards/idobao/id75/keymaps/pathnirvana/config.h +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright 2021 PathNirvana - * - * 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 - -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#undef DEBOUNCE -#define DEBOUNCE 40 - -#undef BACKLIGHT_LEVELS -#define BACKLIGHT_LEVELS 6 diff --git a/keyboards/idobao/id75/keymaps/pathnirvana/keymap.c b/keyboards/idobao/id75/keymaps/pathnirvana/keymap.c deleted file mode 100644 index 1ba1e071ec0..00000000000 --- a/keyboards/idobao/id75/keymaps/pathnirvana/keymap.c +++ /dev/null @@ -1,44 +0,0 @@ -/* Copyright 2021 pathnirvana (pathnirvana@gmail.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 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_ortho_5x15( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_GRV, KC_MINS, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_F5, - KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_B, KC_LBRC, KC_BSLS, KC_RBRC, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_QUOT, - KC_BSPC, KC_A, KC_R, KC_S, KC_T, KC_G, KC_PGUP, KC_DEL, KC_PGDN, KC_M, KC_N, KC_E, KC_I, KC_O, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_D, KC_V, KC_HOME, KC_UP, KC_END, KC_K, KC_H, KC_COMM, KC_DOT, KC_SLSH, KC_NO, - KC_LCTL, KC_MS_BTN3, KC_LALT, LT(2,KC_F2), KC_SPC, LSFT_T(KC_SPC), KC_LEFT, KC_DOWN, KC_RGHT, LT(3,KC_DEL), RSFT_T(KC_BSPC), LALT(KC_LSFT), KC_NO, DF(1), KC_ENT), - [1] = LAYOUT_ortho_5x15( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_GRV, KC_MINS, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_F5, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LBRC, KC_BSLS, KC_RBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_QUOT, - KC_BSPC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_PGUP, KC_DEL, KC_PGDN, 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_HOME, KC_UP, KC_END, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_NO, - KC_LCTL, KC_LGUI, KC_LALT, LT(2,KC_F2), KC_SPC, LSFT_T(KC_SPC), KC_LEFT, KC_DOWN, KC_RGHT, LT(3,KC_DEL), RSFT_T(KC_BSPC), LALT(KC_LSFT), KC_NO, DF(0), KC_ENT), - [2] = LAYOUT_ortho_5x15( - KC_NO, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_MUTE, KC_VOLD, KC_VOLU, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, - KC_MSEL, BL_BRTG, RGB_HUD, RGB_HUI, KC_NO, KC_NO, KC_PSCR, KC_SCRL, KC_PAUS, LSFT(KC_LEFT), LSFT(KC_DOWN), LSFT(KC_UP), LSFT(KC_RGHT), KC_NO, KC_NO, - KC_SLEP, BL_STEP, RGB_SAD, RGB_SAI, KC_WH_L, KC_WH_D, KC_WH_U, KC_WH_R, KC_NO, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_NO, QK_BOOT, - KC_NO, BL_TOGG, RGB_VAD, RGB_VAI, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, KC_NO, LCTL(KC_LEFT), LCTL(KC_DOWN), LCTL(KC_UP), LCTL(KC_RGHT), KC_NO, KC_NO, - KC_NO, RGB_TOG, RGB_RMOD, RGB_MOD, KC_NO, KC_NO, KC_WBAK, KC_NO, KC_WFWD, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO), - [3] = LAYOUT_ortho_5x15( - 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_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_TILD, KC_UNDS, KC_PLUS, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_NO, - KC_NO, KC_QUOT, KC_BSLS, KC_LCBR, KC_LBRC, KC_LT, KC_NO, KC_NO, KC_NO, KC_GT, KC_RBRC, KC_RCBR, KC_PIPE, KC_DQUO, KC_NO, - KC_NO, KC_1, KC_2, KC_3, KC_4, KC_5, KC_GRV, KC_MINS, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, 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), -}; diff --git a/keyboards/idobao/id75/keymaps/pathnirvana/rules.mk b/keyboards/idobao/id75/keymaps/pathnirvana/rules.mk deleted file mode 100644 index 6bfd2bac6af..00000000000 --- a/keyboards/idobao/id75/keymaps/pathnirvana/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -BACKLIGHT_ENABLE = yes -DEBOUNCE_TYPE = sym_eager_pk -MOUSEKEY_ENABLE = yes diff --git a/keyboards/idobao/id75/keymaps/xaceofspaidsx/keymap.c b/keyboards/idobao/id75/keymaps/xaceofspaidsx/keymap.c deleted file mode 100644 index cd2d294c00d..00000000000 --- a/keyboards/idobao/id75/keymaps/xaceofspaidsx/keymap.c +++ /dev/null @@ -1,67 +0,0 @@ -/* Copyright 2018 xAceOfSpaidsx - * - * 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 shorthand -#define _QW 0 -#define _FN 1 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -/* QWERTY - based off xd75 default map with a couple modifications for my preference - * .--------------------------------------------------------------------------------------------------------------------------------------. - * | ESC | 1 | 2 | 3 | 4 | 5 | F2 | ` | F5 | 6 | 7 | 8 | 9 | 0 | BACKSP | - * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------| - * | TAB | Q | W | E | R | T | - | \ | = | Y | U | I | O | P | ' | - * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------+--------| - * | CAP LK | A | S | D | F | G | HOME | DEL | PG UP | H | J | K | L | ; | ENTER | - * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------------------------+--------| - * | LSHIFT | Z | X | C | V | B | END | UP | PG DN | N | M | , | . | / | RSHIFT | - * |--------+--------+--------+--------+--------+-----------------+--------+--------+--------+--------+-----------------+--------+--------| - * | LCTRL | LGUI | LALT | FN | SPACE | SPACE | LEFT | DOWN | RIGHT | [ | ] | FN | RALT | RGUI | RCTRL | - * '--------------------------------------------------------------------------------------------------------------------------------------' - */ - - [_QW] = LAYOUT_ortho_5x15( /* QWERTY */ - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_F2, KC_GRV, KC_F5, 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_MINS, KC_BSLS, KC_EQL, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_QUOT, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_HOME, KC_DEL, KC_PGUP, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_END, KC_UP, KC_PGDN, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, - KC_LCTL, KC_LGUI, KC_LALT, MO(_FN), KC_SPC, KC_SPC, KC_LEFT, KC_DOWN, KC_RGHT, KC_LBRC, KC_RBRC, MO(_FN), KC_RALT, KC_RGUI, KC_RCTL - ), - -/* FUNCTION Layer - removed the rgb hue saturation and vibrance for audio controls and added some functionality I use from other boards. - * .--------------------------------------------------------------------------------------------------------------------------------------. - * | F1 | F2 | F3 | F4 | F5 | F6 | NUM LK | P/ | P* | F7 | F8 | F9 | F10 | F11 | F12 | - * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| - * | SELECT | CALC | UP | | | NEXT | P7 | P8 | P9 | - | | | PR SCR | SCR LK | PAUSE | - * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| - * | PREV | LEFT | DOWN | RIGHT | DEL | PLAY | P4 | P5 | P6 | + | | QK_BOOT | | | | - * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| - * | VOL- | MUTE | VOL+ | APP | | STOP | P1 | P2 | P3 | PENT | | | | | | - * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------| - * | | | RGB TG | FN | RGB RMD| RGB MD | P0 | | P. | PENT | PENT | FN | | | | - * '--------------------------------------------------------------------------------------------------------------------------------------' - */ - - [_FN] = LAYOUT_ortho_5x15( /* FUNCTION */ - KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_NUM, KC_SLSH, KC_ASTR, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, - KC_MSEL, KC_CALC, KC_UP , _______, _______, KC_MNXT, KC_P7, KC_P8, KC_P9, KC_MINS, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, - KC_MPRV, KC_LEFT, KC_DOWN, KC_RGHT, KC_DEL , KC_MPLY, KC_P4, KC_P5, KC_P6, KC_PLUS, _______, QK_BOOT, _______, _______, _______, - KC_VOLD, KC_MUTE, KC_VOLU, KC_APP, _______, KC_MSTP, KC_P1, KC_P2, KC_P3, KC_PENT, _______, _______, _______, _______, _______, - _______, _______, RGB_TOG, MO(_FN), RGB_RMOD,RGB_MOD, KC_P0, _______, KC_PDOT, KC_PENT, KC_PENT, MO(_FN), _______, _______, _______ - ), -}; diff --git a/keyboards/idobao/id75/keymaps/xaceofspaidsx/readme.md b/keyboards/idobao/id75/keymaps/xaceofspaidsx/readme.md deleted file mode 100644 index ac6e74702c0..00000000000 --- a/keyboards/idobao/id75/keymaps/xaceofspaidsx/readme.md +++ /dev/null @@ -1 +0,0 @@ -# Updated the keymap, based off XD75 default, to meet my needs. Refer to rules.mk to enable or disable rgb and other features. diff --git a/keyboards/idobao/id75/keymaps/xaceofspaidsx/rules.mk b/keyboards/idobao/id75/keymaps/xaceofspaidsx/rules.mk deleted file mode 100644 index b973e9d8b3d..00000000000 --- a/keyboards/idobao/id75/keymaps/xaceofspaidsx/rules.mk +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 2013 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 . - -#Had to disable the first 2 to get the firmware size down enough after enabling the rgb controls. -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/kbdfans/kbd67/rev2/keymaps/catrielmuller_camilad/config.h b/keyboards/kbdfans/kbd67/rev2/keymaps/catrielmuller_camilad/config.h deleted file mode 100644 index 2498b480c9d..00000000000 --- a/keyboards/kbdfans/kbd67/rev2/keymaps/catrielmuller_camilad/config.h +++ /dev/null @@ -1,17 +0,0 @@ -/* - * 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 ONESHOT_TIMEOUT 5000 diff --git a/keyboards/kbdfans/kbd67/rev2/keymaps/catrielmuller_camilad/keymap.c b/keyboards/kbdfans/kbd67/rev2/keymaps/catrielmuller_camilad/keymap.c deleted file mode 100644 index e993f93fb53..00000000000 --- a/keyboards/kbdfans/kbd67/rev2/keymaps/catrielmuller_camilad/keymap.c +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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( - 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, - OSM(MOD_LSFT),KC_Z ,KC_X ,KC_C ,KC_V ,KC_B ,KC_N ,KC_M ,KC_COMM,KC_DOT ,KC_SLSH,OSM(MOD_RSFT) ,KC_UP ,KC_END , - OSM(MOD_LCTL),OSM(MOD_LGUI),OSM(MOD_LALT),KC_SPC ,OSM(MOD_RALT),OSL(1) ,OSM(MOD_RCTL),KC_LEFT,KC_DOWN,KC_RGHT), - -[1] = LAYOUT_65_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_INS , - _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,KC_PSCR, - _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,KC_TILDE,_______ ,_______, - _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______ ,KC_PGUP,_______, - _______,_______,_______,_______ ,_______,_______,_______,KC_HOME,KC_PGDN,KC_END ), - -}; diff --git a/keyboards/kbdfans/kbd67/rev2/keymaps/catrielmuller_camilad/readme.md b/keyboards/kbdfans/kbd67/rev2/keymaps/catrielmuller_camilad/readme.md deleted file mode 100644 index 2e3d2a171bd..00000000000 --- a/keyboards/kbdfans/kbd67/rev2/keymaps/catrielmuller_camilad/readme.md +++ /dev/null @@ -1 +0,0 @@ -# A keymap for kbd67 with some improvements for accessibility diff --git a/keyboards/kbdfans/kbd67/rev2/keymaps/catrielmuller_camilad/rules.mk b/keyboards/kbdfans/kbd67/rev2/keymaps/catrielmuller_camilad/rules.mk deleted file mode 100644 index 72bbe7ddb27..00000000000 --- a/keyboards/kbdfans/kbd67/rev2/keymaps/catrielmuller_camilad/rules.mk +++ /dev/null @@ -1 +0,0 @@ -CONSOLE_ENABLE = no diff --git a/keyboards/kbdfans/kbd67/rev2/keymaps/droxx/config.h b/keyboards/kbdfans/kbd67/rev2/keymaps/droxx/config.h deleted file mode 100644 index f6aa35176a6..00000000000 --- a/keyboards/kbdfans/kbd67/rev2/keymaps/droxx/config.h +++ /dev/null @@ -1,30 +0,0 @@ -/* -Copyright 2022 Alex K - -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 - -/* USB Device descriptor parameter */ -#undef VENDOR_ID -#undef MANUFACTURER -#undef PRODUCT - -#define VENDOR_ID 0xAF88 -#define MANUFACTURER "Droxx-FurFuzz" -#define PRODUCT "Carbon v2 4rk" - -/* force N key rollover even on startup regardless of EEPROM setting */ -#define FORCE_NKRO diff --git a/keyboards/kbdfans/kbd67/rev2/keymaps/droxx/keymap.c b/keyboards/kbdfans/kbd67/rev2/keymaps/droxx/keymap.c deleted file mode 100644 index de845d163ce..00000000000 --- a/keyboards/kbdfans/kbd67/rev2/keymaps/droxx/keymap.c +++ /dev/null @@ -1,71 +0,0 @@ -// KBD67 Rev 2 ANSI Layout - -/* Copyright 2022 Alex K - * - * 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 "droxx.h" - -// make keycodes easier to change for the future -#define DRXX KC_TRNS - -// enumerate custom layer names for the keymap -enum keymap_layers { - _DRXXMAIN = 0, - _DRXXFN -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Keymap Base Layer - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐ - * │Esc│! 1│@ 2│# 3│$ 4│% 5│^ 6│& 7│* 8│( 9│) 0│_ -│+ =│ BackSp│Hom│ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ - * │Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │{ [│} ]│ BkSl│PgU│ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ - * │Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │: ;│" '│ Enter│PgD│ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ - * │Shift │ Z │ X │ C │ V │ B │ N │ M │< ,│> .│? /│ Shift│ ↑ │End│ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤ - * │Ctrl│ Win│ Alt│ Space │Alt│Fn │Ctl│ ← │ ↓ │ → │ - * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘ - */ -[_DRXXMAIN] = 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, KC_LALT, KC_SPC, KC_RALT, MO(_DRXXFN), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), - - /* Keymap Fn Layer - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐ - * │~ `│ F1│ F2│ F3│ F4│ F5│ F6│ F7│ F8│ F9│F10│F11│F12│ Del│Ins│ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ - * │ │RM-│RB+│RM+│ │RTg│ │ │ │ │ │ │ │ │Pau│ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ - * │ │RS-│RB-│RS+│ │ │ │ │ │ │ │ │ │SLk│ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ - * │ │ │DGu│EGu│ │ │ │ │ │ │ │ │ │PSr│ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤ - * │ │ │ │ │ │ │ │ │ │ │ - * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘ - */ -[_DRXXFN] = LAYOUT_65_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_INS, - DRXX , RGB_RMOD, RGB_VAI, RGB_MOD, DRXX, RGB_TOG, DRXX, DRXX, DRXX, DRXX, DRXX, DRXX, DRXX, DRXX, KC_PAUS, - DRXX, RGB_SPD, RGB_VAD, RGB_SPI, DRXX, DRXX, DRXX, DRXX, DRXX, DRXX, DRXX, DRXX, DRXX, KC_SCRL, - DRXX, DRXX, GUI_OFF, GUI_ON, DRXX, DRXX, DRXX, DRXX, DRXX, DRXX, DRXX, DRXX, DRXX, KC_PSCR, - DRXX, DRXX, DRXX, DRXX, DRXX, DRXX, DRXX, DRXX, DRXX, DRXX), -}; diff --git a/keyboards/kbdfans/kbd67/rev2/keymaps/droxx/readme.md b/keyboards/kbdfans/kbd67/rev2/keymaps/droxx/readme.md deleted file mode 100644 index 26d686c977e..00000000000 --- a/keyboards/kbdfans/kbd67/rev2/keymaps/droxx/readme.md +++ /dev/null @@ -1,30 +0,0 @@ -## Droxx's ANSI style keymap for the KBD67 REV 2 PCB - -* An ANSI keymap layout made by Alex for the KBD67 Rev 2 -* This keymap features two layers using basic Fn alternate keys on the second layer as well as lighting control - -![KBD67Rev2 Layout](https://i.imgur.com/DPSMhIX.png) - -### Layer 0 (_DRXXMAIN) - -The base QWERTY layer - -* Basic qwerty key layout with nothing other than an Fn key -* Fn on the bottom row activates layer 1 - -### Layer 1 (_DRXXFN) - -The function layer - -* Backspace will trigger KC_DEL until I find the KC_HOME key less useful. -* Pressing T will toggle the keyboard underglow feature on and off. -* Keys Q and E are used to change the underglow style of the keyboard. -* Keys W and S modify the brightness of the underglow. -* Keys A and D change the speed of the LED RGB animation. - -~~When Fn is held on layer 0, the arrow keys become a control surface for the LED baclighting~~ -~~The up arrow is used to cycle backlight modes, down arrow for toggling the backlight on or off,~~ -~~and the right and left for increasing and decreasing the brightness respectively.~~[^note] -* X is used to disable the GUI key and C is used to enable the GUI key. - -[^note]: I don't have in-switch LEDs installed? diff --git a/keyboards/kbdfans/kbd67/rev2/keymaps/droxx/rules.mk b/keyboards/kbdfans/kbd67/rev2/keymaps/droxx/rules.mk deleted file mode 100644 index c9b5587d59a..00000000000 --- a/keyboards/kbdfans/kbd67/rev2/keymaps/droxx/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -MOUSEKEY_ENABLE = no -BACKLIGHT_ENABLE = no -RGBLIGHT_ENABLE = yes diff --git a/keyboards/kbdfans/kbd67/rev2/keymaps/jscatena88/keymap.c b/keyboards/kbdfans/kbd67/rev2/keymaps/jscatena88/keymap.c deleted file mode 100644 index 56c554ae5b9..00000000000 --- a/keyboards/kbdfans/kbd67/rev2/keymaps/jscatena88/keymap.c +++ /dev/null @@ -1,58 +0,0 @@ -/* Copyright 2018 jscatena88 - * - * 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] = { -/* Keymap (Base Layer) Default Layer - * ,----------------------------------------------------------------. - * |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp | `~ | - * |----------------------------------------------------------------| - * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| \ |Del | - * |----------------------------------------------------------------| - * |Ctrl | A| S| D| F| G| H| J| K| L| ;| '|Return |PgUp| - * |----------------------------------------------------------------| - * |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift | Up|PgDn| - * |----------------------------------------------------------------| - * |Ctrl|Win |Alt | Space |Alt| FN|Ctrl|Lef|Dow|Rig | - * `----------------------------------------------------------------' - */ -[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_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_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_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_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), - - /* Keymap Fn Layer - * ,----------------------------------------------------------------. - * |~ `|F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12|Del |Ins | - * |----------------------------------------------------------------| - * |Caps | |Up | | | | | |PSc|SLk|Pau|Up | | | | - * |----------------------------------------------------------------| - * | |Lef|Dow|Rig| | | | |Hom|PUp|Lef|Rig| | | - * |----------------------------------------------------------------| - * | | | | | | | | |End|PDn|Dow| |PUp| | - * |----------------------------------------------------------------| - * | | | | | | | |Hom|PDn|End | - * `----------------------------------------------------------------' - */ - -[1] = LAYOUT_65_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_TRNS, KC_VOLU, - KC_CAPS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, KC_SCRL, KC_PAUS, KC_UP, KC_TRNS, KC_TRNS, KC_VOLD, - KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_TRNS, KC_MUTE, - KC_TRNS, RGB_TOG, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_END, KC_PGDN, KC_DOWN, KC_TRNS, KC_PGUP, KC_MPLY, - LCTL(KC_LALT), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_PGDN, KC_END), -}; diff --git a/keyboards/kbdfans/kbd67/rev2/keymaps/jscatena88/readme.md b/keyboards/kbdfans/kbd67/rev2/keymaps/jscatena88/readme.md deleted file mode 100644 index 21b28de90d5..00000000000 --- a/keyboards/kbdfans/kbd67/rev2/keymaps/jscatena88/readme.md +++ /dev/null @@ -1,4 +0,0 @@ -# Jscatena88's KBD67 Layout -![Layout Visual](https://i.imgur.com/7IsPDjR.png) - -This modifies the far right column on layer 1, adds RGB control to the second layer, and creates a CTRL+ALT button on the second layer for switching between Linux TTYs (this is the key labelled LCTL(LC_L), it is actually LCTL(KC_LALT) but the visualization software didn't support that) \ No newline at end of file diff --git a/keyboards/kbdfans/kbd67/rev2/keymaps/naphtaline/keymap.c b/keyboards/kbdfans/kbd67/rev2/keymaps/naphtaline/keymap.c deleted file mode 100644 index 27fbf0be53a..00000000000 --- a/keyboards/kbdfans/kbd67/rev2/keymaps/naphtaline/keymap.c +++ /dev/null @@ -1,58 +0,0 @@ -/* Copyright 2018 'mechmerlin' - * - * 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] = { -/* Keymap (Base Layer) Default Layer - * ,----------------------------------------------------------------. - * |GESC| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backsp| Del| - * |----------------------------------------------------------------| - * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]| Ent |PgUp| - * |-------------------------------------------------------. |----| - * |Caps | A| S| D| F| G| H| J| K| L| ;| '| | |PgDn| - * |----------------------------------------------------------------| - * |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift | Up|End | - * |----------------------------------------------------------------| - * |Ctrl|Win |Alt | Space |MS3| Space |Alt |MO1|Ctrl|Lef|Dow|Rig| - * `----------------------------------------------------------------' - */ -[0] = LAYOUT_65_iso_split_space( - 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_DELETE, - 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_END, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_MS_BTN3, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), - - /* Keymap Fn Layer - * ,----------------------------------------------------------------. - * |~ `|F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12|Del |Mute| - * |----------------------------------------------------------------| - * | | |Up | | | | | | | | | | | |Vol+| - * |----------------------------------------------------------------| - * | |Lef|Dow|Rig| | | | | | | | | |Vol-| - * |----------------------------------------------------------------| - * | | | | | | | | | | | | | | | - * |----------------------------------------------------------------| - * | | | | Space |Space| Space | | | | | | | - * `----------------------------------------------------------------' - */ -[1] = LAYOUT_65_iso_split_space( - 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_MUTE, - _______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, - _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, KC_SPC, KC_SPC, KC_SPC, _______, _______, _______, _______, _______, _______), -}; diff --git a/keyboards/kbdfans/kbd67/rev2/keymaps/naphtaline/readme.md b/keyboards/kbdfans/kbd67/rev2/keymaps/naphtaline/readme.md deleted file mode 100644 index d7b9c29e384..00000000000 --- a/keyboards/kbdfans/kbd67/rev2/keymaps/naphtaline/readme.md +++ /dev/null @@ -1,4 +0,0 @@ -# Not the default keymap for kbd67 - - - this is my personnal layout, but is meant to be used as a base for the new layout LAYOUT_65_iso_split_space - - 3 splitted space bar. (Space - Mouse click 3 - Space) diff --git a/keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/keymap.c b/keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/keymap.c deleted file mode 100644 index 70e6e550069..00000000000 --- a/keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/keymap.c +++ /dev/null @@ -1,60 +0,0 @@ -/* Copyright 2021 Andy Freeland - * - * 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] = { -/* Keymap (Base Layer) Default Layer - * ,----------------------------------------------------------------. - * |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| - | = | ` | \ |Home| - * |----------------------------------------------------------------| - * |Tab | Q| W| E| R| T| Y| U| I| O| P| [ | ] | Bsp |Del | - * |----------------------------------------------------------------| - * |Ctrl | A| S| D| F| G| H| J| K| L| ; | ' |Return |PgUp| - * |----------------------------------------------------------------| - * |Shift | Z| X| C| V| B| N| M| , | . | / |Shift | ↑ |PgDn| - * |----------------------------------------------------------------| - * |Ctrl|Alt |GUI | Space |GUI |FN | ← | ↓ | →  | - * `----------------------------------------------------------------' - */ -[0] = LAYOUT_65_ansi_split_bs_2_right_mods( - 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_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_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_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_RGUI, MO(1), KC_LEFT, KC_DOWN, KC_RGHT -), - - /* Keymap Fn Layer - * ,----------------------------------------------------------------. - * |~ `|F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12| |Del|Ins | - * |----------------------------------------------------------------| - * | | |Up | | | | | |PSc|SLk|Pau|Up | | | | - * |----------------------------------------------------------------| - * | |Lef|Dow|Rig| | | | |Hom|PUp|Lef|Rig| |Vol+| - * |----------------------------------------------------------------| - * | | | | | | | | |End|PDn|Dow| | |Vol-| - * |----------------------------------------------------------------| - * | | | | | | |Prv|Ply|Nxt | - * `----------------------------------------------------------------' - */ -[1] = LAYOUT_65_ansi_split_bs_2_right_mods( - 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_INS, - _______,_______, KC_UP,_______,_______,_______,_______,_______,KC_PSCR,KC_SCRL,KC_PAUS, KC_UP,_______, _______,_______, - _______,KC_LEFT,KC_DOWN,KC_RGHT,_______,_______,_______,_______,KC_HOME,KC_PGUP,KC_LEFT,KC_RGHT, _______,KC_VOLU, - _______,_______,_______,_______,_______,_______,_______,_______, KC_END,KC_PGDN,KC_DOWN, _______,_______,KC_VOLD, - _______, _______, _______, _______, _______,_______,KC_MPRV,KC_MPLY,KC_MNXT), - -}; diff --git a/keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/readme.md b/keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/readme.md deleted file mode 100644 index 2cb43c5e1a3..00000000000 --- a/keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/readme.md +++ /dev/null @@ -1 +0,0 @@ -# The default keymap for kbd67 diff --git a/keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/rules.mk b/keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/rules.mk deleted file mode 100644 index 36b7ba9cbc9..00000000000 --- a/keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes diff --git a/keyboards/kbdfans/kbd75/keymaps/aaronireland/keymap.c b/keyboards/kbdfans/kbd75/keymaps/aaronireland/keymap.c deleted file mode 100644 index 2c3464c9410..00000000000 --- a/keyboards/kbdfans/kbd75/keymaps/aaronireland/keymap.c +++ /dev/null @@ -1,212 +0,0 @@ -/* Copyright 2021 Aaron Ireland - * - * 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 - -// KBD75 layer indices -enum custom_layers { - _QWERTY, - _COLEMAK, - _DVORAK, - _FL, -}; - -enum kbd75_keycodes { - QWERTY = SAFE_RANGE, - COLEMAK, - DVORAK -}; - -// Mac OS Custom Macros -#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 - -// Aaron's shell macros -#define KC_CTLC LCTL(KC_C) -#define KC_SNU LCTL(KC_B) // Used by vim -#define KC_SND LCTL(KC_D) // Used by vim - -/* ***************** Aaron's KBD75 v2 Layout ******************** - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┴───┼───┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ 2U │ │ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ - * │1.5U │ │ │ │ │ │ │ │ │ │ │ │ │1.5U │ │ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ - * │1.75U │ │ │ │ │ │ │ │ │ │ │ │2.25U │ │ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ - * │2.25U │ │ │ │ │ │ │ │ │ │ │1.75U │ │ │ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤ - * │1.25│1.25│1.25│6.25U │1U │1U │1U │1U │1U │1U │ - * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘ - * ************************************************************/ - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - /* ******************** 0: QWERTY Base Layer ******************** - * PSN: Print Screen - * PUP: Page Up - * PDN: Page Down - * BRK: CTRL + C - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ - * │ESC│ F1│ F2│ F3│ F4│ F5│ F6│ F7│ F8│ F9│F10│F11│F12│PSN│BRK│DEL│ - * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┴───┼───┤ - * │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │BKSPACE│HOM│ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ - * │ ` │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │PUP│ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ - * │ TAB │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ ENTER │PDN│ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ - * │ SHIFT │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │SHIFT │UP │END│ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤ - * │ OS │ ALT│CTRL│ SPACE │OS │CTL│FN │LFT│DWN│RT │ - * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘ - * ************************************************************/ - - [_QWERTY] = LAYOUT_ansi_1u( - 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_CAPW, KC_CTLC, KC_DEL , - 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_GRV , 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_TAB , 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_LGUI, KC_LALT, KC_LCTL, KC_SPC , KC_RGUI, KC_LCTL, MO(_FL), KC_LEFT, KC_DOWN, KC_RGHT - ), - - /* ******************** 1: COLEMAK Base Layer ******************** - * PSN: Print Screen - * PUP: Page Up - * PDN: Page Down - * BRK: CTRL + C - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ - * │ESC│ F1│ F2│ F3│ F4│ F5│ F6│ F7│ F8│ F9│F10│F11│F12│PSN│BRK│DEL│ - * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┴───┼───┤ - * │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │BKSPACE│HOM│ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ - * │ ` │ Q │ W │ F │ P │ G │ J │ L │ U │ Y │ ; │ [ │ ] │ \ │PUP│ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ - * │ TAB │ A │ R │ S │ T │ D │ H │ N │ E │ I │ O │ ' │ ENTER │PDN│ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ - * │ SHIFT │ Z │ X │ C │ V │ B │ K │ M │ , │ . │ / │SHIFT │UP │END│ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤ - * │ OS │ ALT│CTRL│ SPACE │OS │CTL│FN │LFT│DWN│RT │ - * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘ - * ************************************************************/ - - [_COLEMAK] = LAYOUT_ansi_1u( - 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_CAPW, KC_CTLC, KC_DEL , - 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_GRV , 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_PGUP, - 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_ENT , KC_PGDN, - KC_LSFT, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_K , KC_M , KC_COMM, KC_DOT , KC_SLSH, KC_RSFT, KC_UP , KC_END , - KC_LGUI, KC_LALT, KC_LCTL, KC_SPC , KC_RGUI, KC_LCTL, MO(_FL), KC_LEFT, KC_DOWN, KC_RGHT - ), - - /* ******************** 2: DVORAK Base Layer ******************** - * PSN: Print Screen - * PUP: Page Up - * PDN: Page Down - * BRK: CTRL + C - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ - * │ESC│ F1│ F2│ F3│ F4│ F5│ F6│ F7│ F8│ F9│F10│F11│F12│PSN│BRK│DEL│ - * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┴───┼───┤ - * │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ [ │ ] │BKSPACE│HOM│ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ - * │ ` │ ' │ , │ . │ P │ Y │ F │ G │ C │ R │ L │ / │ = │ \ │PUP│ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ - * │ TAB │ A │ O │ E │ U │ I │ D │ H │ T │ N │ S │ - │ ENTER │PDN│ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ - * │ SHIFT │ ; │ Q │ J │ K │ X │ B │ M │ W │ V │ Z │SHIFT │UP │END│ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤ - * │ OS │ ALT│CTRL│ SPACE │OS │CTL│FN │LFT│DWN│RT │ - * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘ - * ************************************************************/ - - [_DVORAK] = LAYOUT_ansi_1u( - 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_CAPW, KC_CTLC, KC_DEL , - KC_GRV , 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_BSPC, KC_HOME, - KC_GRV , 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_BSLS, KC_PGUP, - KC_TAB , 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_PGDN, - KC_LSFT, KC_SCLN, KC_Q , KC_J , KC_K , KC_X , KC_B , KC_M , KC_W , KC_V , KC_Z , KC_RSFT, KC_UP , KC_END , - KC_LGUI, KC_LALT, KC_LCTL, KC_SPC , KC_RGUI, KC_LCTL, MO(_FL), KC_LEFT, KC_DOWN, KC_RGHT - ), - - /* ******************** 3: FN Momentary Layer ******************** - * F13 - Launchpad - * SNU - CTRL + B = Neovim Screen Up - * SND - CTRL + D = Neovim Screen Down - * TOG - Toggle RGB Underglow - * MOD - RGB Underglow Mode - * NXT - FF/Skip - * PLY - Play/Stop - * VL - Volume Down/Up - * SN - Screen Brightness Up/Down - * QRT - QWERTY Layout - * CLK - COLEMAK Layout - * DVK - DVORAK Layout - * QK_BOOT - Put PCB into Bootstrap mode - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │PSN│ │ │ - * ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┴───┼───┤ - * │ │TOG│MOD│HU+│HU-│SA+│SA-│VA+│VA-│ │ │ │ │ QK_BOOT │F13│ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ - * │ TAB │QRT│ │ │ │ │ │ │ │ │ │ │ │ │SNU│ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ - * │ CAPS │ │ │DVK│ │ │ │ │ │ │ │ │ │SND│ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ - * │ │ │ │CLK│DEC│TOG│INC│STP│ │ │ │ │SN+│VL0│ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤ - * │ OS │ ALT│CTRL│ SPACE │NXT│PLY│XXX│VL-│SN-│VL+│ - * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘ - * ************************************************************/ - - [_FL] = LAYOUT_ansi_1u( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_CAPP, _______, _______, - _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, QK_BOOT, KC_F13 , - KC_TAB , QWERTY , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_SNU , - KC_CAPS, _______, _______, DVORAK , _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_SND , - _______, _______, _______, COLEMAK, BL_DOWN, BL_TOGG, BL_UP , BL_STEP, _______, _______, _______, _______, KC_PAUS, KC_MUTE, - KC_LGUI, KC_LALT, KC_LCTL, KC_SPC , KC_MNXT, KC_MPLY, _______, KC_VOLD, KC_SCRL, KC_VOLU - ), -}; - - -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; - } - return true; -} diff --git a/keyboards/kbdfans/kbd75/keymaps/aaronireland/readme.md b/keyboards/kbdfans/kbd75/keymaps/aaronireland/readme.md deleted file mode 100644 index aac4d179687..00000000000 --- a/keyboards/kbdfans/kbd75/keymaps/aaronireland/readme.md +++ /dev/null @@ -1,39 +0,0 @@ -# Aaron's KBD75v2 Mac-friendly ANSI 1u Layout - -This layout mimics the default KBD 75% ANSI 1u layout with a few mac-friendly tweaks. Because Mac OS uses a unique keycode -for the Function key and only recognizes that keycode from keyboards registered with an Apple vendor ID ([see here for more info](https://beta.docs.qmk.fm/faqs/faq_keymap#fn-key-on-macos)), -this layout uses custom macros and F-keycodes (F12, F13, etc) to provide Mac hotbar functionality (Print Screen, Launchpad, etc...) and maps the -**Fn** key to the QMK momentary layer `_FN` (layer index 3) so it is listed as `MO(3)`. - -| Mac OS Keystroke | Description | User-defined Macro | Layout Mapping | -| ---------------- | ------------------------ | ------------------ | ---------------- | -| ⌘ + Shift + 3 | Print Screen | `KC_CAPW` | `Prt Scn` | -| ⌘ + Shift + 4 | Print Screen (selection) | `KC_CAPP` | `fn` + `Prt Scn` | -| F13 | Launchpad | | `fn` + `Home` | -| | Colemak | `COLEMAK` | `fn` + `C` | -| | Dvorak | `DVORAK` | `fn` + `D` | -| | Qwerty | `QWERTY` | `fn` + `Q` | -| `Ctrl` + `C` | Quit/Break | `KC_CTLC` | `Pse Brk` | -| `Ctrl` + `B` | vim page up | `KC_SPU` | `fn` + `Pg Up` | -| `Ctrl` + `D` | vim page down | `KC_SPD` | `fn` + `Pg Dn` | - -
-
- -### QWERTY - Layer 0 - -![Layer 0: QWERTY](https://i.imgur.com/haydhHS.png) - -### FUNCTION - Layer 3 - -![Layer 3: FUNCTION](https://i.imgur.com/XHUvgLd.png) - -


- -### COLEMAK - Layer 1 - -![Layer 1: COLEMAK](https://i.imgur.com/sBfHH8K.png) - -### DVORAK - Layer 2 - -![Layer 2: DVORAK](https://i.imgur.com/AaypaN4.png) diff --git a/keyboards/kbdfans/kbd75/keymaps/adamdehaven/config.h b/keyboards/kbdfans/kbd75/keymaps/adamdehaven/config.h deleted file mode 100644 index 4fcd7735526..00000000000 --- a/keyboards/kbdfans/kbd75/keymaps/adamdehaven/config.h +++ /dev/null @@ -1,3 +0,0 @@ -#pragma once - -#define TAPPING_TERM 200 diff --git a/keyboards/kbdfans/kbd75/keymaps/adamdehaven/keymap.c b/keyboards/kbdfans/kbd75/keymaps/adamdehaven/keymap.c deleted file mode 100644 index 398f90c6d73..00000000000 --- a/keyboards/kbdfans/kbd75/keymaps/adamdehaven/keymap.c +++ /dev/null @@ -1,168 +0,0 @@ -#include QMK_KEYBOARD_H - -// Compile from qmk_firmware folder with the following command: -// $ make kbdfans/kbd75/rev2: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 - -extern rgblight_config_t rgblight_config; -static bool RGB_user_wants_enabled; -uint16_t RGB_current_mode; -uint16_t RGB_current_hue; -uint16_t RGB_current_sat; -uint16_t RGB_current_val; - -// Setup RGB -void keyboard_post_init_user(void) { - RGB_user_wants_enabled = rgblight_config.enable; - RGB_current_mode = rgblight_config.mode; - RGB_current_hue = rgblight_config.hue; - RGB_current_sat = rgblight_config.sat; - RGB_current_val = rgblight_config.val; -}; - -// Restore user settings -void restore_user_rgb_settings(void) { - // First, enable RGB - if (RGB_user_wants_enabled && !rgblight_config.enable) { - rgblight_enable(); - } else if (!RGB_user_wants_enabled && rgblight_config.enable) { - rgblight_disable(); - } - - // Restore settings - rgblight_sethsv(RGB_current_hue, RGB_current_sat, RGB_current_val); // Restore underglow RGB color - rgblight_mode(RGB_current_mode); // Restore RGB mode -}; - -// Tap Dance Definitions -enum tapdance { - TD_PGUP = 0, - TD_PGDN -}; - -tap_dance_action_t tap_dance_actions[] = { - // Tap once for PageUp, twice for Home - [TD_PGUP] = ACTION_TAP_DANCE_DOUBLE(KC_PGUP, KC_HOME), - // Tap once for PageDown, twice for End - [TD_PGDN] = ACTION_TAP_DANCE_DOUBLE(KC_PGDN, KC_END) -}; - -// Fire on keypress -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case RGB_TOG: - if (!record->event.pressed) { - // on keyup - RGB_user_wants_enabled = rgblight_config.enable; - } - break; - case RGB_MOD: - if (!record->event.pressed) { - // on keyup - RGB_current_mode = rgblight_config.mode; - } - break; - case RGB_HUI: - case RGB_HUD: - if (!record->event.pressed) { - // on keyup - RGB_current_hue = rgblight_config.hue; - } - break; - case RGB_SAI: - case RGB_SAD: - if (!record->event.pressed) { - // on keyup - RGB_current_sat = rgblight_config.sat; - } - break; - case RGB_VAI: - case RGB_VAD: - if (!record->event.pressed) { - // on keyup - RGB_current_val = rgblight_config.val; - } - break; - } - return true; -}; - - -/* - * 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 - * ┌─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┐ - * │ 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_INSERT│ KC_DEL │ - * ├─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┴─────────┼─────────┤ - * │ 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 │ TD_PGUP │ - * ├────────────────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────────────┬─────────┼─────────┤ - * │ 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 │ TD_PGDN │ - * ├───────────┬─────────┴─┬───────┴───┬─────┴─────────┴─────────┴─────────┴─────────┴─────────┴───────┬─┴───────┬┴────────┬─┴───────┬─────────┼─────────┼─────────┤ - * │ KC_LCTL │ KC_LGUI │ KC_LALT │ KC_SPC │ KC_RALT │MO(_FN1) │ KC_RCTL │ KC_LEFT │ KC_DOWN │ KC_RGHT │ - * └───────────┴───────────┴───────────┴───────────────────────────────────────────────────────────────┴─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘ - */ - [_QWERTY] = 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_PSCR, KC_INSERT, KC_DEL, - 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_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, TD(TD_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, TD(TD_PGDN), - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, MO(_FN1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - - /* 1: _FN1 - * ┌─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┐ - * │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ KC_MUTE │ - * ├─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┴─────────┼─────────┤ - * │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ - * ├─────────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬──────────────┼─────────┤ - * │ _______ │ RGB_TOG │ RGB_MOD │ RGB_HUI │ RGB_HUD │ RGB_SAI │ RGB_SAD │ RGB_VAI │ RGB_VAD │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ - * ├──────────────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴─┬───────┴──────────────┼─────────┤ - * │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ KC_VOLU │ - * ├────────────────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────┬────┴────────────┬─────────┼─────────┤ - * │ _______ (2) │ _______ │ _______ │ BL_DOWN │ BL_TOGG │ BL_UP │ BL_STEP │ _______ │ _______ │ _______ │ _______ │ _______ │ KC_MPLY │ KC_VOLD │ - * ├───────────┬─────────┴─┬───────┴───┬─────┴─────────┴─────────┴─────────┴─────────┴─────────┴───────┬─┴───────┬─┴───────┬─┴───────┬─────────┼─────────┼─────────┤ - * │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ _______ │ KC_MPRV │ KC_MPLY │ KC_MNXT │ - * └───────────┴───────────┴───────────┴───────────────────────────────────────────────────────────────┴─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘ - */ - [_FN1] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MUTE, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, - _______, _______, _______, _______, BL_DOWN,BL_TOGG, BL_UP, BL_STEP, _______, _______, _______, _______, _______, KC_MPLY, KC_VOLD, - _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MPLY, KC_MNXT - ) -}; - -void toggle_rgb_caps_lock(bool isActive) { - if (isActive) { - if (!rgblight_config.enable) { - rgblight_enable(); - } - - // Set underglow color if CAPS_LOCK enabled - rgblight_sethsv(HSV_RED); - // Set to breathe - rgblight_mode(5); - } else { - restore_user_rgb_settings(); - } -}; - -bool led_update_user(led_t led_state) { - toggle_rgb_caps_lock(led_state.caps_lock); - return true; -}; diff --git a/keyboards/kbdfans/kbd75/keymaps/adamdehaven/rules.mk b/keyboards/kbdfans/kbd75/keymaps/adamdehaven/rules.mk deleted file mode 100644 index e5ddcae8d92..00000000000 --- a/keyboards/kbdfans/kbd75/keymaps/adamdehaven/rules.mk +++ /dev/null @@ -1 +0,0 @@ -TAP_DANCE_ENABLE = yes diff --git a/keyboards/kbdfans/kbd75/keymaps/adit/keymap.c b/keyboards/kbdfans/kbd75/keymaps/adit/keymap.c deleted file mode 100644 index 80b6c6bfe30..00000000000 --- a/keyboards/kbdfans/kbd75/keymaps/adit/keymap.c +++ /dev/null @@ -1,23 +0,0 @@ -#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_PSCR, KC_SCRL, KC_DEL, - 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_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_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, LT(1,KC_END), - KC_CAPS, KC_LALT, _______, _______, KC_SPC, _______, KC_RGUI, _______, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - - [1] = LAYOUT( - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, BL_DOWN, BL_TOGG, BL_UP, BL_STEP, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ) - -}; diff --git a/keyboards/kbdfans/kbd75/keymaps/broswen/README.md b/keyboards/kbdfans/kbd75/keymaps/broswen/README.md deleted file mode 100644 index d95b3f2805f..00000000000 --- a/keyboards/kbdfans/kbd75/keymaps/broswen/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# KBD75 broswen keymap - -Almost default keymap for KBD75. - -- Top right extra keys are media keys. - -- Vim style motion keys on layer 1 diff --git a/keyboards/kbdfans/kbd75/keymaps/broswen/keymap.c b/keyboards/kbdfans/kbd75/keymaps/broswen/keymap.c deleted file mode 100644 index 3f79a130779..00000000000 --- a/keyboards/kbdfans/kbd75/keymaps/broswen/keymap.c +++ /dev/null @@ -1,22 +0,0 @@ -#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_VOLD, KC_VOLU, KC_DEL, - 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_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, MO(1), 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_SPC, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - - [1] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, KC_MNXT, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, _______, - _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______, _______, _______, - _______, _______, _______, _______, BL_DOWN, BL_TOGG, BL_UP, BL_STEP, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), -}; diff --git a/keyboards/kbdfans/kbd75/keymaps/digital/keymap.c b/keyboards/kbdfans/kbd75/keymaps/digital/keymap.c deleted file mode 100644 index 975246f487f..00000000000 --- a/keyboards/kbdfans/kbd75/keymaps/digital/keymap.c +++ /dev/null @@ -1,22 +0,0 @@ -#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_MPRV, KC_MNXT, KC_MPLY, - 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_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, - 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_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_END, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - - [1] = LAYOUT( - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, KC_INS, - _______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, BL_TOGG, BL_UP, BL_DOWN, _______, _______, _______ - ) -}; diff --git a/keyboards/kbdfans/kbd75/keymaps/digital/readme.md b/keyboards/kbdfans/kbd75/keymaps/digital/readme.md deleted file mode 100644 index 99c95a00ff9..00000000000 --- a/keyboards/kbdfans/kbd75/keymaps/digital/readme.md +++ /dev/null @@ -1,5 +0,0 @@ -# digital KBD75 Keymap - -ISO KBD75 keymap. - -![KBD75 digital keymap](https://i.imgur.com/IMb7eML.png) diff --git a/keyboards/kbdfans/kbd75/keymaps/ethan605/keymap.c b/keyboards/kbdfans/kbd75/keymaps/ethan605/keymap.c deleted file mode 100644 index 075fa78f092..00000000000 --- a/keyboards/kbdfans/kbd75/keymaps/ethan605/keymap.c +++ /dev/null @@ -1,67 +0,0 @@ -/* Copyright 2020 @ethan605 - * - * 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: Qwerty layer - * ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ - * │ ESC │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │ INS │ DEL │ FN │ - * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┴─────┼─────┤ - * │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ BSPC │HOME │ - * ├─────┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬────────┼─────┤ - * │ TAB │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ BSLS │END │ - * ├────────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴────────┼─────┤ - * │ LCTRL │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ ENTER │PGUP │ - * ├─────────┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴───────┬─────┼─────┤ - * │ LSHFT │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ RSHFT │ UP │PGDN │ - * ├──────┬─────┴─┬───┴──┬──┴─────┴─────┴─────┴─────┴─────┴────┬┴────┬┴────┬┴────┬─────┼─────┼─────┤ - * │ CAPS │ LALT │ LCMD │ SPC │RCMD │RALT │RCTL │LEFT │DOWN │RIGHT│ - * └──────┴───────┴──────┴─────────────────────────────────────┴─────┴─────┴─────┴─────┴─────┴─────┘ - */ - [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, 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_DEL, 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_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, MO(1), 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_CAPS, KC_LALT, KC_LCMD, KC_SPC, KC_SPC, KC_SPC, KC_RCMD, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - - /* 1: Function layer - * ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ FN │ - * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┴─────┼─────┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ QK_BOOT │ │ - * ├─────┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬────────┼─────┤ - * │ │ TOG │ MOD │ HU+ │ HU- │ SA+ │ SA- │ VA+ │ VA- │ │ │ │ │ │ │ // RGB controls - * ├────────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴────────┼─────┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├─────────┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴───────┬─────┼─────┤ - * │ │ │ │ │ DEC │ TOG │ INC │STEP │ │ │ │ │ │ │ // Backlight controls - * ├──────┬─────┴─┬───┴──┬──┴─────┴─────┴─────┴─────┴─────┴────┬┴────┬┴────┬┴────┬─────┼─────┼─────┤ - * │ │ │ │ │ │ │ │ │ │ │ - * └──────┴───────┴──────┴─────────────────────────────────────┴─────┴─────┴─────┴─────┴─────┴─────┘ - */ - [1] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, _______, - _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, BL_DOWN, BL_TOGG, BL_UP, BL_STEP, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), -}; diff --git a/keyboards/kbdfans/kbd75/keymaps/kingwangwong/keymap.c b/keyboards/kbdfans/kbd75/keymaps/kingwangwong/keymap.c deleted file mode 100644 index b171d25577d..00000000000 --- a/keyboards/kbdfans/kbd75/keymaps/kingwangwong/keymap.c +++ /dev/null @@ -1,145 +0,0 @@ -#include QMK_KEYBOARD_H - -enum layer_names { - _QW, - _FO, - _FL, - _CL, - _DL -}; - - - - -// Custom macros -#define SPC_FUN LT(_FL, KC_SPC) -#define BSC_CON LT(_CL, KC_BSPC) - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* 0: Qwerty layer - * ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ - * │ ESC │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │PRSCR│ INS │HOME │ - * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ - * │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │BSLS │ DEL │ END │ - * ├─────┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴─────┼─────┤ - * │TAB │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │BSPC │PGUP │ - * ├────────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴────────┼─────┤ - * │CAPS │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ENTER │PGDN │ - * ├──────┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴───────┬─────┼─────┤ - * │LSHFT │LSHFT│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │RSHFT │ UP │MO_CL│ - * ├──────┼─────┴─┬───┴──┬──┴─────┴────┬┴─────┼─────┴─────┴────┬┴────┬┴────┬┴────┬─────┼─────┼─────┤ - * │LCTRL │L_GUI │L_ALT │SPC │MO(_FL│BSPC │R_ALT│R_GUI│R_CTR│LEFT │DOWN │RIGHT│ - * └──────┴───────┴──────┴─────────────┴──────┴────────────────┴─────┴─────┴─────┴─────┴─────┴─────┘ - */ - - /* 0: QWERTY */ - [_QW] = 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_PSCR, KC_INS, 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_BSLS, KC_DEL, 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_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_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(_CL), - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(_FL), KC_BSPC, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), - - /* 1: forty: this layer emulates a forty percent keyboard so I can transition to a forty percent :) - * ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├─────┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴─────┼─────┤ - * │ESC │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ENT │ │ │ │ - * ├────────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴────────┼─────┤ - * │TAB │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ │ │ - * ├──────┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴───────┬─────┼─────┤ - * │LSHFT │LSHFT│ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │RSHFT │ │MO_CL│ - * ├──────┼─────┴─┬───┴──┬──┴─────┴────┬┴─────┼─────┴─────┴────┬┴────┬┴────┬┴────┬─────┼─────┼─────┤ - * │LCTRL │L_ALT │MO(DL)│SPCFUN │BSPC │MO(_CL) │R_ALT│R_GUI│R_CTR│ │ │ │ - * └──────┴───────┴──────┴─────────────┴──────┴────────────────┴─────┴─────┴─────┴─────┴─────┴─────┘ - */ - - /* 1: FORTY */ - [_FO] = LAYOUT( - 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, XXXXXXX, XXXXXXX, - KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_ENT, XXXXXXX, XXXXXXX, XXXXXXX, - KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, XXXXXXX, XXXXXXX, - 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, XXXXXXX, MO(_CL), - KC_LCTL, KC_LALT, MO(_DL), SPC_FUN, KC_BSPC, MO(_CL), KC_RALT, KC_RGUI, KC_RCTL, XXXXXXX, XXXXXXX, XXXXXXX), - - - /* 2: Function layer - * ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├─────┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴─────┼─────┤ - * │ │ │HOME │ UP │END │ │ │ │ │ │ │ │ │ │VOLUP│ - * ├────────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴────────┼─────┤ - * │ │ │LEFT │DOWN │RIGHT│ │ │ │ │ │ │ │ │VOLDN│ - * ├──────┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴───────┬─────┼─────┤ - * │ │ │ │ │PGDN │PGUP │ │ │ │ │ │ │ │ │ │ - * ├──────┼─────┴─┬───┴──┬──┴─────┴────┬┴─────┼─────┴─────┴────┬┴────┬┴────┬┴────┬─────┼─────┼─────┤ - * │ │ │ │ │ │ │VOLDN│VOLUP│ │ │ │ │ - * └──────┴───────┴──────┴─────────────┴──────┴────────────────┴─────┴─────┴─────┴─────┴─────┴─────┘ - */ - - /* 2: ANSI Fn layer */ - [_FL] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, KC_HOME, KC_UP, KC_END, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, - _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD, - _______, _______, _______, KC_PGDN, KC_PGUP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, KC_VOLD, KC_VOLU, _______, _______, _______, _______), - - /* 3: Control layer - * ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ - * │QK_BOOT│QWERT│FORTY│ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├─────┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴─────┼─────┤ - * │ ` │ ! │ @ │ # │ $ │ % │ ^ │ & │ * │ ( │ ) │ DEL │ │ │ │ - * ├────────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴────────┼─────┤ - * │ │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ \ │ │ │ - * ├──────┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴───────┬─────┼─────┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├──────┼─────┴─┬───┴──┬──┴─────┴────┬┴─────┼─────┴─────┴────┬┴────┬┴────┬┴────┬─────┼─────┼─────┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ - * └──────┴───────┴──────┴─────────────┴──────┴────────────────┴─────┴─────┴─────┴─────┴─────┴─────┘ - */ - - /* 3: Control layer */ - [_CL] = LAYOUT( - QK_BOOT, TO(_QW), TO(_FO), _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_TOG, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_MOD, - KC_GRV, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, _______, _______, KC_VOLU, - _______, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, _______, KC_VOLD, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_SAI, _______, - _______, _______, _______, _______, _______, _______, _______, RGB_VAD, RGB_VAI, RGB_HUD, RGB_SAD, RGB_HUI), - - /* 4: Another layer for ease - * ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, - * ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├─────┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴─────┼─────┤ - * │ │ │ │ │ │ │ │ _ │ + │ { │ } │ | │ │ │ │ - * ├────────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴────────┼─────┤ - * │ │ │ │ │ │ │ │ - │ = │ [ │ ] │ \ │ │ │ - * ├──────┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴───────┬─────┼─────┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├──────┼─────┴─┬───┴──┬──┴─────┴────┬┴─────┼─────┴─────┴────┬┴────┬┴────┬┴────┬─────┼─────┼─────┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ - * └──────┴───────┴──────┴─────────────┴──────┴────────────────┴─────┴─────┴─────┴─────┴─────┴─────┘ - */ - - /* 3: D control layer */ - [_DL] = LAYOUT( - QK_BOOT, TO(_QW), TO(_FO), _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_TOG, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_MOD, - _______, _______, _______, _______, _______, _______, _______, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, _______, _______, KC_VOLU, - _______, _______, _______, _______, _______, _______, _______, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, _______, KC_VOLD, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_SAI, _______, - _______, _______, _______, _______, _______, _______, _______, RGB_VAD, RGB_VAI, RGB_HUD, RGB_SAD, RGB_HUI) -}; diff --git a/keyboards/kbdfans/kbd75/keymaps/spacemanspiff/keymap.c b/keyboards/kbdfans/kbd75/keymaps/spacemanspiff/keymap.c deleted file mode 100644 index 6816c3302d5..00000000000 --- a/keyboards/kbdfans/kbd75/keymaps/spacemanspiff/keymap.c +++ /dev/null @@ -1,41 +0,0 @@ -#include QMK_KEYBOARD_H - -// Each layer gets a name for readability, which is then used in the keymap matrix below. -#define _BL 0 // Base Layer -#define _FN 1 // Function Layer -#define _CL 2 // Control+ Layer - -// Add names for complex momentary keys, to keep the keymap matrix aligned better. -#define CTL_ESC MT(MOD_LCTL,KC_ESC) -#define GUI_ENT MT(MOD_RGUI, KC_ENT) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [_BL] = 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_F13, MO(_FN), KC_DEL, - 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_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, - CTL_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_PGDN, - KC_LSFT, MO(_FN), 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, - MO(_CL), KC_LALT, KC_LGUI, KC_SPC, KC_SPC, KC_SPC, GUI_ENT, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - - [_FN] = LAYOUT( - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT, _______, - _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, _______, _______, - _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, BL_DOWN, BL_TOGG, BL_UP, BL_STEP, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - - [_CL] = LAYOUT( - LCTL(KC_ESC), LCTL(KC_F1), LCTL(KC_F2), LCTL(KC_F3), LCTL(KC_F4), LCTL(KC_F5), LCTL(KC_F6), LCTL(KC_F7), LCTL(KC_F8), LCTL(KC_F9), LCTL(KC_F10), LCTL(KC_F11), LCTL(KC_F12), LCTL(KC_PSCR), _______, LCTL(KC_DEL), - KC_ESC, LCTL(KC_1), LCTL(KC_2), LCTL(KC_3), LCTL(KC_4), LCTL(KC_5), LCTL(KC_6), LCTL(KC_7), LCTL(KC_8), LCTL(KC_9), LCTL(KC_0), LCTL(KC_MINS), LCTL(KC_EQL), LCTL(KC_DEL), KC_DEL, LCTL(KC_HOME), - LCTL(KC_TAB), LCTL(KC_Q), LCTL(KC_W), LCTL(KC_E), LCTL(KC_R), LCTL(KC_T), LCTL(KC_Y), LCTL(KC_U), LCTL(KC_I), LCTL(KC_O), KC_PGUP, LCTL(KC_LBRC), LCTL(KC_RBRC), LCTL(KC_BSLS), LCTL(KC_PGUP), - CTL_ESC, LCTL(KC_A), LCTL(KC_S), LCTL(KC_D), LCTL(KC_F), LCTL(KC_G), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, LCTL(KC_SCLN), LCTL(KC_QUOT), LCTL(KC_ENT), LCTL(KC_PGDN), - LCTL(KC_LSFT), _______, LCTL(KC_Z), LCTL(KC_X), LCTL(KC_C), LCTL(KC_V), LCTL(KC_B), KC_PGDN, LCTL(KC_M), LCTL(KC_COMM), LCTL(KC_DOT), LCTL(KC_SLSH), LCTL(KC_RSFT), LCTL(KC_UP), LCTL(KC_END), - _______, LCTL(KC_LALT), LCTL(KC_LGUI), LCTL(KC_SPC), LCTL(KC_SPC), LCTL(KC_SPC), LCTL(KC_RGUI), LCTL(KC_RALT), LCTL(KC_RCTL), LCTL(KC_LEFT), LCTL(KC_DOWN), LCTL(KC_RGHT) - ), - -}; diff --git a/keyboards/kbdfans/kbd75/keymaps/spacemanspiff/readme.md b/keyboards/kbdfans/kbd75/keymaps/spacemanspiff/readme.md deleted file mode 100644 index 6a78140a3d5..00000000000 --- a/keyboards/kbdfans/kbd75/keymaps/spacemanspiff/readme.md +++ /dev/null @@ -1,35 +0,0 @@ -# Spaceman Spiff Layout for KBD75 - -![Keyboard Layout](https://i.imgur.com/tQLYDvu.png) - - - -Designed specifically to make switching back-n-forth with the Apple's MacBook Pro keyboard intuitive. Has a slight tendency toward readline/vim keybindings. - -Caps locks becomes an `Esc` when pressed alone, or a `Ctrl` when pressed with another key. - -# Base Layer - -As simalar to the Apple keyboard as possible. Notiable exception is `Caps Lock`: -- `Esc` when pressed alone -- `Ctrl` when pressed with another key - -# Control+ Layer - -Left Ctrl key switches to the "Control+ Layer". This layer mostly acts like a control key in most cases, with a few exceptions: - -- `Ctl+` + `hjkl` are vim-style motion keys -- `Ctl+` + `p` and `Ctl+` + `n` are page up and down -- `Ctl+` + `Backspace` is forward delete - -# Fn Layer - -Audio Controls: -- `Fn` + `a` Volume Down -- `Fn` + `s` Volume Up -- `Fn` + `d` Mute - -To flash this layout you need to press `Fn+Backspace` - - - diff --git a/keyboards/kbdfans/niu_mini/keymaps/dyesub/keymap.c b/keyboards/kbdfans/niu_mini/keymaps/dyesub/keymap.c deleted file mode 100644 index 752aa519c85..00000000000 --- a/keyboards/kbdfans/niu_mini/keymaps/dyesub/keymap.c +++ /dev/null @@ -1,74 +0,0 @@ - /* Copyright 2020 Chus Jara Peinado - * - * 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] = { - - /* Layer 0 - * ,-----------------------------------------------------------------------------------. - * | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Esc | A | S | D | F | G | H | J | K | L | ; |Enter | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | Shift| Z | X | C | V | B | N | M | , | . | Up | ? | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | GUI | Alt | " |Layer1| Space |Layer2| - | Left | Down |Right | - * `-----------------------------------------------------------------------------------' - */ - [0] = 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_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, KC_SLSH, - KC_LCTL, KC_LGUI, KC_LALT, KC_QUOT, MO(1), KC_SPC, MO(2), KC_MINS, KC_LEFT, KC_DOWN, KC_RGHT - ), - - /* Layer 1 - * ,-----------------------------------------------------------------------------------. - * | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | Del | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | F11 | F12 | | | | | | | | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | | | | | | | | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | | | |Reset | - * `-----------------------------------------------------------------------------------' - */ - [1] = LAYOUT_planck_mit( - _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_DEL, - _______, KC_F11, KC_F12, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT - ), - - /* Layer 2 (r_ Indicates RGB Controls) - * ,-----------------------------------------------------------------------------------. - * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | | | | | | [ | ] | \ | " | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | | | | | | - | = | | | Vol+ |PrtScr| - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | | | Vol- | Mute | - * `-----------------------------------------------------------------------------------' - */ - [2] = 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_LBRC, KC_RBRC, KC_BSLS, KC_QUOT, _______, _______, - _______, _______, _______, _______, _______, _______, KC_MINS, KC_EQL, _______, _______, KC_VOLU, KC_PSCR, - _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD, KC_MUTE - ) -}; diff --git a/keyboards/kbdfans/niu_mini/keymaps/dyesub/readme.md b/keyboards/kbdfans/niu_mini/keymaps/dyesub/readme.md deleted file mode 100644 index e276c4d0608..00000000000 --- a/keyboards/kbdfans/niu_mini/keymaps/dyesub/readme.md +++ /dev/null @@ -1,7 +0,0 @@ -# Dye sub layout - -Simple layout based on the keycaps [DYE SUB](https://kbdfans.com/collections/oem-profile/products/40-layou-dye-sub-keycaps) from KDBFans. - -## Notes -- There is a different ESC key position in this layout. -- The mouse key, backlight and console for debug are disabled (Enable them by just modifying the `rules.mk` file). diff --git a/keyboards/kbdfans/niu_mini/keymaps/dyesub/rules.mk b/keyboards/kbdfans/niu_mini/keymaps/dyesub/rules.mk deleted file mode 100644 index c5f09480a39..00000000000 --- a/keyboards/kbdfans/niu_mini/keymaps/dyesub/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -MOUSEKEY_ENABLE = no -BACKLIGHT_ENABLE = no diff --git a/keyboards/kbdfans/niu_mini/keymaps/edvard/keymap.c b/keyboards/kbdfans/niu_mini/keymaps/edvard/keymap.c deleted file mode 100644 index fe276bac200..00000000000 --- a/keyboards/kbdfans/niu_mini/keymaps/edvard/keymap.c +++ /dev/null @@ -1,194 +0,0 @@ -/* Copyright 2021 Edvard Sire - * - * 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, - _NUMPAD, - _ARROWS, - _SPECIAL, - _FPS, - _FIGHTING, - _MOBA, - _MOBA2, - _MOUSE -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -/* QWERTY - * ,--------------------------------------------------------------------------------------, - * |Esc/~ | Q | W | E | R | T | Y | U | I | O | P | Bksp | - * |------+------+------+------+-------+------+------+--------+------+--------------------| - * | Tab | A | S | D | F | G | H | J | K | L | ; | " | - * |------+------+------+------+-------+------+------+--------+------+--------------------| - * |Numpad| Z | X | C | V | B | N | M | , | . | / |Arrows| - * |------+------+------+------+-------+------+---------------+------+--------------------| - * | Ctrl | GUI | | Alt |Special| Space |RS/Enter|Mouse | | Fps | Del | - * `--------------------------------------------------------------------------------------` - */ -[_QWERTY] = LAYOUT_planck_mit( - QK_GESC, 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, - MO(1), KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, MO(2), - KC_LCTL, KC_LGUI, KC_TRNS, KC_LALT, MO(3), KC_SPC, SC_SENT, MO(8), KC_TRNS, TO(4), KC_DEL -), - -/* NUMPAD - * ,-----------------------------------------------------------------------------------. - * | | |Power | |RGBmoG| | | 7 | 8 | 9 | | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | | Prev | Play | Next | | | 4 | 5 | 6 | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | Trns | |RGBmo-|RBGmd+|RGBtog| | | 1 | 2 | 3 | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | Space | 0 | , | . | |Reset | - * `-----------------------------------------------------------------------------------' - */ -[_NUMPAD] = LAYOUT_planck_mit( - KC_NO, KC_NO, KC_PWR, KC_NO, RGB_M_G, KC_NO, KC_NO, KC_7, KC_8, KC_9, KC_NO, KC_BSPC, - KC_NO, KC_NO, KC_MPRV, KC_MPLY, KC_MNXT, KC_NO, KC_NO, KC_4, KC_5, KC_6, KC_NO, KC_NO, - KC_TRNS, KC_NO, RGB_RMOD, RGB_MOD, RGB_TOG, KC_NO, KC_NO, KC_1, KC_2, KC_3, KC_NO, KC_NO, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_SPC, KC_0, KC_COMM, KC_DOT, KC_NO, QK_BOOT -), - -/* ARROWS - * ,-----------------------------------------------------------------------------------. - * | | F1 | F2 | F3 | F4 | | | | Up | | | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | F5 | F6 | F7 | F8 | | | Left | Down |Right | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | F9 | F10 | F11 | F12 | | | | | | | Trns | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * |LCtrl | F13 | F14 | F15 | F16 | Left Alt | | | | | | - * `-----------------------------------------------------------------------------------' - */ -[_ARROWS] = LAYOUT_planck_mit( - KC_NO, KC_F1, KC_F2, KC_F3, KC_F4, KC_NO, KC_NO, KC_NO, KC_UP, KC_NO, KC_NO, KC_BSPC, - KC_NO, KC_F5, KC_F6, KC_F7, KC_F8, KC_NO, KC_NO, KC_LEFT, KC_DOWN, KC_RGHT, KC_NO, KC_NO, - KC_NO, KC_F9, KC_F10, KC_F11, KC_F12, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, - KC_LCTL, KC_F13, KC_F14, KC_F15, KC_F16, KC_LALT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO -), - -/* SPECIAL - * ,-----------------------------------------------------------------------------------. - * | ~ | ! | @ | # | $ | % | ^ | * | ( | ) | \ | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | [ | | | | & | | - | [ | ] | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | | | | | | | = | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | Trns | Space |LShift| | | | | - * `-----------------------------------------------------------------------------------' - */ -[_SPECIAL] = LAYOUT_planck_mit( - KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSLS, KC_BSPC, - KC_NO, KC_LBRC, KC_NO, KC_NO, KC_NO, KC_AMPR, KC_NO, KC_MINS, KC_LBRC, KC_RBRC, KC_NO, KC_NO, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_EQL, KC_NO, KC_NO, KC_NO, KC_NO, - KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_SPC, KC_LSFT, KC_NO, KC_NO, KC_NO, KC_NO -), - -/* FPS - * ,-----------------------------------------------------------------------------------. - * | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 |QWERTY| - * |------+------+------+------+------+-------------+------+------+------+------+------| - * |RShift| Q | W | E | R | T | Y |QWERTY| | | | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | Tab | A | S | D | G | B | ` | | | | MOBA | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * |LCtrl | Z | X | LAlt |LShift| Space |Enter | | | Trns |FIGHTI| - * `-----------------------------------------------------------------------------------' - */ -[_FPS] = LAYOUT_planck_mit( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, TO(0), - KC_RSFT, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, TO(0), KC_NO, KC_NO, KC_NO, KC_NO, - KC_TAB, KC_A, KC_S, KC_D, KC_G, KC_B, KC_GRV, KC_NO, KC_NO, KC_NO, TO(6), KC_NO, - KC_LCTL, KC_Z, KC_X, KC_LALT, KC_LSFT, KC_SPC, KC_ENT, KC_NO, KC_NO, KC_TRNS, TO(5) -), - -/* FIGHTING - * ,-----------------------------------------------------------------------------------. - * | Esc | | W | | | | | | | | |QWERTY| - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Tab | A | S | D | | | | J | K | L | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | | | | | | | | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * |LCtrl | | | | H | Space | | | | | Trns | - * `-----------------------------------------------------------------------------------' - */ -[_FIGHTING] = LAYOUT_planck_mit( - KC_ESC, KC_NO, KC_W, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, TO(0), - KC_TAB, KC_A, KC_S, KC_D, KC_NO, KC_NO, KC_NO, KC_J, KC_K, KC_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_LCTL, KC_NO, KC_NO, KC_NO, KC_H, KC_SPC, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS -), - -/* MOBA - * ,-----------------------------------------------------------------------------------. - * | Esc | 1 | 2 | 3 | 4 | 5 | 6 | | | | |QWERTY| - * |------+------+------+------+------+-------------+------+------+------+------+------| - * |RShift| Q | W | E | R | T | Y |QWERTY| | | | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | Tab | A | S | D | F | G | B | | | | Trns | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * |LCtrl | Z | X | LAlt |MOBA2 | Space |Enter | | | | | - * `-----------------------------------------------------------------------------------' - */ -[_MOBA] = LAYOUT_planck_mit( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_NO, KC_NO, KC_NO, KC_NO, TO(0), - KC_RSFT, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, TO(0), KC_NO, KC_NO, KC_NO, KC_NO, - KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_B, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_NO, - KC_LCTL, KC_Z, KC_X, KC_LALT, MO(7), KC_SPC, KC_ENT, KC_NO, KC_NO, KC_NO, KC_NO - ), - -/* MOBA2 - * ,-----------------------------------------------------------------------------------. - * | | | | | | | | | | | | | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | F1 | F2 | F3 | F4 | | | | | | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | | | | | | | | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | Trns | | | | | | | - * `-----------------------------------------------------------------------------------' - */ -[_MOBA2] = 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_F1, KC_F2, KC_F3, KC_F4, 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_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO -), - -/* MOBA2 - * ,-----------------------------------------------------------------------------------. - * | | | | MUp | | | | MWUp |MWDown| | | | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | |MLeft |MDown |MRight| | |Mouse1|Mouse2| | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | | | | | | | | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | Trns | | | | - * `-----------------------------------------------------------------------------------' - */ -[_MOUSE] = LAYOUT_planck_mit( - KC_NO, KC_NO, KC_NO, KC_MS_U, KC_NO, KC_NO, KC_NO, KC_WH_U, KC_WH_D, KC_NO, KC_NO, KC_NO, - KC_NO, KC_NO, KC_MS_L, KC_MS_D, KC_MS_R, KC_NO, KC_NO, KC_BTN1, KC_BTN2, 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_NO, KC_NO, KC_NO - ) -}; diff --git a/keyboards/kbdfans/niu_mini/keymaps/edvard/readme.md b/keyboards/kbdfans/niu_mini/keymaps/edvard/readme.md deleted file mode 100644 index 32846b4a55b..00000000000 --- a/keyboards/kbdfans/niu_mini/keymaps/edvard/readme.md +++ /dev/null @@ -1,5 +0,0 @@ -# Edvard's layout - -An efficient 40% keyboard layout - -[Writeup](https://github.com/EdvardSire/keyboard) diff --git a/keyboards/kbdfans/niu_mini/keymaps/framtava/config.h b/keyboards/kbdfans/niu_mini/keymaps/framtava/config.h deleted file mode 100644 index 0c42bb50602..00000000000 --- a/keyboards/kbdfans/niu_mini/keymaps/framtava/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/framtava/keymap.c b/keyboards/kbdfans/niu_mini/keymaps/framtava/keymap.c deleted file mode 100644 index 3735744368b..00000000000 --- a/keyboards/kbdfans/niu_mini/keymaps/framtava/keymap.c +++ /dev/null @@ -1,279 +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, - _BACKLIT -}; - -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 | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | Alt | GUI |Brite |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 , - KC_LCTL, KC_LGUI, KC_LALT, BACKLIT, 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 | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | Alt | GUI |Brite |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 , - KC_LCTL, KC_LGUI, KC_LALT, BACKLIT, 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 | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | Alt | GUI |Brite |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 , - KC_LCTL, KC_LGUI, KC_LALT, BACKLIT, LOWER, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - -/* Lower - * ,-----------------------------------------------------------------------------------. - * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO ~ |ISO | | | End | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | Next | Vol- | Vol+ | Play | - * `-----------------------------------------------------------------------------------' - */ -[_LOWER] = LAYOUT_planck_mit( - _______, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, - KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_TILD, - _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______, KC_PIPE, _______, - _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END -), - -/* Raise - * ,-----------------------------------------------------------------------------------. - * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Del | 4 | 5 | 6 | | | | - | = | [ | ] | \ | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | 7 | 8 | 9 | | | |ISO # |ISO / |Pg Up |Pg Dn | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | 0 | | | | Next | Vol- | Vol+ | Play | - * `-----------------------------------------------------------------------------------' - */ -[_RAISE] = LAYOUT_planck_mit( - KC_NUM, 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_4, KC_5, KC_6, _______, _______, _______, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_GRV, - _______, KC_7, KC_8, KC_9, _______, _______, _______, _______, KC_PSCR, _______, KC_BSLS, _______, - _______, _______, _______, KC_0, _______, _______, _______, 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, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -), - -/* Adjust (Lower + Raise) - * ,-----------------------------------------------------------------------------------. - * | | | | | | | | | | | | | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | TOG | | | | | | | | | | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | | | | | | | | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | MOD | HUI | HUD | - * `-----------------------------------------------------------------------------------' - */ -[_BACKLIT] = LAYOUT_planck_mit( - _______, 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_TOG, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_VAI, RGB_VAD, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_SAI, RGB_SAD, - _______, _______, _______, _______, _______, _______, _______, RGB_MOD, RGB_RMOD, RGB_HUI, RGB_HUD -) - - -}; - -#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) { - layer_on(_BACKLIT); - // update_tri_layer(_LOWER, _RAISE, _ADJUST); - } else { - layer_off(_BACKLIT); - // update_tri_layer(_LOWER, _RAISE, _ADJUST); - } - 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/framtava/readme.md b/keyboards/kbdfans/niu_mini/keymaps/framtava/readme.md deleted file mode 100644 index de9680b4985..00000000000 --- a/keyboards/kbdfans/niu_mini/keymaps/framtava/readme.md +++ /dev/null @@ -1,2 +0,0 @@ -# The Default Planck Layout - diff --git a/keyboards/kbdfans/niu_mini/keymaps/framtava/rules.mk b/keyboards/kbdfans/niu_mini/keymaps/framtava/rules.mk deleted file mode 100644 index 8cf6f7d5cbf..00000000000 --- a/keyboards/kbdfans/niu_mini/keymaps/framtava/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -CONSOLE_ENABLE = no # Console for debug(+400) -AUDIO_ENABLE = no # Audio output on port C6 -UNICODE_ENABLE = no # Unicode \ No newline at end of file diff --git a/keyboards/kbdfans/niu_mini/keymaps/nosarthur/README.md b/keyboards/kbdfans/niu_mini/keymaps/nosarthur/README.md deleted file mode 100644 index 9d57ceb5f7c..00000000000 --- a/keyboards/kbdfans/niu_mini/keymaps/nosarthur/README.md +++ /dev/null @@ -1,35 +0,0 @@ -# Kbdfans Niu Mini - -Here `keymap.c` is generated by [qmk configurator](https://config.qmk.fm) and -it corresponds to the colemak-dh layout. - -To customize, upload the json file to qmk configurator - -- `keymap_colemak_dh.json`: colemak-dh layout -- `keymap_qwerty.json`: qwerty layout - -Make the modification via the web interface, "compile" and download "keymap only". -Then place the generated `keymap.c` in this folder. - -To flush the firmware, connect your keyboard and run - -``` -make niu_mini:nosarthur:dtu -``` -in the `qmk_firmware` source folder. -There will be some prompts saying no device is found. Click the reset button in -the back of your keyboard and it should work. - -# notes from qmk configurator - -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: diff --git a/keyboards/kbdfans/niu_mini/keymaps/nosarthur/keymap.c b/keyboards/kbdfans/niu_mini/keymaps/nosarthur/keymap.c deleted file mode 100644 index fe719fc8214..00000000000 --- a/keyboards/kbdfans/niu_mini/keymaps/nosarthur/keymap.c +++ /dev/null @@ -1,8 +0,0 @@ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_planck_mit(KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_MINS, KC_ESC, 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_Z, KC_X, KC_C, KC_D, KC_V, KC_M, KC_H, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_LGUI, TT(3), KC_LALT, KC_LCTL, LT(2,KC_BSPC), KC_SPC, LT(1,KC_ENT), KC_COLN, KC_2, KC_1, KC_0), - [1] = 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_EQL, KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_MINS, KC_COLN, KC_PIPE, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_LCBR, KC_RCBR, KC_DOT, KC_SLSH, KC_BSLS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_CAPS, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_PLUS), - [2] = LAYOUT_planck_mit(KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_PGUP, KC_HOME, KC_UP, KC_END, KC_VOLU, KC_MUTE, KC_NO, KC_LT, KC_GT, KC_LPRN, KC_RPRN, KC_NO, KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, KC_VOLD, KC_NO, KC_TRNS, KC_NO, KC_NO, KC_LBRC, KC_RBRC, 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_DEL, KC_TRNS, KC_MPRV, KC_MNXT, KC_MPLY, KC_MSTP), - [3] = LAYOUT_planck_mit(KC_F1, KC_F2, KC_MS_U, KC_F3, KC_F4, KC_7, KC_8, KC_9, KC_MINS, KC_F10, KC_F11, KC_F12, KC_BTN2, KC_MS_L, KC_MS_D, KC_MS_R, KC_F5, KC_4, KC_5, KC_6, KC_PLUS, RGB_HUI, RGB_HUD, RGB_TOG, KC_TRNS, KC_F6, KC_F7, KC_F8, KC_F9, KC_1, KC_2, KC_3, KC_ENT, KC_ASTR, KC_SLSH, RGB_MOD, KC_TRNS, TO(0), KC_TRNS, KC_BTN1, KC_TRNS, KC_0, KC_DOT, KC_NO, KC_NO, KC_NO, KC_NO) -}; diff --git a/keyboards/kbdfans/niu_mini/keymaps/nosarthur/keymap_colemak_dh.json b/keyboards/kbdfans/niu_mini/keymaps/nosarthur/keymap_colemak_dh.json deleted file mode 100644 index 8dc43350c82..00000000000 --- a/keyboards/kbdfans/niu_mini/keymaps/nosarthur/keymap_colemak_dh.json +++ /dev/null @@ -1 +0,0 @@ -{"keyboard":"niu_mini","keymap":"22","layout":"LAYOUT_planck_mit","layers":[["KC_TAB","KC_Q","KC_W","KC_F","KC_P","KC_B","KC_J","KC_L","KC_U","KC_Y","KC_SCLN","KC_MINS","KC_ESC","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_Z","KC_X","KC_C","KC_D","KC_V","KC_M","KC_H","KC_COMM","KC_DOT","KC_SLSH","KC_RSFT","KC_LGUI","TT(3)","KC_LALT","KC_LCTL","LT(2,KC_BSPC)","KC_SPC","LT(1,KC_ENT)","KC_COLN","KC_2","KC_1","KC_0"],["KC_GRV","KC_1","KC_2","KC_3","KC_4","KC_5","KC_6","KC_7","KC_8","KC_9","KC_0","KC_EQL","KC_TILD","KC_EXLM","KC_AT","KC_HASH","KC_DLR","KC_PERC","KC_CIRC","KC_AMPR","KC_ASTR","KC_MINS","KC_COLN","KC_PIPE","KC_TRNS","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_LCBR","KC_RCBR","KC_DOT","KC_SLSH","KC_BSLS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_CAPS","KC_TRNS","KC_NO","KC_NO","KC_NO","KC_PLUS"],["KC_TILD","KC_EXLM","KC_AT","KC_HASH","KC_DLR","KC_PERC","KC_PGUP","KC_HOME","KC_UP","KC_END","KC_VOLU","KC_MUTE","KC_NO","KC_LT","KC_GT","KC_LPRN","KC_RPRN","KC_NO","KC_PGDN","KC_LEFT","KC_DOWN","KC_RGHT","KC_VOLD","KC_NO","KC_TRNS","KC_NO","KC_NO","KC_LBRC","KC_RBRC","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_DEL","KC_TRNS","KC_MPRV","KC_MNXT","KC_MPLY","KC_MSTP"],["KC_F1","KC_F2","KC_MS_U","KC_F3","KC_F4","KC_7","KC_8","KC_9","KC_MINS","KC_F10","KC_F11","KC_F12","KC_BTN2","KC_MS_L","KC_MS_D","KC_MS_R","KC_F5","KC_4","KC_5","KC_6","KC_PLUS","RGB_HUI","RGB_HUD","RGB_TOG","KC_TRNS","KC_F6","KC_F7","KC_F8","KC_F9","KC_1","KC_2","KC_3","KC_ENT","KC_ASTR","KC_SLSH","RGB_MOD","KC_TRNS","TO(0)","KC_TRNS","KC_BTN1","KC_TRNS","KC_0","KC_DOT","KC_NO","KC_NO","KC_NO","KC_NO"]],"author":"Dong Zhou","notes":"My awesome keymap"} \ No newline at end of file diff --git a/keyboards/kbdfans/niu_mini/keymaps/nosarthur/keymap_qwerty.json b/keyboards/kbdfans/niu_mini/keymaps/nosarthur/keymap_qwerty.json deleted file mode 100644 index ec9b945f4f3..00000000000 --- a/keyboards/kbdfans/niu_mini/keymaps/nosarthur/keymap_qwerty.json +++ /dev/null @@ -1 +0,0 @@ -{"keyboard":"niu_mini","keymap":"14","layout":"LAYOUT_planck_mit","layers":[["KC_TAB","KC_Q","KC_W","KC_E","KC_R","KC_T","KC_Y","KC_U","KC_I","KC_O","KC_P","KC_MINS","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_RSFT","KC_LGUI","TT(3)","KC_LALT","KC_LCTL","LT(2,KC_BSPC)","KC_SPC","LT(1,KC_ENT)","KC_3","KC_2","KC_1","KC_0"],["KC_GRV","KC_1","KC_2","KC_3","KC_4","KC_5","KC_6","KC_7","KC_8","KC_9","KC_0","KC_EQL","KC_TILD","KC_EXLM","KC_AT","KC_HASH","KC_DLR","KC_PERC","KC_CIRC","KC_AMPR","KC_ASTR","KC_NO","KC_COLN","KC_PIPE","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_NO","KC_LCBR","KC_RCBR","KC_DOT","KC_SLSH","KC_BSLS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_TRNS","KC_CAPS","KC_TRNS","KC_NO","KC_NO","KC_NO","KC_PLUS"],["KC_TILD","KC_EXLM","KC_AT","KC_HASH","KC_DLR","KC_PERC","KC_NO","KC_NO","KC_UP","KC_VOLD","KC_VOLU","KC_MUTE","KC_NO","KC_LT","KC_GT","KC_LPRN","KC_RPRN","KC_NO","KC_NO","KC_LEFT","KC_DOWN","KC_RGHT","KC_PGDN","KC_PGUP","KC_NO","KC_NO","KC_NO","KC_LBRC","KC_RBRC","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_HOME","KC_TRNS","KC_MPRV","KC_MNXT","KC_MPLY","KC_MSTP"],["KC_F1","KC_F2","KC_MS_U","KC_F3","KC_F4","KC_7","KC_8","KC_9","KC_MINS","KC_F10","KC_F11","KC_F12","KC_BTN2","KC_MS_L","KC_MS_D","KC_MS_R","KC_NO","KC_4","KC_5","KC_6","KC_PLUS","RGB_HUI","RGB_HUD","RGB_TOG","KC_F5","KC_F6","KC_F7","KC_F8","KC_F9","KC_1","KC_2","KC_3","KC_ENT","KC_ASTR","KC_SLSH","RGB_MOD","KC_TRNS","TO(0)","KC_TRNS","KC_BTN1","KC_TRNS","KC_0","KC_DOT","KC_NO","KC_NO","KC_NO","KC_NO"]],"author":"Dong Zhou","notes":"My awesome keymap"} \ No newline at end of file diff --git a/keyboards/kbdfans/niu_mini/keymaps/nosarthur/rules.mk b/keyboards/kbdfans/niu_mini/keymaps/nosarthur/rules.mk deleted file mode 100644 index 37ba40cdfef..00000000000 --- a/keyboards/kbdfans/niu_mini/keymaps/nosarthur/rules.mk +++ /dev/null @@ -1,4 +0,0 @@ -MOUSEKEY_ENABLE = yes -BACKLIGHT_ENABLE = no -AUDIO_ENABLE = no -CONSOLE_ENABLE = no # Console for debug(+400) diff --git a/keyboards/kbdfans/niu_mini/keymaps/tobias/config.h b/keyboards/kbdfans/niu_mini/keymaps/tobias/config.h deleted file mode 100644 index ad72b6b6c53..00000000000 --- a/keyboards/kbdfans/niu_mini/keymaps/tobias/config.h +++ /dev/null @@ -1,37 +0,0 @@ -#pragma once - -//#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 - -#define RGBLIGHT_SLEEP -#define TAPPING_TOGGLE 2 -#define ALT_F4 LALT(KC_F4) -#define CTALDEL LSFT(LCTL(KC_ESC)) -#define NO_DEBUG -#define CTLZ LCTL(KC_Z) -#define CTLX LCTL(KC_X) -#define CTLC LCTL(KC_C) -#define CTLV LCTL(KC_V) - diff --git a/keyboards/kbdfans/niu_mini/keymaps/tobias/keymap.c b/keyboards/kbdfans/niu_mini/keymaps/tobias/keymap.c deleted file mode 100644 index 8c7d3b8e0e0..00000000000 --- a/keyboards/kbdfans/niu_mini/keymaps/tobias/keymap.c +++ /dev/null @@ -1,383 +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, - _FNL1, - _MOUSE, - _LOWER, - _RAISE, - _FNL2, - _ADJUST, - _GAMEMODE, - _FNL3, _LOWER2, - _RAISE2 -}; - -enum custom_keycodes { - TBMACRO = SAFE_RANGE, - DGRMCRO, - WRKMOD -}; - -bool bnumlock = false; -bool numlock_changed = false; -bool workmode = true; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -/* Qwerty - * ,-----------------------------------------------------------------------------------. - * | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | FNL1 | A | S | D | F | G | H | J | K | L | ; | " | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | Shift| Z | X | C | V | B | N | M | , | . | / |Enter | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | GUI | Alt | Bksp |Lower | Space |Raise | Bksp | AltGr| * | Esc | - * `-----------------------------------------------------------------------------------' - */ -[_QWERTY] = LAYOUT_ortho_4x12( - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, - TT(_FNL1), 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, KC_LALT, KC_DEL, TT(_LOWER), KC_SPC, KC_SPC, TT(_RAISE), KC_BSPC, KC_RALT, KC_NUHS, KC_ESC -), - - -/* FNL1 - * ,-----------------------------------------------------------------------------------. - * |TbMacr| Prev | Play | Next | AltF4| CapsL| Esc | PgUp | Up | PgDn |PrScrn| Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | | Vol- | Vol+ | Mute | NumL | Home | Left | Down | Right| | Del | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | | | | | | End | | | | ? | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | | ! | | - * `-----------------------------------------------------------------------------------' - */ -[_FNL1] = LAYOUT_ortho_4x12( - TBMACRO, KC_MPRV, KC_MPLY, KC_MNXT, ALT_F4, KC_CAPS, KC_ESC, KC_PGUP, KC_UP, KC_PGDN, KC_PSCR, KC_BSPC, - TT(_FNL1), _______, KC_VOLD, KC_VOLU, KC_MUTE, KC_NUM, KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, _______, KC_DEL, - KC_LSFT, CTLZ, CTLX, CTLC, CTLV, _______, KC_END, _______, _______, _______, LSFT(KC_MINS), _______, - _______, _______, CTALDEL, _______, _______, _______, _______, TO(_MOUSE), _______, _______, LSFT(KC_1), _______ -), - -[_MOUSE] = { - { KC_TAB, XXXXXXX, XXXXXXX, KC_MS_UP, XXXXXXX, KC_T, XXXXXXX, KC_MS_BTN3, KC_MS_WH_UP, KC_MS_BTN2, XXXXXXX, KC_MS_ACCEL0 }, - {TO(_QWERTY), XXXXXXX, KC_MS_LEFT, KC_MS_DOWN, KC_MS_RIGHT, XXXXXXX, XXXXXXX, KC_MS_WH_LEFT, KC_MS_WH_DOWN, KC_MS_WH_RIGHT, XXXXXXX, KC_MS_ACCEL1}, - {_______, KC_Z, KC_X, KC_C, KC_V, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_MS_ACCEL2}, - {KC_LCTL, TO(_QWERTY), KC_LALT, _______, TO(_QWERTY), KC_MS_BTN1, XXXXXXX, TO(_QWERTY), _______, _______, TO(_QWERTY), TO(_QWERTY)} -}, - -/* Raise - * ,-----------------------------------------------------------------------------------. - * | § | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | + | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | ´ | ` | @ | £ | $ | € | ¨ | { | [ | ] | } | \ | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | < | | | > | ° | | | µ | ¨ | ^ | ~ | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | AltGr| | | | | | | | BAIL | - * `-----------------------------------------------------------------------------------' - */ -[_RAISE] = LAYOUT_ortho_4x12( - 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, S(KC_EQL), RALT(KC_2), RALT(KC_3), RALT(KC_4), RALT(KC_E), KC_RBRC, RALT(KC_7), RALT(KC_8), RALT(KC_9), RALT(KC_0), RALT(KC_MINS), - KC_LSFT, KC_NUBS, RALT(KC_NUBS), S(KC_NUBS), DGRMCRO, XXXXXXX, XXXXXXX, RALT(KC_M), KC_RBRC, S(KC_RBRC), RALT(KC_RBRC), _______, - _______, _______, KC_RALT, _______,TO(_ADJUST), _______, _______, _______, _______, _______, _______, TO(_QWERTY) -), - - -/* Lower - * ,-----------------------------------------------------------------------------------. - * | Tab | F1 | F2 | F3 | F4 | Esc | Bksp | / | 7 | 8 | 9 | - | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | FNL2 | F5 | F6 | F7 | F8 |Insert| Home | PgUp | 4 | 5 | 6 | + | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | F9 | F10 | F11 | F12 | Del | End | PgDn | 1 | 2 | 3 | Enter| - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | Alt | | | | * | 0 | , | . | BAIL | - * `-----------------------------------------------------------------------------------' - */ -[_LOWER] = LAYOUT_ortho_4x12( - KC_TAB, KC_F1, KC_F2, KC_F3, KC_F4, KC_ESC, KC_BSPC, KC_PSLS, KC_P7, KC_P8, KC_P9, KC_PMNS, - TT(_FNL2), KC_F5, KC_F6, KC_F7, KC_F8, KC_INS, KC_HOME, KC_PGUP, KC_P4, KC_P5, KC_P6, KC_PPLS, - KC_LSFT, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_END, KC_PGDN, KC_P1, KC_P2, KC_P3, KC_PENT, - _______, _______, KC_LALT, _______, TO(_QWERTY), _______, _______, KC_PAST, KC_P0, KC_PDOT, KC_DOT, TO(_QWERTY) -), - -/* FNL2 - * ,-----------------------------------------------------------------------------------. - * |TbMacr| Prev | Play | Next | AltF4| CapsL| |PrScrn|Insert| Home | PgUp |ScrLck| - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | | Vol- | Vol+ | Mute | NumL | | | Del | End | PgDn | Pause| - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | | | | | | | | | Up | | Enter| - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | Left | Down | Right| BAIL | - * `-----------------------------------------------------------------------------------' - */ -[_FNL2] = LAYOUT_ortho_4x12( - TBMACRO, KC_MPRV, KC_MPLY, KC_MNXT, ALT_F4, KC_CAPS, _______, KC_PSCR, KC_INS, KC_HOME, KC_PGUP, KC_SCRL, - _______, _______, KC_VOLD, KC_VOLU, KC_MUTE, KC_NUM, _______, _______, KC_DEL, KC_END, KC_PGDN, KC_PAUS, - _______, CTLZ, CTLX, CTLC, CTLV, _______, _______, _______, _______, KC_UP, _______, KC_ENT, - _______, _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, TO(_QWERTY) -), - -/* Adjust (Lower + Raise) - * ,-----------------------------------------------------------------------------------. - * | GAME | Reset| | | | | | | | | |LIGHTS| - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | |BLtogg|BLstep| | | | | | | | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | |RGBtog|RGBhui|RGBhud|RGBmod|RGBsai|RGBsad| | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | RGB4 | | | | | | | | | NKO | BAIL | - * `-----------------------------------------------------------------------------------' - */ -[_ADJUST] = LAYOUT_ortho_4x12( - TO(_GAMEMODE), QK_BOOT, DB_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, WRKMOD, - _______, BL_TOGG, BL_STEP, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, RGB_TOG, RGB_HUI, RGB_HUD, RGB_MOD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, RGB_SPI, RGB_SPD, RGB_MODE_FORWARD, - _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_M_P, RGB_M_R, TO(_QWERTY) -), - -/* Game mode - * ,-----------------------------------------------------------------------------------. - * | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | FNL1 | A | S | D | F | G | H | J | K | L | ; | " | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | Shift| Z | X | C | V | B | N | M | , | . | / |Enter | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | 1 | Lower| Bksp | Alt | Space | Raise| Bksp | BAIL | * | Esc | - * `-----------------------------------------------------------------------------------' - */ -[_GAMEMODE] = LAYOUT_ortho_4x12( - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, - TT(_FNL3), 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_1, MO(_LOWER2), KC_DEL, KC_LALT, KC_SPC, KC_SPC, MO(_RAISE2), KC_BSPC, TO(_QWERTY), KC_NUHS, KC_ESC -), - -/* FNL3 - * ,-----------------------------------------------------------------------------------. - * |TbMacr| Prev | Play | Next | AltF4| CapsL| Esc | PgUp | Up | PgDn |PrScrn| Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | | Vol- | Vol+ | Mute | NumL | Home | Left | Down | Right| | Del | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | | | | | | End | | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | | | BAIL | - * `-----------------------------------------------------------------------------------' - */ -[_FNL3] = LAYOUT_ortho_4x12( - TBMACRO, KC_MPRV, KC_MPLY, KC_MNXT, ALT_F4, KC_CAPS, KC_ESC, KC_PGUP, KC_UP, KC_PGDN, KC_PSCR, KC_BSPC, - _______, _______, KC_VOLD, KC_VOLU, KC_MUTE, KC_NUM, KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, _______, KC_DEL, - KC_LSFT, _______, _______, _______, _______, _______, KC_END, _______, _______, _______, LSFT(KC_MINS), _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, LSFT(KC_1), _______ -), - -/* Lower - * ,-----------------------------------------------------------------------------------. - * | Tab | F1 | F2 | F3 | F4 | Esc | Bksp | / | 7 | 8 | 9 | - | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | FNL2 | F5 | F6 | F7 | F8 |Insert| Home | PgUp | 4 | 5 | 6 | + | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | F9 | F10 | F11 | F12 | Del | End | PgDn | 1 | 2 | 3 | Enter| - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | Alt | | | | * | 0 | , | . | BAIL | - * `-----------------------------------------------------------------------------------' - */ -[_LOWER2] = LAYOUT_ortho_4x12( - KC_TAB, KC_F1, KC_F2, KC_F3, KC_F4, KC_ESC, KC_BSPC, KC_PSLS, KC_P7, KC_P8, KC_P9, KC_PMNS, - TT(_FNL2), KC_F5, KC_F6, KC_F7, KC_F8, KC_INS, KC_HOME, KC_PGUP, KC_P4, KC_P5, KC_P6, KC_PPLS, - KC_LSFT, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_END, KC_PGDN, KC_P1, KC_P2, KC_P3, KC_PENT, - _______, _______, _______, _______, _______, _______, _______, KC_PAST, KC_P0, KC_PDOT, KC_DOT, TO(_GAMEMODE) -), - -/* Raise - * ,-----------------------------------------------------------------------------------. - * | § | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | + | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | ´ | ` | @ | £ | $ | € | ¨ | { | [ | ] | } | \ | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | < | | | > | ° | | | µ | ¨ | ^ | ~ | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | AltGr| | | | | | | | BAIL | - * `-----------------------------------------------------------------------------------' - */ -[_RAISE2] = LAYOUT_ortho_4x12( - 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, S(KC_EQL), RALT(KC_2), RALT(KC_3), RALT(KC_4), RALT(KC_E), KC_RBRC, RALT(KC_7), RALT(KC_8), RALT(KC_9), RALT(KC_0), RALT(KC_MINS), - KC_LSFT, KC_NUBS, RALT(KC_NUBS), S(KC_NUBS), DGRMCRO, XXXXXXX, XXXXXXX, RALT(KC_M), KC_RBRC, S(KC_RBRC), RALT(KC_RBRC), _______, - _______, _______, KC_RALT, _______, _______, _______, _______, _______, _______, _______, _______, TO(_GAMEMODE) -) - -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - if (record->event.pressed) { - switch(keycode) { - case TBMACRO: - SEND_STRING(SS_TAP(X_TAB) SS_DOWN(X_LSFT) SS_TAP(X_HOME) SS_UP(X_LSFT) SS_TAP(X_DELETE)); - return false; - case DGRMCRO: - if(!bnumlock) { - //register_code(KC_NUM); - //unregister_code(KC_NUM); - tap_code(KC_NUM); - bnumlock = true; - } - //SEND_STRING(SS_DOWN(X_LALT) SS_TAP(X_P0) SS_TAP(X_P1) SS_TAP(X_P7) SS_TAP(X_P6) SS_UP(X_LALT)); - SEND_STRING(SS_DOWN(X_LALT) SS_TAP(X_KP_0) SS_TAP(X_KP_1) SS_TAP(X_KP_7) SS_TAP(X_KP_6) SS_UP(X_LALT) ); - return false; - case WRKMOD: - if(!workmode) { - workmode = true; - return false; - } - else { - workmode = false; - return false; - } - } - - } - return true; -} - -void rgbflag(uint8_t r, uint8_t g, uint8_t b) { - for(int i = 0; i < RGBLED_NUM; i++){ - switch(i) { - case 0 ... 13: - // rgblight_setrgb_at(r,g,b,i); - led[i].r = r; - led[i].g = g; - led[i].b = b; - break; - /* case 9 ... 11: - // rgblight_setrgb_at(r,g,b,i); - led[i].r = r; - led[i].g = g; - led[i].b = b; - break; */ - default: - // rgblight_setrgb_at(0,0,0,i); - led[i].r = 0; - led[i].g = 0; - led[i].b = 0; - break; - } - } - rgblight_set(); -} - -layer_state_t layer_state_set_user(layer_state_t state) { -// if(rgblight_get_mode() == 1) { - switch (get_highest_layer(state)) { - case _QWERTY: - if(!workmode){ - rgblight_mode(9); - } - else if(workmode){ - rgblight_mode(1); - rgbflag(0x00, 0x00, 0x00); - } - if(bnumlock) { - tap_code(KC_NUM); - } - break; - case _LOWER: - rgblight_mode(1); - if(!bnumlock) { - tap_code(KC_NUM); - } - rgbflag(0xFF, 0x00, 0x00); - - break; - case _ADJUST: - rgblight_mode(1); - rgbflag(0xFF, 0xFF, 0xFF); - if(bnumlock) { - tap_code(KC_NUM); - } - break; - case _RAISE: - rgblight_mode(1); - rgbflag(0x00, 0xFF, 0x00); - if(bnumlock) { - tap_code(KC_NUM); - } - break; - case _FNL1: - rgblight_mode(1); - rgbflag(0x00, 0x00, 0xFF); - if(bnumlock) { - tap_code(KC_NUM); - } - break; - case _GAMEMODE: - rgblight_mode(1); - rgbflag(0xFF, 0x00, 0xFF); - break; - case _MOUSE: - rgblight_mode(1); - rgbflag(0x00, 0xFF, 0xFF); - if(bnumlock) { - tap_code(KC_NUM); - } - break; - default: // for any other layers, or the default layer - rgblight_mode(1); - if(bnumlock) { - tap_code(KC_NUM); - } - rgbflag(0xFF, 0xFF, 0xFF); - break; - } - // } - return state; -} - -/* void matrix_scan_user(void) { - - //Layer LED indicators - - uint32_t layer = layer_state; - - - if (layer & (1<<2)) { - if(!bnumlock) { - numlock_changed = true; - register_code(KC_NUM); - unregister_code(KC_NUM); - bnumlock = true; - } - } -} - */ - - -bool led_update_user(led_t led_state) { - bnumlock = led_state.num_lock; - return false; -} diff --git a/keyboards/kbdfans/niu_mini/keymaps/tobias/readme.md b/keyboards/kbdfans/niu_mini/keymaps/tobias/readme.md deleted file mode 100644 index 0a8077884d5..00000000000 --- a/keyboards/kbdfans/niu_mini/keymaps/tobias/readme.md +++ /dev/null @@ -1,2 +0,0 @@ -# Swedish 40% Layout - diff --git a/keyboards/kbdfans/niu_mini/keymaps/tobias/rules.mk b/keyboards/kbdfans/niu_mini/keymaps/tobias/rules.mk deleted file mode 100644 index d75595602fc..00000000000 --- a/keyboards/kbdfans/niu_mini/keymaps/tobias/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -NKRO_ENABLE = YES -MOUSEKEY_ENABLE = yes \ No newline at end of file diff --git a/keyboards/keebio/bdn9/keymaps/ghostseven/config.h b/keyboards/keebio/bdn9/keymaps/ghostseven/config.h deleted file mode 100644 index 6df867d5757..00000000000 --- a/keyboards/keebio/bdn9/keymaps/ghostseven/config.h +++ /dev/null @@ -1,20 +0,0 @@ -/* Copyright 2020 GhostSeven - * - * 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_KEYPRESSES -#endif diff --git a/keyboards/keebio/bdn9/keymaps/ghostseven/keymap.c b/keyboards/keebio/bdn9/keymaps/ghostseven/keymap.c deleted file mode 100644 index 1a1df0d5014..00000000000 --- a/keyboards/keebio/bdn9/keymaps/ghostseven/keymap.c +++ /dev/null @@ -1,71 +0,0 @@ -/* Copyright 2020 GhostSeven - * - * 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 encoder_names { - _LEFT, - _RIGHT, - _MIDDLE, -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* - | Knob 1: Vol Dn/Up | | Knob 2: Page Dn/Up | - | Press: Mute | Home | Press: Play/Pause | - | Hold: Layer 2 | Up | Enter | - | Left | Down | Right | - */ - [0] = LAYOUT( - KC_MUTE, KC_HOME, KC_MPLY, - MO(1) , KC_UP , KC_ENT, - KC_LEFT, KC_DOWN, KC_RGHT - ), - /* - | QK_BOOT | Shift+CMD+B (Build VS Code) | Media Stop | - | Held: Layer 2 | Home | RGB Mode | - | Media Previous | End | Media Next | - */ - [1] = LAYOUT( - QK_BOOT, S(G(KC_B)), KC_STOP, - _______, KC_HOME, RGB_MOD, - KC_MPRV, KC_END , KC_MNXT - ), -}; - -bool encoder_update_user(uint8_t index, bool clockwise) { - if (index == _LEFT) { - if (clockwise) { - tap_code(KC_VOLD); - } else { - tap_code(KC_VOLU); - } - } - else if (index == _MIDDLE) { - if (clockwise) { - tap_code(KC_UP); - } else { - tap_code(KC_DOWN); - } - } - else if (index == _RIGHT) { - if (clockwise) { - tap_code(KC_PGUP); - } else { - tap_code(KC_PGDN); - } - } - return true; -} diff --git a/keyboards/keebio/bdn9/keymaps/lickel/keymap.c b/keyboards/keebio/bdn9/keymaps/lickel/keymap.c deleted file mode 100644 index f62e38107ec..00000000000 --- a/keyboards/keebio/bdn9/keymaps/lickel/keymap.c +++ /dev/null @@ -1,171 +0,0 @@ -/* Copyright 2022 @ 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 - -enum encoder_names { - _LEFT, - _RIGHT, - _MIDDLE, -}; - -enum bdn9_layers { - _MEDIA = 0, - _XCODE, - _CUST1, - _CUST2, -}; - -#define KC_XCRUN LGUI(KC_R) -#define KC_XCPAUSE LCTL(LGUI(KC_Y)) -#define KC_XCSTOP LGUI(KC_DOT) - -// clang-format off - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_MEDIA] = LAYOUT( - TO(_XCODE), RGB_SPD, RGB_SPI, - RGB_MOD, KC_MPLY, KC_MSTP, - RGB_RMOD, KC_MNXT, KC_MPRV - ), - [_XCODE] = LAYOUT( - TG(_XCODE), KC_NO, KC_NO, - KC_XCRUN, KC_XCPAUSE, KC_XCSTOP, - KC_F6, KC_F7, KC_F8 - ), - [_CUST1] = LAYOUT( - TG(_CUST1), _______, _______, - _______, _______, _______, - _______, _______, _______ - ), - [_CUST2] = LAYOUT( - TG(_CUST2), _______, _______, - _______, _______, _______, - _______, _______, _______ - ), -}; - -// clang-format on - -layer_state_t layer_state_set_user(layer_state_t state) { -#if defined(RGBLIGHT_ENABLE) || defined(RGB_MATRIX_ENABLE) - uint8_t layer = get_highest_layer(state); - - switch (layer) { - case _MEDIA: // Reset - rgblight_reload_from_eeprom(); - break; - - case _XCODE: - rgblight_sethsv_noeeprom(HSV_BLUE); -# if defined(RGB_MATRIX_ENABLE) && defined(ENABLE_RGB_MATRIX_BREATHING) - rgb_matrix_mode_noeeprom(RGB_MATRIX_BREATHING); -# elif defined(RGBLIGHT_ENABLE) && defined(RGBLIGHT_EFFECT_BREATHING) - rgblight_mode_noeeprom(RGBLIGHT_MODE_BREATHING + 1); -# endif - break; - - case _CUST1: - rgblight_sethsv_noeeprom(HSV_GREEN); -# if defined(RGB_MATRIX_ENABLE) && defined(ENABLE_RGB_MATRIX_BREATHING) - rgb_matrix_mode_noeeprom(RGB_MATRIX_BREATHING); -# elif defined(RGBLIGHT_ENABLE) && defined(RGBLIGHT_EFFECT_BREATHING) - rgblight_mode_noeeprom(RGBLIGHT_MODE_BREATHING + 1); -# endif - break; - - case _CUST2: - rgblight_sethsv_noeeprom(HSV_PURPLE); -# if defined(RGB_MATRIX_ENABLE) && defined(ENABLE_RGB_MATRIX_BREATHING) - rgb_matrix_mode_noeeprom(RGB_MATRIX_BREATHING); -# elif defined(RGBLIGHT_ENABLE) && defined(RGBLIGHT_EFFECT_BREATHING) - rgblight_mode_noeeprom(RGBLIGHT_MODE_BREATHING + 1); -# endif - break; - - default: - break; - } -#endif - return state; -} - -#ifdef ENCODER_MAP_ENABLE -const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { -#if defined(RGBLIGHT_ENABLE) || defined(RGB_MATRIX_ENABLE) - [_MEDIA] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI), ENCODER_CCW_CW(RGB_SAD, RGB_SAI), ENCODER_CCW_CW(RGB_VAD, RGB_VAI) }, - [_XCODE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_UP, KC_DOWN), ENCODER_CCW_CW(KC_PGUP, KC_PGDN) }, -#else - [_MEDIA] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_UP, KC_DOWN), ENCODER_CCW_CW(KC_PGUP, KC_PGDN) }, - [_XCODE] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) }, -#endif - [_CUST1] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) }, - [_CUST2] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) }, -}; -#else -bool encoder_update_user(uint8_t index, bool clockwise) { - uint8_t layer = get_highest_layer(layer_state); - - switch (layer) { -#if defined(RGBLIGHT_ENABLE) || defined(RGB_MATRIX_ENABLE) - case 0: // Reset - if (index == _LEFT) { - if (clockwise) { - rgblight_increase_hue(); - } else { - rgblight_decrease_hue(); - } - } else if (index == _MIDDLE) { - if (clockwise) { - rgblight_increase_sat(); - } else { - rgblight_decrease_sat(); - } - } else if (index == _RIGHT) { - if (clockwise) { - rgblight_increase_val(); - } else { - rgblight_decrease_val(); - } - } - break; -#endif - - default: - if (index == _LEFT) { - if (clockwise) { - tap_code(KC_VOLU); - } else { - tap_code(KC_VOLD); - } - } else if (index == _MIDDLE) { - if (clockwise) { - tap_code(KC_DOWN); - } else { - tap_code(KC_UP); - } - } else if (index == _RIGHT) { - if (clockwise) { - tap_code(KC_PGDN); - } else { - tap_code(KC_PGUP); - } - } - break; - } - return true; -} -#endif diff --git a/keyboards/keebio/bdn9/keymaps/lickel/readme.md b/keyboards/keebio/bdn9/keymaps/lickel/readme.md deleted file mode 100644 index 72170ce4529..00000000000 --- a/keyboards/keebio/bdn9/keymaps/lickel/readme.md +++ /dev/null @@ -1,21 +0,0 @@ -# lickel's BDN9 keymap - -- Via support is enabled by default -- Changing layers to non-zero changes the RGBs to breathing colors -- Changing to layer 0 resets the RGBs to EEPROM settings -- Layer 0 encoders are: Hue, Saturation, Value -- Other layers are: Volume, Arrow, Pg up/down - -- Layer 0: Media Controls & RGB Effects -- Layer 1: Xcode Debugging -- Layers 2 and 3: Reserved for Via - -## Changelog - -### 2022-12-09 - 1.1 - -- Add ENCODER_MAP_ENABLE from default VIA definition - -### 2022-01-17 - 1.0 - -- Initial release diff --git a/keyboards/keebio/bdn9/keymaps/lickel/rules.mk b/keyboards/keebio/bdn9/keymaps/lickel/rules.mk deleted file mode 100644 index ec89cb662fa..00000000000 --- a/keyboards/keebio/bdn9/keymaps/lickel/rules.mk +++ /dev/null @@ -1,6 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes -MOUSEKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = no -ENCODER_MAP_ENABLE = yes diff --git a/keyboards/keebio/bdn9/keymaps/vosechu-browser/keymap.c b/keyboards/keebio/bdn9/keymaps/vosechu-browser/keymap.c deleted file mode 100644 index 4b0fb147ecc..00000000000 --- a/keyboards/keebio/bdn9/keymaps/vosechu-browser/keymap.c +++ /dev/null @@ -1,58 +0,0 @@ -#include QMK_KEYBOARD_H - -// Macro keys for some apps -#define SLACKUP LALT(LSFT(KC_UP)) -#define SLACKDN LALT(LSFT(KC_DOWN)) -#define RELOAD LGUI(KC_R) - -enum custom_keycodes { - PAWFIVE = SAFE_RANGE -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( - QK_BOOT, PAWFIVE, RELOAD , - SLACKUP, KC_UP , KC_PGUP, - SLACKDN, KC_DOWN, KC_PGDN - ), -}; - -void keyboard_post_init_user(void) { - // Call the post init code. - rgblight_enable_noeeprom(); // enables Rgb, without saving settings - rgblight_mode_noeeprom(RGBLIGHT_MODE_RAINBOW_SWIRL); // sets mode to Slow breathing without saving -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case PAWFIVE: - if (record->event.pressed) { - SEND_STRING("+:pawfive:\n"); - return false; - } - } - - return true; -} - -bool encoder_update_user(uint8_t index, bool clockwise) { - if (index == 0) { - if (clockwise) { - // Tab right - tap_code16(LSFT(LGUI(KC_RBRC))); - } else { - // Tab left - tap_code16(LSFT(LGUI(KC_LBRC))); - } - } - else if (index == 1) { - if (clockwise) { - // History forward - tap_code16(LGUI(KC_RBRC)); - } else { - // History back - tap_code16(LGUI(KC_LBRC)); - } - } - return true; -} diff --git a/keyboards/keebio/bdn9/keymaps/vosechu-ksp/keymap.c b/keyboards/keebio/bdn9/keymaps/vosechu-ksp/keymap.c deleted file mode 100644 index 66483b51de3..00000000000 --- a/keyboards/keebio/bdn9/keymaps/vosechu-ksp/keymap.c +++ /dev/null @@ -1,173 +0,0 @@ -/* Copyright 2019 Chuck Lauer Vose - * - * 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 - -// // Debugging -// #include - -#define BASE TO(_BASE) -#define PANIC TO(_PANIC) -#define FLIGHT TO(_FLIGHT) -#define RCS TO(_RCS) - -enum my_layers { - _BASE = 0, - _PANIC, - _FLIGHT, - _RCS -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BASE] = LAYOUT( - KC_MUTE, PANIC , XXXXXXX, - FLIGHT , XXXXXXX, RCS , - XXXXXXX, XXXXXXX, XXXXXXX - ), - [_PANIC] = LAYOUT( - QK_BOOT, BASE , XXXXXXX, - _______, XXXXXXX, _______, - KC_F2 , KC_F5 , KC_F9 - ), - [_FLIGHT] = LAYOUT( - XXXXXXX, _______, KC_M , - BASE , KC_W , _______, - KC_A , KC_S , KC_D - ), - [_RCS] = LAYOUT( - XXXXXXX, _______, XXXXXXX, - _______, KC_I , BASE , - KC_J , KC_K , KC_L - ) -}; - -bool base_mode = false; -bool panic_mode = false; -bool flight_mode = false; -bool rcs_mode = false; - -layer_state_t layer_state_set_user(layer_state_t state) { - base_mode = false; - panic_mode = false; - flight_mode = false; - rcs_mode = false; - - switch (get_highest_layer(state)) { - case _PANIC: - panic_mode = true; // For use in encoder evaluation - rgblight_sethsv_noeeprom(HSV_RED); - break; - case _FLIGHT: - flight_mode = true; // For use in encoder evaluation - rgblight_sethsv_noeeprom(HSV_CYAN); - break; - case _RCS: - rcs_mode = true; // For use in encoder evaluation - rgblight_sethsv_noeeprom(HSV_BLUE); - break; - default: // for any other layers, or the default layer - base_mode = true; - rgblight_sethsv_noeeprom(HSV_SPRINGGREEN); - break; - } - return state; -} - -void keyboard_post_init_user(void) { - // Call the post init code. - rgblight_enable_noeeprom(); // enables Rgb, without saving settings - rgblight_mode_noeeprom(RGBLIGHT_MODE_BREATHING + 1); // sets mode to Slow breathing without saving - rgblight_sethsv_noeeprom(HSV_SPRINGGREEN); -} - -// bool process_record_user(uint16_t keycode, keyrecord_t *record) { -// switch (keycode) { -// uprintf("Keycode: %s\n", keycode); -// if (record->event.pressed) { -// print("pressed"); -// // Do something when pressed -// } else { -// print("unpressed"); -// // Do something else when release -// } -// } -// return true; -// } - -bool encoder_update_user(uint8_t index, bool clockwise) { - if(base_mode == true) { - if (index == 0) { - if (clockwise) { - // Volume up - tap_code(KC_VOLU); - } else { - // Volume down - tap_code(KC_VOLD); - } - } - else if (index == 1) { - if (clockwise) { - // Time warp faster - tap_code(KC_DOT); - } else { - // Time warp slower - tap_code(KC_COMM); - } - } - } - - if(rcs_mode == true) { - if (index == 0) { - if (clockwise) { - // RCS Forward - tap_code(KC_H); - } else { - // RCS Backward - tap_code(KC_N); - } - } - else if (index == 1) { - if (clockwise) { - // RCS Rotate Left - tap_code(KC_Q); - } else { - // RCS Rotate Right - tap_code(KC_E); - } - } - } - - if(flight_mode == true) { - if (index == 0) { - if (clockwise) { - // Throttle up - tap_code(KC_LSFT); - } else { - // Throttle down - tap_code(KC_LCTL); - } - } - else if (index == 1) { - if (clockwise) { - // Trim left - tap_code16(LALT(KC_A)); - } else { - // Trim right - tap_code16(LALT(KC_D)); - } - } - } - return true; -} diff --git a/keyboards/keebio/bfo9000/keymaps/insertsnideremarks/config.h b/keyboards/keebio/bfo9000/keymaps/insertsnideremarks/config.h deleted file mode 100644 index 9538405eb29..00000000000 --- a/keyboards/keebio/bfo9000/keymaps/insertsnideremarks/config.h +++ /dev/null @@ -1,37 +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 - -#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/bfo9000/keymaps/insertsnideremarks/keymap.c b/keyboards/keebio/bfo9000/keymaps/insertsnideremarks/keymap.c deleted file mode 100644 index d2f957e4f86..00000000000 --- a/keyboards/keebio/bfo9000/keymaps/insertsnideremarks/keymap.c +++ /dev/null @@ -1,381 +0,0 @@ -#include QMK_KEYBOARD_H - -extern keymap_config_t keymap_config; - -enum bfo9000_layers { - _COLEMAK, // Colemak (default layer) - _QWERTY, // Qwerty - _COLEMAKGM, // Colemak gaming/vanilla (limited dual-role keys with layer access) - _QWERTYGM, // QWERTY gaming/vanilla (limited dual-role keys with layer access) - _NUMBERS, // Numbers & Symbols - _NUMBERS2, // Numbers & Symbols 2 (identical as _NUMBERS; basically used 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 bfo9000_keycodes { - COLEMAK = SAFE_RANGE, - QWERTY, - COLEMAKGM, - QWERTYGM, - 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 - (Default layer; keys separated by /: tap for first, hold for second; uses Space Cadet Shifts) - ,-----------------------------------------------------------------------. ,-----------------------------------------------------------------------. - | ESC | F1 | F2 | F3 | F4 | F5 | | | | | Adjust| | F12 | F6 | F7 | F8 | F9 | F10 | F11 | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | = | 1 | 2 | 3 | 4 | 5 | | | | | Numpad| | | 6 | 7 | 8 | 9 | 0 | - | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | Tab | Q | W | F | P | G | | | Home | | Pause | | | J | L | U | Y | ; | \ | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - |Esc/Ctl| A | R | S | T | D | | | PgUp | | ScrLck| | | H | N | E | I | O | ' | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - |SCShift| Z | X | C | V | B |Esc/Ctl|App/Alt| PgDn | | PrtScr| RAlt | RCtl | K | M | , | . | / |SCShift| - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | Ins | ` | [ | ] |App/Alt| Spc/Fn| Ent/NS| Bspc | End | | | Enter |Del/NS2|Bsp/Fn2| RGUI | Left | Down | Up | Right | - `-----------------------------------------------------------------------' `-----------------------------------------------------------------------' -*/ -[_COLEMAK] = LAYOUT( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, _______, _______, ADJUST, _______, KC_F12, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, - KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, _______, _______, _______, NUMPAD, _______, _______, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, - KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, _______, _______, KC_HOME, KC_PAUS, _______, _______, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSLS, - CTLESC, KC_A, KC_R, KC_S, KC_T, KC_D, _______, _______, KC_PGUP, KC_SCRL, _______, _______, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, - SC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, CTLESC, ALTAPP, KC_PGDN, KC_PSCR, KC_RALT, KC_RCTL, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, - KC_INS, KC_GRV, KC_LBRC, KC_RBRC, ALTAPP, SPCFN, ENTNS, KC_BSPC, KC_END, _______, KC_ENT, DELNS, BSPCFN, KC_RGUI, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - -/* QWERTY - (Keys separated by /: tap for first, hold for second; uses Space Cadet Shifts) - ,-----------------------------------------------------------------------. ,-----------------------------------------------------------------------. - | ESC | F1 | F2 | F3 | F4 | F5 | | | | | Adjust| | F12 | F6 | F7 | F8 | F9 | F10 | F11 | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | = | 1 | 2 | 3 | 4 | 5 | | | | | Numpad| | | 6 | 7 | 8 | 9 | 0 | - | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | Tab | Q | W | E | R | T | | | Home | | Pause | | | Y | U | I | O | P | \ | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - |Esc/Ctl| A | S | D | F | G | | | PgUp | | ScrLck| | | H | J | K | L | ; | ' | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - |SCShift| Z | X | C | V | B |Esc/Ctl|App/Alt| PgDn | | PrtScr| RAlt | RCtl | N | M | , | . | / |SCShift| - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | Ins | ` | [ | ] |App/Alt| Spc/Fn| Ent/NS| Bspc | End | | | Enter |Del/NS2|Bsp/Fn2| RGUI | Left | Down | Up | Right | - `-----------------------------------------------------------------------' `-----------------------------------------------------------------------' -*/ -[_QWERTY] = LAYOUT( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, ADJUST, _______, KC_F12, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, - KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, NUMPAD, _______, _______, 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_HOME, KC_PAUS, _______, _______, 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_PGUP, KC_SCRL, _______, _______, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - SC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, CTLESC, ALTAPP, KC_PGDN, KC_PSCR, KC_RALT, KC_RCTL, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, - KC_INS, KC_GRV, KC_LBRC, KC_RBRC, ALTAPP, SPCFN, ENTNS, KC_BSPC, KC_END, _______, KC_ENT, DELNS, BSPCFN, KC_RGUI, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - -/* Numbers/Symbols layer - (Multiple characters: single-tap for first, double-tap for second) - ,-----------------------------------------------------------------------. ,-----------------------------------------------------------------------. - | | | | | | | | | | | | | | | | | | | | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | F12 | F1 | F2 | F3 | F4 | F5 | | | | | | | | F6 | F7 | F8 | F9 | F10 | F12 | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | | 6 | 7 | 8 | 9 | 0 | | | | | | | | ^ | & | * | ( | ) | | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | | 1 | 2 | 3 | 4 | 5 | | | | | | | | ! | @ | # | $ | % | | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | | | . | / * | - _ | + = | | | | | | | | ` ~ | [ { | ] } | | | | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | ( | ) | [ { | ] } | | | | | | | | | | | | | | | | - `-----------------------------------------------------------------------' `-----------------------------------------------------------------------' -*/ -[_NUMBERS] = 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, - _______, 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), _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -), - -[_NUMBERS2] = 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, - _______, 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), _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -), - -/* Function layer - ,-----------------------------------------------------------------------. ,-----------------------------------------------------------------------. - | | | | | | | | | | | | | | | | | | | | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | F12 | F1 | F2 | F3 | F4 | F5 | | | | | | | | F6 | F7 | F8 | F9 | F10 | F12 | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | | | | Up | | | | | | | | | | | | Up | Ctrl+Y| | | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | | Ctrl+A| Left | Down | Right | C+A+Tb| | | | | | | | 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_F12, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, _______, _______, _______, _______, _______, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, - _______, _______, _______, 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_F12, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, _______, _______, _______, _______, _______, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, - _______, _______, _______, 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) - ,-----------------------------------------------------------------------. ,-----------------------------------------------------------------------. - | | | | | | | | | | | | | | | | | | | | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | | NumLk | | | | | | | | | | | Tab | NumLk | KP / | KP * | KP - | | | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | | KP 6 | KP 7 | KP 8 | KP 9 | KP 0 | | | | | | | | KP 7 | KP 8 | KP 9 | KP + | | | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | | KP 1 | KP 2 | KP 3 | KP 4 | KP 5 | | | | | | | | KP 4 | KP 5 | KP 6 | = | | | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | | | KP . |KP/ KP*| KP- _ | KP+ = | | | | | | | | KP 1 | KP 2 | KP 3 | KP Ent| | | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | ( | ) | [ { | ] } | | | | | | | | | | | KP 0 | KP . | KP Ent| | | - `-----------------------------------------------------------------------' `-----------------------------------------------------------------------' -*/ -[_NUMPAD] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_NUM, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_TAB, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, _______, - _______, KC_P6, KC_P7, KC_P8, KC_P9, KC_P0, _______, _______, _______, _______, _______, _______, _______, KC_P7, KC_P8, KC_P9, KC_PPLS, _______, - _______, KC_P1, KC_P2, KC_P3, KC_P4, KC_P5, _______, _______, _______, _______, _______, _______, _______, KC_P4, KC_P5, KC_P6, KC_EQL, _______, - _______, _______, KC_PDOT, TD(PSLPAS), TD(PMNUN), TD(PPLEQ), _______, _______, _______, _______, _______, _______, _______, KC_P1, KC_P2, KC_P3, KC_PENT, _______, - KC_LPRN, KC_RPRN, TD(LBCB), TD(RBCB), _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_P0, KC_PDOT, KC_PENT, _______ -), - -/* Colemak gaming/vanilla - (Limited access to Function or Numbers layers; mainly used for gaming; Ent/NS + Del/NS2 on right side to access Adjust layer) - ,-----------------------------------------------------------------------. ,-----------------------------------------------------------------------. - | ESC | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | | Adjust| | F12 | F6 | F7 | F8 | F9 | F10 | F11 | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | | Numpad| | | 6 | 7 | 8 | 9 | 0 | - | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | Tab | Q | W | F | P | G | J | L | Home | | Pause | | | J | L | U | Y | ; | \ | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | LCtl | A | R | S | T | D | H | N | PgUp | | ScrLck| | | H | N | E | I | O | ' | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | Shift | Z | X | C | V | B | Esc | LAlt | PgDn | | PrtScr| RAlt | RCtl | K | M | , | . | / | Shift | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | Ins | ` | [ | ] | LAlt | Space | Enter | Bspc | End | | | Ent/NS|Del/NS2|Bsp/Fn2| RGUI | Left | Down | Up | Right | - `-----------------------------------------------------------------------' `-----------------------------------------------------------------------' -*/ -[_COLEMAKGM] = LAYOUT( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, ADJUST, _______, KC_F12, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, - KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, NUMPAD, _______, _______, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, - KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_HOME, KC_PAUS, _______, _______, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSLS, - KC_LCTL, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_PGUP, KC_SCRL, _______, _______, 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_ESC, KC_LALT, KC_PGDN, KC_PSCR, KC_RALT, KC_RCTL, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, - KC_INS, KC_GRV, KC_LBRC, KC_RBRC, KC_LALT, KC_SPC, KC_ENT, KC_BSPC, KC_END, _______, ENTNS, DELNS, BSPCFN, KC_RGUI, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - -/* QWERTY gaming/vanilla - (Limited access to Function or Numbers layers; mainly used for gaming; Ent/NS + Del/NS2 on right side to access Adjust layer) - ,-----------------------------------------------------------------------. ,-----------------------------------------------------------------------. - | ESC | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | | Adjust| | F12 | F6 | F7 | F8 | F9 | F10 | F11 | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | | Numpad| | | 6 | 7 | 8 | 9 | 0 | - | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | Tab | Q | W | E | T | Y | U | I | Home | | Pause | | | Y | U | I | O | P | \ | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | LCtl | A | S | D | F | G | H | J | PgUp | | ScrLck| | | H | J | K | L | ; | ' | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | Shift | Z | X | C | V | B | Esc | LAlt | PgDn | | PrtScr| RAlt | RCtl | N | M | , | . | / | Shift | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | Ins | ` | [ | ] | LAlt | Space | Enter | Bspc | End | | | Ent/NS|Del/NS2|Bsp/Fn2| RGUI | Left | Down | Up | Right | - `-----------------------------------------------------------------------' `-----------------------------------------------------------------------' -*/ -[_QWERTYGM] = LAYOUT( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, ADJUST, _______, KC_F12, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, - KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, NUMPAD, _______, _______, 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_HOME, KC_PAUS, _______, _______, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_PGUP, KC_SCRL, _______, _______, 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_ESC, KC_LALT, KC_PGDN, KC_PSCR, KC_RALT, KC_RCTL, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, - KC_INS, KC_GRV, KC_LBRC, KC_RBRC, KC_LALT, KC_SPC, KC_ENT, KC_BSPC, KC_END, _______, ENTNS, DELNS, BSPCFN, KC_RGUI, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - -/* Adjust layer - (Enter/Number + Delete/Number2 under non-gaming/vanilla layers or press & hold Adjust key on function row; Numpad is a toggle) - ,-----------------------------------------------------------------------. ,-----------------------------------------------------------------------. - | | | | | | | | | | | | | | | | | | | | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | |Colemak| Qwerty| |ColmkGM| QWGM | | | | | | | | Numpad| | | | | QK_BOOT | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | | | | | | | | | | | | | | | | | | | | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | | | | | | | | | | | | | | | NKROTG| | | | | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | | | | | | | | | | | | | | | | | | | | - |-------+-------+-------+-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------+-------+-------+-------| - | | | | | | | | | | | | | | | | | | | | - `-----------------------------------------------------------------------' `-----------------------------------------------------------------------' -*/ -[_ADJUST] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, COLEMAK, QWERTY, _______, COLEMAKGM, QWERTYGM, _______, _______, _______, _______, _______, _______, NUMPAD, _______, _______, _______, _______, QK_BOOT, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, NKROTG, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -), - -[_ADJUST2] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, COLEMAK, QWERTY, _______, COLEMAKGM, QWERTYGM, _______, _______, _______, _______, _______, _______, 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); -// persistent_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 ( _COLEMAKGM); - layer_off ( _QWERTYGM); - layer_off ( _ADJUST); - layer_off ( _ADJUST2); - } - return false; - break; - case QWERTY: - if (record->event.pressed) { - default_layer_set(1UL << _QWERTY); -// persistent_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 ( _COLEMAKGM); - layer_off ( _QWERTYGM); - layer_off ( _ADJUST); - layer_off ( _ADJUST2); - } - return false; - break; - case COLEMAKGM: - if (record->event.pressed) { - default_layer_set(1UL << _COLEMAKGM); - layer_off ( _QWERTY); - layer_off ( _COLEMAK); - layer_off ( _NUMBERS); - layer_off ( _NUMBERS2); - layer_off ( _FUNCTION); - layer_off ( _FUNCTION2); - layer_off ( _NUMPAD); - layer_off ( _QWERTYGM); - layer_off ( _ADJUST); - layer_off ( _ADJUST2); - } - return false; - break; - case QWERTYGM: - if (record->event.pressed) { - default_layer_set(1UL << _QWERTYGM); - layer_off ( _QWERTY); - layer_off ( _COLEMAK); - layer_off ( _NUMBERS); - layer_off ( _NUMBERS2); - layer_off ( _FUNCTION); - layer_off ( _FUNCTION2); - layer_off ( _NUMPAD); - layer_off ( _COLEMAKGM); - layer_off ( _ADJUST); - layer_off ( _ADJUST2); - } - return false; - break; - } - return true; -} diff --git a/keyboards/keebio/bfo9000/keymaps/insertsnideremarks/readme.md b/keyboards/keebio/bfo9000/keymaps/insertsnideremarks/readme.md deleted file mode 100644 index 0a3bdc45fd1..00000000000 --- a/keyboards/keebio/bfo9000/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/bfo9000/keymaps/tuesdayjohn for my current keymap files. diff --git a/keyboards/keebio/bfo9000/keymaps/insertsnideremarks/rules.mk b/keyboards/keebio/bfo9000/keymaps/insertsnideremarks/rules.mk deleted file mode 100644 index 390cb3fd60a..00000000000 --- a/keyboards/keebio/bfo9000/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/bfo9000/keymaps/rogthefrog6x9/keymap.c b/keyboards/keebio/bfo9000/keymaps/rogthefrog6x9/keymap.c deleted file mode 100644 index 8cdf12545bc..00000000000 --- a/keyboards/keebio/bfo9000/keymaps/rogthefrog6x9/keymap.c +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2022 rogthefrog -// SPDX-License-Identifier: GPL-2.0-or-later - -#include QMK_KEYBOARD_H - -enum custom_layers { - _BASE, -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -[_BASE] = LAYOUT( - KC_ESC, KC_CALC, 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_PSCR, KC_VOLU, KC_MUTE, - KC_NUM, KC_INS, 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_VOLD, KC_HOME, - KC_P7, KC_P8, KC_P9, 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_P4, KC_P5, KC_P6, 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_ENT, KC_INS, KC_PGUP, - 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_RCTL, KC_APP, KC_UP, KC_PGDN, - KC_P0, KC_PDOT, KC_ENT, KC_LCTL, KC_LGUI, KC_LALT, KC_CAPS, KC_ENT, KC_BSPC, KC_SPC, KC_BSPC, KC_RGUI, KC_CUT, KC_COPY, KC_PSTE, KC_LEFT, KC_DOWN, KC_RGHT -) -}; diff --git a/keyboards/keebio/bfo9000/keymaps/shadyproject/keymap.c b/keyboards/keebio/bfo9000/keymaps/shadyproject/keymap.c deleted file mode 100644 index 77c91612fc4..00000000000 --- a/keyboards/keebio/bfo9000/keymaps/shadyproject/keymap.c +++ /dev/null @@ -1,81 +0,0 @@ -/* Copyright 2021 Chrisopher S Martin - * - * 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 bfo900_layers { - _QWERTY, - _FUNC, -}; - -enum bfo9000_keycodes { - QWERTY = SAFE_RANGE, - GAMING -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -/* -QWERTY -(Keys separated by /: tap for first, hold for second; uses Space Cadet Shifts) - ,--------------------------------------------------------------------------------. ,--------------------------------------------------------------------------------. - | ESC | QK_BOOT | F1 | F2 | F3 | F4 | F5 | | | | | | F6 | F7 | F8 | F9 | F10 | F11 | F12 | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | | 1 | 2 | 3 | 4 | 5 | | | | | | 6 | 7 | 8 | 9 | 0 | | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | ` | Q | W | E | R | T | | [ | | ] | | Y | U | I | O | P | + | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | | A | S | D | F | G | Tab | Fn | | Fn | Enter | H | J | K | L | ; | ' | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | | Z | X | C | V | B | ESC | | | | | N | M | , | . | / | | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | | | |PrntScrn| Ctrl | Bkspc |Meta/OS | Shift | | Shift | Alt | Space | Ctrl | | | - | | | - `--------------------------------------------------------------------------------' `--------------------------------------------------------------------------------' -*/ -[_QWERTY] = LAYOUT( - KC_ESC, 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_1, KC_2, KC_3, KC_4, KC_5, _______, _______, _______, _______, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, _______, - _______, KC_GRV, 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_EQL, _______, - _______, _______, KC_A, KC_S, KC_D, KC_F, KC_G, KC_TAB, MO(_FUNC), MO(_FUNC), KC_ENT, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, _______, // TODO: use OSL instead of MO - _______, _______, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_ESC, _______, _______, _______, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, _______, _______, - _______, _______, _______, _______, KC_PSCR, KC_LCTL, KC_BSPC, KC_LGUI, KC_LSFT, KC_RSFT, KC_RALT, KC_SPC, KC_RCTL, _______, _______, KC_MINS, _______, _______ //KC_CTL shoudl be double tap for capslock -), - -/* -Function layer - ,--------------------------------------------------------------------------------. ,--------------------------------------------------------------------------------. - | | | | | | | | | | | | | | | | | | | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | | | | | | | | | | | | | | | | | | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | | | | | | | | | | | | \ | { | } | [ | ] | | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | | | | | | | | | | | | LEFT | DOWN | UP | RIGHT | | | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | | | | | | | | | | | | | | | | \ | | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | | | | | | | | | | | | | | | | | | | | - `--------------------------------------------------------------------------------' `--------------------------------------------------------------------------------' -*/ -[_FUNC] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_BSLS, KC_LCBR, KC_RCBR, KC_LBRC, KC_RBRC, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_BSLS, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PIPE, _______, _______ -), - -}; diff --git a/keyboards/keebio/bfo9000/keymaps/shadyproject/readme.md b/keyboards/keebio/bfo9000/keymaps/shadyproject/readme.md deleted file mode 100644 index 231d13d49bd..00000000000 --- a/keyboards/keebio/bfo9000/keymaps/shadyproject/readme.md +++ /dev/null @@ -1,11 +0,0 @@ -![Shadyproject BFO-9000 layout image](http://shadyproject.net/images/bfo9000-layout.png) - -# Shadyproject BFO-9000 layout - -This is a keymap for the [Keebio BFO-9000](https://keeb.io/products/bfo-9000-keyboard-customizable-full-size-split-ortholinear?variant=8116065271914). -It is a dual layer (currently) that is inspired by the [Keyboardio Model 01](https://shop.keyboard.io/products/model-01-keyboard?variant=30996744405065) layout. - -## Layers - -- Qwerty -- Functions diff --git a/keyboards/keebio/bfo9000/keymaps/tuesdayjohn/config.h b/keyboards/keebio/bfo9000/keymaps/tuesdayjohn/config.h deleted file mode 100644 index 9538405eb29..00000000000 --- a/keyboards/keebio/bfo9000/keymaps/tuesdayjohn/config.h +++ /dev/null @@ -1,37 +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 - -#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/bfo9000/keymaps/tuesdayjohn/keymap.c b/keyboards/keebio/bfo9000/keymaps/tuesdayjohn/keymap.c deleted file mode 100644 index 76570912a16..00000000000 --- a/keyboards/keebio/bfo9000/keymaps/tuesdayjohn/keymap.c +++ /dev/null @@ -1,341 +0,0 @@ -#include QMK_KEYBOARD_H - -extern keymap_config_t keymap_config; - -enum bfo9000_layers { - _COLEMAK, // Colemak (default layer) - _QWERTY, // Qwerty - _GAMING, // Gaming/vanilla toggle layer (limited dual-role keys and layer access) - _NUMBERS, // Numbers & Symbols - _NUMBERS2, // Numbers & Symbols 2 (identical as _NUMBERS; basically used 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 bfo9000_keycodes { - COLEMAK = SAFE_RANGE, - QWERTY, - GAMING -}; - -//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 -(Default layer; keys separated by /: tap for first, hold for second; uses Space Cadet Shifts) - ,--------------------------------------------------------------------------------. ,--------------------------------------------------------------------------------. - | ESC | F1 | F2 | F3 | F4 | F5 | | | | | Adjust | | F12 | F6 | F7 | F8 | F9 | F10 | F11 | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | = | 1 | 2 | 3 | 4 | 5 | | | | | Numpad | | | 6 | 7 | 8 | 9 | 0 | - | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | Tab | Q | W | F | P | G | | | Home | | Pause | | | J | L | U | Y | ; | \ | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | Esc/Ctl| A | R | S | T | D | | | PgUp | | ScrLck | | | H | N | E | I | O | ' | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | SCShift| Z | X | C | V | B | Esc/Ctl| App/Alt| PgDn | | PrtScr | RAlt | RCtl | K | M | , | . | / | SCShift| - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | Ins | ` | [ | ] | App/Alt| Spc/Fn | Ent/NS | Bspc | End | | | Enter | Del/NS2| Bsp/Fn2| RGUI | Left | Down | Up | Right | - `--------------------------------------------------------------------------------' `--------------------------------------------------------------------------------' -*/ -[_COLEMAK] = LAYOUT( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, _______, _______, ADJUST, _______, KC_F12, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, - KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, _______, _______, _______, NUMPAD, _______, _______, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, - KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, _______, _______, KC_HOME, KC_PAUS, _______, _______, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSLS, - CTLESC, KC_A, KC_R, KC_S, KC_T, KC_D, _______, _______, KC_PGUP, KC_SCRL, _______, _______, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, - SC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, CTLESC, ALTAPP, KC_PGDN, KC_PSCR, KC_RALT, KC_RCTL, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, - KC_INS, KC_GRV, KC_LBRC, KC_RBRC, ALTAPP, SPCFN, ENTNS, KC_BSPC, KC_END, _______, KC_ENT, DELNS, BSPCFN, KC_RGUI, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - -/* -QWERTY -(Keys separated by /: tap for first, hold for second; uses Space Cadet Shifts) - ,--------------------------------------------------------------------------------. ,--------------------------------------------------------------------------------. - | ESC | F1 | F2 | F3 | F4 | F5 | | | | | Adjust | | F12 | F6 | F7 | F8 | F9 | F10 | F11 | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | = | 1 | 2 | 3 | 4 | 5 | | | | | Numpad | | | 6 | 7 | 8 | 9 | 0 | - | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | Tab | Q | W | E | R | T | | | Home | | Pause | | | Y | U | I | O | P | \ | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | Esc/Ctl| A | S | D | F | G | | | PgUp | | ScrLck | | | H | J | K | L | ; | ' | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | SCShift| Z | X | C | V | B | Esc/Ctl| App/Alt| PgDn | | PrtScr | RAlt | RCtl | N | M | , | . | / | SCShift| - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | Ins | ` | [ | ] | App/Alt| Spc/Fn | Ent/NS | Bspc | End | | | Enter | Del/NS2| Bsp/Fn2| RGUI | Left | Down | Up | Right | - `--------------------------------------------------------------------------------' `--------------------------------------------------------------------------------' -*/ -[_QWERTY] = LAYOUT( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, ADJUST, _______, KC_F12, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, - KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, NUMPAD, _______, _______, 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_HOME, KC_PAUS, _______, _______, 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_PGUP, KC_SCRL, _______, _______, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - SC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, CTLESC, ALTAPP, KC_PGDN, KC_PSCR, KC_RALT, KC_RCTL, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, - KC_INS, KC_GRV, KC_LBRC, KC_RBRC, ALTAPP, SPCFN, ENTNS, KC_BSPC, KC_END, _______, KC_ENT, DELNS, BSPCFN, KC_RGUI, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - -/* -Numbers/Symbols layer -(Multiple characters: single-tap for first, double-tap for second) - ,--------------------------------------------------------------------------------. ,--------------------------------------------------------------------------------. - | | | | | | | | | | | | | | | | | | | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | F12 | F1 | F2 | F3 | F4 | F5 | | | | | | | | F6 | F7 | F8 | F9 | F10 | F12 | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | 6 | 7 | 8 | 9 | 0 | | | | | | | | ^ | & | * | ( | ) | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | 1 | 2 | 3 | 4 | 5 | | | | | | | | ! | @ | # | $ | % | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | | . | / * | - _ | + = | | | | | | | | ` ~ | [ { | ] } | | | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | ( | ) | [ { | ] } | | | | | | | | | | | | | | | | - `--------------------------------------------------------------------------------' `--------------------------------------------------------------------------------' -*/ -[_NUMBERS] = 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, - _______, 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, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -), - -[_NUMBERS2] = 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, - _______, 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, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -), - -/* -Function layer - ,--------------------------------------------------------------------------------. ,--------------------------------------------------------------------------------. - | | | | | | | | | | | | | | | | | | | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | F12 | F1 | F2 | F3 | F4 | F5 | | | | | | | | F6 | F7 | F8 | F9 | F10 | F12 | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | | | Up | | | | | | | | | | | | Up | Ctrl+Y | | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | Ctrl+A | Left | Down | Right | C+A+Tb | | | | | | | | 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_F12, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, _______, _______, _______, _______, _______, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, - _______, _______, _______, 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_F12, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, _______, _______, _______, _______, _______, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, - _______, _______, _______, 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) - ,--------------------------------------------------------------------------------. ,--------------------------------------------------------------------------------. - | | | | | | | | | | | | | | | | | | | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | NumLk | | | | | | | | | | | Tab | NumLk | KP / | KP * | KP - | | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | KP 6 | KP 7 | KP 8 | KP 9 | KP 0 | | | | | | | | KP 7 | KP 8 | KP 9 | KP + | | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | KP 1 | KP 2 | KP 3 | KP 4 | KP 5 | | | | | | | | KP 4 | KP 5 | KP 6 | = | | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | | KP . | KP/ KP*| KP- _ | KP+ = | | | | | | | | KP 1 | KP 2 | KP 3 | KP Ent | | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | ( | ) | [ { | ] } | | | | | | | | | | | KP 0 | KP . | KP Ent | | | - `--------------------------------------------------------------------------------' `--------------------------------------------------------------------------------' -*/ -[_NUMPAD] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_NUM, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_TAB, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, _______, - _______, KC_P6, KC_P7, KC_P8, KC_P9, KC_P0, _______, _______, _______, _______, _______, _______, _______, KC_P7, KC_P8, KC_P9, KC_PPLS, _______, - _______, KC_P1, KC_P2, KC_P3, KC_P4, KC_P5, _______, _______, _______, _______, _______, _______, _______, KC_P4, KC_P5, KC_P6, KC_EQL, _______, - _______, _______, KC_PDOT, TD_PSPA, TD_PMUN, TD_PPEQ, _______, _______, _______, _______, _______, _______, _______, KC_P1, KC_P2, KC_P3, KC_PENT, _______, - KC_LPRN, KC_RPRN, TD_LBCB, TD_RBCB, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_P0, KC_PDOT, KC_PENT, _______ -), - -/* -Gaming -(Toggle gaming layer with limited dual-role keys and layer access; NKRO turned on by default; Ent/NS + Delete/Numbers2 to access Adjust layer) - ,--------------------------------------------------------------------------------. ,--------------------------------------------------------------------------------. - | | | | | | | F6 | F7 | F8 | | | | | | | | | | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | | | | | | 6 | 7 | 8 | | | | | | | | | | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | | | | | | J | L | | | | | | | | | | | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | LCtl | | | | | | H | N | | | | | | | | | | | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | Shift | | | | | | Esc | LAlt | | | | RAlt | RCtl | | | | | | Shift | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | | | | LAlt | Space | Enter | Bspc | | | | Ent/NS | Del/NS2| Bsp/Fn2| RGUI | | | | | - `--------------------------------------------------------------------------------' `--------------------------------------------------------------------------------' -*/ -[_GAMING] = LAYOUT( - _______, _______, _______, _______, _______, _______, KC_F6, KC_F7, KC_F8, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, KC_6, KC_7, KC_8, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, KC_J, KC_L, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_LCTL, _______, _______, _______, _______, _______, KC_H, KC_N, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_LSFT, _______, _______, _______, _______, _______, KC_ESC, KC_LALT, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_RSFT, - _______, _______, _______, _______, KC_LALT, KC_SPC, KC_ENT, KC_BSPC, _______, _______, ENTNS, _______, _______, _______, _______, _______, _______, _______ -), - -/* -Adjust layer -(Press and hold Adjust key on the function row or Enter/Number + Delete/Number2 to access; Numpad and NKRO are on toggle) - ,--------------------------------------------------------------------------------. ,--------------------------------------------------------------------------------. - | | | | | | | | | | | | | | | | | | | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | Colemak| Qwerty | | Gaming | | | | | | | | | Numpad | | | | | QK_BOOT | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | | | | | | | | | | | | | | | | | | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | | | | | | | | | | | | | | NKROTG | | | | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | | | | | | | | | | | | | | | | | | | - |--------+--------+--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------+--------+--------| - | | | | | | | | | | | | | | | | | | | | - `--------------------------------------------------------------------------------' `--------------------------------------------------------------------------------' -*/ -[_ADJUST] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, COLEMAK, QWERTY, _______, GAMING, _______, _______, _______, _______, _______, _______, _______, NUMPAD, _______, _______, _______, _______, QK_BOOT, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, NKROTG, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -), - -[_ADJUST2] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, COLEMAK, QWERTY, _______, GAMING, _______, _______, _______, _______, _______, _______, _______, 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) { -// persistent_default_layer_set(1UL << _COLEMAK); - default_layer_set(1UL << _COLEMAK); - layer_move (_COLEMAK); - keymap_config.nkro = 0; - } - return false; - break; - case QWERTY: - if (record->event.pressed) { -// persistent_default_layer_set(1UL << _QWERTY); - default_layer_set(1UL << _QWERTY); - layer_move (_QWERTY); - keymap_config.nkro = 0; - } - return false; - break; - case GAMING: - if (record->event.pressed) { - layer_invert (_GAMING); - layer_off (_NUMPAD); - keymap_config.nkro = 1; - } - return false; - break; - } - return true; -} diff --git a/keyboards/keebio/bfo9000/keymaps/tuesdayjohn/rules.mk b/keyboards/keebio/bfo9000/keymaps/tuesdayjohn/rules.mk deleted file mode 100644 index 390cb3fd60a..00000000000 --- a/keyboards/keebio/bfo9000/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/bfo9000/keymaps/vladkvit/keymap.c b/keyboards/keebio/bfo9000/keymaps/vladkvit/keymap.c deleted file mode 100644 index 4409f39549f..00000000000 --- a/keyboards/keebio/bfo9000/keymaps/vladkvit/keymap.c +++ /dev/null @@ -1,34 +0,0 @@ -/* -This is the c configuration file for the keymap - -Copyright 2020 vladkvit - -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_NO, KC_NO, KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_NO, KC_NO, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NO, - KC_NO, KC_NO, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_NO, KC_NO, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, - KC_NO, KC_NO, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_NO, KC_NO, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, - KC_NO, KC_NO, KC_NO, KC_A, KC_S, KC_D, KC_F, KC_G, KC_NO, KC_NO, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_NO, - KC_NO, KC_NO, KC_LSFT,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_RSFT, KC_UP, KC_NO, - KC_NO, KC_NO, KC_LCTL, KC_LGUI,KC_LALT,KC_NO,KC_NO,KC_SPC,MO(1), KC_NO, KC_SPC,KC_NO, KC_RALT,KC_RGUI,KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), - [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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_INS, KC_HOME, KC_PGUP, KC_TRNS, KC_TRNS, KC_TRNS, KC_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_END, KC_PGDN, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, 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/keebio/bfo9000/keymaps/vladkvit/readme.md b/keyboards/keebio/bfo9000/keymaps/vladkvit/readme.md deleted file mode 100644 index eeb79855c39..00000000000 --- a/keyboards/keebio/bfo9000/keymaps/vladkvit/readme.md +++ /dev/null @@ -1,4 +0,0 @@ -# vladkvit's keymap layout for BFO9000 - -This is pretty much a stock tenkeyless layout, with only a single difference - a function key to access a second layer with 6 "navigation" keys on the home row. -There's space on the left for extra macro keys. \ No newline at end of file diff --git a/keyboards/keebio/levinson/keymaps/drogglbecher/config.h b/keyboards/keebio/levinson/keymaps/drogglbecher/config.h deleted file mode 100644 index fda48a463bf..00000000000 --- a/keyboards/keebio/levinson/keymaps/drogglbecher/config.h +++ /dev/null @@ -1,11 +0,0 @@ -#ifndef CONFIG_USER_H -#define CONFIG_USER_H - - -/* Select hand configuration */ - -#define MASTER_LEFT -/* #define _MASTER_RIGHT */ -/* #define EE_HANDS */ - -#endif diff --git a/keyboards/keebio/levinson/keymaps/drogglbecher/keymap.c b/keyboards/keebio/levinson/keymaps/drogglbecher/keymap.c deleted file mode 100644 index 6355c142037..00000000000 --- a/keyboards/keebio/levinson/keymaps/drogglbecher/keymap.c +++ /dev/null @@ -1,76 +0,0 @@ -#include QMK_KEYBOARD_H - -extern keymap_config_t keymap_config; - -#define _FN0 0 -#define _FN1 1 -#define _FN2 2 - -#define KC_X1 MO(_FN1) -#define KC_X2 MO(_FN2) - -#define KC_LPRN LSFT(KC_9) // ( -#define KC_RPRN LSFT(KC_0) // ) - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - /* ┌──────┬──────┬──────┬──────┬──────┬──────┐ ┌──────┬──────┬──────┬──────┬──────┬──────┐ - * │ ESC │ q │ w │ e │ r │ t │ │ y │ u │ i │ o │ p │ BS │ - * ├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ - * │ CTRL │ a │ s │ d │ f │ g │ │ h │ j │ k │ l │ " ' │ RET │ - * ├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ - * │ SHFT │ z │ x │ c │ v │ b │ │ n │ m │ [ { │ ] } │ ; : │ SHFT │ - * ├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ - * │ L1 │ ALT │ L2 │ TAB | SPC │ SPC │ │ SPC │ SPC │ , < │ . > │ - _ │ / ? │ - * └──────┴──────┴──────┴──────┴──────┴──────┘ └──────┴──────┴──────┴──────┴──────┴──────┘ - */ - - [_FN0] = LAYOUT_ortho_4x12( - 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_LCTL, 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_LBRC, KC_RBRC, KC_SCLN, KC_RSFT, - KC_X1, KC_LALT, KC_X2, KC_TAB, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_COMM, KC_DOT, KC_MINS, KC_SLSH - ), - - /* ┌──────┬──────┬──────┬──────┬──────┬──────┐ ┌──────┬──────┬──────┬──────┬──────┬──────┐ - * │ │ 1 │ 2 │ 3 │ 4 │ 5 │ │ 6 │ 7 │ 8 │ 9 │ 0 │ DEL │ - * ├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ - * │ │ ä │ ö │ ü │ ß │ │ │ LEFT │ DOWN │ UP │ RGT │ │ │ - * ├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ - * │ │ Ä │ Ö │ Ü │ € │ │ │ │ │ ( │ ) │ │ │ - * ├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ - * │ | │ │ | SPC │ SPC │ │ SPC │ SPC │ │ │ │ \ | │ - * └──────┴──────┴──────┴──────┴──────┴──────┘ └──────┴──────┴──────┴──────┴──────┴──────┘ - */ - - [_FN1] = LAYOUT_ortho_4x12( - _______, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, - _______, UC(L'ä'), UC(L'ö'), UC(L'ü'), UC(L'ß'), _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, KC_PIPE, - _______, UC(L'Ä'), UC(L'Ö'), UC(L'Ü'), UC(L'€'), _______, _______, _______, KC_LPRN, KC_RPRN, _______, _______, - _______, _______, _______, KC_TAB, KC_SPC, KC_SPC, KC_SPC, KC_SPC, _______, _______, _______, KC_BSLS - ), - - /* ┌──────┬──────┬──────┬──────┬──────┬──────┐ ┌──────┬──────┬──────┬──────┬──────┬──────┐ - * │ ` │ ! │ @ │ # │ $ │ % │ │ ^ │ & │ * │ ~ │ + │ = │ - * ├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ - * │ │ │ │ │ │ │ │ HOME │ PGDN │ PGUP │ END │ │ │ - * ├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ - * │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │ - * ├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ - * │ │ │ │ │ SPC │ SPC │ │ SPC │ SPC │ │ VOL+ │ VOL- │ MUTE │ - * └──────┴──────┴──────┴──────┴──────┴──────┘ └──────┴──────┴──────┴──────┴──────┴──────┘ - */ - - [_FN2] = LAYOUT_ortho_4x12( - KC_GRV, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_TILD, KC_PLUS, KC_PEQL, - _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END, _______, _______, - 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_SPC, KC_SPC, KC_SPC, KC_SPC, _______, KC_VOLD, KC_VOLU, KC_MUTE - ) - -}; - -void matrix_init_user(void) { - set_unicode_input_mode(UNICODE_MODE_LINUX); -}; diff --git a/keyboards/keebio/levinson/keymaps/drogglbecher/rules.mk b/keyboards/keebio/levinson/keymaps/drogglbecher/rules.mk deleted file mode 100644 index a22dc3d2a9a..00000000000 --- a/keyboards/keebio/levinson/keymaps/drogglbecher/rules.mk +++ /dev/null @@ -1,6 +0,0 @@ -AUTO_SHIFT_ENABLE = no -RGBLIGHT_ENABLE = no -BACKLIGHT_ENABLE = no -UNICODE_ENABLE = yes -DEFAULT_FOLDER = levinson/rev2 - diff --git a/keyboards/keebio/levinson/keymaps/jyh/keymap.c b/keyboards/keebio/levinson/keymaps/jyh/keymap.c deleted file mode 100644 index 15a9b489a29..00000000000 --- a/keyboards/keebio/levinson/keymaps/jyh/keymap.c +++ /dev/null @@ -1,202 +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 _QWERTY 0 -#define _LOWER 3 /* Symbols, Media */ -#define _RAISE 4 /* Numbers, Arrows */ -#define _FUNC 5 /* Function Keys */ -#define _NUMS 6 /* Numpad */ -#define _ADJUST 16 - -enum custom_keycodes { - QWERTY = SAFE_RANGE, - LOWER, - RAISE, - ADJUST, -}; - -// tap toggle numpad on -#define NUMPAD TT(_NUMS) - -// Mod Tap Definitions -// ------------------- - // Tap Hold - // ------------------ -#define CTL_ESC MT(MOD_LCTL, KC_ESC) // Esc Left Control -#define SFT_ENT MT(MOD_RSFT, KC_ENT) // Enter Right Shift -#define CTL_SPC MT(MOD_LCTL, KC_SPC) // Space Left Control -#define ALT_SPC MT(MOD_LALT, KC_SPC) // Space Left Alt -#define ALT_BSP MT(MOD_LALT, KC_BSPC) // Bkspace Left Alt -#define HPR_TAB MT(MOD_HYPR, KC_TAB) // Tab Hyper (Super+Ctrl+Alt+Shift) -#define HPR_GRV MT(MOD_HYPR, KC_GRV) // ` Hyper -#define HPR_TIL MT(MOD_HYPR, KC_TILD) // ~ Hyper -#define MEH_TIL MT(MOD_MEH, KC_GRV) // ` Meh (Ctrl+Alt+Shift) -#define SFT_MIN MT(MOD_LSFT, KC_MINS) // - Left Shift -#define NPD_UND LT(_NUMS, KC_UNDS) // _ Layer Numpad -#define FNC_PIP LT(_FUNC, KC_PIPE) // | Layer Function Keys - -#define CTL_DEL MT(MOD_LCTL, KC_DEL) // Del Left Control -#define CTL_QOT MT(MOD_RCTL, KC_QUOT) // ' Right Control -#define CTL_BSL MT(MOD_RCTL, KC_BSLS) // \ Right Control -#define CTL_PIP MT(MOD_RCTL, KC_PIPE) // | Right Control - - -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 | ; | ' | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | - | Z | X | C | V | B | | N | M | , | . | / | Enter| - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | Numpd| Meh | Meta | Alt | Lower| Space| | Space| Raise| Alt | Meta | Hyper| Func | - * `-----------------------------------------' `-----------------------------------------' - * - * with Hold (Emacs-oriented) - * ,-----------------------------------------. ,-----------------------------------------. - * | Hyper| | | | | | | | | | | | | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | Ctrl | | | | | | | | | | | | Ctrl | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | Shift| | | | | | | | | | | | Shift| - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | | | | | | | | | | | | | - * `-----------------------------------------' `-----------------------------------------' - */ - [_QWERTY] = LAYOUT_ortho_4x12( - HPR_TAB, KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , KC_BSPC, - CTL_ESC, KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L , KC_SCLN, CTL_QOT, - SFT_MIN, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M , KC_COMM, KC_DOT , KC_SLSH, SFT_ENT, - NUMPAD , KC_MEH , KC_LGUI, KC_LALT, LOWER, CTL_SPC, KC_SPC, RAISE, KC_RALT, KC_RGUI, KC_HYPR, MO(_FUNC) - ), - - -/* Raise - * ,-----------------------------------------. ,-----------------------------------------. - * | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | Left | Up | Down | Right| ( | | ) | - | = | [ | ] | | | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | ; | ' | * | , | { | | } | _ | + | . | / | | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | | | | | | | | | | | | | - * `-----------------------------------------' `-----------------------------------------' - */ - [_RAISE] = LAYOUT_ortho_4x12( - HPR_GRV, KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , _______, - _______, KC_LEFT, KC_UP , KC_DOWN, KC_RGHT, KC_LPRN, KC_RPRN, KC_MINS, KC_EQL , KC_LBRC, KC_RBRC, CTL_PIP, - _______, KC_COLN, KC_QUOT, KC_ASTR, KC_COMM, KC_LCBR, KC_RCBR, KC_UNDS, KC_PLUS, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - -/* Lower - * ,-----------------------------------------. ,-----------------------------------------. - * | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | Del | Vol+ | Mute | Play | PgUp | : | | ' | - | = | [ | ] | \ | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | Vol- | < M | M > | PgDn | ; | | " | | | , | . | / | | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | | | | | | | | | | | | | - * `-----------------------------------------' `-----------------------------------------' - */ - [_LOWER] = LAYOUT_ortho_4x12( - HPR_TIL, KC_EXLM, KC_AT , KC_HASH, KC_DLR , KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, - CTL_DEL, KC_VOLU, KC_MUTE, KC_MPLY, KC_PGUP, KC_COLN, KC_QUOT, KC_MINS, KC_EQL , KC_LBRC, KC_RBRC, CTL_BSL, - _______, KC_VOLD, KC_MPRV, KC_MNXT, KC_PGDN, KC_SCLN, KC_DQUO, KC_PIPE, KC_COMM, KC_DOT , KC_SLSH, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - - [_FUNC] = LAYOUT_ortho_4x12( - _______, 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_F14 , KC_F15 , KC_F16 , KC_F17 , KC_F18 , KC_F19 , KC_F20 , _______, - _______, KC_F21 , KC_F22 , KC_F23 , KC_F24 , KC_NO , KC_NO , KC_NO , KC_NO , KC_NO , KC_NO , _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - - [_NUMS] = LAYOUT_ortho_4x12( - _______, KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_SLSH, _______, - _______, KC_CAPS, KC_INS , KC_HOME, KC_PGUP, KC_LPRN, KC_RPRN, KC_4 , KC_5 , KC_6 , KC_ASTR, _______, - _______, KC_NUM , KC_DEL , KC_END , KC_PGDN, KC_SCLN, KC_COMM, KC_1 , KC_2 , KC_3 , KC_MINS, _______, - _______, _______, _______, _______, _______, _______, _______, KC_0 , KC_DOT , KC_EQL , KC_PLUS, _______ - ), - - [_ADJUST] = LAYOUT_ortho_4x12( - QK_BOOT, XXXXXXX, KC_UP , XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_DEL , - _______, KC_LEFT, KC_DOWN, KC_RGHT, XXXXXXX, XXXXXXX, BL_TOGG, BL_STEP, XXXXXXX, XXXXXXX, XXXXXXX, _______, - _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ) -}; - -/* Template - * - * ,-----------------------------------------. ,-----------------------------------------. - * | Hyper| | | | | | | | | | | | | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | Ctrl | | | | | | | | | | | | Ctrl | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | Shift| | | | | | | | | | | | Shift| - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | | | | | | | | | | | | | - * `-----------------------------------------' `-----------------------------------------' - * - * - */ -// ,-------+--------+--------+--------+--------+--------. ,-------+--------+--------+--------+--------+--------. -// | | | | | | | | | | | | | | -// ,-------+--------+--------+--------+--------+--------. ,-------+--------+--------+--------+--------+--------. -// | | | | | | | | | | | | | | -// ,-------+--------+--------+--------+--------+--------. ,-------+--------+--------+--------+--------+--------. -// | | | | | | | | | | | | | | -// ,-------+--------+--------+--------+--------+--------. ,-------+--------+--------+--------+--------+--------. -// | | | | | | | | | | | | | | -// `-------+--------+--------+--------+--------+--------' `-------+--------+--------+--------+--------+--------, - -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 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/levinson/keymaps/jyh/readme.md b/keyboards/keebio/levinson/keymaps/jyh/readme.md deleted file mode 100644 index e20424e5180..00000000000 --- a/keyboards/keebio/levinson/keymaps/jyh/readme.md +++ /dev/null @@ -1,32 +0,0 @@ -# jyh's levinson layout - -[Levinson](https://keeb.io/products/levinson-lets-split-w-led-backlight) -built on rev2 PCBs. A split 4x12 keyboard with LED backlights. - -The layout is oriented towards needs for programming, Emacs, XMonad, -and experience with 60% keyboards with no base layer arrow keys -(Poker). It makes heavy use of modifiers and layers. - -## Layout features - - * Extensive use of _Mod Tap_, e.g. - * Tap sends Esc, Hold sends Left Control - * Tap sends Enter, Hold sends Right Shift - * ... and many more - * Hyper and Meh keys - * Right modifier keys in place of arrow keys - * Arrows are instead available in two alternate locations: - * WASD arrows on _Adjust_ - * Arrow cluster on _Raise_ (inspired by hexwire) - * Centered symbol/bracket cluster on _Lower/Raise_ - * Inspired by hexwire layout - * Programming-oriented - * Spacebar sends modifier keys on hold (_this is finicky in practice. may shut off completely_) - * Control ~~and Alt/Meta~~ on left ~~and right~~ space, respectively - * Strict space available on _Function_ and _Numpad_ layers - * For Emacs keychords - * Extra dedicated layers - * Numpad (available with tap toggle) - * Function key (F01-24) - * Redunant keys where it is convenient to have characters together - on one layer diff --git a/keyboards/keebio/levinson/keymaps/jyh/rules.mk b/keyboards/keebio/levinson/keymaps/jyh/rules.mk deleted file mode 100644 index 66110cfcc0f..00000000000 --- a/keyboards/keebio/levinson/keymaps/jyh/rules.mk +++ /dev/null @@ -1 +0,0 @@ -BACKLIGHT_ENABLE=yes diff --git a/keyboards/keebio/levinson/keymaps/jyh2/config.h b/keyboards/keebio/levinson/keymaps/jyh2/config.h deleted file mode 100644 index d4974fe0cfd..00000000000 --- a/keyboards/keebio/levinson/keymaps/jyh2/config.h +++ /dev/null @@ -1,41 +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 - -/* Tap Dance timing */ -#define TAPPING_TERM 150 - -/* Toggling layer requires # taps */ -#define TAPPING_TOGGLE 3 - -#define RGBLIGHT_EFFECT_BREATHING -#define RGBLIGHT_EFFECT_RAINBOW_MOOD -#define RGBLIGHT_EFFECT_RAINBOW_SWIRL -#define RGBLIGHT_EFFECT_SNAKE -#define RGBLIGHT_EFFECT_KNIGHT -#define RGBLIGHT_EFFECT_CHRISTMAS -#define RGBLIGHT_EFFECT_STATIC_GRADIENT -#define RGBLIGHT_EFFECT_RGB_TEST -#define RGBLIGHT_EFFECT_ALTERNATING -#define RGBLIGHT_EFFECT_TWINKLE -#define RGBLED_NUM 12 diff --git a/keyboards/keebio/levinson/keymaps/jyh2/keymap.c b/keyboards/keebio/levinson/keymaps/jyh2/keymap.c deleted file mode 100644 index 87c02c5a449..00000000000 --- a/keyboards/keebio/levinson/keymaps/jyh2/keymap.c +++ /dev/null @@ -1,222 +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 _QWERTY 0 -#define _LOWER 3 /* Symbols, Media */ -#define _RAISE 4 /* Numbers, Arrows */ -#define _FUNC 5 /* Function Keys */ -#define _NUMS 6 /* Numpad */ -#define _ADJUST 16 - -/* short layer aliases */ -#define _QW _QWERTY -#define _LW _LOWER -#define _RS _RAISE -#define _NM _NUMS -#define _AD _ADJUST - -enum custom_keycodes { - QWERTY = SAFE_RANGE, - LOWER, - RAISE, - ADJUST, - MKITPNK, - DYNAMIC_MACRO_RANGE -}; - -#include "dynamic_macro.h" - -#define DREC_1 DM_REC1 -#define DREC_2 DM_REC2 -#define DPLAY_1 DM_PLY1 -#define DPLAY_2 DM_PLY2 -#define DSTOP DM_RSTP - - -// Mod Tap Definitions -// ------------------- - // Tap Hold - // ------------------ -#define GUI_GRV MT(MOD_LGUI, KC_GRV) // ` Meta -#define CTL_ESC MT(MOD_LCTL, KC_ESC) // Esc Left Control -#define SFT_MIN MT(MOD_LSFT, KC_MINS) // - Left Shift -#define MEH_LBC MT(MOD_MEH, KC_LBRC) // [ Meh -#define CTL_BSP MT(MOD_LCTL, KC_BSPC) // Bkspce Left Control -#define HPR_RBC MT(MOD_HYPR, KC_RBRC) // ] Hyper -#define SFT_EQL MT(MOD_RSFT, KC_EQL) // = Right Shift -#define GUI_BSL MT(MOD_RGUI, KC_BSLS) // \ Meta - -#define NUM_TAB LT(_NUMS, KC_TAB) // Tab Layer Numpad - -#define CTL_DEL MT(MOD_LCTL, KC_DEL) // Del Left Control - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -/* Qwerty - * ,-----------------------------------------. ,-----------------------------------------. - * | ` | Q | W | E | R | T | | Y | U | I | O | P | \ | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | Esc | A | S | D | F | G | | H | J | K | L | ; | ' | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | - | Z | X | C | V | B | | N | M | , | . | / | = | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | Tab | [ | Meta | Alt | Lower| Bksp | | Space| Raise| Alt | Meta | ] | Enter| - * `-----------------------------------------' `-----------------------------------------' - * with Hold (Emacs-oriented) - * ,-----------------------------------------. ,-----------------------------------------. - * | Meta | | | | | | | | | | | | Meta | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | Ctrl | | | | | | | | | | | | | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | Shift| | | | | | | | | | | | Shift| - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | Numpd| Meh | | | | Ctrl | | | | | | Hyper| | - * `-----------------------------------------' `-----------------------------------------' - */ - [_QW] = LAYOUT_ortho_4x12( - GUI_GRV, KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , GUI_BSL, - CTL_ESC, KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L , KC_SCLN, KC_QUOT, - SFT_MIN, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M , KC_COMM, KC_DOT , KC_SLSH, SFT_EQL, - NUM_TAB, MEH_LBC, KC_LGUI, KC_LALT, LOWER , CTL_BSP, KC_SPC , RAISE , KC_RALT, KC_RGUI, HPR_RBC, KC_ENT - ), - -/* Raise - * ,-----------------------------------------. ,-----------------------------------------. - * | | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | Left | Up | Down | Right| ; | | ' | 4 | 5 | 6 | * | | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | { | } | ( | ) | , | | - | 1 | 2 | 3 | / | = | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | | | |Adjust| | | | RAISE| . | 0 | + | Enter| - * `-----------------------------------------' `-----------------------------------------' - */ - [_RS] = LAYOUT_ortho_4x12( - _______, KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , _______, - _______, KC_LEFT, KC_UP , KC_DOWN, KC_RGHT, KC_SCLN, KC_QUOT, KC_4 , KC_5 , KC_6 , KC_ASTR, _______, - _______, KC_LCBR, KC_RCBR, KC_LPRN, KC_RPRN, KC_COMM, KC_MINS, KC_1 , KC_2 , KC_3 , KC_SLSH, _______, - _______, _______, _______, _______, _______, _______, _______, _______, KC_DOT , KC_0 , KC_PLUS, _______ - ), - -/* Lower - * ,-----------------------------------------. ,-----------------------------------------. - * | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | Del | Vol+ | Mute | Play | PgUp | Home | | F1 | F2 | F3 | F4 | F5 | F6 | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | Vol- | < M | M > | PgDn | End | | F7 | F8 | F9 | F10 | F11 | F12 | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | | | |LOWER | | | |Adjust| | | | Enter| - * `-----------------------------------------' `-----------------------------------------' - */ - [_LW] = LAYOUT_ortho_4x12( - _______, KC_EXLM, KC_AT , KC_HASH, KC_DLR , KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, - CTL_DEL, KC_VOLU, KC_MUTE, KC_MPLY, KC_PGUP, KC_HOME, KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , KC_F6 , - _______, KC_VOLD, KC_MPRV, KC_MNXT, KC_PGDN, KC_END , KC_F7 , KC_F8 , KC_F9 , KC_F10 , KC_F11 , KC_F12 , - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - -/* Numpad - * ,-----------------------------------------. ,-----------------------------------------. - * | | | PrSc | ScrLk| Pause| | | | 7 | 8 | 9 | 0 | Lock | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | | Ins | Home | PgUp | | | | 4 | 5 | 6 | / | | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | | Del | End | PgDn | | | | 1 | 2 | 3 | * | = | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * |NUMPAD| | | | | | | | 0 | . | + | - | Enter| - * `-----------------------------------------' `-----------------------------------------' - */ - [_NM] = LAYOUT_ortho_4x12( - XXXXXXX, XXXXXXX, KC_PSCR, KC_SCRL, KC_PAUS, XXXXXXX, XXXXXXX, KC_7 , KC_8 , KC_9 , KC_0 , TO(_NM), - XXXXXXX, XXXXXXX, KC_INS , KC_HOME, KC_PGUP, XXXXXXX, XXXXXXX, KC_4 , KC_5 , KC_6 , KC_SLSH, XXXXXXX, - XXXXXXX, XXXXXXX, KC_DEL , KC_END , KC_PGDN, XXXXXXX, XXXXXXX, KC_1 , KC_2 , KC_3 , KC_ASTR, KC_EQL , - _______, XXXXXXX, XXXXXXX, XXXXXXX, _______, _______, _______, KC_0 , KC_DOT , KC_PLUS, KC_MINS, _______ - ), - -/* Adjust - * ,-----------------------------------------. ,-----------------------------------------. - * | Reset| | Up | | | Rec1 | | Rec2 | Plain| Snake|Gradnt| | Del | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | Caps | Left | Down | Right|MkItPk| Play1| | Play2| RGB | HUE+ | SAT+ | BRI+ | | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | | | | | Stop1| | Stop2| MODE | HUE- | SAT- | BRI- | | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | | | | | | | | | | | | | - * `-----------------------------------------' `-----------------------------------------' - */ - [_ADJUST] = LAYOUT_ortho_4x12( - QK_BOOT, XXXXXXX, KC_UP , XXXXXXX, XXXXXXX, DREC_1 , DREC_2 , RGB_M_P, RGB_M_SN,RGB_M_G, XXXXXXX, KC_DEL , - KC_CAPS, KC_LEFT, KC_DOWN, KC_RGHT, MKITPNK, DPLAY_1, DPLAY_2, RGB_TOG, RGB_HUI, RGB_SAI, RGB_VAI, _______, - _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, DSTOP , DSTOP , RGB_MOD, RGB_HUD, RGB_SAD, RGB_VAD, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ) -}; - -void make_it_pink_blue(void) { - uint16_t blue_hue = 210; - uint16_t pink_hue = 315; - - /* key is pressed */ - uint16_t hue = rgblight_get_hue(); - uint8_t sat = rgblight_get_sat(); - uint8_t val = rgblight_get_val(); - - if (hue != blue_hue) - rgblight_sethsv(blue_hue, sat, val); - else - rgblight_sethsv(pink_hue, sat, val); -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - if (!process_record_dynamic_macro(keycode, record)) - return false; - - switch (keycode) { - case QWERTY: - if (record->event.pressed) { - set_single_persistent_default_layer(_QWERTY); - } - 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; - case MKITPNK: - if (record->event.pressed) - make_it_pink_blue(); - return false; - break; - } - return true; -} diff --git a/keyboards/keebio/levinson/keymaps/jyh2/readme.md b/keyboards/keebio/levinson/keymaps/jyh2/readme.md deleted file mode 100644 index 45ca956922a..00000000000 --- a/keyboards/keebio/levinson/keymaps/jyh2/readme.md +++ /dev/null @@ -1,32 +0,0 @@ -# jyh's levinson layout - -[Levinson](https://keeb.io/products/levinson-lets-split-w-led-backlight) -built on rev2 PCBs. A split 4x12 keyboard with LED backlights. - -The layout is oriented towards needs for programming, Emacs, XMonad, -and experience with 60% keyboards with no base layer arrow keys -(Poker). It makes heavy use of modifiers and layers. It is influenced -by good ideas from the Atreus keyboard layout. - -## Layout features - - * Extensive use of _Mod Tap_, e.g. - * Tap sends Esc, Hold sends Left Control - * Tap sends Tab, Hold activates Numpad layer - * Tap sends - , Hold sends Shift - * ... and many more - * Places Tab and Enter on bottom corners, for hitting with palm - * Meta is available on top corners, for controlling XMonad - * Control on center key, for Emacs (among other things) - * Backspace (Control Hold) and Space on center keys - * All 60% keys available on base layer, except for numbers - * Hyper and Meh keys - * Right modifier keys in place of arrow keys - * Arrows are instead available in two alternate locations: - * WASD arrows on _Adjust_ - * Arrow cluster on _Raise_ (inspired by hexwire) - * Numpad and Numrow on _Raise_ layer. Each is faster in some contexts - * Function keys on _Lower_ - * Dynamic macros from QMK firmware on _Adjust_ - * Redunant keys where it is convenient to have characters together - on one layer diff --git a/keyboards/keebio/levinson/keymaps/jyh2/rules.mk b/keyboards/keebio/levinson/keymaps/jyh2/rules.mk deleted file mode 100644 index fb670123ed9..00000000000 --- a/keyboards/keebio/levinson/keymaps/jyh2/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -RGBLIGHT_ENABLE=yes -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite diff --git a/keyboards/keebio/levinson/keymaps/ksamborski/config.h b/keyboards/keebio/levinson/keymaps/ksamborski/config.h deleted file mode 100644 index 2b3c4332067..00000000000 --- a/keyboards/keebio/levinson/keymaps/ksamborski/config.h +++ /dev/null @@ -1,35 +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 RGBLIGHT_EFFECT_BREATHING -#define RGBLIGHT_EFFECT_RAINBOW_MOOD -#define RGBLIGHT_EFFECT_RAINBOW_SWIRL -#define RGBLIGHT_EFFECT_SNAKE -#define RGBLIGHT_EFFECT_KNIGHT -#define RGBLIGHT_EFFECT_CHRISTMAS -#define RGBLIGHT_EFFECT_STATIC_GRADIENT -#define RGBLIGHT_EFFECT_RGB_TEST -#define RGBLIGHT_EFFECT_ALTERNATING -#define RGBLIGHT_EFFECT_TWINKLE -#define RGBLED_NUM 12 diff --git a/keyboards/keebio/levinson/keymaps/ksamborski/keymap.c b/keyboards/keebio/levinson/keymaps/ksamborski/keymap.c deleted file mode 100644 index 3833b6a2235..00000000000 --- a/keyboards/keebio/levinson/keymaps/ksamborski/keymap.c +++ /dev/null @@ -1,151 +0,0 @@ -#include QMK_KEYBOARD_H - -enum layers { - _QW, - _LW, - _RS, - _AD, -}; - -enum custom_keycodes { - QWERTY = SAFE_RANGE, - LOWER, - RAISE, - ADJUST, - MKITPNK -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -/* Qwerty - * ,-----------------------------------------. ,-----------------------------------------. - * | Esc | Q | W | E | R | T | | Y | U | I | O | P | Del | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | Tab | A | S | D | F | G | | H | J | K | L | ; | Bksp | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | Shift| Z | X | C | V | B | | N | M | , | . | \ | = | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | Ctrl | | Meta | Alt | Lower| Enter| | Space| Raise| Alt | Meta | | | - * `-----------------------------------------' `-----------------------------------------' - */ - [_QW] = LAYOUT_ortho_4x12( - 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_TAB , KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L , KC_SCLN, KC_BSPC, - KC_LSFT , KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M , KC_COMM, KC_DOT , KC_BSLS, KC_EQL , - KC_LCTL , _______, KC_LGUI, KC_LALT, LOWER , KC_ENT , KC_SPC , RAISE , KC_RALT, KC_LGUI, _______, _______ - ), - -/* Raise - * ,-----------------------------------------. ,-----------------------------------------. - * | , | 1 | 2 | 3 | + | - | | { | } | ( | ) | | | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | . | 4 | 5 | 6 | # | * | | F1 | F2 | F3 | F4 | F5 | F6 | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | Shift| 7 | 8 | 9 | / | = | | F7 | F8 | F9 | F10 | F11 | F12 | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | | 0 | |Adjust| | | | RAISE| | | | | - * `-----------------------------------------' `-----------------------------------------' - */ - [_RS] = LAYOUT_ortho_4x12( - KC_COMM , KC_1 , KC_2 , KC_3 , KC_PLUS, KC_MINS, KC_LCBR, KC_RCBR, KC_LPRN, KC_RPRN, _______, _______, - KC_DOT , KC_4 , KC_5 , KC_6 , KC_HASH, KC_ASTR, KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , KC_F6 , - KC_LSFT , KC_7 , KC_8 , KC_9 , KC_SLSH, KC_EQL , KC_F7 , KC_F8 , KC_F9 , KC_F10 , KC_F11 , KC_F12 , - _______ , _______, KC_0 , _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - -/* Lower - * ,-----------------------------------------. ,-----------------------------------------. - * | ` | ! | @ | # | $ | % | | Home| PgDn| PgUp| End | ( | ) | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | Vol+ | Mute | Play | | Ins | | Left| Down| Up | Right| { | } | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | Vol- | < M | M > | | | | ^ | & | * | ' | [ | ] | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | | | |LOWER | | | Shift|Adjust| | | | | - * `-----------------------------------------' `-----------------------------------------' - */ - [_LW] = LAYOUT_ortho_4x12( - KC_GRV , KC_EXLM, KC_AT , KC_HASH, KC_DLR , KC_PERC, KC_HOME , KC_PGDN, KC_PGUP, KC_END , KC_LPRN, KC_RPRN, - _______ , KC_VOLU, KC_MUTE, KC_MPLY, _______, KC_INS , KC_LEFT , KC_DOWN, KC_UP , KC_RIGHT, KC_LCBR, KC_RCBR, - _______ , KC_VOLD, KC_MPRV, KC_MNXT, _______, _______, KC_CIRC , KC_AMPR, KC_ASTR, KC_QUOT , KC_LBRC, KC_RBRC , - _______ , _______, _______, _______, _______, _______, KC_LSFT , _______, _______, _______ , _______, _______ - ), - -/* Adjust - * ,-----------------------------------------. ,-----------------------------------------. - * | Reset| | Up | | | Rec1 | | Rec2 | Plain| Snake|Gradnt| | Del | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | Caps | Left | Down | Right|MkItPk| Play1| | Play2| RGB | HUE+ | SAT+ | BRI+ | | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | | | | | Stop1| | Stop2| MODE | HUE- | SAT- | BRI- | | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | | | | | | | | | | | | | - * `-----------------------------------------' `-----------------------------------------' - */ - [_AD] = LAYOUT_ortho_4x12( - QK_BOOT, XXXXXXX, KC_UP , XXXXXXX, XXXXXXX, DM_REC1, DM_REC2, RGB_M_P, RGB_M_SN,RGB_M_G, XXXXXXX, KC_DEL , - KC_CAPS, KC_LEFT, KC_DOWN, KC_RGHT, MKITPNK, DM_PLY1, DM_PLY2, RGB_TOG, RGB_HUI, RGB_SAI, RGB_VAI, _______, - _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, DM_RSTP, DM_RSTP, RGB_MOD, RGB_HUD, RGB_SAD, RGB_VAD, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ) -}; - -void make_it_pink_blue(void) { - uint16_t blue_hue = 210; - uint16_t pink_hue = 315; - - /* key is pressed */ - uint16_t hue = rgblight_get_hue(); - uint8_t sat = rgblight_get_sat(); - uint8_t val = rgblight_get_val(); - - if (hue != blue_hue) - rgblight_sethsv(blue_hue, sat, val); - else - rgblight_sethsv(pink_hue, sat, val); -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case QWERTY: - if (record->event.pressed) { - set_single_persistent_default_layer(_QW); - } - return false; - break; - case LOWER: - if (record->event.pressed) { - layer_on(_LW); - update_tri_layer(_LW, _RS, _AD); - } else { - layer_off(_LW); - update_tri_layer(_LW, _RS, _AD); - } - return false; - break; - case RAISE: - if (record->event.pressed) { - layer_on(_RS); - update_tri_layer(_LW, _RS, _AD); - } else { - layer_off(_RS); - update_tri_layer(_LW, _RS, _AD); - } - return false; - break; - case ADJUST: - if (record->event.pressed) { - layer_on(_AD); - } else { - layer_off(_AD); - } - return false; - break; - case MKITPNK: - if (record->event.pressed) - make_it_pink_blue(); - return false; - break; - } - return true; -} diff --git a/keyboards/keebio/levinson/keymaps/ksamborski/rules.mk b/keyboards/keebio/levinson/keymaps/ksamborski/rules.mk deleted file mode 100644 index d9c186d4271..00000000000 --- a/keyboards/keebio/levinson/keymaps/ksamborski/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -RGBLIGHT_ENABLE=yes -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -DYNAMIC_MACRO_ENABLE=yes diff --git a/keyboards/keebio/levinson/keymaps/mmacdougall/README.md b/keyboards/keebio/levinson/keymaps/mmacdougall/README.md deleted file mode 100644 index bae8c8a4b83..00000000000 --- a/keyboards/keebio/levinson/keymaps/mmacdougall/README.md +++ /dev/null @@ -1,21 +0,0 @@ -mmacdougall's Levinson Layout -============================ - -Similar to default layout, however RGB & backlight controls are mapped to adjust layer - -## Layouts - -### Adjust (Lower + Raise) - -``` -/* Adjust (Lower + Raise) - ,-----------------------------------------------------------------------------------. - | | Reset| | | | | | | | | | Del | - |------+------+------+------+------+-------------+------+------+------+------+------| - | | | |Aud on|Audoff|AGnorm|AGswap|Qwerty|Colemk|Dvorak| | | - |------+------+------+------+------+------|------+------+------+------+------+------| - |B Step|RGB Tg|RGB Md|Hue Up|Hue Dn|Sat Up|Sat Dn|Val Up|Val Dn| | | | - |------+------+------+------+------+------+------+------+------+------+------+------| - | | | | | | | | | | | | - `-----------------------------------------------------------------------------------' -``` diff --git a/keyboards/keebio/levinson/keymaps/mmacdougall/config.h b/keyboards/keebio/levinson/keymaps/mmacdougall/config.h deleted file mode 100644 index 3cfb5587bd5..00000000000 --- a/keyboards/keebio/levinson/keymaps/mmacdougall/config.h +++ /dev/null @@ -1,24 +0,0 @@ -#pragma once - -/* Select hand configuration */ - -#define MASTER_LEFT -// #define MASTER_RIGHT -// #define EE_HANDS - - -#undef RGBLED_NUM -#define RGBLIGHT_EFFECT_BREATHING -#define RGBLIGHT_EFFECT_RAINBOW_MOOD -#define RGBLIGHT_EFFECT_RAINBOW_SWIRL -#define RGBLIGHT_EFFECT_SNAKE -#define RGBLIGHT_EFFECT_KNIGHT -#define RGBLIGHT_EFFECT_CHRISTMAS -#define RGBLIGHT_EFFECT_STATIC_GRADIENT -#define RGBLIGHT_EFFECT_RGB_TEST -#define RGBLIGHT_EFFECT_ALTERNATING -#define RGBLIGHT_EFFECT_TWINKLE -#define RGBLED_NUM 12 -#define RGBLIGHT_HUE_STEP 8 -#define RGBLIGHT_SAT_STEP 8 -#define RGBLIGHT_VAL_STEP 8 diff --git a/keyboards/keebio/levinson/keymaps/mmacdougall/keymap.c b/keyboards/keebio/levinson/keymaps/mmacdougall/keymap.c deleted file mode 100644 index eb4fc106740..00000000000 --- a/keyboards/keebio/levinson/keymaps/mmacdougall/keymap.c +++ /dev/null @@ -1,197 +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 _QWERTY 0 -#define _COLEMAK 1 -#define _DVORAK 2 -#define _LOWER 3 -#define _RAISE 4 -#define _ADJUST 16 - -enum custom_keycodes { - QWERTY = SAFE_RANGE, - COLEMAK, - DVORAK, - LOWER, - RAISE, - ADJUST, -}; - -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 | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * |Adjust| Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right | - * `-----------------------------------------------------------------------------------' - */ -[_QWERTY] = LAYOUT_ortho_4x12( - 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 , - ADJUST, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, 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 | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * |Adjust| Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right | - * `-----------------------------------------------------------------------------------' - */ -[_COLEMAK] = LAYOUT_ortho_4x12( - 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 , - ADJUST, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, 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 | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * |Adjust| Ctrl | Alt | GUI |Lower |Space |Space |Raise | Left | Down | Up |Right | - * `-----------------------------------------------------------------------------------' - */ -[_DVORAK] = LAYOUT_ortho_4x12( - 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 , - ADJUST, KC_LCTL, KC_LALT, KC_LGUI, LOWER, KC_SPC, 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 | | | |Enter | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | Next | Vol- | Vol+ | Play | - * `-----------------------------------------------------------------------------------' - */ -[_LOWER] = LAYOUT_ortho_4x12( - 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_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 / | | |Enter | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | Next | Vol- | Vol+ | Play | - * `-----------------------------------------------------------------------------------' - */ -[_RAISE] = LAYOUT_ortho_4x12( - 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_MNXT, KC_VOLD, KC_VOLU, KC_MPLY -), - -/* Adjust (Lower + Raise) - * ,-----------------------------------------------------------------------------------. - * | | Reset| | | | | | | | | | Del | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | | |Aud on|Audoff|AGnorm|AGswap|Qwerty|Colemk|Dvorak| | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * |B Step|RGB Tg|RGB Md|Hue Up|Hue Dn|Sat Up|Sat Dn|Val Up|Val Dn| | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | | | | - * `-----------------------------------------------------------------------------------' - */ -[_ADJUST] = LAYOUT_ortho_4x12( - _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL, - _______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, - BL_STEP, RGB_TOG, RGB_MOD, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_VAD, RGB_VAI, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -) - - -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case QWERTY: - if (record->event.pressed) { - #ifdef AUDIO_ENABLE - PLAY_SONG(tone_qwerty); - #endif - set_single_persistent_default_layer(_QWERTY); - } - return false; - break; - case COLEMAK: - if (record->event.pressed) { - #ifdef AUDIO_ENABLE - PLAY_SONG(tone_colemak); - #endif - set_single_persistent_default_layer(_COLEMAK); - } - return false; - break; - case DVORAK: - if (record->event.pressed) { - #ifdef AUDIO_ENABLE - PLAY_SONG(tone_dvorak); - #endif - 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 ADJUST: - if (record->event.pressed) { - layer_on(_ADJUST); - } else { - layer_off(_ADJUST); - } - return false; - break; - } - return true; -} diff --git a/keyboards/keebio/levinson/keymaps/mmacdougall/rules.mk b/keyboards/keebio/levinson/keymaps/mmacdougall/rules.mk deleted file mode 100644 index d7463419b4f..00000000000 --- a/keyboards/keebio/levinson/keymaps/mmacdougall/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -RGBLIGHT_ENABLE = yes -BACKLIGHT_ENABLE = yes diff --git a/keyboards/keebio/levinson/keymaps/treadwell/config.h b/keyboards/keebio/levinson/keymaps/treadwell/config.h deleted file mode 100644 index 6965a1251b9..00000000000 --- a/keyboards/keebio/levinson/keymaps/treadwell/config.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef CONFIG_USER_H -#define CONFIG_USER_H - - -/* Select hand configuration */ - -#define MASTER_LEFT -// #define MASTER_RIGHT -// #define EE_HANDS - -#define TAPPING_TERM 150 - -/* default layer sounds */ -#define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \ - SONG(GAME_SOUND), \ - SONG(COLEMAK_SOUND) \ - } - -//#undef RGBLED_NUM -//#define RGBLED_NUM 12 -//#define RGBLIGHT_HUE_STEP 8 -//#define RGBLIGHT_SAT_STEP 8 -//#define RGBLIGHT_VAL_STEP 8 - -#endif diff --git a/keyboards/keebio/levinson/keymaps/treadwell/keymap.c b/keyboards/keebio/levinson/keymaps/treadwell/keymap.c deleted file mode 100644 index 85db1696cde..00000000000 --- a/keyboards/keebio/levinson/keymaps/treadwell/keymap.c +++ /dev/null @@ -1,175 +0,0 @@ -#include QMK_KEYBOARD_H - -extern keymap_config_t keymap_config; - -#define _QWERTY 0 -#define _COLEMAK 1 -#define _GAME 2 -#define _NUMB 3 -#define _CODE 4 -#define _SYS 5 -#define _FN4 6 -#define _ADJUST 16 - -enum custom_keycodes { - QWERTY = SAFE_RANGE, - COLEMAK, - GAME, - NUMB, - CODE, - SYS, - FN4, - ADJUST, -}; - -#define KC_X1 CODE -#define KC_X2 NUMB -#define KC_X3 MO(_SYS) -#define KC_X4 MT(MOD_LSFT, KC_ENT) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [_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_MINS, - //|----+----+----+----+----+----| |----+----+----+----+----+----| - 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_X4 , - //|----+----+----+----+----+----| |----+----+----+----+----+----| - KC_X3 ,KC_LCTL,KC_LALT,KC_LGUI, KC_X1 ,KC_LALT, KC_SPC , KC_X2 ,KC_LEFT,KC_DOWN, KC_UP ,KC_RGHT - //`----+----+----+----+----+----' `----+----+----+----+----+----' - ), - - [_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_MINS, - //|----+----+----+----+----+----| |----+----+----+----+----+----| - 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_LSFT, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_K , KC_M ,KC_COMM,KC_DOT ,KC_SLSH, KC_X4 , - //|----+----+----+----+----+----| |----+----+----+----+----+----| - KC_X3 ,KC_LCTL,KC_LALT,KC_LGUI, KC_X1 ,KC_LALT, KC_SPC , KC_X2 ,KC_LEFT,KC_DOWN, KC_UP ,KC_RGHT - //`----+----+----+----+----+----' `----+----+----+----+----+----' - ), - - [_GAME] = LAYOUT( - //,----+----+----+----+----+----. ,----+----+----+----+----+----. - KC_TAB , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P ,KC_MINS, - //|----+----+----+----+----+----| |----+----+----+----+----+----| - 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_UP ,KC_ENT , - //|----+----+----+----+----+----| |----+----+----+----+----+----| - KC_LCTL, KC_X3 ,KC_LGUI,KC_LALT,KC_SPC , KC_X2 , KC_BSPC, KC_X1 ,KC_SLSH,KC_LEFT,KC_DOWN,KC_RGHT - //`----+----+----+----+----+----' `----+----+----+----+----+----' - ), - - [_NUMB] = LAYOUT( - //,----+----+----+----+----+----. ,----+----+----+----+----+----. - 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_GRV , KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 ,KC_UNDS, - //|----+----+----+----+----+----| |----+----+----+----+----+----| - _______,_______,KC_MPRV,KC_MNXT,KC_MPLY,_______, _______,KC_VOLD,KC_VOLU,KC_MUTE,_______,_______, - //|----+----+----+----+----+----| |----+----+----+----+----+----| - _______,_______,_______,_______,_______,KC_LALT, _______,_______,_______,_______,_______,_______ - //`----+----+----+----+----+----' `----+----+----+----+----+----' - ), - - [_CODE] = LAYOUT( - //,----+------+----+----+----+----. ,----+----+----+----+----+----. - KC_ESC , _______,_______, KC_UP ,_______,_______, KC_PGUP,KC_HOME,KC_LPRN,KC_RPRN,KC_BSLS,KC_PIPE, - //|----+------+----+----+----+----| |----+----+----+----+----+----| - KC_CAPS,KC_SELECT,KC_LEFT,KC_DOWN,KC_RGHT,KC_DEL , KC_PGDN, KC_END,KC_LBRC,KC_RBRC,KC_MINS,KC_UNDS, - //|----+------+----+----+----+----| |----+----+----+----+----+----| - KC_LSFT, KC_UNDO ,KC_CUT ,KC_COPY,KC_PASTE, _______, KC_LEFT,KC_RGHT,KC_LCBR,KC_RCBR,KC_PLUS, KC_EQL, - //|----+------+----+----+----+----| |----+----+----+----+----+----| - _______, _______,_______,_______,_______,KC_LALT, _______,_______,_______,_______,_______,_______ - //`----+------+----+----+----+----' `----+----+----+----+----+----' - ), - - [_SYS] = 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 , - //|----+----+----+----+----+----| |----+----+----+----+----+----| - _______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______, - //|----+----+----+----+----+----| |----+----+----+----+----+----| - _______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______ - //`----+----+----+----+----+----' `----+----+----+----+----+----' - ), - -/* 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, QWERTY, COLEMAK, GAME , _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ) - - -}; - -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 GAME: - if (record->event.pressed) { - set_single_persistent_default_layer(_GAME); - } - return false; - break; - case NUMB: - if (record->event.pressed) { - layer_on(_NUMB); - update_tri_layer(_NUMB, _CODE, _ADJUST); - } else { - layer_off(_NUMB); - update_tri_layer(_NUMB, _CODE, _ADJUST); - } - return false; - break; - case CODE: - if (record->event.pressed) { - layer_on(_CODE); - update_tri_layer(_NUMB, _CODE, _ADJUST); - } else { - layer_off(_CODE); - update_tri_layer(_NUMB, _CODE, _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/levinson/keymaps/treadwell/rules.mk b/keyboards/keebio/levinson/keymaps/treadwell/rules.mk deleted file mode 100644 index 1d2d9e5a9c4..00000000000 --- a/keyboards/keebio/levinson/keymaps/treadwell/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -RGBLIGHT_ENABLE = no -BACKLIGHT_ENABLE = no diff --git a/keyboards/keebio/nyquist/keymaps/bwprobably/config.h b/keyboards/keebio/nyquist/keymaps/bwprobably/config.h deleted file mode 100644 index 51befaac14c..00000000000 --- a/keyboards/keebio/nyquist/keymaps/bwprobably/config.h +++ /dev/null @@ -1,30 +0,0 @@ -/* -Copyright 2017 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 USE_I2C - -/* Select hand configuration */ -#define MASTER_RIGHT -// #define EE_HANDS - -#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/nyquist/keymaps/bwprobably/keymap.c b/keyboards/keebio/nyquist/keymaps/bwprobably/keymap.c deleted file mode 100644 index 29f711dd7ca..00000000000 --- a/keyboards/keebio/nyquist/keymaps/bwprobably/keymap.c +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2022 bwprobably -// SPDX-License-Identifier: GPL-2.0-or-later - -#include QMK_KEYBOARD_H - - -enum custom_layer { - _LAYER0, - _LAYER1, - _LAYER2, - _LAYER3, -}; - -enum custom_keycodes { - LAYER0 = SAFE_RANGE, - LAYER1, - LAYER2, - LAYER3, -}; - - const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [_LAYER0] = 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_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, LT(3,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_COMM, KC_DOT, KC_SLSH, KC_ENT, KC_LCTL, KC_LALT, KC_LGUI, KC_DEL, MO(1), KC_SPC, KC_SPC, MO(2), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT), - -[_LAYER1] = 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, KC_TAB, KC_Q, KC_UP, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_CALC, KC_HOME, KC_ESC, KC_LEFT, KC_DOWN, KC_RGHT, KC_T, KC_D, KC_H, KC_N, KC_TRNS, KC_I, KC_MUTE, KC_PGUP, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_MNXT, KC_MPLY, KC_VOLU, KC_PGDN, MO(3), KC_LCTL, KC_LALT, KC_LGUI, KC_TRNS, KC_SPC, KC_SPC, KC_TRNS, KC_MPRV, KC_MSTP, KC_VOLD, KC_END), - -[_LAYER2] = LAYOUT(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_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_TRNS, KC_RCBR, KC_PIPE, KC_TRNS, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, LSFT(KC_NUHS), LSFT(KC_BSLS), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY), - -[_LAYER3] = LAYOUT(KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_NO, KC_NO, KC_PSLS, KC_PAST, KC_PMNS, KC_NO, KC_TRNS, QK_BOOT, RGB_TOG, RGB_MOD, RGB_HUD, RGB_HUI, KC_NO, KC_P7, KC_P8, KC_P9, KC_PPLS, KC_DEL, KC_TRNS, KC_TRNS, BL_TOGG, BL_DOWN, BL_UP, AG_NORM, KC_NO, KC_P4, KC_P5, KC_P6, KC_PCMM, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_NO, KC_P1, KC_P2, KC_P3, KC_PEQL, 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_TRNS) - -}; diff --git a/keyboards/keebio/nyquist/keymaps/bwprobably/rules.mk b/keyboards/keebio/nyquist/keymaps/bwprobably/rules.mk deleted file mode 100644 index 1e3cebb1451..00000000000 --- a/keyboards/keebio/nyquist/keymaps/bwprobably/rules.mk +++ /dev/null @@ -1 +0,0 @@ -RGBLIGHT_ENABLE = yes diff --git a/keyboards/keebio/nyquist/keymaps/georgepetri/config.h b/keyboards/keebio/nyquist/keymaps/georgepetri/config.h deleted file mode 100644 index 3274bb60fd7..00000000000 --- a/keyboards/keebio/nyquist/keymaps/georgepetri/config.h +++ /dev/null @@ -1,26 +0,0 @@ -/* -Copyright 2017 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 - -#undef RGBLED_NUM -#define RGBLED_NUM 12 -#define RGBLIGHT_LAYERS - -#define TAPPING_TOGGLE 2 -#define TAPPING_TERM 150 -#undef RGBLED_SPLIT diff --git a/keyboards/keebio/nyquist/keymaps/georgepetri/keymap.c b/keyboards/keebio/nyquist/keymaps/georgepetri/keymap.c deleted file mode 100644 index bd11a5ec811..00000000000 --- a/keyboards/keebio/nyquist/keymaps/georgepetri/keymap.c +++ /dev/null @@ -1,106 +0,0 @@ -#include QMK_KEYBOARD_H - -#define _BASE 0 -#define _L 1 -#define _R 2 - -#define KC_TL LCTL(KC_PGUP) -#define KC_TR LCTL(KC_PGDN) -#define KC_TC LCTL(KC_W) -#define KC_TRO LCTL(LSFT(KC_T)) - -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_BSPC, -//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ - KC_TAB , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , 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_LSFT, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M , KC_COMM, KC_DOT , KC_SLSH, KC_ENT , -//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ - KC_CAPS, KC_LCTL, KC_LGUI, KC_LALT, MO(_L) , KC_SPC , KC_RSFT, TT(_R) , KC_LEFT, KC_DOWN, KC_UP , KC_RGHT -//└────────┴────────┴────────┴────────┴────────┴────────┘ └────────┴────────┴────────┴────────┴────────┴────────┘ - ), - - [_L] = 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_MINS, KC_EQL , KC_LBRC, KC_RBRC, KC_BSLS, -//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ - _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP , KC_RGHT, _______, _______, -//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ - _______, _______, _______, _______, _______, _______, _______, KC_PGDN, KC_PGUP, KC_HOME, KC_END , _______, -//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -//└────────┴────────┴────────┴────────┴────────┴────────┘ └────────┴────────┴────────┴────────┴────────┴────────┘ - ), - - [_R] = LAYOUT( -//┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ - _______, KC_TL , KC_TR , KC_TC , KC_TRO , _______, _______, KC_TL , KC_TR , KC_TC , KC_TRO , _______, -//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ - _______, KC_LEFT, KC_DOWN, KC_UP , KC_RGHT, _______, KC_LEFT, KC_DOWN, KC_UP , KC_RGHT, _______, _______, -//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ - _______, KC_PGDN, KC_PGUP, KC_HOME, KC_END , _______, _______, KC_PGDN, KC_PGUP, KC_HOME, KC_END , _______, -//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -//└────────┴────────┴────────┴────────┴────────┴────────┘ └────────┴────────┴────────┴────────┴────────┴────────┘ - ) -}; - -const rgblight_segment_t PROGMEM left[] = RGBLIGHT_LAYER_SEGMENTS( - {0, 12, HSV_MAGENTA} -); - -const rgblight_segment_t PROGMEM right[] = RGBLIGHT_LAYER_SEGMENTS( - {0, 12, HSV_RED} -); - -const rgblight_segment_t PROGMEM capslock[] = RGBLIGHT_LAYER_SEGMENTS( - {0, 3, HSV_GOLD}, - {6, 3, HSV_GOLD} -); - -const rgblight_segment_t* const PROGMEM rgb_layers[] = RGBLIGHT_LAYERS_LIST(left, right, capslock); - -void keyboard_post_init_user(void) { - rgblight_sethsv_noeeprom(HSV_SPRINGGREEN); - rgblight_layers = rgb_layers; -} - -layer_state_t layer_state_set_user(layer_state_t state) { - rgblight_set_layer_state(0, layer_state_cmp(state, _L)); - rgblight_set_layer_state(1, layer_state_cmp(state, _R)); - return state; -} - -void suspend_power_down_user(void) { - rgblight_disable(); -} - -void suspend_wakeup_init_user(void) { - rgblight_enable(); -} - -bool is_shift_pressed = false; - -bool led_update_user(led_t led_state) { - rgblight_set_layer_state(2, is_shift_pressed != led_state.caps_lock); - return true; -} - -bool process_record_user(uint16_t keycode, keyrecord_t* record) { - switch (keycode) { - case KC_LSFT: - case KC_RSFT: - is_shift_pressed = record->event.pressed; - rgblight_set_layer_state(2, is_shift_pressed != host_keyboard_led_state().caps_lock); - default: - return true; - } -} diff --git a/keyboards/keebio/nyquist/keymaps/georgepetri/readme.md b/keyboards/keebio/nyquist/keymaps/georgepetri/readme.md deleted file mode 100644 index 5d1855e933d..00000000000 --- a/keyboards/keebio/nyquist/keymaps/georgepetri/readme.md +++ /dev/null @@ -1,52 +0,0 @@ -# George Petri's Nyquist layout - -``` -sudo make keebio/nyquist/rev2:georgepetri:dfu -``` - -Features a dedicated navigation layer on rise and current layer status on rgb underglow. - -### Base Layer -``` -┌──────┬──────┬──────┬──────┬──────┬──────┐ ┌──────┬──────┬──────┬──────┬──────┬──────┐ -│ GRAVE│ 1 │ 2 │ 3 │ 4 │ 5 │ │ 6 │ 7 │ 8 │ 9 │ 0 │ BSPC │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ TAB │ Q │ W │ E │ R │ T │ │ Y │ U │ I │ O │ P │ DEL │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ ESC │ A │ S │ D │ F │ G │ │ H │ J │ K │ L │ SCLN│ QUOT │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ LSFT│ Z │ X │ C │ V │ B │ │ N │ M │ COMM│ DOT │ SLSH│ ENT │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ CAPS│ LCTL│ LGUI │ LALT │MO(_L)│ SPC │ │ RSFT│MO(_R)│ LEFT│ DOWN│ UP │ RGHT │ -└──────┴──────┴──────┴──────┴──────┴──────┘ └──────┴──────┴──────┴──────┴──────┴──────┘ -``` - -### Lower -``` -┌──────┬──────┬──────┬──────┬──────┬──────┐ ┌──────┬──────┬──────┬──────┬──────┬──────┐ -│ │ F1 │ F2 │ F3 │ F4 │ F5 │ │ F6 │ F7 │ F8 │ F9 │ F10 │ │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ │ F11 │ F12 │ │ │ │ │ │ MINS│ EQL │ LBRC│ RBRC│ BSLS │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ │ │ │ │ │ │ │ LEFT│ DOWN│ UP │ RGHT│ │ │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ │ │ │ │ │ │ │ │ PGDN│ PGUP │ HOME│ END │ │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ │ │ │ │ │ │ │ │ │ │ │ │ │ -└──────┴──────┴──────┴──────┴──────┴──────┘ └──────┴──────┴──────┴──────┴──────┴──────┘ -``` - -### Rise -``` -┌──────┬──────┬──────┬──────┬──────┬──────┐ ┌──────┬──────┬──────┬──────┬──────┬──────┐ -│ │ │ │ │ │ │ │ │ │ │ │ │ │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ │ TAB_L│ TAB_R│ TAB_C│ TAB_R│ │ │ │ TAB_L│ TAB_R│ TAB_C│ TAB_R│ │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ │ LEFT│ DOWN│ UP │ RGHT│ │ │ LEFT│ DOWN│ UP │ RGHT│ │ │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ │ PGDN│ PGUP│ HOME│ END │ │ │ │ PGDN│ PGUP│ HOME│ END │ │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ │ │ │ │ │ │ │ │ │ │ │ │ │ -└──────┴──────┴──────┴──────┴──────┴──────┘ └──────┴──────┴──────┴──────┴──────┴──────┘ -``` diff --git a/keyboards/keebio/nyquist/keymaps/georgepetri/rules.mk b/keyboards/keebio/nyquist/keymaps/georgepetri/rules.mk deleted file mode 100644 index 072f9b2edcc..00000000000 --- a/keyboards/keebio/nyquist/keymaps/georgepetri/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -MOUSEKEY_ENABLE = no -COMMAND_ENABLE = no -RGBLIGHT_ENABLE = yes -LTO_ENABLE = yes -DEBOUNCE_TYPE = sym_eager_pk diff --git a/keyboards/keebio/nyquist/keymaps/georgepetri3/config.h b/keyboards/keebio/nyquist/keymaps/georgepetri3/config.h deleted file mode 100644 index 2e84fa0d531..00000000000 --- a/keyboards/keebio/nyquist/keymaps/georgepetri3/config.h +++ /dev/null @@ -1,25 +0,0 @@ -/* -Copyright 2017 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 RGBLIGHT_LAYERS - -#define TAPPING_TOGGLE 2 -#define TAPPING_TERM 150 - -#define USE_I2C diff --git a/keyboards/keebio/nyquist/keymaps/georgepetri3/keymap.c b/keyboards/keebio/nyquist/keymaps/georgepetri3/keymap.c deleted file mode 100644 index a20c0d9351a..00000000000 --- a/keyboards/keebio/nyquist/keymaps/georgepetri3/keymap.c +++ /dev/null @@ -1,106 +0,0 @@ -#include QMK_KEYBOARD_H -#define _BASE 0 -#define _L 1 -#define _R 2 - -#define KC_TL LCTL(KC_PGUP) -#define KC_TR LCTL(KC_PGDN) -#define KC_TC LCTL(KC_W) -#define KC_TRO LCTL(LSFT(KC_T)) - -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_BSPC, -//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ - KC_TAB , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , 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_LSFT, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M , KC_COMM, KC_DOT , KC_SLSH, KC_ENT , -//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ - KC_CAPS, KC_LCTL, KC_LGUI, KC_LALT, MO(_L) , KC_SPC , KC_RSFT, TT(_R) , KC_LEFT, KC_DOWN, KC_UP , KC_RGHT -//└────────┴────────┴────────┴────────┴────────┴────────┘ └────────┴────────┴────────┴────────┴────────┴────────┘ - ), - - [_L] = 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_MINS, KC_EQL , KC_LBRC, KC_RBRC, KC_BSLS, -//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ - _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP , KC_RGHT, _______, _______, -//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ - _______, _______, _______, _______, _______, _______, _______, KC_PGDN, KC_PGUP, KC_HOME, KC_END , _______, -//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -//└────────┴────────┴────────┴────────┴────────┴────────┘ └────────┴────────┴────────┴────────┴────────┴────────┘ - ), - - [_R] = LAYOUT( -//┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, -//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ - _______, KC_TL , KC_TR , KC_TC , KC_TRO , _______, _______, KC_TL , KC_TR , KC_TC , KC_TRO , _______, -//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ - _______, KC_LEFT, KC_DOWN, KC_UP , KC_RGHT, _______, KC_LEFT, KC_DOWN, KC_UP , KC_RGHT, _______, _______, -//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ - _______, KC_PGDN, KC_PGUP, KC_HOME, KC_END , _______, _______, KC_PGDN, KC_PGUP, KC_HOME, KC_END , _______, -//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -//└────────┴────────┴────────┴────────┴────────┴────────┘ └────────┴────────┴────────┴────────┴────────┴────────┘ - ) -}; - -const rgblight_segment_t PROGMEM left[] = RGBLIGHT_LAYER_SEGMENTS( - {0, 12, HSV_SPRINGGREEN} -); - -const rgblight_segment_t PROGMEM right[] = RGBLIGHT_LAYER_SEGMENTS( - {0, 12, HSV_RED} -); - -const rgblight_segment_t PROGMEM capslock[] = RGBLIGHT_LAYER_SEGMENTS( - {2, 3, HSV_GOLD}, - {6, 1, HSV_GOLD}, - {11, 1, HSV_GOLD} -); - -const rgblight_segment_t* const PROGMEM rgb_layers[] = RGBLIGHT_LAYERS_LIST(left, right, capslock); - -void keyboard_post_init_user(void) { - rgblight_sethsv_noeeprom(HSV_BLUE); - rgblight_layers = rgb_layers; -} - -layer_state_t layer_state_set_user(layer_state_t state) { - rgblight_set_layer_state(0, layer_state_cmp(state, _L)); - rgblight_set_layer_state(1, layer_state_cmp(state, _R)); - return state; -} - -void suspend_power_down_user(void) { - rgblight_disable(); -} - -void suspend_wakeup_init_user(void) { - rgblight_enable(); -} - -bool is_shift_pressed = false; - -bool led_update_user(led_t led_state) { - rgblight_set_layer_state(2, is_shift_pressed != led_state.caps_lock); - return true; -} - -bool process_record_user(uint16_t keycode, keyrecord_t* record) { - switch (keycode) { - case KC_LSFT: - case KC_RSFT: - is_shift_pressed = record->event.pressed; - rgblight_set_layer_state(2, is_shift_pressed != host_keyboard_led_state().caps_lock); - default: - return true; - } -} diff --git a/keyboards/keebio/nyquist/keymaps/georgepetri3/readme.md b/keyboards/keebio/nyquist/keymaps/georgepetri3/readme.md deleted file mode 100644 index db4af6b314a..00000000000 --- a/keyboards/keebio/nyquist/keymaps/georgepetri3/readme.md +++ /dev/null @@ -1,52 +0,0 @@ -# George Petri's Nyquist rev3 layout - -``` -sudo make keebio/nyquist/rev3:georgepetri3:dfu -``` - -Features a dedicated navigation layer on rise and current layer status on rgb underglow. - -### Base Layer -``` -┌──────┬──────┬──────┬──────┬──────┬──────┐ ┌──────┬──────┬──────┬──────┬──────┬──────┐ -│ GRAVE│ 1 │ 2 │ 3 │ 4 │ 5 │ │ 6 │ 7 │ 8 │ 9 │ 0 │ BSPC │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ TAB │ Q │ W │ E │ R │ T │ │ Y │ U │ I │ O │ P │ DEL │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ ESC │ A │ S │ D │ F │ G │ │ H │ J │ K │ L │ SCLN│ QUOT │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ LSFT│ Z │ X │ C │ V │ B │ │ N │ M │ COMM│ DOT │ SLSH│ ENT │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ CAPS│ LCTL│ LGUI │ LALT │MO(_L)│ SPC │ │ RSFT│MO(_R)│ LEFT│ DOWN│ UP │ RGHT │ -└──────┴──────┴──────┴──────┴──────┴──────┘ └──────┴──────┴──────┴──────┴──────┴──────┘ -``` - -### Lower -``` -┌──────┬──────┬──────┬──────┬──────┬──────┐ ┌──────┬──────┬──────┬──────┬──────┬──────┐ -│ │ F1 │ F2 │ F3 │ F4 │ F5 │ │ F6 │ F7 │ F8 │ F9 │ F10 │ │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ │ F11 │ F12 │ │ │ │ │ │ MINS│ EQL │ LBRC│ RBRC│ BSLS │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ │ │ │ │ │ │ │ LEFT│ DOWN│ UP │ RGHT│ │ │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ │ │ │ │ │ │ │ │ PGDN│ PGUP │ HOME│ END │ │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ │ │ │ │ │ │ │ │ │ │ │ │ │ -└──────┴──────┴──────┴──────┴──────┴──────┘ └──────┴──────┴──────┴──────┴──────┴──────┘ -``` - -### Rise -``` -┌──────┬──────┬──────┬──────┬──────┬──────┐ ┌──────┬──────┬──────┬──────┬──────┬──────┐ -│ │ │ │ │ │ │ │ │ │ │ │ │ │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ │ TAB_L│ TAB_R│ TAB_C│ TAB_R│ │ │ │ TAB_L│ TAB_R│ TAB_C│ TAB_R│ │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ │ LEFT│ DOWN│ UP │ RGHT│ │ │ LEFT│ DOWN│ UP │ RGHT│ │ │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ │ PGDN│ PGUP│ HOME│ END │ │ │ │ PGDN│ PGUP│ HOME│ END │ │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ │ │ │ │ │ │ │ │ │ │ │ │ │ -└──────┴──────┴──────┴──────┴──────┴──────┘ └──────┴──────┴──────┴──────┴──────┴──────┘ -``` diff --git a/keyboards/keebio/nyquist/keymaps/georgepetri3/rules.mk b/keyboards/keebio/nyquist/keymaps/georgepetri3/rules.mk deleted file mode 100644 index 072f9b2edcc..00000000000 --- a/keyboards/keebio/nyquist/keymaps/georgepetri3/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -MOUSEKEY_ENABLE = no -COMMAND_ENABLE = no -RGBLIGHT_ENABLE = yes -LTO_ENABLE = yes -DEBOUNCE_TYPE = sym_eager_pk diff --git a/keyboards/keebio/nyquist/keymaps/jojiichan/config.h b/keyboards/keebio/nyquist/keymaps/jojiichan/config.h deleted file mode 100644 index f5922f93bcc..00000000000 --- a/keyboards/keebio/nyquist/keymaps/jojiichan/config.h +++ /dev/null @@ -1,45 +0,0 @@ -/* -Copyright 2017 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 . -*/ - -#ifndef CONFIG_USER_H -#define CONFIG_USER_H - -#include "../../config.h" - -/* Select hand configuration */ - -#define MASTER_LEFT -// #define MASTER_RIGHT -// #define EE_HANDS - -#undef RGBLED_NUM -#define RGBLIGHT_EFFECT_BREATHING -#define RGBLIGHT_EFFECT_RAINBOW_MOOD -#define RGBLIGHT_EFFECT_RAINBOW_SWIRL -#define RGBLIGHT_EFFECT_SNAKE -#define RGBLIGHT_EFFECT_KNIGHT -#define RGBLIGHT_EFFECT_CHRISTMAS -#define RGBLIGHT_EFFECT_STATIC_GRADIENT -#define RGBLIGHT_EFFECT_RGB_TEST -#define RGBLIGHT_EFFECT_ALTERNATING -#define RGBLIGHT_EFFECT_TWINKLE -#define RGBLED_NUM 12 -#define RGBLIGHT_HUE_STEP 8 -#define RGBLIGHT_SAT_STEP 8 -#define RGBLIGHT_VAL_STEP 8 - -#endif diff --git a/keyboards/keebio/nyquist/keymaps/jojiichan/keymap.c b/keyboards/keebio/nyquist/keymaps/jojiichan/keymap.c deleted file mode 100644 index 537d5cf2e4d..00000000000 --- a/keyboards/keebio/nyquist/keymaps/jojiichan/keymap.c +++ /dev/null @@ -1,46 +0,0 @@ -#include QMK_KEYBOARD_H - -extern keymap_config_t keymap_config; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - 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_Y, KC_U, KC_I, KC_O, KC_P, 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_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, KC_LALT, TG(4), MO(1), KC_SPC, KC_SPC, MO(2), KC_LEFT, KC_RGHT, KC_UP, KC_DOWN), - - 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_PAUS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, - KC_TRNS, KC_LEFT, KC_DOWN, 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_TRNS, KC_TRNS, KC_TRNS, KC_INS, KC_HOME, KC_PGUP, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_DEL, KC_END, KC_PGDN), - - LAYOUT( - 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_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, - KC_MINS, KC_EQL, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LBRC, KC_RBRC, KC_PIPE, - KC_UNDS, KC_PLUS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LCBR, KC_RCBR, KC_BSLS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), - - LAYOUT( - LALT(KC_F4), LSFT(KC_EXLM), LSFT(KC_AT), LSFT(KC_HASH), LSFT(KC_DLR), LSFT(KC_PERC), LSFT(KC_CIRC), LSFT(KC_AMPR), LSFT(KC_ASTR), LSFT(KC_LPRN), LSFT(KC_RPRN), LSFT(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, LSFT(KC_COLN), LSFT(KC_DQUO), - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, LSFT(KC_LABK), LSFT(KC_RABK), LSFT(KC_QUES), KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), - - LAYOUT( - KC_END, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_F11, KC_PGDN, KC_SLSH, KC_ASTR, KC_MINS, - KC_TAB, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_O, KC_7, KC_8, KC_9, KC_PLUS, - KC_TRNS, KC_A, KC_S, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_4, KC_5, KC_6, KC_PLUS, - KC_LSFT, KC_TRNS, KC_X, KC_C, KC_TRNS, KC_TRNS, KC_N, KC_TRNS, KC_1, KC_2, KC_3, KC_ENT, - QK_BOOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_SPC, KC_TRNS, KC_0, KC_0, KC_DOT, KC_ENT) - -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - return true; -} diff --git a/keyboards/keebio/nyquist/keymaps/jojiichan/rules.mk b/keyboards/keebio/nyquist/keymaps/jojiichan/rules.mk deleted file mode 100644 index a81250cdf6d..00000000000 --- a/keyboards/keebio/nyquist/keymaps/jojiichan/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -RGBLIGHT_ENABLE = yes - diff --git a/keyboards/keebio/nyquist/keymaps/pipicanim/README.md b/keyboards/keebio/nyquist/keymaps/pipicanim/README.md deleted file mode 100644 index 8104213913b..00000000000 --- a/keyboards/keebio/nyquist/keymaps/pipicanim/README.md +++ /dev/null @@ -1,63 +0,0 @@ -# pipicanim's Nyquist layout - -``` -make keebio/nyquist/rev3:pipicanim -``` - -## Layers -+ Lower -> Layer 2 -+ Raise -> Layer 1 -+ Code -> Layer 3 - -### Base -``` -┌──────┬──────┬──────┬──────┬──────┬──────┐ ┌──────┬──────┬──────┬──────┬──────┬──────┐ -│TAB │Q │W │E │R │T │ │Y │U │I │O │P │BCKPC │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ESC │A │S │D │F │G │ │H │J │K │L │; │' │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│SHIFT │Z │X │C │V │B │ │N │M │, │. │/ │ENTER │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│CTRL |SUPER │MO(3) │ALT │MO(2) │SPACE │ │SPACE │MO(1) │ALT │MO(3) │SUPER │CTRL │ -└──────┴──────┴──────┴──────┴──────┴──────┘ └──────┴──────┴──────┴──────┴──────┴──────┘ -``` - -### Lower, Numbers/Special Characters and Navigation -``` -┌──────┬──────┬──────┬──────┬──────┬──────┐ ┌──────┬──────┬──────┬──────┬──────┬──────┐ -│` │1 │2 │3 │4 │ │ │ │PGUP │UP │PGDOWN│( │) │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ │5 │6 │7 │8 │ │ │HOME │LEFT │DOWN │RIGHT │[ │] │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ │9 │0 │- │= │ │ │END │ │ │ │\ │| │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ │ │ │ │ │ │ │ │ │ │ │ │ │ -└──────┴──────┴──────┴──────┴──────┴──────┘ └──────┴──────┴──────┴──────┴──────┴──────┘ -``` - -### Raise, F buttons -``` -┌──────┬──────┬──────┬──────┬──────┬──────┐ ┌──────┬──────┬──────┬──────┬──────┬──────┐ -│CAPS │ │PRSRC │SCLOCK│PAUSE │ │ │ │F1 │F2 │F3 │F4 │DEL │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ │ │INSERT│HOME │PGUP │ │ │ │F5 │F6 │F7 │F8 │ │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ │ │DEL │END │PGDOWN│ │ │ │F9 │F10 │F11 │F12 │ │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ │ │ │ │ │ │ │ │ │ │ │ │ │ -└──────┴──────┴──────┴──────┴──────┴──────┘ └──────┴──────┴──────┴──────┴──────┴──────┘ -``` - -### Code, RGB and media controls. - -``` -┌──────┬──────┬──────┬──────┬──────┬──────┐ ┌──────┬──────┬──────┬──────┬──────┬──────┐ -│RGBTOG│RGBM+ │RGBM- │ │ │ │ | │ │ │ │ │RESET │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│HUE+ │SAT+ │BRGHT+│EFCT+ │ │ │ │ │PREV │PLAY │NEXT │ │ │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│HUE- │SAT- │BRGHT-│EFCT │ │ │ | │MUTE │VOL- │VOL+ │ │ │ -├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤ -│ │ │ │ │ │ │ │ │ │ │ │ │ │ -└──────┴──────┴──────┴──────┴──────┴──────┘ └──────┴──────┴──────┴──────┴──────┴──────┘ -``` diff --git a/keyboards/keebio/nyquist/keymaps/pipicanim/config.h b/keyboards/keebio/nyquist/keymaps/pipicanim/config.h deleted file mode 100644 index 81fc2cf5fe4..00000000000 --- a/keyboards/keebio/nyquist/keymaps/pipicanim/config.h +++ /dev/null @@ -1,40 +0,0 @@ -/* -Copyright 2017 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 USE_I2C - -/* Select hand configuration */ -// #define MASTER_RIGHT -// #define EE_HANDS - -#undef RGBLED_NUM -#define RGBLIGHT_EFFECT_BREATHING -#define RGBLIGHT_EFFECT_RAINBOW_MOOD -#define RGBLIGHT_EFFECT_RAINBOW_SWIRL -#define RGBLIGHT_EFFECT_SNAKE -#define RGBLIGHT_EFFECT_KNIGHT -#define RGBLIGHT_EFFECT_CHRISTMAS -#define RGBLIGHT_EFFECT_STATIC_GRADIENT -#define RGBLIGHT_EFFECT_RGB_TEST -#define RGBLIGHT_EFFECT_ALTERNATING -#define RGBLIGHT_EFFECT_TWINKLE -#define RGBLED_NUM 12 -#define RGBLIGHT_HUE_STEP 8 -#define RGBLIGHT_SAT_STEP 8 -#define RGBLIGHT_VAL_STEP 8 diff --git a/keyboards/keebio/nyquist/keymaps/pipicanim/keymap.c b/keyboards/keebio/nyquist/keymaps/pipicanim/keymap.c deleted file mode 100644 index 813fde36ce5..00000000000 --- a/keyboards/keebio/nyquist/keymaps/pipicanim/keymap.c +++ /dev/null @@ -1,29 +0,0 @@ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_ortho_4x12( - 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, - KC_LCTL,KC_LGUI,MO(3),KC_LALT,MO(2),KC_SPC,KC_SPC,MO(1),KC_LALT,MO(3),KC_RGUI,KC_RCTL - ), - [1] = LAYOUT_ortho_4x12( - KC_GRV,KC_1,KC_2,KC_3,KC_4,KC_TRNS,KC_TRNS,KC_PGUP,KC_UP,KC_PGDN,KC_LPRN,KC_RPRN, - KC_TRNS,KC_5,KC_6,KC_7,KC_8,KC_TRNS,KC_HOME,KC_LEFT,KC_DOWN,KC_RGHT,KC_LBRC,KC_RBRC, - KC_TRNS,KC_9,KC_0,KC_MINS,KC_EQL,KC_TRNS,KC_END,KC_TRNS,KC_TRNS,KC_TRNS,KC_BSLS,KC_PIPE, - 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_ortho_4x12( - KC_CAPS,KC_TRNS,KC_PSCR,KC_SCRL,KC_PAUS,KC_TRNS,KC_TRNS,KC_F1,KC_F2,KC_F3,KC_F4,KC_DEL, - KC_TRNS,KC_TRNS,KC_INS,KC_HOME,KC_PGUP,KC_TRNS,KC_TRNS,KC_F5,KC_F6,KC_F7,KC_F8,KC_TRNS, - KC_TRNS,KC_TRNS,KC_DEL,KC_END,KC_PGDN,KC_TRNS,KC_TRNS,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 - ), - [3] = LAYOUT_ortho_4x12( - RGB_TOG,RGB_MOD,RGB_RMOD,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,QK_BOOT, - RGB_HUI,RGB_SAI,RGB_VAI,RGB_SPI,KC_TRNS,KC_TRNS,KC_TRNS,KC_MPRV,KC_MPLY,KC_MNXT,KC_TRNS,KC_TRNS, - RGB_HUD,RGB_SAD,RGB_VAD,RGB_SPD,KC_TRNS,KC_TRNS,KC_TRNS,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 - ) -}; - diff --git a/keyboards/keebio/nyquist/keymaps/pipicanim/rules.mk b/keyboards/keebio/nyquist/keymaps/pipicanim/rules.mk deleted file mode 100644 index 7ad666d1a38..00000000000 --- a/keyboards/keebio/nyquist/keymaps/pipicanim/rules.mk +++ /dev/null @@ -1 +0,0 @@ -RGBLIGHT_ENABLE = yes \ No newline at end of file diff --git a/keyboards/keebio/nyquist/keymaps/shovelpaw/config.h b/keyboards/keebio/nyquist/keymaps/shovelpaw/config.h deleted file mode 100644 index 45494b60d2d..00000000000 --- a/keyboards/keebio/nyquist/keymaps/shovelpaw/config.h +++ /dev/null @@ -1,47 +0,0 @@ -/* -Copyright 2017 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 - -/* Select hand configuration */ - -#define MASTER_LEFT -// #define MASTER_RIGHT -// #define EE_HANDS - -#undef RGBLED_NUM -#define RGBLIGHT_EFFECT_BREATHING -#define RGBLIGHT_EFFECT_RAINBOW_MOOD -#define RGBLIGHT_EFFECT_RAINBOW_SWIRL -#define RGBLIGHT_EFFECT_SNAKE -#define RGBLIGHT_EFFECT_KNIGHT -#define RGBLIGHT_EFFECT_CHRISTMAS -#define RGBLIGHT_EFFECT_STATIC_GRADIENT -#define RGBLIGHT_EFFECT_RGB_TEST -#define RGBLIGHT_EFFECT_ALTERNATING -#define RGBLIGHT_EFFECT_TWINKLE -#define RGBLED_NUM 12 -#define RGBLIGHT_HUE_STEP 8 -#define RGBLIGHT_SAT_STEP 8 -#define RGBLIGHT_VAL_STEP 8 - -// Mouse specific settings -#define MOUSEKEY_INTERVAL 16 -#define MOUSEKEY_DELAY 0 -#define MOUSEKEY_TIME_TO_MAX 60 -#define MOUSEKEY_MAX_SPEED 6 -#define MOUSEKEY_WHEEL_DELAY 0 diff --git a/keyboards/keebio/nyquist/keymaps/shovelpaw/keymap.c b/keyboards/keebio/nyquist/keymaps/shovelpaw/keymap.c deleted file mode 100644 index 28b6b581141..00000000000 --- a/keyboards/keebio/nyquist/keymaps/shovelpaw/keymap.c +++ /dev/null @@ -1,156 +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 _QWERTY 0 -#define _LOWER 1 -#define _RAISE 2 -#define _MIDI 3 -#define _ADJUST 16 - -enum custom_keycodes { - QWERTY = SAFE_RANGE, - LOWER, - RAISE, - MIDI, - ADJUST -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -/* Qwerty - * ,-----------------------------------------| |-------------------------------------------. - * | GEsc | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | Bksp | - * |------+------+------+------+------+------| |------+-------+------+------+------+-------| - * | Tab | Q | W | E | R | T | | Y | U | I | O | P | Del | - * |------+------+------+------+------+------| |------+-------+------+------+------+-------| - * | Ctrl | A | S | D | F | G | | H | J | K | L | ; | " | - * |------+------+------+------+------+------| |------+-------+------+------+------+-------| - * | Shift| Z | X | C | V | B | | N | M | , | . | / | Enter | - * |------+------+------+------+------+------| |------+-------+------+------+------+-------| - * | Ctrl |Adjust| GUI | Alt |Lower |Space | | Space |Raise | Left | Up | Down | Right | - * `-----------------------------------------| |-------------------------------------------| - */ - -[_QWERTY] = LAYOUT( - QK_GESC, 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_DEL, - KC_RCTL, 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, MO(_ADJUST), KC_LGUI, KC_LALT, LOWER, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_UP, KC_DOWN, KC_RGHT -), - -/* Lower - * ,-----------------------------------------| |------------------------------------------. - * | ` | F1 | F2 | F3 | | | | - | = | ( | ) | | Bksp | - * |------+------+------+------+------+------| |------+------+------+------+------+-------| - * | ~ | F4 | F5 | F6 | | | | & | * | { | } | | Del | - * |------+------+------+------+------+------| |------+------+------+------+------+-------| - * | Del | F7 | F8 | F9 | | | | _ | + | [ | ] | | \ | - * |------+------+------+------+------+------| |------+------+------+------+------+-------| - * | | F10 | F11 | F12 | | | | | | | F5 | Up | Enter | - * |------+------+------+------+------+------| |------+------+------+------+------+-------| - * | | | | | | Home | | End | | | Left | Down | Right | - * `-----------------------------------------| |------------------------------------------' - */ -[_LOWER] = LAYOUT( - KC_GRV, KC_F1, KC_F2, KC_F3, _______, _______, KC_MINS, KC_EQL, _______, KC_LPRN, KC_RPRN, KC_BSPC, - KC_TILD, KC_F4, KC_F5, KC_F6, _______, _______, KC_AMPR, KC_ASTR, _______, KC_LCBR, KC_RCBR, KC_DEL, - KC_DEL, KC_F7, KC_F8, KC_F9, _______, _______, KC_UNDS, KC_PLUS, _______, KC_LBRC, KC_RBRC, KC_BSLS, - _______, KC_F10, KC_F11, KC_F12, _______, _______, _______, _______, _______, KC_F5, KC_UP, _______, - _______, _______, _______, _______, _______, KC_HOME, KC_END, _______, _______, KC_LEFT, KC_DOWN, KC_RIGHT -), - -/* Raise - * ,-----------------------------------------| |-----------------------------------------. - * | Back | m0 | m1 | m2 | | | | | 7 | 8 | 9 | - | Bksp | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | For | sD | mU | sU | | | | | 4 | 5 | 6 | + | Del | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | Del | mL | mD | mR | | | | | 1 | 2 | 3 | * | \ | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | 0 | mB1 | mB1 | mB2 | | | | 0 | . | = | / |Enter | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | MIDI | | | | | | | | | Mute | Vol- | Vol+ | Play | - * `-----------------------------------------| |-----------------------------------------' - */ -[_RAISE] = LAYOUT( - LALT(KC_LEFT), KC_MS_ACCEL0, KC_MS_ACCEL1, KC_MS_ACCEL2, _______, _______, _______, KC_7, KC_8, KC_9, KC_MINS, KC_BSPC, - LALT(KC_RIGHT), KC_MS_WH_DOWN, KC_MS_UP, KC_MS_WH_UP, _______, _______, _______, KC_4, KC_5, KC_6, KC_PLUS, KC_DEL, - KC_DEL, KC_MS_LEFT, KC_MS_DOWN, KC_MS_RIGHT, _______, _______, _______, KC_1, KC_2, KC_3, KC_ASTR, KC_BSLS, - _______, KC_P0, KC_MS_BTN1, KC_MS_BTN1, KC_MS_BTN2, _______, _______, KC_0, KC_DOT, KC_EQL, KC_SLSH, _______, - MO(_MIDI), _______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, KC_MPLY -), - -/* - * MIDI - */ - -[_MIDI] = LAYOUT( - QWERTY, MI_C, MI_D, MI_E, MI_F, MI_G, MI_A, MI_B, MI_C1, MI_C2, MI_C3, QWERTY, - MI_A3, MI_As3, MI_B3, MI_C3, MI_Cs3, MI_D3, MI_Ds3, MI_E3, MI_F3, MI_Fs3, MI_G3, MI_Gs3, - MI_A2, MI_As2, MI_B2, MI_C2, MI_Cs2, MI_D2, MI_Ds2, MI_E2, MI_F2, MI_Fs2, MI_G2, MI_Gs2, - MI_A1, MI_As1, MI_B1, MI_C1, MI_Cs1, MI_D1, MI_Ds1, MI_E1, MI_F1, MI_Fs1, MI_G1, MI_Gs1, - MI_A, MI_As, MI_B, MI_C, MI_Cs, MI_D, MI_Ds, MI_E, MI_F, MI_Fs, MI_G, MI_Gs -), - - -/* Adjust (Lower + Raise) - * ,-----------------------------------------| |-----------------------------------------. - * |QWERTY| F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | F12 | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | Reset|RGB Tg|RGB Md|Hue Up|Hue Dn| |Sat Up| 7 | 8 | 9 | | Del | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | | |Aud on|Audoff|AGnorm| |AGswap| 6 | 5 | 4 | | | - * |------+------+------+------+------+------| |------+------+------+------+------+------| - * | | | | | | [ | | ] | 1 | 2 | 3 | | | - * |------+------+------+------+------+------+ |------+------+------+------+------+------| - * | | | | | | { | | } | 0 | . | | | | - * `-----------------------------------------| |-----------------------------------------' - */ -[_ADJUST] = LAYOUT( - QWERTY, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, - _______, QK_BOOT, RGB_TOG, RGB_MOD, RGB_HUD, RGB_HUI, RGB_SAD, KC_7, KC_8, KC_9, _______, KC_DEL, - _______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, KC_6, KC_5, KC_4, _______, _______, - _______, _______, _______, _______, _______, KC_LBRC, KC_RBRC, KC_1, KC_2, KC_3, _______, _______, - _______, _______, _______, _______, _______, KC_LCBR, KC_RCBR, KC_0, KC_DOT, _______, _______, _______ -) - - -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case QWERTY: - if (record->event.pressed) { - set_single_persistent_default_layer(1UL<<_QWERTY); - } - 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; - } - return true; -} diff --git a/keyboards/keebio/nyquist/keymaps/shovelpaw/rules.mk b/keyboards/keebio/nyquist/keymaps/shovelpaw/rules.mk deleted file mode 100644 index 44ca075c340..00000000000 --- a/keyboards/keebio/nyquist/keymaps/shovelpaw/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -RGBLIGHT_ENABLE = yes -MIDI_ENABLE = yes # MIDI support (+2400 to 4200, depending on config) - diff --git a/keyboards/keebio/quefrency/keymaps/bfiedler/config.h b/keyboards/keebio/quefrency/keymaps/bfiedler/config.h deleted file mode 100644 index 1751a65b2e9..00000000000 --- a/keyboards/keebio/quefrency/keymaps/bfiedler/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 -Copyright 2018 Danny Nguyen -Copyright 2021 Ben Fiedler - -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 - -// https://docs.qmk.fm/#/tap_hold?id=tap-hold-configuration-options -#define TAPPING_TERM 120 -//#define PERMISSIVE_HOLD diff --git a/keyboards/keebio/quefrency/keymaps/bfiedler/keymap.c b/keyboards/keebio/quefrency/keymaps/bfiedler/keymap.c deleted file mode 100644 index b2d51eb4087..00000000000 --- a/keyboards/keebio/quefrency/keymaps/bfiedler/keymap.c +++ /dev/null @@ -1,70 +0,0 @@ -/* Copyright 2021 Ben Fiedler - * - * 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 KC_RST QK_BOOT - -// 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_layers { - _BASE, - _FN1, -}; - -enum custom_keycodes { - QWERTY = SAFE_RANGE, -}; - -// clang-format off -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BASE] = LAYOUT_65( - 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_DEL, 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, - LGUI_T(KC_BSPC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, LGUI_T(KC_ENT), KC_PGUP, - KC_LSFT, LCTL_T(KC_Z), KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, LCTL_T(KC_SLSH), KC_RSFT, KC_UP, KC_PGDN, - KC_LCTL, KC_LALT, KC_LGUI, KC_LALT, KC_SPC, LT(_FN1, KC_ENT), KC_RALT, _______, KC_RCTL, KC_RGUI, KC_LEFT, KC_DOWN, KC_RGHT - ), - - [_FN1] = LAYOUT_65( - 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_BSPC, _______, - RGB_TOG, RGB_MOD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_RST, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_RST - ) -}; -// clang-format on - -// TODO: I don't even have a rotary encoder, do I need this? -bool encoder_update_user(uint8_t index, bool clockwise) { - if (index == 0) { - if (clockwise) { - tap_code(KC_PGDN); - } else { - tap_code(KC_PGUP); - } - } else if (index == 1) { - if (clockwise) { - tap_code(KC_VOLU); - } else { - tap_code(KC_VOLD); - } - } - return true; -} diff --git a/keyboards/keebio/quefrency/keymaps/bfiedler/rules.mk b/keyboards/keebio/quefrency/keymaps/bfiedler/rules.mk deleted file mode 100644 index f69cb0dfea7..00000000000 --- a/keyboards/keebio/quefrency/keymaps/bfiedler/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -# Saves a bit of space, and currently (04.03.2021) the -# case is not see-through. -RGBLIGHT_ENABLE = no diff --git a/keyboards/keebio/quefrency/keymaps/bjohnson/config.h b/keyboards/keebio/quefrency/keymaps/bjohnson/config.h deleted file mode 100644 index 3e2c0978533..00000000000 --- a/keyboards/keebio/quefrency/keymaps/bjohnson/config.h +++ /dev/null @@ -1,35 +0,0 @@ -/* -This is the c configuration file for the keymap - -Copyright 2012 Jun Wako -Copyright 2015 Jack Humbert -Copyright 2018 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 500 - -#define PERMISSIVE_HOLD -#define FORCE_NKRO -#define RETRO_TAPPING - -#define TAPPING_TOGGLE 1 - -#define NO_ACTION_MACRO -#define NO_ACTION_FUNCTION - -#define RGBLIGHT_SLEEP diff --git a/keyboards/keebio/quefrency/keymaps/bjohnson/keymap.c b/keyboards/keebio/quefrency/keymaps/bjohnson/keymap.c deleted file mode 100644 index 28bb0c66b7b..00000000000 --- a/keyboards/keebio/quefrency/keymaps/bjohnson/keymap.c +++ /dev/null @@ -1,33 +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 - -enum custom_keycodes { - QWERTY = SAFE_RANGE, -}; - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BASE] = LAYOUT_65( - 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, XXXXXXX, 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_DEL, - 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_INS, - KC_LCTL, KC_LGUI, KC_LALT, LT(_FN1,KC_SPC),KC_SPC, KC_SPC, XXXXXXX, KC_RALT, KC_RGUI, XXXXXXX, KC_APP, KC_RCTL, TT(_FN1) - ), - - [_FN1] = LAYOUT_65( - KC_TILD, 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_BSPC, KC_PGUP, - _______, _______, KC_UP, _______, _______, _______, _______, KC_P7, KC_P8, KC_P9, _______, _______, _______, _______, KC_PGDN, - _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, KC_P4, KC_P5, KC_P6, _______, _______, _______, _______, - _______, RGB_MOD, RGB_HUI, RGB_HUD, _______, _______, _______, KC_P1, KC_P2, KC_P3, _______, _______, _______, _______, - _______, _______, _______, _______, _______, KC_P0, XXXXXXX, _______, _______, XXXXXXX, _______, _______, _______ - ) -}; diff --git a/keyboards/keebio/quefrency/keymaps/bjohnson/rules.mk b/keyboards/keebio/quefrency/keymaps/bjohnson/rules.mk deleted file mode 100644 index 63121acd6b6..00000000000 --- a/keyboards/keebio/quefrency/keymaps/bjohnson/rules.mk +++ /dev/null @@ -1,22 +0,0 @@ -BOOTLOADER = atmel-dfu - -# 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 = 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 -NKRO_ENABLE = no # 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 = yes # Enable WS2812 RGB underlight. -# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend - -SPLIT_KEYBOARD = yes diff --git a/keyboards/keebio/quefrency/keymaps/drashna_ms/config.h b/keyboards/keebio/quefrency/keymaps/drashna_ms/config.h deleted file mode 100644 index 80a3cb877e2..00000000000 --- a/keyboards/keebio/quefrency/keymaps/drashna_ms/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 - -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 USE_I2C -#define EE_HANDS - - -#ifdef RGBLIGHT_ENABLE - #define RGBLIGHT_SPLIT - #undef RGBLED_NUM - #define RGBLED_NUM 17 - #undef RGBLED_SPLIT - #define RGBLED_SPLIT { 9, 8 } - #define RGBLIGHT_SLEEP -#endif - -#ifdef AUDIO_ENABLE - #define AUDIO_PIN B7 - #define AUDIO_CLICKY -#endif diff --git a/keyboards/keebio/quefrency/keymaps/drashna_ms/keymap.c b/keyboards/keebio/quefrency/keymaps/drashna_ms/keymap.c deleted file mode 100644 index e0859e4f626..00000000000 --- a/keyboards/keebio/quefrency/keymaps/drashna_ms/keymap.c +++ /dev/null @@ -1,43 +0,0 @@ -#include QMK_KEYBOARD_H -#include "version.h" - -enum layers { - _BASE, - _FN1, -}; - -enum custom_keycodes { - KC_MAKE = SAFE_RANGE, -}; - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BASE] = LAYOUT_65_with_macro( - KC_F1, KC_F2, 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_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_END, - 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_PGUP, - 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_PGDN, - KC_F9, KC_F10, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(_FN1), KC_SPC, XXXXXXX, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - - [_FN1] = LAYOUT_65_with_macro( - _______, _______, 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_BSPC, QK_BOOT, - _______, _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______, _______, EE_CLR, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, RGB_RMOD,RGB_HUD, RGB_SAD, RGB_VAD, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, KC_TILD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ) -}; - - - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case KC_MAKE: // Compiles the firmware, and adds the flash command based on keyboard bootloader - if (!record->event.pressed) - send_string_with_delay_P(PSTR("make " QMK_KEYBOARD ":" QMK_KEYMAP ":dfu" SS_TAP(X_ENTER)), 10); - - break; - } - return true; -} diff --git a/keyboards/keebio/quefrency/keymaps/drashna_ms/rules.mk b/keyboards/keebio/quefrency/keymaps/drashna_ms/rules.mk deleted file mode 100644 index fb7f940c93f..00000000000 --- a/keyboards/keebio/quefrency/keymaps/drashna_ms/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -LTO_ENABLE = yes -RGBLIGHT_ENABLE = yes -EXTRAKEY_ENABLE = yes -AUDIO_ENABLE = yes -BOOTLOADER = qmk-dfu diff --git a/keyboards/keebio/quefrency/keymaps/georgepetri/config.h b/keyboards/keebio/quefrency/keymaps/georgepetri/config.h deleted file mode 100644 index fac62b97d66..00000000000 --- a/keyboards/keebio/quefrency/keymaps/georgepetri/config.h +++ /dev/null @@ -1,33 +0,0 @@ -/* -This is the c configuration file for the keymap - -Copyright 2012 Jun Wako -Copyright 2015 Jack Humbert -Copyright 2018 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 - -#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/keebio/quefrency/keymaps/georgepetri/keymap.c b/keyboards/keebio/quefrency/keymaps/georgepetri/keymap.c deleted file mode 100644 index faa5a480e60..00000000000 --- a/keyboards/keebio/quefrency/keymaps/georgepetri/keymap.c +++ /dev/null @@ -1,91 +0,0 @@ -#include QMK_KEYBOARD_H - -extern keymap_config_t keymap_config; - -#define _BASE 0 -#define _L 1 -#define _R 2 - -enum custom_keycodes { - QWERTY = SAFE_RANGE, -}; - -#define KC_TL LCTL(KC_PGUP) -#define KC_TR LCTL(KC_PGDN) -#define KC_TC LCTL(KC_W) -#define KC_TRO LCTL(LSFT(KC_T)) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BASE] = LAYOUT_65( -// ┌────────┬────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┐ - 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_MINS ,KC_EQL ,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_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_PGDN , -// ├──────────┬──────────┴┬───────┴──┬─────┴─────┬──┴────────┴────────┤ ├────────┴────────┴────┬───┴────┬───┴────┬───┴────┬────────┬────────┼────────┤ - KC_CAPS ,KC_LCTL ,KC_LALT ,MO(_L) ,KC_SPC , KC_SPC ,_______ ,KC_LGUI ,TG(_R) ,KC_LEFT ,KC_DOWN ,KC_UP ,KC_RGHT -// └──────────┴───────────┴──────────┴───────────┴────────────────────┘ └──────────────────────┴────────┴────────┴────────┴────────┴────────┴────────┘ - ), - - [_L] = LAYOUT_65( -// ┌────────┬────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┐ - _______ ,KC_F1 ,KC_F2 ,KC_F3 ,KC_F4 ,KC_F5 ,KC_F6 , KC_F7 ,KC_F8 ,KC_F9 ,KC_F10 ,_______ ,_______ ,_______ ,_______ ,KC_INS , -// ├────────┴────┬───┴────┬───┴────┬───┴────┬───┴────┬───┴────┬───┘ ┌───┴────┬───┴────┬───┴────┬───┴────┬───┴────┬───┴────┬───┴────┬───┴────────┼────────┤ - _______ ,KC_F11 ,KC_F12 ,_______ ,_______ ,_______ , _______ ,KC_MINS ,KC_EQL ,_______ ,_______ ,_______ ,_______ ,_______, KC_PAUS , -// ├─────────────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┐ └─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴────────────┼────────┤ - _______ ,_______ ,_______ ,_______ ,_______ ,_______ , KC_LEFT ,KC_DOWN ,KC_UP ,KC_RGHT ,_______ ,_______ ,_______ ,_______ , -// ├───────────────┴─────┬──┴─────┬──┴─────┬──┴─────┬──┴─────┬──┴─────┐ └─────┬──┴─────┬──┴─────┬──┴─────┬──┴─────┬──┴─────┬──┴───────────────────┼────────┤ - _______ ,_______ ,_______ ,_______ ,_______ ,_______ , _______ ,KC_PGDN ,KC_PGUP ,KC_HOME ,KC_END ,_______ ,_______ ,_______ , -// ├──────────┬──────────┴┬───────┴──┬─────┴─────┬──┴────────┴────────┤ ├────────┴────────┴────┬───┴────┬───┴────┬───┴────┬────────┬────────┼────────┤ - _______ ,_______ ,_______ ,_______ ,_______ , _______ ,_______ ,_______ ,_______ ,_______ ,_______ ,_______ ,_______ -// └──────────┴───────────┴──────────┴───────────┴────────────────────┘ └──────────────────────┴────────┴────────┴────────┴────────┴────────┴────────┘ - ), - - [_R] = LAYOUT_65( -// ┌────────┬────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┬────────┐ - _______ ,_______ ,_______ ,_______ ,_______ ,_______ ,_______ , _______ ,_______ ,_______ ,_______ ,_______ ,_______ ,_______ ,_______ ,_______ , -// ├────────┴────┬───┴────┬───┴────┬───┴────┬───┴────┬───┴────┬───┘ ┌───┴────┬───┴────┬───┴────┬───┴────┬───┴────┬───┴────┬───┴────┬───┴────────┼────────┤ - _______ ,KC_TL ,KC_TR ,KC_TC ,KC_TRO ,_______ , _______ ,KC_TL , KC_TR , KC_TC , KC_TRO ,_______ ,_______ ,_______, _______ , -// ├─────────────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┐ └─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴─┬──────┴────────────┼────────┤ - _______ ,KC_LEFT ,KC_DOWN ,KC_UP ,KC_RGHT ,_______ , KC_LEFT ,KC_DOWN ,KC_UP ,KC_RGHT ,_______ ,_______ ,_______ ,_______ , -// ├───────────────┴─────┬──┴─────┬──┴─────┬──┴─────┬──┴─────┬──┴─────┐ └─────┬──┴─────┬──┴─────┬──┴─────┬──┴─────┬──┴─────┬──┴───────────────────┼────────┤ - _______ ,KC_PGDN ,KC_PGUP ,KC_HOME ,KC_END ,_______ , _______ ,KC_PGDN ,KC_PGUP ,KC_HOME ,KC_END ,_______ ,_______ ,_______ , -// ├──────────┬──────────┴┬───────┴──┬─────┴─────┬──┴────────┴────────┤ ├────────┴────────┴────┬───┴────┬───┴────┬───┴────┬────────┬────────┼────────┤ - _______ ,_______ ,_______ ,_______ ,_______ , _______ ,_______ ,_______ ,_______ ,_______ ,_______ ,_______ ,_______ -// └──────────┴───────────┴──────────┴───────────┴────────────────────┘ └──────────────────────┴────────┴────────┴────────┴────────┴────────┴────────┘ - ) -}; - -void keyboard_post_init_user(void) { - rgblight_sethsv_noeeprom(HSV_BLUE); -} - -void update_led(void) { - switch (get_highest_layer(layer_state)) { - case _BASE: - rgblight_sethsv_noeeprom(HSV_BLUE); - break; - case _L: - rgblight_sethsv_noeeprom(HSV_CORAL); - break; - case _R: - rgblight_sethsv_noeeprom(HSV_MAGENTA); - break; - } - if (host_keyboard_led_state().caps_lock) { - rgblight_sethsv_range(HSV_WHITE,0,4); - rgblight_sethsv_range(HSV_WHITE,12,16); - } -} - -layer_state_t layer_state_set_user(layer_state_t state) { - update_led(); - return state; -} - -void led_set_user(uint8_t usb_led) { - update_led(); -} diff --git a/keyboards/keebio/quefrency/keymaps/georgepetri/readme.md b/keyboards/keebio/quefrency/keymaps/georgepetri/readme.md deleted file mode 100644 index bb4e75c27bd..00000000000 --- a/keyboards/keebio/quefrency/keymaps/georgepetri/readme.md +++ /dev/null @@ -1,64 +0,0 @@ -# George Petri's Quefrency 65 layout - -``` -make keebio/quefrency/rev1:georgepetri -``` - -Querty layout with minor changes and dedicated navigation layer. - -### Base Layer -``` -┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐ ┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐ -│ GRV ││ 1 ││ 2 ││ 3 ││ 4 ││ 5 ││ 6 │ │ 7 ││ 8 ││ 9 ││ 0 ││ BSPC││ DEL ││ MINS││ EQL ││ HOME│ -└──────┘└──────┘└──────┘└──────┘└──────┘└──────┘└──────┘ └──────┘└──────┘└──────┘└──────┘└──────┘└──────┘└──────┘└──────┘└──────┘ -┌──────────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐ ┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────────┐┌──────┐ -│ TAB ││ Q ││ W ││ E ││ R ││ T │ │ Y ││ U ││ I ││ O ││ P ││ LBRC││ RBRC││ BSLS ││ END │ -└──────────┘└──────┘└──────┘└──────┘└──────┘└──────┘ └──────┘└──────┘└──────┘└──────┘└──────┘└──────┘└──────┘└──────────┘└──────┘ -┌────────────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐ ┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌────────────────┐┌──────┐ -│ ESC ││ A ││ S ││ D ││ F ││ G │ │ H ││ J ││ K ││ L ││ SCLN││ QUOT││ ENT ││ PGUP│ -└────────────┘└──────┘└──────┘└──────┘└──────┘└──────┘ └──────┘└──────┘└──────┘└──────┘└──────┘└──────┘└────────────────┘└──────┘ -┌────────────────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐ ┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌────────────────────┐┌──────┐ -│ LSFT ││ Z ││ X ││ C ││ V ││ B │ │ N ││ M ││ COMM││ DOT ││ SLSH││ RSFT ││ PGDN│ -└────────────────┘└──────┘└──────┘└──────┘└──────┘└──────┘ └──────┘└──────┘└──────┘└──────┘└──────┘└────────────────────┘└──────┘ -┌────────┐┌────────┐┌────────┐┌────────┐┌────────────────┐ ┌────────────────────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐ -│ CAPS ││ LCTL ││ LALT ││MO(_L) ││ SPC │ │ SPC ││ LGUI││TG(_R)││ LEFT││ DOWN││ UP ││ RGHT│ -└────────┘└────────┘└────────┘└────────┘└────────────────┘ └────────────────────┘└──────┘└──────┘└──────┘└──────┘└──────┘└──────┘ -``` - -### Raise -``` -┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐ ┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐ -│ ││ F1 ││ F2 ││ F3 ││ F4 ││ F5 ││ F6 │ │ F7 ││ F8 ││ F9 ││ F10 ││ F11 ││ F12 ││ BSPC││ DEL ││ INS │ -└──────┘└──────┘└──────┘└──────┘└──────┘└──────┘└──────┘ └──────┘└──────┘└──────┘└──────┘└──────┘└──────┘└──────┘└──────┘└──────┘ -┌──────────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐ ┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────────┐┌──────┐ -│ ││ F1 ││ F12 ││ ││ ││ │ │ ││ MINS││ EQL ││ ││ ││ ││ ││ ││ PAUS│ -└──────────┘└──────┘└──────┘└──────┘└──────┘└──────┘ └──────┘└──────┘└──────┘└──────┘└──────┘└──────┘└──────┘└──────────┘└──────┘ -┌────────────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐ ┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌────────────────┐┌──────┐ -│ ││ ││ ││ ││ ││ │ │ LEFT││ DOWN││ UP ││ RGHT││ ││ ││ ││ │ -└────────────┘└──────┘└──────┘└──────┘└──────┘└──────┘ └──────┘└──────┘└──────┘└──────┘└──────┘└──────┘└────────────────┘└──────┘ -┌────────────────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐ ┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌────────────────────┐┌──────┐ -│ ││ ││ ││ ││ ││ │ │ ││ PGDN││ PGUP││ HOME││ END ││ ││ │ -└────────────────┘└──────┘└──────┘└──────┘└──────┘└──────┘ └──────┘└──────┘└──────┘└──────┘└──────┘└────────────────────┘└──────┘ -┌────────┐┌────────┐┌────────┐┌────────┐┌────────────────┐ ┌────────────────────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐ -│ ││ ││ ││ ││ │ │ ││ ││ ││ ││ ││ ││ │ -└────────┘└────────┘└────────┘└────────┘└────────────────┘ └────────────────────┘└──────┘└──────┘└──────┘└──────┘└──────┘└──────┘ -``` - -### Lower -``` -┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐ ┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐ -│ ││ ││ ││ ││ ││ ││ │ │ ││ ││ ││ ││ ││ ││ ││ ││ │ -└──────┘└──────┘└──────┘└──────┘└──────┘└──────┘└──────┘ └──────┘└──────┘└──────┘└──────┘└──────┘└──────┘└──────┘└──────┘└──────┘ -┌──────────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐ ┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────────┐┌──────┐ -│ ││ TAB_L││ TAB_R││ TAB_C││ TAB_R││ │ │ ││ TAB_L││ TAB_R││ TAB_C││ TAB_R││ ││ ││ ││ │ -└──────────┘└──────┘└──────┘└──────┘└──────┘└──────┘ └──────┘└──────┘└──────┘└──────┘└──────┘└──────┘└──────┘└──────────┘└──────┘ -┌────────────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐ ┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌────────────────┐┌──────┐ -│ ││ LEFT││ DOWN││ UP ││ RGHT││ │ │ LEFT││ DOWN││ UP ││ RGHT││ ││ ││ ││ │ -└────────────┘└──────┘└──────┘└──────┘└──────┘└──────┘ └──────┘└──────┘└──────┘└──────┘└──────┘└──────┘└────────────────┘└──────┘ -┌────────────────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐ ┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌────────────────────┐┌──────┐ -│ ││ PGDN││ PGUP││ HOME││ END ││ │ │ ││ PGDN││ PGUP││ HOME││ END ││ ││ │ -└────────────────┘└──────┘└──────┘└──────┘└──────┘└──────┘ └──────┘└──────┘└──────┘└──────┘└──────┘└────────────────────┘└──────┘ -┌────────┐┌────────┐┌────────┐┌────────┐┌────────────────┐ ┌────────────────────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐┌──────┐ -│ ││ ││ ││ ││ │ │ ││ ││ ││ ││ ││ ││ │ -└────────┘└────────┘└────────┘└────────┘└────────────────┘ └────────────────────┘└──────┘└──────┘└──────┘└──────┘└──────┘└──────┘ -``` diff --git a/keyboards/keebio/quefrency/keymaps/georgepetri/rules.mk b/keyboards/keebio/quefrency/keymaps/georgepetri/rules.mk deleted file mode 100644 index 5bc0b70454b..00000000000 --- a/keyboards/keebio/quefrency/keymaps/georgepetri/rules.mk +++ /dev/null @@ -1 +0,0 @@ -EXTRAKEY_ENABLE = no diff --git a/keyboards/keebio/quefrency/keymaps/joestrong/README.md b/keyboards/keebio/quefrency/keymaps/joestrong/README.md deleted file mode 100644 index 717b9ecd54c..00000000000 --- a/keyboards/keebio/quefrency/keymaps/joestrong/README.md +++ /dev/null @@ -1,17 +0,0 @@ -# JoeStrong's Quefrency layout - 60% ISO - -* Standard UK ISO qwerty layout -* Function key in place of Caps Lock -* Function layer provides vim-like arrows and various function keys - -## Default layer - -![Default layer layout](https://i.imgur.com/HXeKSGN.png) - -([KLE](http://www.keyboard-layout-editor.com/#/gists/f606625fbc4b84a0e9f82fff308aad29)) - -## Function layer - -![Function layer layout](https://i.imgur.com/cVKl9tB.png) - -([KLE](http://www.keyboard-layout-editor.com/#/gists/b75402b2838f36e319f1c0a7fef07dd6)) diff --git a/keyboards/keebio/quefrency/keymaps/joestrong/keymap.c b/keyboards/keebio/quefrency/keymaps/joestrong/keymap.c deleted file mode 100644 index 3ed4718c301..00000000000 --- a/keyboards/keebio/quefrency/keymaps/joestrong/keymap.c +++ /dev/null @@ -1,41 +0,0 @@ -/* Copyright 2020 Joseph Strong - * - * 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_uk.h" - -// Defines names for use in layer keycodes and the keymap -enum layer_names { - _BASE, - _FN1 -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BASE] = LAYOUT_60_iso( - 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, - 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_NUHS, KC_ENT, - KC_LSFT, UK_BSLS, 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, MO(_FN1), KC_LALT, KC_SPC, _______, KC_SPC, KC_RALT, MO(_FN1), _______, KC_LGUI, KC_RCTL - ), - - [_FN1] = LAYOUT_60_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, _______, _______, - RGB_TOG, RGB_MOD, _______, _______, _______, _______, _______, KC_PGDN, KC_PGUP, _______, _______, _______, _______, - _______, _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_DEL, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ) -}; diff --git a/keyboards/keebio/quefrency/keymaps/kingwangwong/config.h b/keyboards/keebio/quefrency/keymaps/kingwangwong/config.h deleted file mode 100644 index f636c954541..00000000000 --- a/keyboards/keebio/quefrency/keymaps/kingwangwong/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 -Copyright 2018 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 USB_MAX_POWER_CONSUMPTION 50 - - -// #define USB_MAX_POWER_CONSUMPTION 100 diff --git a/keyboards/keebio/quefrency/keymaps/kingwangwong/keymap.c b/keyboards/keebio/quefrency/keymaps/kingwangwong/keymap.c deleted file mode 100644 index 72197c09565..00000000000 --- a/keyboards/keebio/quefrency/keymaps/kingwangwong/keymap.c +++ /dev/null @@ -1,40 +0,0 @@ -#include QMK_KEYBOARD_H - -enum layer_names { - _BASE, - _FN1 -}; - - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* - * ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┐ ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ - * │ESC │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ │ 7 │ 8 │ 9 │ 0 │ - │ = │BSLS │ DEL │ - * ├─────┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┘ ┌──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴─────┤ - * │TAB │ Q │ W │ E │ R │ T │ │ Y │ U │ I │ O │ P │ [ │ ] │BSPC │ - * ├────────┴┬────┴┬────┴┬────┴┬────┴┬────┴┐ └┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴────────┤ - * │CAPS │ A │ S │ D │ F │ G │ │ H │ J │ K │ L │ ; │ ' │ENTER │ - * ├─────────┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┐ └──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴───────┬─────┤ - * │LSHFT │ Z │ X │ C │ V │ B │ │ N │ M │ , │ . │ / │RSHFT │ UP │ - * ├──────┬─────┴─┬───┴──┬──┴─────┴────┬┴─────┤ ├─────┴┬────┴────┬┴────┬┴────┬┴────┬─────┼─────┤ - * │LCTRL │L_GUI │L_ALT │SPC │FN1 │ │SPC │BSPC │R_ALT│R_CTR│LEFT │DOWN │RIGHT│ - * └──────┴───────┴──────┴─────────────┴──────┘ └──────┴─────────┴─────┴─────┴─────┴─────┴─────┘ - */ - [_BASE] = 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_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_BSPC, - 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, MO(_FN1), KC_BSPC, KC_BSPC, KC_RALT, KC_RCTL, KC_LEFT, KC_RGHT, KC_DOWN - ), - - [_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, KC_DEL, KC_BSPC, - _______, _______, KC_HOME, KC_UP, KC_END, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, KC_EQL, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - - ) -}; diff --git a/keyboards/keebio/quefrency/keymaps/rogthefrog/keymap.c b/keyboards/keebio/quefrency/keymaps/rogthefrog/keymap.c deleted file mode 100644 index 0cc0cfe2b40..00000000000 --- a/keyboards/keebio/quefrency/keymaps/rogthefrog/keymap.c +++ /dev/null @@ -1,46 +0,0 @@ -/* - 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 . -*/ - -#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 layers { - _BASE, - _FN1, -}; - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BASE] = LAYOUT_65( - KC_TILD, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_NO, KC_BSPC, 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_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_RCTL, KC_UP, KC_PGDN, - KC_LCTL, KC_LGUI, KC_LALT, KC_ENT, MO(_FN1), KC_SPC, KC_NO, LCTL(KC_C), LCTL(KC_V), KC_DEL, KC_LEFT, KC_DOWN, KC_RGHT - ), - [_FN1] = LAYOUT_65( - 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_PSCR, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_CAPS, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, _______, - _______, _______, _______, _______, _______, KC_MPLY, _______, _______, _______, KC_MUTE, KC_MPRV, KC_VOLD, KC_MNXT - ) -}; diff --git a/keyboards/keebio/quefrency/keymaps/unausgeschlafen/keymap.c b/keyboards/keebio/quefrency/keymaps/unausgeschlafen/keymap.c deleted file mode 100644 index 33148927a13..00000000000 --- a/keyboards/keebio/quefrency/keymaps/unausgeschlafen/keymap.c +++ /dev/null @@ -1,62 +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 - -enum custom_keycodes { - QWERTY = SAFE_RANGE, -}; - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -/* Keymap _BL: (Base Layer) Default Layer - * +-------------------------------------------------------------------------+ - * | ESC | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | BACKSP | - * +-------------------------------------------------------------------------+ - * | TAB | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | - * +-------------------------------------------------------------------------+ - * | FN | A | S | D | F | G | H | J | K | L | ; | ' | RETURN | - * +-------------------------------------------------------------------------+ - * | LSHIFT | Z | X | C | V | B | N | M | , | . | / | SHIFT | FN | - * +-------------------------------------------------------------------------+ - * |LALT|LMETA|RCTRL| SPACE | FN | SPACE | RALT| MENU| RWIN|RCTRL| - * +-------------------------------------------------------------------------+ - */ - - [_BASE] = 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, - 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, MO(_FN1), - KC_LALT, KC_LGUI, KC_LCTL, KC_SPC, MO(_FN1), KC_SPC, _______, KC_RALT, KC_APP, _______, KC_RGUI, KC_RCTL - ), - - /* Keymap _FL: Function Layer - * ,-----------------------------------------------------------. - * | ~ | F1| F2| F3| F4| F5| F6| F7| F8| F9| F0|F11|F12| DEL | - * |-----------------------------------------------------------| - * | | | UP| | MSL|MSD|MSU|MSR| | |PRT|PGD|PGU|PAUS | - * |-----------------------------------------------------------| - * | | LE| DN| RE| | | LE| DN| UP| RE| | | | - * |-----------------------------------------------------------| - * | |HOM|END| | |PRE|NXT|MUT|VOD|VOU| /|Shift | FN| - * |-----------------------------------------------------------| - * | | | | | PLAY | PLAY | | | | | - * `-----------------------------------------------------------' - */ - - [_FN1] = LAYOUT( - 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_DEL, - _______, _______, KC_UP, _______, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, _______, _______, KC_PSCR, KC_PGUP, KC_PGDN, KC_PAUS, - _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______, _______, - _______, KC_HOME, KC_END, _______, _______, KC_MPRV, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, _______, - _______, _______, _______, KC_MPLY, _______, KC_MPLY, _______, _______, _______, _______, _______, _______ - ) -}; diff --git a/keyboards/keebio/quefrency/keymaps/unausgeschlafen/readme.md b/keyboards/keebio/quefrency/keymaps/unausgeschlafen/readme.md deleted file mode 100644 index a8d0efed0c2..00000000000 --- a/keyboards/keebio/quefrency/keymaps/unausgeschlafen/readme.md +++ /dev/null @@ -1,26 +0,0 @@ -## UNAUSGESCHLAFEN'S QUEFRENCY - -This is the keymap that goes with [unausgeschlafen's Quefrency](https://www.reddit.com/r/MechanicalKeyboards/comments/aquefb/my_daily_driver_quefrency/) - -If you are using Ardoinos, comment this line in `rules.mk`: -```make -BOOTLOADER = atmel-dfu # comment this line if you use arduinos -``` - -Although QMK offers one-shot build and flash, I personally build and flash separately (for the Elite C). -I used the QMK default for the Arduino Pro Micros. -However, I do not own them anymore. -Hence, only the instructions for the Elite C are provided. - -Build with: -```sh -make keebio/quefrency:unausgeschlafen -``` - -Flash with: - -```sh -sudo dfu-programmer atmega32u4 erase -sudo dfu-programmer atmega32u4 flash keebio_quefrency_rev1_unausgeschlafen.hex -sudo dfu-programmer atmega32u4 reset -``` diff --git a/keyboards/keebio/quefrency/keymaps/unausgeschlafen/rules.mk b/keyboards/keebio/quefrency/keymaps/unausgeschlafen/rules.mk deleted file mode 100644 index 98956243cd2..00000000000 --- a/keyboards/keebio/quefrency/keymaps/unausgeschlafen/rules.mk +++ /dev/null @@ -1 +0,0 @@ -BOOTLOADER = atmel-dfu # comment this line if you use arduinos diff --git a/keyboards/keebio/quefrency/keymaps/yoryer/keymap.c b/keyboards/keebio/quefrency/keymaps/yoryer/keymap.c deleted file mode 100644 index 47775ff1755..00000000000 --- a/keyboards/keebio/quefrency/keymaps/yoryer/keymap.c +++ /dev/null @@ -1,42 +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. - -enum layer { - _BASE, - _FN1, - _RGB2, -}; - -enum custom_keycodes { - QWERTY = SAFE_RANGE, -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BASE] = LAYOUT_65( - 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_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_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, MO(_FN1), KC_SPC, _______, KC_RALT, KC_RCTL, MO(_FN1), KC_LEFT, KC_DOWN, KC_RGHT - ), - - [_FN1] = LAYOUT_65( - 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_MUTE, KC_BRMU, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_BRMD, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, _______, - _______, _______, _______, TG(_RGB2), _______, _______, _______, _______, _______, _______, KC_MPRV, KC_VOLD, KC_MNXT - ), - - [_RGB2] = LAYOUT_65( - QK_GESC, 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_M_T, _______, _______, _______, _______, _______, RGB_VAI, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_VAD, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_SAI, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_HUI, RGB_SAD, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_RMOD, RGB_HUD, RGB_MOD - ) -}; diff --git a/keyboards/kinesis/keymaps/dvorak_nguyenvietyen/keymap.c b/keyboards/kinesis/keymaps/dvorak_nguyenvietyen/keymap.c deleted file mode 100644 index 7dbb4b9159e..00000000000 --- a/keyboards/kinesis/keymaps/dvorak_nguyenvietyen/keymap.c +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright 2023 QMK -// SPDX-License-Identifier: GPL-2.0-or-later - -#include QMK_KEYBOARD_H - -#define DVORAK_MAC_MODE 0 // Base Dvorak in Kinesis's Mac Mode with (Cmd, Option, Ctrl, Cmd) thumbkeys - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -[DVORAK_MAC_MODE] = LAYOUT( - // left hand - KC_CAPS, 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_NUM, KC_PWR, - 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_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_SLSH, - KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_BSLS, - KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_RSFT, - KC_GRV, KC_INS, KC_LEFT, KC_RIGHT, KC_UP, KC_DOWN, KC_LBRC, KC_RBRC, - - KC_LGUI, KC_LALT, KC_RCTL, KC_RGUI, - KC_HOME, KC_PGUP, - KC_BSPC, KC_DEL, KC_END, KC_PGDN, KC_ENT, KC_SPC - ) -}; diff --git a/keyboards/kinesis/keymaps/farmergreg/keymap.c b/keyboards/kinesis/keymaps/farmergreg/keymap.c deleted file mode 100644 index cae763d8ec7..00000000000 --- a/keyboards/kinesis/keymaps/farmergreg/keymap.c +++ /dev/null @@ -1,157 +0,0 @@ -/* - * Copyright 2022 Gregory L. Dietsche - * - * 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 . - * - * To build this layout run: - * qmk compile -kb kinesis/kint41 -km farmergreg - * - * Layout Details: - * PROGM + F9 to QK_BOOT and load new firmware. - * Colemak (default / PROGM+C), Dvorak (PROGM + F4) and QWERTY (PROGM+F3) layouts are available for use - * CAPS LOCK is ESC (for use in VIM). Double tap to activate CAPS Lock - * UP and DOWN arrows are swapped to be more like VIM - * [] and {} are swapped to make programming easier - */ - -#include QMK_KEYBOARD_H - - -enum { - _COLEMAK, - _DVORAK, - _QWERTY, - _QWERTY_GAME, - _KEYPAD, - _PROGM, - _LAYER_COUNT, -}; - -/* - * Tap Dances - */ -enum tap_dances { - TD_CAPS, // ESC on tap, CAPS on double tap -}; - -tap_dance_action_t tap_dance_actions[] = { - [TD_CAPS] = ACTION_TAP_DANCE_DOUBLE(KC_ESC, KC_CAPS), -}; - -/* - * Key Overrides - */ -const key_override_t lcurlytobracket = ko_make_basic(MOD_MASK_SHIFT, KC_LEFT_BRACKET, KC_LEFT_BRACKET); -const key_override_t rcurlytobracket = ko_make_basic(MOD_MASK_SHIFT, KC_RIGHT_BRACKET, KC_RIGHT_BRACKET); -const key_override_t lbrackettocurly = ko_make_basic(0, KC_LEFT_BRACKET, KC_LEFT_CURLY_BRACE); -const key_override_t rbrackettocurly = ko_make_basic(0, KC_RIGHT_BRACKET, KC_RIGHT_CURLY_BRACE); - -const key_override_t **key_overrides = (const key_override_t *[]){ - &lcurlytobracket, - &rcurlytobracket, - &lbrackettocurly, - &rbrackettocurly, - NULL -}; - -/* - * Key Maps - */ -const uint16_t PROGMEM keymaps[_LAYER_COUNT][MATRIX_ROWS][MATRIX_COLS] = { -[_COLEMAK] = 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_PSCR ,KC_SCRL ,KC_PAUS, TG(_KEYPAD), MO(_PROGM), // I would prefer OSL(_PROGM) but MO emulates what Kinesis does in their firmware. - 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_F ,KC_P ,KC_G , KC_J ,KC_L ,KC_U ,KC_Y ,KC_SCLN,KC_BSLS, - TD(TD_CAPS), 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_RSFT, - KC_GRV ,KC_BSLS,KC_LEFT,KC_RGHT, KC_DOWN,KC_UP ,KC_LBRC,KC_RBRC, - - KC_LCTL,KC_LALT, KC_RGUI,KC_RCTL, - KC_HOME, KC_PGUP, - KC_BSPC,KC_DEL ,KC_END, KC_PGDN,KC_ENT ,KC_SPC - ) -,[_DVORAK] = LAYOUT( - _______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______,_______,_______, _______, - _______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______, - _______,KC_QUOT,KC_COMM,KC_DOT ,KC_P ,KC_Y , KC_F ,KC_G ,KC_C ,KC_R ,KC_L ,KC_SLSH, - _______,KC_A ,KC_O ,KC_E ,KC_U ,KC_I , KC_D ,KC_H ,KC_T ,KC_N ,KC_S ,KC_QUOT, - _______,KC_SCLN,KC_Q ,KC_J ,KC_K ,KC_X , KC_B ,KC_M ,KC_W ,KC_V ,KC_Z ,_______, - _______,_______,_______,_______, _______,_______,_______,_______, - - _______,_______, _______,_______, - _______, _______, - _______,_______,_______, _______,_______,_______ - ) -,[_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_SCLN,_______, - _______,KC_Z ,KC_X ,KC_C ,KC_V ,KC_B , KC_N ,KC_M ,_______,_______,_______,_______, - _______,_______,_______,_______, _______,_______,_______,_______, - _______,_______, _______,_______, - _______, _______, - _______,_______,_______, _______,_______,_______ - ) -,[_QWERTY_GAME] = LAYOUT( // Shift WASD over to ESDF (QWERTY). Also move T and G - _______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______,_______, _______,_______, - _______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______, - _______,KC_T ,KC_Q , KC_W ,KC_E ,KC_R , _______,_______,_______,_______,_______,_______, - _______,KC_G ,KC_A , KC_S ,KC_D ,KC_F , _______,_______,_______,_______,_______,_______, - _______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______, - _______,_______,_______,_______, _______,_______,_______,_______, - - _______,_______, _______,_______, - _______, _______, - KC_SPC ,_______,_______, _______,_______,KC_BSPC // SPACE becomes BACKSPACE - ) -,[_KEYPAD] = LAYOUT( - _______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,_______ ,_______,KC_MUTE,KC_VOLD,KC_VOLU,TG(_KEYPAD), _______, - _______,_______,_______,_______,_______,_______, _______,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_INS ,_______,_______, _______,_______ ,KC_PDOT,KC_PENT, - - _______,_______, _______,_______, - _______, _______, - _______,_______,_______, _______,_______,KC_P0 - ) - ,[_PROGM] = LAYOUT( - _______,_______,_______,DF(_QWERTY),DF(_DVORAK),_______ ,_______,_______,_______, QK_BOOT,_______,_______,_______,_______,_______,_______,_______,_______, - _______,_______,_______,_______ ,_______ ,_______ , _______,_______,_______,_______,_______,_______, - _______,_______,_______,_______ ,_______ ,DF(_QWERTY_GAME), _______,_______,_______,_______,_______,_______, - _______,_______,_______,_______ ,_______ ,DF(_QWERTY_GAME), _______,_______,_______,_______,_______,_______, - _______,_______,_______,DF(_COLEMAK),_______ ,_______, _______,_______,_______,_______,_______,_______, - _______,_______,_______ ,_______, _______,_______,_______,_______, - - _______,_______, _______,_______, - _______, _______, - _______,_______,_______, _______,_______,_______ - ) -/* - ,[_TEMPLATE] = LAYOUT( - _______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______,_______,_______, _______, - _______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______, - _______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______, - _______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______, - _______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______, - _______,_______,_______,_______, _______,_______,_______,_______, - - _______,_______, _______,_______, - _______, _______, - _______,_______,_______, _______,_______,_______ - ) -*/ -}; diff --git a/keyboards/kinesis/keymaps/farmergreg/readme.md b/keyboards/kinesis/keymaps/farmergreg/readme.md deleted file mode 100644 index f27ee190239..00000000000 --- a/keyboards/kinesis/keymaps/farmergreg/readme.md +++ /dev/null @@ -1 +0,0 @@ -[farmergreg](https://github.com/farmergreg)'s kinesis advantage 2 kint41 layout diff --git a/keyboards/kinesis/keymaps/farmergreg/rules.mk b/keyboards/kinesis/keymaps/farmergreg/rules.mk deleted file mode 100644 index f6bd054e78b..00000000000 --- a/keyboards/kinesis/keymaps/farmergreg/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -BOOTMAGIC_ENABLE = no -COMMAND_ENABLE = yes -NKRO_ENABLE = yes -KEY_OVERRIDE_ENABLE = yes -TAP_DANCE_ENABLE = yes diff --git a/keyboards/kinesis/keymaps/heatxsink/keymap.c b/keyboards/kinesis/keymaps/heatxsink/keymap.c deleted file mode 100644 index e430df225a7..00000000000 --- a/keyboards/kinesis/keymaps/heatxsink/keymap.c +++ /dev/null @@ -1,148 +0,0 @@ -/* Copyright 2022 Nicholas Granado - * - * 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 { - _DEFAULT, - _QWERTY, - _COLEMAK_MOD_DH, - _WORKMAN, - _KEYPAD, - _LAYERS, -}; - -#define DEFAULT DF(_DEFAULT) -#define QWERTY TO(_QWERTY) -#define CMMDH TO(_COLEMAK_MOD_DH) -#define WM TO(_WORKMAN) -#define KEYPAD TO(_KEYPAD) -#define LAYERS OSL(_LAYERS) -#define HCTLESC CTL_T(KC_ESC) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [_DEFAULT] = 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_PSCR,KC_SCRL,KC_PAUS,KEYPAD ,QK_BOOT, - 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_BSLS, - HCTLESC,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,KC_QUOT, - SC_LSPO,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,SC_RSPC, - KC_GRV ,LAYERS ,KC_LEFT,KC_RGHT, KC_UP ,KC_DOWN,KC_LBRC,KC_RBRC, - KC_LALT,KC_LCTL, KC_RCTL,KC_LGUI, - KC_HOME, KC_PGUP, - KC_BSPC,KC_DEL ,KC_END , KC_PGDN,KC_ENT ,KC_SPC - ), - - [_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_SCLN,_______, - _______,KC_Z ,KC_X ,KC_C ,KC_V ,KC_B , KC_N ,KC_M ,KC_COMM,KC_DOT ,KC_SLSH,_______, - _______,_______,_______,_______, _______,_______,_______,_______, - _______,_______, _______,_______, - _______, _______, - _______,_______,_______, _______,_______,_______ - ), - - [_COLEMAK_MOD_DH] = LAYOUT( - _______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______,_______,_______,_______, - _______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______, - _______,KC_Q ,KC_W ,KC_F ,KC_P ,KC_B, KC_J ,KC_L ,KC_U ,KC_Y ,KC_SCLN,_______, - _______,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_SLSH,_______, - _______,_______,_______,_______, _______,_______,_______,_______, - _______,_______, _______,_______, - _______, _______, - _______,_______,_______, _______,_______,_______ - ), - - [_WORKMAN] = 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,_______, - _______,_______,_______,_______, _______,_______,_______,_______, - _______,_______, _______,_______, - _______, _______, - _______,_______,_______, _______,_______,_______ - ), - - [_KEYPAD] = LAYOUT ( - _______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______,_______,_______,_______, - _______,_______,_______,_______,_______,_______, _______,KC_NUM, KC_PEQL,KC_PSLS,KC_PAST,_______, - _______,_______,KC_MUTE,KC_VOLD,KC_VOLU,_______, _______,KC_P7, KC_P8, KC_P9, KC_PMNS,_______, - _______,KC_MSTP,KC_MPRV,KC_MPLY,KC_MNXT,KC_MSEL, _______,KC_P4, KC_P5, KC_P6, KC_PPLS,_______, - _______,_______,_______,_______,_______,_______, _______,KC_P1, KC_P2, KC_P3, KC_PENT,_______, - _______,_______,_______,_______, KC_LPRN,KC_RPRN,KC_PDOT,KC_PENT, - _______,_______, _______,_______, - _______, _______, - _______,_______,_______, _______,KC_PENT,KC_P0 - ), - - [_LAYERS] = LAYOUT ( - _______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______,_______,_______,_______, - _______,QWERTY ,CMMDH ,WM ,KEYPAD ,_______, _______,_______,_______,_______,_______,_______, - _______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______, - _______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______, - _______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______, - _______,_______,_______,_______, _______,_______,_______,_______, - _______,_______, _______,_______, - _______, _______, - _______,_______,_______, _______,_______,_______ - ), -}; - -layer_state_t layer_state_set_user(layer_state_t state) { - writePinHigh(LED_NUM_LOCK_PIN); - writePinHigh(LED_SCROLL_LOCK_PIN); - writePinHigh(LED_COMPOSE_PIN); - writePinHigh(LED_CAPS_LOCK_PIN); - switch (get_highest_layer(state)) { - case _QWERTY: - // Caps Lock Lit - writePinLow(LED_CAPS_LOCK_PIN); - break; - case _COLEMAK_MOD_DH: - // Num Lock Lit - writePinLow(LED_NUM_LOCK_PIN); - break; - case _WORKMAN: - // Scroll Lock Lit - writePinLow(LED_SCROLL_LOCK_PIN); - break; - case _KEYPAD: - // Compose Lit - writePinLow(LED_COMPOSE_PIN); - break; - case _LAYERS: - // All LEDs Lit - writePinLow(LED_SCROLL_LOCK_PIN); - writePinLow(LED_NUM_LOCK_PIN); - writePinLow(LED_CAPS_LOCK_PIN); - writePinLow(LED_COMPOSE_PIN); - break; - } - return state; -} - -bool led_update_user(led_t led_state) { - // disable led_update_kb() so that we do not override layer indicators - return false; -} - diff --git a/keyboards/kinesis/keymaps/heatxsink/readme.md b/keyboards/kinesis/keymaps/heatxsink/readme.md deleted file mode 100644 index 83a2b558549..00000000000 --- a/keyboards/kinesis/keymaps/heatxsink/readme.md +++ /dev/null @@ -1,165 +0,0 @@ -# heatxsink's keymap for kinesis advantage w/ kinx - -## my keymap has three objectives ... -1. Make it easy to add keyboard layouts (layers). -2. Easy to swap between keyboard layouts (layers). -3. Use LED indicators on the kinX controller to provide feedback as to what layer is selected. - -## layer description -0. DEFAULT (function key row, number row, left/right gutter keys, and thumb keys) -1. QWERTY -2. CMMDH [Colemak Mod-DH](https://colemakmods.github.io/mod-dh/) -3. WM [Workman](https://workmanlayout.org/) -3. Keypad (number pad on the right, media keys on the left) - -## layers -``` -Keymap: DEFAULT -Description: keys separated by "/" tap for first, hold for second; uses Space Cadet Shifts - - ,-------------------------------------------------------------------------------------------------------------------. - | Esc | F1 | F2 | F3 | F4 | F5 | F6 | F8 | F9 | F10 | F12 | PSCR | SLCK | PAUS |KEYPAD| BOOT | - |--------+------+------+------+------+------+---------------------------+------+------+------+------+------+--------| - | =+ | 1! | 2@ | 3# | 4$ | 5% | | 6^ | 7& | 8* | 9( | 0) | -_ | - |--------+------+------+------+------+------| +------+------+------+------+------+--------| - | Tab | | | | | | | | | | | | \| | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - |ESC/CTRL| | | | | | | | | | | | '" | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - |SC_Shift| | | | | | | | | | | |SC_Shift| - `--------+------+------+------+------+------' `------+------+------+------+------+--------' - | `~ |LAYERS| Left | Right| | Up | Down | [{ | ]} | - `---------------------------' `---------------------------' - ,-------------. ,-------------. - | ALT | CTRL | | CTRL | GUI | - ,------|------|------| |------+------+------. - | | | Home | | PgUp | | | - | BkSp | Del |------| |------|Return| Space| - | | | End | | PgDn | | | - `--------------------' `--------------------' - -Keymap: LAYERS -Description: OSL that allows for easy switching between layers. - - ,-------------------------------------------------------------------------------------------------------------------. - | | | | | | | | | | | | | | | | | - |--------+------+------+------+------+------+---------------------------+------+------+------+------+------+--------| - | |QWERTY|CMMDH |WM |KEYPAD| | | | | | | | | - |--------+------+------+------+------+------| +------+------+------+------+------+--------| - | | | | | | | | | | | | | | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | | | | | | | | | | | | | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | | | | | | | | | | | | | - `--------+------+------+------+------+------' `------+------+------+------+------+--------' - | | | | | | | | | | - `---------------------------' `---------------------------' - ,-------------. ,-------------. - | | | | | | - ,------|------|------| |------+------+------. - | | | | | | | | - | | |------| |------| | | - | | | | | | | | - `--------------------' `--------------------' - -Keymap: QWERTY - - ,-------------------------------------------------------------------------------------------------------------------. - | | | | | | | | | | | | | | | | | - |--------+------+------+------+------+------+---------------------------+------+------+------+------+------+--------| - | | | | | | | | | | | | | | - |--------+------+------+------+------+------| +------+------+------+------+------+--------| - | | Q | W | E | R | T | | Y | U | I | O | P | | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | A | S | D | F | G | | H | J | K | L | ;: | | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | Z | X | C | V | B | | N | M | ,. | .> | /? | | - `--------+------+------+------+------+------' `------+------+------+------+------+--------' - | | | | | | | | | | - `---------------------------' `---------------------------' - ,-------------. ,-------------. - | | | | | | - ,------|------|------| |------+------+------. - | | | | | | | | - | | |------| |------| | | - | | | | | | | | - `--------------------' `--------------------' - -Keymap: CMMDH (Colemak Mod-DH) - - ,-------------------------------------------------------------------------------------------------------------------. - | | | | | | | | | | | | | | | | | - |--------+------+------+------+------+------+---------------------------+------+------+------+------+------+--------| - | | | | | | | | | | | | | | - |--------+------+------+------+------+------| +------+------+------+------+------+--------| - | | Q | W | F | P | B | | J | L | U | Y | ;: | | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | A | R | S | T | G | | M | N | E | I | O | | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | Z | X | C | D | V | | K | H | ,. | .> | /? | | - `--------+------+------+------+------+------' `------+------+------+------+------+--------' - | | | | | | | | | | - `---------------------------' `---------------------------' - ,-------------. ,-------------. - | | | | | | - ,------|------|------| |------+------+------. - | | | | | | | | - | | |------| |------| | | - | | | | | | | | - `--------------------' `--------------------' - -Keymap: WM (Workman) - - ,-------------------------------------------------------------------------------------------------------------------. - | | | | | | | | | | | | | | | | | - |--------+------+------+------+------+------+---------------------------+------+------+------+------+------+--------| - | | | | | | | | | | | | | | - |--------+------+------+------+------+------| +------+------+------+------+------+--------| - | | 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 | ,. | .> | /? | | - `--------+------+------+------+------+------' `------+------+------+------+------+--------' - | | | | | | | | | | - `---------------------------' `---------------------------' - ,-------------. ,-------------. - | | | | | | - ,------|------|------| |------+------+------. - | | | | | | | | - | | |------| |------| | | - | | | | | | | | - `--------------------' `--------------------' - -Keymap: KEYPAD - - ,-------------------------------------------------------------------------------------------------------------------. - | | | | | | | | | | | | | | | | | - |--------+------+------+------+------+------+---------------------------+------+------+------+------+------+--------| - | | | | | | | | |NUMLCK| = | / |PASTE | | - |--------+------+------+------+------+------| +------+------+------+------+------+--------| - | | | MUTE | VOL- | VOL+ | | | | 7 | 8 | 9 | - | | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | STOP | PREV | PLAY | NEXT |SELECT| | | 4 | 5 | 6 | + | | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | | | | | | | | 1 | 2 | 3 | ENTER| | - `--------+------+------+------+------+------' `------+------+------+------+------+--------' - | | | | | | ( | ) | . | ENTER| - `---------------------------' `---------------------------' - ,-------------. ,-------------. - | | | | | | - ,------|------|------| |------+------+------. - | | | | | | | | - | | |------| |------|ENTER | 0 | - | | | | | | | | - `--------------------' `--------------------' -``` -## requirements -* K500 or K600 Kinesis Advantage MPC or Advantage 2. -* [kinx project / stapelberg controller](https://github.com/kinx-project/kint) - -## shoutout(s) -* `stapelberg` self explanitory -* `jwon` for his LED indicator code -* `tuesdayjohn` for how he did layers - diff --git a/keyboards/kinesis/keymaps/heatxsink/rules.mk b/keyboards/kinesis/keymaps/heatxsink/rules.mk deleted file mode 100644 index f8c1a24ccac..00000000000 --- a/keyboards/kinesis/keymaps/heatxsink/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -BOOTMAGIC_ENABLE = no -MOUSEKEY_ENABLE = no -EXTRAKEY_ENABLE = yes -NKRO_ENABLE = yes -SLEEP_LED_ENABLE = yes diff --git a/keyboards/kinesis/keymaps/insertsnideremarks/config.h b/keyboards/kinesis/keymaps/insertsnideremarks/config.h deleted file mode 100644 index 7749c523f3c..00000000000 --- a/keyboards/kinesis/keymaps/insertsnideremarks/config.h +++ /dev/null @@ -1,12 +0,0 @@ -#ifndef CONFIG_USER_H -#define CONFIG_USER_H - - -#include "../../config.h" - -// place overrides here -#define TAPPING_TERM 150 -#define TAPPING_TOGGLE 2 - - -#endif diff --git a/keyboards/kinesis/keymaps/insertsnideremarks/keymap.c b/keyboards/kinesis/keymaps/insertsnideremarks/keymap.c deleted file mode 100644 index 6275ed0a8d0..00000000000 --- a/keyboards/kinesis/keymaps/insertsnideremarks/keymap.c +++ /dev/null @@ -1,480 +0,0 @@ -// Copyright 2023 QMK -// SPDX-License-Identifier: GPL-2.0-or-later - -#include QMK_KEYBOARD_H - -extern keymap_config_t keymap_config; - -enum kinesis_layers { - _COLEMAK, // Colemak (default layer) - _QWERTY, // Qwerty - _COLEMAKGM, // Colemak gaming/vanilla (limited dual-role keys with layer access) - _QWERTYGM, // QWERTY gaming/vanilla (limited dual-role keys with layer access) - _NUMBERS, // Numbers & Symbols - _NUMBERS2, // Numbers & Symbols 2 (identical as _NUMBERS; basically used 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 kinesis_keycodes { - COLEMAK = SAFE_RANGE, - QWERTY, - COLEMAKGM, - QWERTYGM, - 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) - ,-----------------------------------------------------------------------------------------------------------. - | ESC | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | PScr| SLck| Paus|Numpd|Adjst| - `-----------------------------------------------------------------------------------------------------------' - ,-------------------------------------------. ,-------------------------------------------. - | = | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | Tab | Q | W | F | P | G | | J | L | U | Y | ; | \ | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - |Esc/Ctrl| A | R | S | T | D | | H | N | E | I | O | ' | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - |SC Shift| Z | X | C | V | B | | K | M | , | . | / |SC Shift| - `--------+------+------+------+------+------' `------+------+------+------+------+--------' - | Ins | ` | [ | ] | | Left | Down | Up | Right| - `---------------------------' `---------------------------' - ,---------------. ,---------------. - |Esc/Ctl| Hyper | | RAlt | RCtl | - ,-------|-------|-------| |-------+-------+-------. - | Space | Enter |App/Alt| | RGUI | Delete| Bspc | - | / | / |-------| |-------| / | / | - | Fn | Number| Bspc | | Enter |Number2| Fn2 | - `-----------------------' `-----------------------' -*/ -[_COLEMAK] = 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_PSCR, KC_SCRL, KC_PAUS, NUMPAD, ADJUST, - 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_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, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, - CTLESC, ALL_T(KC_NO), KC_RALT, KC_RCTL, - ALTAPP, KC_RGUI, - SPCFN, ENTNS, KC_BSPC, KC_ENT, DELNS, BSPCFN -), - -/* QWERTY - (Keys separated by /: tap for first, hold for second; uses Space Cadet Shifts) - ,-----------------------------------------------------------------------------------------------------------. - | ESC | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | PScr| SLck| Paus|Numpd|Adjst| - `-----------------------------------------------------------------------------------------------------------' - ,-------------------------------------------. ,-------------------------------------------. - | = | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | Tab | Q | W | E | R | T | | Y | U | I | O | P | \ | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - |Esc/Ctrl| A | S | D | F | G | | H | J | K | L | ; | ' | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - |SC Shift| Z | X | C | V | B | | N | M | , | . | / |SC Shift| - `--------+------+------+------+------+------' `------+------+------+------+------+--------' - | Ins | ` | [ | ] | | Left | Down | Up | Right| - `---------------------------' `---------------------------' - ,---------------. ,---------------. - |Esc/Ctl| Hyper | | RAlt | RCtl | - ,-------|-------|-------| |-------+-------+-------. - | Space | Enter |App/Alt| | RGUI | Delete| Bspc | - | / | / |-------| |-------| / | / | - | Fn | Number| Bspc | | Enter |Number2| Fn2 | - `-----------------------' `-----------------------' -*/ -[_QWERTY] = 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_PSCR, KC_SCRL, KC_PAUS, NUMPAD, ADJUST, - 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, - 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, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, - CTLESC, ALL_T(KC_NO), KC_RALT, KC_RCTL, - ALTAPP, KC_RGUI, - SPCFN, ENTNS, KC_BSPC, KC_ENT, DELNS, BSPCFN -), - -/* Numbers/Symbols layer - (Multiple characters: single-tap for first, double-tap for second) - ,-----------------------------------------------------------------------------------------------------------. - | | | | | | | | | | | | | | | | | | | - `-----------------------------------------------------------------------------------------------------------' - ,-------------------------------------------. ,-------------------------------------------. - | F12 | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | F11 | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | 6 | 7 | 8 | 9 | 0 | | ^ | & | * | ( | ) | | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | 1 | 2 | 3 | 4 | 5 | | ! | @ | # | $ | % | | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | | . | / * | - _ | + = | | ` ~ | [ { | ] } | | | | - `--------+------+------+------+------+------' `------+------+------+------+------+--------' - | ( | ) | [ { | ] } | | | | | | - `---------------------------' `---------------------------' - ,---------------. ,---------------. - | | | | | | - ,-------|-------|-------| |-------+-------+-------. - | | | | | | | | - | | |-------| |-------| | | - | | | | | | | | - `-----------------------' `-----------------------' -*/ -[_NUMBERS] = 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, - _______, 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), _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, - _______, _______, _______, _______, _______, _______ -), - -[_NUMBERS2] = 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, - _______, 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), _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, - _______, _______, _______, _______, _______, _______ -), - -/* Function layer - ,-----------------------------------------------------------------------------------------------------------. - | | | | | | | | | | | | | | | | | | | - `-----------------------------------------------------------------------------------------------------------' - ,-------------------------------------------. ,-------------------------------------------. - | F12 | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | F11 | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | | | Up | | | | | | Up |Ctrl+Y| | | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | |Ctrl+A| Left | Down | Right|C+A+Tb| | 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_F12, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, - _______, _______, _______, 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_F12, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, - _______, _______, _______, 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) - ,-----------------------------------------------------------------------------------------------------------. - | | | | | | | | | | | | | | | | | | | - `-----------------------------------------------------------------------------------------------------------' - ,-------------------------------------------. ,-------------------------------------------. - | | NumLk| | | | | | Tab | NumLk| KP / | KP * | KP - | | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | KP 6 | KP 7 | KP 8 | KP 9 | KP 0 | | | KP 7 | KP 8 | KP 9 | KP + | | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | KP 1 | KP 2 | KP 3 | KP 4 | KP 5 | | | KP 4 | KP 5 | KP 6 | = | | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | | KP . |KP/KP*| KP- _| KP+ =| | | KP 1 | KP 2 | KP 3 |KP Ent| | - `--------+------+------+------+------+------' `------+------+------+------+------+--------' - | ( | ) | [ { | ] } | | | KP 0 | KP . |KP Ent| - `---------------------------' `---------------------------' - ,---------------. ,---------------. - | | | | | | - ,-------|-------|-------| |-------+-------+-------. - | | | | | | | | - | | |-------| |-------| | | - | | | | | | | | - `-----------------------' `-----------------------' -*/ -[_NUMPAD] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_NUM, _______, _______, _______, _______, KC_TAB, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, _______, - _______, KC_P6, KC_P7, KC_P8, KC_P9, KC_P0, _______, KC_P7, KC_P8, KC_P9, KC_PPLS, _______, - _______, KC_P1, KC_P2, KC_P3, KC_P4, KC_P5, _______, KC_P4, KC_P5, KC_P6, KC_EQL, _______, - _______, _______, KC_PDOT, TD(PSLPAS), TD(PMNUN), TD(PPLEQ), _______, KC_P1, KC_P2, KC_P3, KC_PENT, _______, - KC_LPRN, KC_RPRN, TD(LBCB), TD(RBCB), _______, KC_P0, KC_PDOT, KC_PENT, - _______, _______, _______, _______, - _______, _______, - _______, _______, _______, _______, _______, _______ -), - -/* Colemak gaming/vanilla - (Limited access to Function or Numbers layers; mainly used for gaming; Ent/NS + Delete/Numbers2 to access Adjust layer) - ,-----------------------------------------------------------------------------------------------------------. - | ESC | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | PScr| SLck| Paus|Numpd|Adjst| - `-----------------------------------------------------------------------------------------------------------' - ,-------------------------------------------. ,-------------------------------------------. - | = | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | Tab | Q | W | F | P | G | | J | L | U | Y | ; | \ | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | LCtrl | A | R | S | T | D | | H | N | E | I | O | ' | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | Shift | Z | X | C | V | B | | K | M | , | . | / | Shift | - `--------+------+------+------+------+------' `------+------+------+------+------+--------' - | Ins | ` | [ | ] | | Left | Down | Up | Right| - `---------------------------' `---------------------------' - ,---------------. ,---------------. - | Esc | | | RAlt | RCtl | - ,-------|-------|-------| |-------+-------+-------. - | | | LAlt | | RGUI | Delete| Bspc | - | Space | Enter |-------| |-------| / | / | - | | | Bspc | | Ent/NS|Number2| Fn2 | - `-----------------------' `-----------------------' -*/ -[_COLEMAKGM] = 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_PSCR, KC_SCRL, KC_PAUS, NUMPAD, ADJUST, - 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_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSLS, - KC_LCTL, 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_RSFT, - KC_INS, KC_GRV, KC_LBRC, KC_RBRC, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, - KC_ESC, XXXXXXX, KC_RALT, KC_RCTL, - KC_LALT, KC_RGUI, - KC_SPC, KC_ENT, KC_BSPC, ENTNS, DELNS, BSPCFN -), - -/* QWERTY gaming/vanilla - (Limited access to Function or Numbers layers; mainly used for gaming; Ent/NS + Delete/Numbers2 to access Adjust layer) - ,-----------------------------------------------------------------------------------------------------------. - | ESC | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | PScr| SLck| Paus|Numpd|Adjst| - `-----------------------------------------------------------------------------------------------------------' - ,-------------------------------------------. ,-------------------------------------------. - | = | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | Tab | Q | W | E | R | T | | Y | U | I | O | P | \ | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | LCtrl | A | S | D | F | G | | H | J | K | L | ; | ' | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | Shift | Z | X | C | V | B | | N | M | , | . | / | Shift | - `--------+------+------+------+------+------' `------+------+------+------+------+--------' - | Ins | ` | [ | ] | | Left | Down | Up | Right| - `---------------------------' `---------------------------' - ,---------------. ,---------------. - | Esc | | | RAlt | RCtl | - ,-------|-------|-------| |-------+-------+-------. - | | | LAlt | | RGUI | Delete| Bspc | - | Space | Enter |-------| |-------| / | / | - | | | Bspc | | Ent/NS|Number2| Fn2 | - `-----------------------' `-----------------------' -*/ -[_QWERTYGM] = 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_PSCR, KC_SCRL, KC_PAUS, NUMPAD, ADJUST, - 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_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_RSFT, - KC_INS, KC_GRV, KC_LBRC, KC_RBRC, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, - KC_ESC, XXXXXXX, KC_RALT, KC_RCTL, - KC_LALT, KC_RGUI, - KC_SPC, KC_ENT, KC_BSPC, ENTNS, DELNS, BSPCFN -), - -/* Adjust layer - (Enter/Number + Delete/Number2 under non-gaming/vanilla layers or press & hold Adjust key on function row; Numpad is a toggle) - ,-----------------------------------------------------------------------------------------------------------. - | | | | | | | | | | | | | | | | | | | - `-----------------------------------------------------------------------------------------------------------' - ,-------------------------------------------. ,-------------------------------------------. - | |Colmak|Qwerty| |ClmkGM| QWGM | |Numpad| | | | | QK_BOOT | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | | | | | | | | | | | | | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | | | | | | | | NKRO | | | | | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | | | | | | | | | | | | | - `--------+------+------+------+------+------' `------+------+------+------+------+--------' - | | | | | | | | | | - `---------------------------' `---------------------------' - ,---------------. ,---------------. - | | | | | | - ,-------|-------|-------| |-------+-------+-------. - | | | | | | | | - | | |-------| |-------| | | - | | | | | | | | - `-----------------------' `-----------------------' -*/ -[_ADJUST] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, COLEMAK, QWERTY, _______, COLEMAKGM, QWERTYGM, NUMPAD, _______, _______, _______, _______, QK_BOOT, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, NKROTG, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, - _______, _______, _______, _______, _______, _______ -), - -[_ADJUST2] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, COLEMAK, QWERTY, _______, COLEMAKGM, QWERTYGM, 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); -// persistent_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 ( _COLEMAKGM); - layer_off ( _QWERTYGM); - layer_off ( _ADJUST); - layer_off ( _ADJUST2); - } - return false; - break; - case QWERTY: - if (record->event.pressed) { - default_layer_set(1UL << _QWERTY); -// persistent_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 ( _COLEMAKGM); - layer_off ( _QWERTYGM); - layer_off ( _ADJUST); - layer_off ( _ADJUST2); - } - return false; - break; - case COLEMAKGM: - if (record->event.pressed) { - default_layer_set(1UL << _COLEMAKGM); - layer_off ( _QWERTY); - layer_off ( _COLEMAK); - layer_off ( _NUMBERS); - layer_off ( _NUMBERS2); - layer_off ( _FUNCTION); - layer_off ( _FUNCTION2); - layer_off ( _NUMPAD); - layer_off ( _QWERTYGM); - layer_off ( _ADJUST); - layer_off ( _ADJUST2); - } - return false; - break; - case QWERTYGM: - if (record->event.pressed) { - default_layer_set(1UL << _QWERTYGM); - layer_off ( _QWERTY); - layer_off ( _COLEMAK); - layer_off ( _NUMBERS); - layer_off ( _NUMBERS2); - layer_off ( _FUNCTION); - layer_off ( _FUNCTION2); - layer_off ( _NUMPAD); - layer_off ( _COLEMAKGM); - layer_off ( _ADJUST); - layer_off ( _ADJUST2); - } - return false; - break; - } - return true; -} diff --git a/keyboards/kinesis/keymaps/insertsnideremarks/readme.md b/keyboards/kinesis/keymaps/insertsnideremarks/readme.md deleted file mode 100644 index 783c188185d..00000000000 --- a/keyboards/kinesis/keymaps/insertsnideremarks/readme.md +++ /dev/null @@ -1,226 +0,0 @@ -## I've changed my folder name to match my GitHub username. Please see https://github.com/qmk/qmk_firmware/tree/master/keyboards/kinesis/keymaps/tuesdayjohn for my current keymap files. - -## insertsnideremarks' Kinesis Keymap - -These layouts are derived from what I was using on my Kinesis Contoured keyboards with Hasu's USB-USB TMK converters. With the move to QMK via Stapelberg replacement controller, I've cleaned up the layouts a bit while adding more functions and layers. - -There are minor changes in the base keywell layout of non-alpha keys (e.g., CapsLock is ESC/Ctl, arrow clusters on one side), while the thumb clusters deviate more from the default layout. - -Changes to the thumb clusters include: -* The navigations keys moved to function layers. -* The function of 2u keys have been reversed - I've always used space with my left thumb, and I find it more helpful to have access to Space and Enter while using my mouse/trackball. -* Backspace have been duplicated on both clusters. -* The 2u keys serve dual function as momentary layer switchers. - -I've largely left the function keys untouched, with the intension of not using them. They are neither easy to use nor reach due to their locations and size, and the rubber domes used were terrible. They have since replaced the keys with Cherry ML switches on Advantage2, but did not resolve the issues of size or location. Additionally, leaving the function keys unused here makes it easier for me to adapt the keymaps to my other keyboards, most of which do not have physical function keys. - -I use Colemak as my default layout. I've included QWERTY here as well. - -Additionally, I've added gaming/vanilla version of Colemak and QWERTY layouts. These layouts have limited access to the Function or Numbers/Symbols layers, and are mainly used for gaming. - -Persistent default layer has been enabled for Colemak and QWERTY. The gaming/vanilla Colemak and QWERTY can be set as default layer, but will not be persistent. - -## Future plans - -* Add status LEDs to the Stapelberg PCB (usually used for Caps Lock, Num Lock, and Scroll Lock) to use as layer indicators. -* Add a speaker now that QMK supports additional pins for audio use. -* Utilize the leftover spots on the key matrix, as well as unused pins on Teensy++ 2.0 to run macropad and/or foot pedals. - - -### Colemak - (Default layer; keys separated by /: tap for first, hold for second; uses Space Cadet Shifts) - ,-----------------------------------------------------------------------------------------------------------. - | ESC | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | PScr| SLck| Paus|Numpd|Adjst| - `-----------------------------------------------------------------------------------------------------------' - ,-------------------------------------------. ,-------------------------------------------. - | = | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | Tab | Q | W | F | P | G | | J | L | U | Y | ; | \ | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - |Esc/Ctrl| A | R | S | T | D | | H | N | E | I | O | ' | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - |SC Shift| Z | X | C | V | B | | K | M | , | . | / |SC Shift| - `--------+------+------+------+------+------' `------+------+------+------+------+--------' - | Ins | ` | [ | ] | | Left | Down | Up | Right| - `---------------------------' `---------------------------' - ,---------------. ,---------------. - |Esc/Ctl| Hyper | | RAlt | RCtl | - ,-------|-------|-------| |-------+-------+-------. - | Space | Enter |App/Alt| | RGUI | Delete| Bspc | - | / | / |-------| |-------| / | / | - | Fn | Number| Bspc | | Enter |Number2| Fn2 | - `-----------------------' `-----------------------' - - -### QWERTY - (Keys separated by /: tap for first, hold for second; uses Space Cadet Shifts) - ,-----------------------------------------------------------------------------------------------------------. - | ESC | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | PScr| SLck| Paus|Numpd|Adjst| - `-----------------------------------------------------------------------------------------------------------' - ,-------------------------------------------. ,-------------------------------------------. - | = | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | Tab | Q | W | E | R | T | | Y | U | I | O | P | \ | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - |Esc/Ctrl| A | S | D | F | G | | H | J | K | L | ; | ' | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - |SC Shift| Z | X | C | V | B | | N | M | , | . | / |SC Shift| - `--------+------+------+------+------+------' `------+------+------+------+------+--------' - | Ins | ` | [ | ] | | Left | Down | Up | Right| - `---------------------------' `---------------------------' - ,---------------. ,---------------. - |Esc/Ctl| Hyper | | RAlt | RCtl | - ,-------|-------|-------| |-------+-------+-------. - | Space | Enter |App/Alt| | RGUI | Delete| Bspc | - | / | / |-------| |-------| / | / | - | Fn | Number| Bspc | | Enter |Number2| Fn2 | - `-----------------------' `-----------------------' - - -### Numbers & Symbols layer - (Multiple characters: single-tap for first, double-tap for second) - ,-----------------------------------------------------------------------------------------------------------. - | | | | | | | | | | | | | | | | | | | - `-----------------------------------------------------------------------------------------------------------' - ,-------------------------------------------. ,-------------------------------------------. - | F12 | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | F11 | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | 6 | 7 | 8 | 9 | 0 | | ^ | & | * | ( | ) | | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | 1 | 2 | 3 | 4 | 5 | | ! | @ | # | $ | % | | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | | . | / * | - _ | + = | | ` ~ | [ { | ] } | | | | - `--------+------+------+------+------+------' `------+------+------+------+------+--------' - | ( | ) | [ { | ] } | | | | | | - `---------------------------' `---------------------------' - ,---------------. ,---------------. - | | | | | | - ,-------|-------|-------| |-------+-------+-------. - | | | | | | | | - | | |-------| |-------| | | - | | | | | | | | - `-----------------------' `-----------------------' - - -### Function layer - ,-----------------------------------------------------------------------------------------------------------. - | | | | | | | | | | | | | | | | | | | - `-----------------------------------------------------------------------------------------------------------' - ,-------------------------------------------. ,-------------------------------------------. - | F12 | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | F11 | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | | | Up | | | | | | Up |Ctrl+Y| | | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | |Ctrl+A| Left | Down | Right|C+A+Tb| | PgUp | Right| Down | Left | Home | | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | |Ctrl+Z|Ctrl+X|Ctrl+C|Ctrl+V| Bspc | | PgDn | Mute | Vol- | Vol+ | End | | - `--------+------+------+------+------+------' `------+------+------+------+------+--------' - | | | | | | Prev | Play | Next | Stop | - `---------------------------' `---------------------------' - ,---------------. ,---------------. - | | | | | | - ,-------|-------|-------| |-------+-------+-------. - | | | | | | | | - | | |-------| |-------| | | - | | | | | | | | - `-----------------------' `-----------------------' - - -### Numpad layer - (Left side duplicates layout from the Numbers layer, just with numpad output; right side layout close to PC numpad layout) - ,-----------------------------------------------------------------------------------------------------------. - | | | | | | | | | | | | | | | | | | | - `-----------------------------------------------------------------------------------------------------------' - ,-------------------------------------------. ,-------------------------------------------. - | | NumLk| | | | | | Tab | NumLk| KP / | KP * | KP - | | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | KP 6 | KP 7 | KP 8 | KP 9 | KP 0 | | | KP 7 | KP 8 | KP 9 | KP + | | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | KP 1 | KP 2 | KP 3 | KP 4 | KP 5 | | | KP 4 | KP 5 | KP 6 | = | | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | | KP . |KP/KP*| KP- _| KP+ =| | | KP 1 | KP 2 | KP 3 |KP Ent| | - `--------+------+------+------+------+------' `------+------+------+------+------+--------' - | ( | ) | [ { | ] } | | KP 0 | , | KP . |KP Ent| - `---------------------------' `---------------------------' - ,---------------. ,---------------. - | | | | | | - ,-------|-------|-------| |-------+-------+-------. - | | | | | | | | - | | |-------| |-------| | | - | | | | | | | | - `-----------------------' `-----------------------' - - -### Colemak gaming/vanilla - (Limited access to Function or Numbers layers; mainly used for gaming; Ent/NS + Delete/Numbers2 to access Adjust layer) - ,-----------------------------------------------------------------------------------------------------------. - | ESC | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | PScr| SLck| Paus|Numpd|Adjst| - `-----------------------------------------------------------------------------------------------------------' - ,-------------------------------------------. ,-------------------------------------------. - | = | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | Tab | Q | W | F | P | G | | J | L | U | Y | ; | \ | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | LCtrl | A | R | S | T | D | | H | N | E | I | O | ' | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | Shift | Z | X | C | V | B | | K | M | , | . | / | Shift | - `--------+------+------+------+------+------' `------+------+------+------+------+--------' - | Ins | ` | [ | ] | | Left | Down | Up | Right| - `---------------------------' `---------------------------' - ,---------------. ,---------------. - | Esc | | | RAlt | RCtl | - ,-------|-------|-------| |-------+-------+-------. - | | | LAlt | | RGUI | Delete| Bspc | - | Space | Enter |-------| |-------| / | / | - | | | Bspc | | Ent/NS|Number2| Fn2 | - `-----------------------' `-----------------------' - - -### QWERTY gaming/vanilla - (Limited access to Function or Numbers layers; mainly used for gaming; Ent/NS + Delete/Numbers2 to access Adjust layer) - ,-----------------------------------------------------------------------------------------------------------. - | ESC | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | PScr| SLck| Paus|Numpd|Adjst| - `-----------------------------------------------------------------------------------------------------------' - ,-------------------------------------------. ,-------------------------------------------. - | = | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | Tab | Q | W | E | R | T | | Y | U | I | O | P | \ | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | LCtrl | A | S | D | F | G | | H | J | K | L | ; | ' | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | Shift | Z | X | C | V | B | | N | M | , | . | / | Shift | - `--------+------+------+------+------+------' `------+------+------+------+------+--------' - | Ins | ` | [ | ] | | Left | Down | Up | Right| - `---------------------------' `---------------------------' - ,---------------. ,---------------. - | Esc | | | RAlt | RCtl | - ,-------|-------|-------| |-------+-------+-------. - | | | LAlt | | RGUI | Delete| Bspc | - | Space | Enter |-------| |-------| / | / | - | | | Bspc | | Ent/NS|Number2| Fn2 | - `-----------------------' `-----------------------' - -### Adjust layer - (Press Enter/Number + Delete/Number2 under non-gaming/vanilla layers or press & hold Adjust key on function row; Numpad is a toggle) - ,-----------------------------------------------------------------------------------------------------------. - | | | | | | | | | | | | | | | | | | | - `-----------------------------------------------------------------------------------------------------------' - ,-------------------------------------------. ,-------------------------------------------. - | |Colmak|Qwerty| |ClmkGM| QWGM | |Numpad| | | | | RESET | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | | | | | | | | | | | | | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | | | | | | | | NKRO | | | | | - |--------+------+------+------+------+------| |------+------+------+------+------+--------| - | | | | | | | | | | | | | | - `--------+------+------+------+------+------' `------+------+------+------+------+--------' - | | | | | | | | | | - `---------------------------' `---------------------------' - ,---------------. ,---------------. - | | | | | | - ,-------|-------|-------| |-------+-------+-------. - | | | | | | | | - | | |-------| |-------| | | - | | | | | | | | - `-----------------------' `-----------------------' - diff --git a/keyboards/kinesis/keymaps/insertsnideremarks/rules.mk b/keyboards/kinesis/keymaps/insertsnideremarks/rules.mk deleted file mode 100644 index 2cd0c1a9dc5..00000000000 --- a/keyboards/kinesis/keymaps/insertsnideremarks/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 -# -DEFAULT_FOLDER = kinesis/stapelberg - -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/kinesis/keymaps/jwon/keymap.c b/keyboards/kinesis/keymaps/jwon/keymap.c deleted file mode 100644 index c23663da922..00000000000 --- a/keyboards/kinesis/keymaps/jwon/keymap.c +++ /dev/null @@ -1,122 +0,0 @@ -/* Copyright 2021 James Won - * - * 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_DVORAK, - _RAISE_DVORAK, - _KEYPAD, - _QWERTY, -}; - -// Mac-specific macros -#define MACCOPY LGUI(KC_C) -#define MACPAST LGUI(KC_V) -#define MACUNDO LGUI(KC_Z) -#define MACREDO LGUI(KC_Y) -#define MACLOCK LGUI(LCTL(KC_Q)) - -#define LSA_ LSA(KC_NO) -#define SFT_ESC SFT_T(KC_ESC) -#define KEYPAD TG(_KEYPAD) -#define QWERTY TG(_QWERTY) -#define RAISE MO(_RAISE_DVORAK) - -// clang-format off - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -[_BASE_DVORAK] = LAYOUT ( - MACLOCK, 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, QWERTY, QK_BOOT, - KC_PIPE, KC_PLUS, KC_LBRC, KC_LCBR, KC_LPRN, KC_AMPR, KC_EQL, KC_RPRN, KC_RCBR, KC_RBRC, KC_ASTR, KC_EXLM, - KC_TAB, KC_SCLN, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSLS, - SFT_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_MINS, - KC_LCTL, KC_QUOT, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_RSFT, - KC_DLR, KC_BSLS, KC_LEFT, KC_RGHT, KC_DOWN, KC_UP, KC_SLSH, KC_AT, - - KC_LGUI, KC_LALT, KEYPAD, LSA_, - MACPAST, MACUNDO, - KC_BSPC, KC_SPC, MACCOPY, MACREDO, RAISE, KC_ENT - ), - -[_RAISE_DVORAK] = LAYOUT ( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_PERC, - _______, KC_COLN, KC_LABK, KC_RABK, S(KC_P), S(KC_Y), S(KC_F), S(KC_G), S(KC_C), S(KC_R), S(KC_L), KC_HASH, - _______, S(KC_A), S(KC_O), S(KC_E), S(KC_U), S(KC_I), S(KC_D), S(KC_H), S(KC_T), S(KC_N), S(KC_S), KC_UNDS, - _______, KC_DQUO, S(KC_Q), S(KC_J), S(KC_K), S(KC_X), S(KC_B), S(KC_M), S(KC_W), S(KC_V), S(KC_Z), _______, - KC_TILD, KC_PIPE, _______, _______, _______, _______, KC_QUES, KC_CIRC, - - _______, _______, _______, _______, - _______, _______, - _______, _______, _______, _______, _______, _______ - ), - -[_KEYPAD] = LAYOUT ( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, 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, - - _______, _______, _______, _______, - _______, _______, - _______, _______, _______, _______, _______, KC_P0 - ), - -[_QWERTY] = LAYOUT( - KC_ESC, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - 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, 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_GRV, KC_INS, KC_LEFT, KC_RGHT, KC_UP, KC_DOWN, KC_LBRC, KC_RBRC, - - KC_LGUI, KC_LALT, KC_RGUI, KC_RCTL, - KC_HOME, KC_PGUP, - KC_BSPC, KC_DEL, KC_END , KC_PGDN, KC_ENT, KC_SPC - ) -}; - -layer_state_t layer_state_set_user(layer_state_t state) { - switch (get_highest_layer(state)) { - case _KEYPAD: - writePinLow(LED_COMPOSE_PIN); - break; - case _RAISE_DVORAK: - writePinLow(LED_NUM_LOCK_PIN); - break; - case _QWERTY: - writePinLow(LED_SCROLL_LOCK_PIN); - break; - default: // for any other layers, or the default layer - writePinHigh(LED_NUM_LOCK_PIN); - writePinHigh(LED_SCROLL_LOCK_PIN); - writePinHigh(LED_COMPOSE_PIN); - break; - } - return state; -} - -bool led_update_user(led_t led_state) { - // Disable led_update_kb() so that layer indication code doesn't get overridden. - return false; -} - -void matrix_scan_user(void) { - writePin(LED_CAPS_LOCK_PIN, !(get_mods() & MOD_MASK_SHIFT)); -} diff --git a/keyboards/kinesis/keymaps/jwon/readme.md b/keyboards/kinesis/keymaps/jwon/readme.md deleted file mode 100644 index 719e693384b..00000000000 --- a/keyboards/kinesis/keymaps/jwon/readme.md +++ /dev/null @@ -1,8 +0,0 @@ -![jwon Programmer Dvorak Layout Image](https://i.imgur.com/3llBswG.png) - -# jwon's Programmer Dvorak - -Loosely based off [Programmer Dvorak](https://www.kaufmann.no/roland/dvorak/) and ThePrimeagen's [Real Programmers Dvorak](https://github.com/ThePrimeagen/keyboards) - -## Requirements -* The Stapelberg mod diff --git a/keyboards/kinesis/keymaps/jwon/rules.mk b/keyboards/kinesis/keymaps/jwon/rules.mk deleted file mode 100644 index 1b8ed21105a..00000000000 --- a/keyboards/kinesis/keymaps/jwon/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no -NKRO_ENABLE = yes diff --git a/keyboards/kinesis/keymaps/tuesdayjohn/config.h b/keyboards/kinesis/keymaps/tuesdayjohn/config.h deleted file mode 100644 index b0816d6ae55..00000000000 --- a/keyboards/kinesis/keymaps/tuesdayjohn/config.h +++ /dev/null @@ -1,5 +0,0 @@ -#pragma once - -// place overrides here -#define TAPPING_TERM 175 -#define TAPPING_TOGGLE 2 diff --git a/keyboards/kinesis/keymaps/tuesdayjohn/keymap.c b/keyboards/kinesis/keymaps/tuesdayjohn/keymap.c deleted file mode 100644 index ffcb1c3a8d1..00000000000 --- a/keyboards/kinesis/keymaps/tuesdayjohn/keymap.c +++ /dev/null @@ -1,430 +0,0 @@ -// Copyright 2023 QMK -// SPDX-License-Identifier: GPL-2.0-or-later - -#include QMK_KEYBOARD_H - -extern keymap_config_t keymap_config; - -enum kinesis_layers { - _COLEMAK, // Colemak (default layer) - _QWERTY, // QWERTY - _GAMING, // Gaming/vanilla toggle layer (limited dual-role keys and layer access) - _NUMBERS, // Numbers & Symbols - _NUMBERS2, // Numbers & Symbols 2 (identical as _NUMBERS; basically used 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 kinesis_keycodes { - COLEMAK = SAFE_RANGE, - QWERTY, - GAMING -}; - -//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 -(Default layer; keys separated by "/" tap for first, hold for second; uses Space Cadet Shifts) -,--------------------------------------------------------------. ,--------------------------------------------------------------. -| ESC | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | | F9 | F10 | F11 | F12 |PrtScr|ScrLck| Pause|Numpad|Adjust| -`--------------------------------------------------------------' `--------------------------------------------------------------' -,------------------------------------------------------. ,------------------------------------------------------. -| = | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - | -|---------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+---------| -| Tab | Q | W | F | P | G | | J | L | U | Y | ; | \ | -|---------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+---------| -| ESC/Ctrl| A | R | S | T | D | | H | N | E | I | O | ' | -|---------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+---------| -| SC Shift| Z | X | C | V | B | | K | M | , | . | / | SC Shift| -`---------+--------+--------+--------+--------+--------' `--------+--------+--------+--------+--------+---------' - | Ins | ` | [ | ] | | Left | Down | Up | Right | - `-----------------------------------' `-----------------------------------' - ,-----------------. ,-----------------. - | ESC/Ctl| Hyper | | RAlt | RCtl | - ,--------+--------+--------| |--------+--------+--------. - | Space | Enter | App/Alt| | RGUI | Delete | Bspc | - | / | / |--------| |--------| / | / | - | Fn | Number | Bspc | | Enter | Number2| Fn2 | - `--------------------------' `--------------------------' -*/ -[_COLEMAK] = 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_PSCR, KC_SCRL, KC_PAUS, NUMPAD, ADJUST, - 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_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, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, - CTLESC, HYPER, KC_RALT, KC_RCTL, - ALTAPP, KC_RGUI, - SPCFN, ENTNS, KC_BSPC, KC_ENT, DELNS, BSPCFN -), - -/* -QWERTY -(Keys separated by "/" tap for first, hold for second; uses Space Cadet Shifts) -,--------------------------------------------------------------. ,--------------------------------------------------------------. -| ESC | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | | F9 | F10 | F11 | F12 |PrtScr|ScrLck| Pause|Numpad|Adjust| -`--------------------------------------------------------------' `--------------------------------------------------------------' -,------------------------------------------------------. ,------------------------------------------------------. -| = | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - | -|---------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+---------| -| Tab | Q | W | E | R | T | | Y | U | I | O | P | \ | -|---------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+---------| -| ESC/Ctrl| A | S | D | F | G | | H | J | K | L | ; | ' | -|---------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+---------| -| SC Shift| Z | X | C | V | B | | N | M | , | . | / | SC Shift| -`---------+--------+--------+--------+--------+--------' `--------+--------+--------+--------+--------+---------' - | Ins | ` | [ | ] | | Left | Down | Up | Right | - `-----------------------------------' `-----------------------------------' - ,-----------------. ,-----------------. - | ESC/Ctl| Hyper | | RAlt | RCtl | - ,--------+--------+--------| |--------+--------+--------. - | Space | Enter | App/Alt| | RGUI | Delete | Bspc | - | / | / |--------| |--------| / | / | - | Fn | Number | Bspc | | Enter | Number2| Fn2 | - `--------------------------' `--------------------------' -*/ -[_QWERTY] = 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_PSCR, KC_SCRL, KC_PAUS, NUMPAD, ADJUST, - 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, - 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, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, - CTLESC, HYPER, KC_RALT, KC_RCTL, - ALTAPP, KC_RGUI, - SPCFN, ENTNS, KC_BSPC, KC_ENT, DELNS, BSPCFN -), - -/* -Numbers/Symbols layer -(Multiple characters: single-tap for first, double-tap for second) -,--------------------------------------------------------------. ,--------------------------------------------------------------. -| | | | | | | | | | | | | | | | | | | | -`--------------------------------------------------------------' `--------------------------------------------------------------' -,------------------------------------------------------. ,------------------------------------------------------. -| F12 | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | F11 | -|---------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+---------| -| | 6 | 7 | 8 | 9 | 0 | | ^ | & | * | ( | ) | | -|---------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+---------| -| | 1 | 2 | 3 | 4 | 5 | | ! | @ | # | $ | % | | -|---------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+---------| -| | | . | / * | - _ | + = | | ` ~ | [ { | ] } | | | | -`---------+--------+--------+--------+--------+--------' `--------+--------+--------+--------+--------+---------' - | ( | ) | [ { | ] } | | | | | | - `-----------------------------------' `-----------------------------------' - ,-----------------. ,-----------------. - | | | | | | - ,--------+--------+--------| |--------+--------+--------. - | | | | | | | | - | | |--------| |--------| | | - | | | | | | | | - `--------------------------' `--------------------------' -*/ -[_NUMBERS] = 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, - _______, 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, _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, - _______, _______, _______, _______, _______, _______ -), - -[_NUMBERS2] = 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, - _______, 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, _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, - _______, _______, _______, _______, _______, _______ -), - -/* -Function layer -,--------------------------------------------------------------. ,--------------------------------------------------------------. -| | | | | | | | | | | | | | | | | | | | -`--------------------------------------------------------------' `--------------------------------------------------------------' -,------------------------------------------------------. ,------------------------------------------------------. -| F12 | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | F11 | -|---------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+---------| -| | | | Up | | | | | | Up | Ctrl+Y | | | -|---------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+---------| -| | Ctrl+A | Left | Down | Right | C+A+Tab| | PgUp | Left | Down | Right | Home | | -|---------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+---------| -| | Ctrl+Z | Ctrl+X | Ctrl+C | Ctrl+V | Bspc | | PgDn | Mute | Vol- | Vol+ | End | | -`---------+--------+--------+--------+--------+--------' `--------+--------+--------+--------+--------+---------' - | | | | | | Prev | Play | Next | Stop | - `-----------------------------------' `-----------------------------------' - ,-----------------. ,-----------------. - | | | | | | - ,--------+--------+--------| |--------+--------+--------. - | | | | | | | | - | | |--------| |--------| | | - | | | | | | | | - `--------------------------' `--------------------------' -*/ -[_FUNCTION] = 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, - _______, _______, _______, 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_F12, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, - _______, _______, _______, 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) -,--------------------------------------------------------------. ,--------------------------------------------------------------. -| | | | | | | | | | | | | | | | | | | | -`--------------------------------------------------------------' `--------------------------------------------------------------' -,------------------------------------------------------. ,------------------------------------------------------. -| | NumLock| | | | | | Tab | NumLock| KP / | KP * | KP - | | -|---------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+---------| -| | KP 6 | KP 7 | KP 8 | KP 9 | KP 0 | | | KP 7 | KP 8 | KP 9 | KP + | | -|---------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+---------| -| | KP 1 | KP 2 | KP 3 | KP 4 | KP 5 | | | KP 4 | KP 5 | KP 6 | = | | -|---------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+---------| -| | | KP . | KP/KP* | KP- _ | KP+ = | | | KP 1 | KP 2 | KP 3 | KP Ent | | -`---------+--------+--------+--------+--------+--------' `--------+--------+--------+--------+--------+---------' - | ( | ) | [ { | ] } | | | KP 0 | KP . | KP Ent | - `-----------------------------------' `-----------------------------------' - ,-----------------. ,-----------------. - | | | | | | - ,--------+--------+--------| |--------+--------+--------. - | | | | | | | | - | | |--------| |--------| | | - | | | | | | | | - `--------------------------' `--------------------------' -*/ -[_NUMPAD] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_NUM, _______, _______, _______, _______, KC_TAB, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, _______, - _______, KC_P6, KC_P7, KC_P8, KC_P9, KC_P0, _______, KC_P7, KC_P8, KC_P9, KC_PPLS, _______, - _______, KC_P1, KC_P2, KC_P3, KC_P4, KC_P5, _______, KC_P4, KC_P5, KC_P6, KC_EQL, _______, - _______, _______, KC_PDOT, TD_PSPA, TD_MNUN, TD_PPEQ, _______, KC_P1, KC_P2, KC_P3, KC_PENT, _______, - KC_LPRN, KC_RPRN, TD_LBCB, TD_RBCB, _______, KC_P0, KC_PDOT, KC_PENT, - _______, _______, _______, _______, - _______, _______, - _______, _______, _______, _______, _______, _______ -), - -/* -Gaming -(Toggle gaming layer with limited dual-role keys and layer access; NKRO turned on by default; Ent/NS + Delete/Numbers2 to access Adjust layer) -,--------------------------------------------------------------. ,--------------------------------------------------------------. -| | | | | | | | | | | | | | | | | | | | -`--------------------------------------------------------------' `--------------------------------------------------------------' -,------------------------------------------------------. ,------------------------------------------------------. -| | | | | | | | | | | | | | -|---------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+---------| -| | | | | | | | | | | | | | -|---------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+---------| -| LCtrl | | | | | | | | | | | | | -|---------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+---------| -| Shift | | | | | | | | | | | | Shift | -`---------+--------+--------+--------+--------+--------' `--------+--------+--------+--------+--------+---------' - | | | | | | | | | | - `-----------------------------------' `-----------------------------------' - ,-----------------. ,-----------------. - | ESC |xxxxxxxx| | RAlt | RCtl | - ,--------+--------+--------| |--------+--------+--------. - | | | LAlt | | RGUI | Delete | Bspc | - | Space | Enter |--------| |--------| / | / | - | | | Bspc | |Enter/NS| Number2| Fn2 | - `--------------------------' `--------------------------' -*/ -[_GAMING] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_LCTL, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_LSFT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_RSFT, - _______, _______, _______, _______, _______, _______, _______, _______, - KC_ESC, XXXXXXX, _______, _______, - KC_LALT, _______, - KC_SPC, KC_ENT, _______, ENTNS, _______, _______ -), - -/* -Adjust layer -(Press and hold Adjust key on the function row or Enter/Number + Delete/Number2 to access; Numpad and NKRO are on toggle) -,--------------------------------------------------------------. ,--------------------------------------------------------------. -| | | | | | | | | | | | | | | | | | | | -`--------------------------------------------------------------' `--------------------------------------------------------------' -,------------------------------------------------------. ,------------------------------------------------------. -| | Colemak| QWERTY | | Gaming | | | Numpad | | | | | QK_BOOT | -|---------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+---------| -| | | | | | | | | | | | | | -|---------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+---------| -| | | | | | | | | NKRO | | | | | -|---------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+---------| -| | | | | | | | | | | | | | -`---------+--------+--------+--------+--------+--------' `--------+--------+--------+--------+--------+---------' - | | | | | | | | | | - `-----------------------------------' `-----------------------------------' - ,-----------------. ,-----------------. - | | | | | | - ,--------+--------+--------| |--------+--------+--------. - | | | | | | | | - | | |--------| |--------| | | - | | | | | | | | - `--------------------------' `--------------------------' -*/ -[_ADJUST] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, COLEMAK, QWERTY, _______, GAMING, _______, NUMPAD, _______, _______, _______, _______, QK_BOOT, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, NKROTG, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, - _______, _______, _______, _______, _______, _______ -), - -[_ADJUST2] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, COLEMAK, QWERTY, _______, GAMING, _______, 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) { -// persistent_default_layer_set(1UL << _COLEMAK); - default_layer_set(1UL << _COLEMAK); - layer_move (_COLEMAK); - keymap_config.nkro = 0; - } - return false; - break; - case QWERTY: - if (record->event.pressed) { -// persistent_default_layer_set(1UL << _QWERTY); - default_layer_set(1UL << _QWERTY); - layer_move (_QWERTY); - keymap_config.nkro = 0; - } - return false; - break; - case GAMING: - if (record->event.pressed) { - layer_invert (_GAMING); - layer_off (_NUMPAD); - keymap_config.nkro = 1; - } - return false; - break; - } - return true; -} diff --git a/keyboards/kinesis/keymaps/tuesdayjohn/readme.md b/keyboards/kinesis/keymaps/tuesdayjohn/readme.md deleted file mode 100644 index 88af87e88bd..00000000000 --- a/keyboards/kinesis/keymaps/tuesdayjohn/readme.md +++ /dev/null @@ -1,219 +0,0 @@ -# TuesdayJohn's Kinesis Keymap - -These layouts are derived from what I was using on my Kinesis Contoured keyboards with Hasu's USB-USB TMK converters. With the move to QMK via Stapelberg replacement controller, I've cleaned up the layouts a bit while adding more functions and layers. - -There are minor changes in the base keywell layout of non-alpha keys (e.g., CapsLock is ESC/Ctl, arrow clusters on one side), while the thumb clusters deviate more from the default layout. - -Changes to the thumb clusters include: -* The navigations keys moved to function layers. -* The function of 2u keys have been reversed - I've always used space with my left thumb, and I find it more helpful to have quick and easy access to Space and Enter while using my mouse/trackball. -* Backspace have been duplicated on both clusters. As with Space and Backspace, I find it helpful to have quick and easy access to Backspace while using my mouse/trackball. -* The 2u keys serve dual function as momentary layer switchers. - -I've largely left the function keys untouched, with the intension of not using them often. They are neither easy to use nor reach due to their locations and size, and Kinesis used not-so-great rubber dome switches for them (Advantage model and earlier). Kinesis have since replaced the keys with Cherry ML switches on Advantage2, but did not resolve the issues of size or location. Additionally, leaving the function keys unused here makes it easier for me to adapt the keymaps to my other keyboards, most of which do not have physical function keys. - -I use Colemak as my default layout. I've included QWERTY here as well. - -Additionally, there is a gaming layer on toggle. This layer is turned top of either Colemak or QWERTY and have limited access to the Function or Numbers/Symbols layers. Additionally, NKRO is turned on when the layer is turned on. - -Persistent default layer has been enabled for Colemak and QWERTY. The gaming/vanilla Colemak and QWERTY can be set as default layer, but will not be persistent. - -## Future plans - -* Add status LEDs to the Stapelberg PCB (usually used for Caps Lock, Num Lock, and Scroll Lock) to use as layer indicators. -* Add a speaker now that QMK supports additional pins for audio use. -* Utilize the leftover spots on the key matrix, as well as unused pins on Teensy++ 2.0 to run macropad and/or foot pedals. - - -## Layers - -### Function Keys on all layers -- 'Numpd' toggles the Numpad layer -- 'Adjst' is a momentary layer key to access the Adjust layer - -``` -,-----------------------------------------------------. ,----------------------------------------------------. -| ESC | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | | F9 | F10 | F11 | F12 | PScr| SLck| Paus|Numpd|Adjst| -`-----------------------------------------------------' `----------------------------------------------------' -``` - -### Colemak -- Default layer -- Keys separated by "/" tap for first, hold for second -- Uses [Space Cadet Shifts](https://beta.docs.qmk.fm/features/feature_space_cadet) - -``` -,------------------------------------------------. ,------------------------------------------------. -| = | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - | -|--------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+--------| -| Tab | Q | W | F | P | G | | J | L | U | Y | ; | \ | -|--------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+--------| -|ESC/Ctrl| A | R | S | T | D | | H | N | E | I | O | ' | -|--------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+--------| -|SC Shift| Z | X | C | V | B | | K | M | , | . | / |SC Shift| -`--------+-------+-------+-------+-------+-------' `-------+-------+-------+-------+-------+--------' - | Ins | ` | [ | ] | | Left | Down | Up | Right | - `-------------------------------' `-------------------------------' - ,---------------. ,---------------. - |ESC/Ctl| Hyper | | RAlt | RCtl | - ,-------+-------+-------| |-------+-------+-------. - | Space | Enter |App/Alt| | RGUI | Delete| Bspc | - | / | / |-------| |-------| / | / | - | Fn | Number| Bspc | | Enter |Number2| Fn2 | - `-----------------------' `-----------------------' -``` - -### QWERTY -- Keys separated by "/" tap for first, hold for second -- Uses [Space Cadet Shifts](https://beta.docs.qmk.fm/features/feature_space_cadet) - -``` -,------------------------------------------------. ,------------------------------------------------. -| = | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - | -|--------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+--------| -| Tab | Q | W | E | R | T | | Y | U | I | O | P | \ | -|--------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+--------| -|ESC/Ctrl| A | S | D | F | G | | H | J | K | L | ; | ' | -|--------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+--------| -|SC Shift| Z | X | C | V | B | | N | M | , | . | / |SC Shift| -`--------+-------+-------+-------+-------+-------' `-------+-------+-------+-------+-------+--------' - | Ins | ` | [ | ] | | Left | Down | Up | Right | - `-------------------------------' `-------------------------------' - ,---------------. ,---------------. - |ESC/Ctl| Hyper | | RAlt | RCtl | - ,-------+-------+-------| |-------+-------+-------. - | Space | Enter |App/Alt| | RGUI | Delete| Bspc | - | / | / |-------| |-------| / | / | - | Fn | Number| Bspc | | Enter |Number2| Fn2 | - `-----------------------' `-----------------------' -``` - -### Numbers & Symbols layer -- Momentary layer -- Multiple characters: Single-tap for first, double-tap for second - -``` -,------------------------------------------------. ,------------------------------------------------. -| F12 | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | F11 | -|--------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+--------| -| | 6 | 7 | 8 | 9 | 0 | | ^ | & | * | ( | ) | | -|--------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+--------| -| | 1 | 2 | 3 | 4 | 5 | | ! | @ | # | $ | % | | -|--------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+--------| -| | | . | / * | - _ | + = | | ` ~ | [ { | ] } | | | | -`--------+-------+-------+-------+-------+-------' `-------+-------+-------+-------+-------+--------' - | ( | ) | [ { | ] } | | | | | | - `-------------------------------' `-------------------------------' - ,---------------. ,---------------. - | | | | | | - ,-------+-------+-------| |-------+-------+-------. - | | | | | | | | - | | |-------| |-------| | | - | | | | | | | | - `-----------------------' `-----------------------' -``` - -### Function layer -- Momentary layer - -``` -,------------------------------------------------. ,------------------------------------------------. -| F12 | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | F11 | -|--------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+--------| -| | | | Up | | | | | | Up | Ctrl+Y| | | -|--------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+--------| -| | Ctrl+A| Left | Down | Right | C+A+Tb| | PgUp | Left | Down | Right | Home | | -|--------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+--------| -| | Ctrl+Z| Ctrl+X| Ctrl+C| Ctrl+V| Bspc | | PgDn | Mute | Vol- | Vol+ | End | | -`--------+-------+-------+-------+-------+-------' `-------+-------+-------+-------+-------+--------' - | | | | | | Prev | Play | Next | Stop | - `-------------------------------' `-------------------------------' - ,---------------. ,---------------. - | | | | | | - ,-------+-------+-------| |-------+-------+-------. - | | | | | | | | - | | |-------| |-------| | | - | | | | | | | | - `-----------------------' `-----------------------' -``` - -### Numpad layer -- Toggle layer -- Left side duplicates layout from the Numbers layer, just with numpad output -- Right side layout close to PC numpad layout -- Multiple characters: Single-tap for first, double-tap for second - -``` -,------------------------------------------------. ,------------------------------------------------. -| | NumLk | | | | | | Tab | NumLk | KP / | KP * | KP - | | -|--------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+--------| -| | KP 6 | KP 7 | KP 8 | KP 9 | KP 0 | | | KP 7 | KP 8 | KP 9 | KP + | | -|--------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+--------| -| | KP 1 | KP 2 | KP 3 | KP 4 | KP 5 | | | KP 4 | KP 5 | KP 6 | = | | -|--------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+--------| -| | | KP . | KP/KP*| KP- _ | KP+ = | | | KP 1 | KP 2 | KP 3 | KP Ent| | -`--------+-------+-------+-------+-------+-------' `-------+-------+-------+-------+-------+--------' - | ( | ) | [ { | ] } | | KP 0 | , | KP . | KP Ent| - `-------------------------------' `-------------------------------' - ,---------------. ,---------------. - | | | | | | - ,-------+-------+-------| |-------+-------+-------. - | | | | | | | | - | | |-------| |-------| | | - | | | | | | | | - `-----------------------' `-----------------------' -``` - -### Gaming -- Toggle layer with limited access to Function or Numbers layers -- Mainly used for gaming -- NKRO turned on by default -- Press and hold Ent/NS + Delete/Numbers2 to access Adjust layer - -``` -,------------------------------------------------. ,------------------------------------------------. -| | | | | | | | | | | | | | -|--------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+--------| -| | | | | | | | | | | | | | -|--------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+--------| -| LCtrl | | | | | | | | | | | | | -|--------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+--------| -| Shift | | | | | | | | | | | | Shift | -`--------+-------+-------+-------+-------+-------' `-------+-------+-------+-------+-------+--------' - | | | | | | | | | | - `-------------------------------' `-------------------------------' - ,---------------. ,---------------. - | ESC |xxxxxxx| | RAlt | RCtl | - ,-------+-------+-------| |-------+-------+-------. - | | | LAlt | | RGUI | Delete| Bspc | - | Space | Enter |-------| |-------| / | / | - | | | Bspc | | Ent/NS|Number2| Fn2 | - `-----------------------' `-----------------------' -``` - -### Adjust layer -- Momentary layer -- Press and hold Adjust key on the function row or Enter/Number + Delete/Number2 to access -- Gaming, Numpad, and NKRO are on toggle - -``` -,------------------------------------------------. ,------------------------------------------------. -| |Colemak| QWERTY| | Gaming| | | Numpad| | | | | RESET | -|--------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+--------| -| | | | | | | | | | | | | | -|--------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+--------| -| | | | | | | | | NKRO | | | | | -|--------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+--------| -| | | | | | | | | | | | | | -`--------+-------+-------+-------+-------+-------' `-------+-------+-------+-------+-------+--------' - | | | | | | | | | | - `-------------------------------' `-------------------------------' - ,---------------. ,---------------. - | | | | | | - ,-------+-------+-------| |-------+-------+-------. - | | | | | | | | - | | |-------| |-------| | | - | | | | | | | | - `-----------------------' `-----------------------' - ``` - diff --git a/keyboards/kinesis/keymaps/tuesdayjohn/rules.mk b/keyboards/kinesis/keymaps/tuesdayjohn/rules.mk deleted file mode 100644 index 390cb3fd60a..00000000000 --- a/keyboards/kinesis/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/kinesis/keymaps/tw1t611/keymap.c b/keyboards/kinesis/keymaps/tw1t611/keymap.c deleted file mode 100644 index e5fb5519dc1..00000000000 --- a/keyboards/kinesis/keymaps/tw1t611/keymap.c +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright 2023 QMK -// SPDX-License-Identifier: GPL-2.0-or-later - -#include QMK_KEYBOARD_H -#include "keymap_german.h" - -#define QWERTZ 0 -#define MOD 1 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -[QWERTZ] = 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_PSCR,KC_SCRL,KC_PAUS,KC_NO ,QK_BOOT, - _______,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 , KC_Y ,KC_U ,KC_I ,KC_O ,KC_P ,DE_ADIA, - KC_TAB ,KC_A ,KC_S ,KC_D ,KC_F ,KC_G , 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_RCTL,KC_LALT, KC_LGUI,KC_LCTL, - KC_HOME, KC_END , - KC_SPC ,KC_LSFT,KC_BSPC , KC_DEL,MO(MOD),KC_ENTER - ), -[MOD] = LAYOUT( - _______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______,_______,_______,_______, - _______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______, - DE_CIRC,DE_QUOT,DE_DQUO,DE_LCBR,DE_RCBR,DE_GRV , 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, DE_AT ,DE_EURO,DE_SCLN,DE_COLN,DE_UNDS,DE_PLUS, - _______,_______,_______,_______, _______,_______,_______,_______, - _______,_______, _______,_______, - _______, _______, - _______,_______,_______, _______,_______ ,_______ - ) -}; diff --git a/keyboards/kinesis/keymaps/tw1t611/readme.md b/keyboards/kinesis/keymaps/tw1t611/readme.md deleted file mode 100644 index 41b0caa7e2e..00000000000 --- a/keyboards/kinesis/keymaps/tw1t611/readme.md +++ /dev/null @@ -1 +0,0 @@ -This is a german keymap for the Kinesis Advantage. diff --git a/keyboards/kinesis/keymaps/tw1t611/rules.mk b/keyboards/kinesis/keymaps/tw1t611/rules.mk deleted file mode 100644 index 93e7cd8bb74..00000000000 --- a/keyboards/kinesis/keymaps/tw1t611/rules.mk +++ /dev/null @@ -1,18 +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 = no # 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 - diff --git a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/gabustoledo/config.h b/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/gabustoledo/config.h deleted file mode 100644 index a669c31c247..00000000000 --- a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/gabustoledo/config.h +++ /dev/null @@ -1,81 +0,0 @@ -#pragma once -/* Copyright 2021 Gabriel Bustamante Toledo - * - * 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 . -*/ - -// default but used in macros -#undef TAPPING_TERM -#define TAPPING_TERM 200 - -// Enable rapid switch from tap to hold, disables double tap hold auto-repeat. -#define QUICK_TAP_TERM 0 - -// Auto Shift -#define NO_AUTO_SHIFT_ALPHA -#define AUTO_SHIFT_TIMEOUT TAPPING_TERM -#define AUTO_SHIFT_NO_SETUP - -// 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 - -#define RGBLIGHT_LAYERS -#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF -#define RGBLIGHT_EFFECT_BREATHING -#define RGBLIGHT_EFFECT_RAINBOW_MOOD -#define RGBLIGHT_EFFECT_RAINBOW_SWIRL -#define RGBLIGHT_EFFECT_SNAKE -#define RGBLIGHT_EFFECT_KNIGHT -#define RGBLIGHT_EFFECT_CHRISTMAS -#define RGBLIGHT_EFFECT_STATIC_GRADIENT -#define RGBLIGHT_EFFECT_RGB_TEST -#define RGBLIGHT_EFFECT_ALTERNATING -#define RGBLIGHT_EFFECT_TWINKLE - -#define RGBLIGHT_LIMIT_VAL 10 - -#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 RGB_MATRIX_DEFAULT_MODE - -# define RGBLIGHT_HUE_STEP 20 - -#endif diff --git a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/gabustoledo/keymap.c b/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/gabustoledo/keymap.c deleted file mode 100755 index a08fd535d34..00000000000 --- a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/gabustoledo/keymap.c +++ /dev/null @@ -1,125 +0,0 @@ -/* Copyright 2021 Gabriel Bustamante Toledo - * - * 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 { BASE1, BASE2, MEDIA, NAV, MOUSE, SYM, NUM, FUN }; - -enum { - TD_MEDIA, TD_SCREEN, -}; - -tap_dance_action_t tap_dance_actions[] = { - [TD_MEDIA] = ACTION_TAP_DANCE_DOUBLE( KC_MPLY , KC_MNXT ), - [TD_SCREEN] = ACTION_TAP_DANCE_DOUBLE( (G(S(KC_S))) , S(C(KC_4)) ), -}; - -void set_color(int r, int g, int b){ - rgb_matrix_set_color(5, r, g, b); - rgb_matrix_set_color(6, r, g, b); - rgb_matrix_set_color(17, r, g, b); - rgb_matrix_set_color(18, r, g, b); - rgb_matrix_set_color(29, r, g, b); - rgb_matrix_set_color(30, r, g, b); - rgb_matrix_set_color(41, r, g, b); -} - -bool rgb_matrix_indicators_user(void) { - - switch (get_highest_layer(layer_state)) { - case BASE2: - set_color(128, 64, 0); - break; - case MEDIA: - set_color(50, 10, 20); - break; - case NAV: - set_color(0, 40, 50); - break; - case MOUSE: - set_color(0, 0, 50); - break; - case SYM: - set_color(0, 50, 1.9); - break; - case NUM: - set_color(10, 0, 50); - break; - case FUN: - set_color(50, 0, 0); - break; - } - return false; -} - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [BASE1] = LAYOUT_planck_mit( - KC_Q, KC_W, KC_E, KC_R, KC_T, TG(BASE2), KC_NO, KC_Y, KC_U, KC_I, KC_O, KC_P, - KC_A, KC_S, KC_D, KC_F, KC_G, KC_NO, KC_NO, KC_H, KC_J, KC_K, KC_L, KC_QUOT, - KC_Z, KC_X, KC_C, KC_V, KC_B, KC_NO, KC_NO, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, - TD(TD_SCREEN), TD(TD_MEDIA), LT(MEDIA, KC_ESC), LT(NAV, KC_SPC), LT(MOUSE, KC_TAB), KC_NO, LT(SYM, KC_ENT), LT(NUM, KC_BSPC), LT(FUN, KC_DEL), C(G(KC_LEFT)), C(G(KC_RIGHT)) - ), - - [BASE2] = LAYOUT_planck_mit( - KC_Q, KC_W, KC_E, KC_R, KC_T, TG(BASE2), KC_NO, KC_Y, KC_U, KC_I, KC_O, KC_P, - LGUI_T(KC_A), LALT_T(KC_S), LCTL_T(KC_D), LSFT_T(KC_F), KC_G, KC_NO, KC_NO, KC_H, LSFT_T(KC_J), LCTL_T(KC_K), LALT_T(KC_L), LGUI_T(KC_QUOT), - KC_Z, KC_X, KC_C, KC_V, KC_B, KC_NO, KC_NO, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, - TD(TD_SCREEN), TD(TD_MEDIA), LT(MEDIA, KC_ESC), LT(NAV, KC_SPC), LT(MOUSE, KC_TAB), KC_NO, LT(SYM, KC_ENT), LT(NUM, KC_BSPC), LT(FUN, KC_DEL), KC_NO, KC_NO - ), - - [MEDIA] = LAYOUT_planck_mit( - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, RGB_TOG, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, - KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, KC_NO, KC_NO, KC_NO, KC_NO, KC_MPRV, KC_VOLD, KC_VOLU, KC_MNXT, - KC_NO, KC_ALGR, 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_MSTP, KC_MPLY, KC_MUTE, KC_NO, KC_NO - ), - - [NAV] = LAYOUT_planck_mit( - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, C(KC_S), C(KC_V), C(KC_C), C(KC_X), C(KC_Z), - KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, KC_NO, KC_NO, KC_NO, KC_CAPS, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, - KC_NO, KC_ALGR, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_INS, KC_HOME, KC_PGDN, KC_PGUP, KC_END, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_ENT, KC_BSPC, KC_DEL, KC_NO, KC_NO - ), - - [MOUSE] = LAYOUT_planck_mit( - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, C(KC_S), C(KC_V), C(KC_C), C(KC_X), C(KC_Z), - KC_LGUI, KC_LALT, KC_LCTL, KC_LSFT, KC_NO, KC_NO, KC_NO, KC_NO, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, - KC_NO, KC_ALGR, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_WH_L, KC_WH_D, KC_WH_U, KC_WH_R, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_BTN1, KC_BTN3, KC_BTN2, KC_NO, KC_NO - ), - - [SYM] = LAYOUT_planck_mit( - KC_LCBR, KC_AMPR, KC_ASTR, KC_LPRN, KC_RCBR, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_BSPC, - KC_COLN, KC_DLR, KC_PERC, KC_CIRC, KC_PLUS, KC_NO, KC_NO, KC_NO, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, - KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_PIPE, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_ALGR, KC_NO, - KC_NO, KC_NO, KC_LPRN, KC_RPRN, KC_UNDS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO - ), - - [NUM] = LAYOUT_planck_mit( - KC_LBRC, KC_7, KC_8, KC_9, KC_RBRC, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_BSPC, - KC_SCLN, KC_4, KC_5, KC_6, KC_EQL, KC_NO, KC_NO, KC_NO, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, - KC_GRV, KC_1, KC_2, KC_3, KC_BSLS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_ALGR, KC_NO, - KC_NO, KC_NO, KC_DOT, KC_0, KC_MINS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO - ), - - [FUN] = LAYOUT_planck_mit( - KC_F12, KC_F7, KC_F8, KC_F9, KC_PSCR, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, QK_BOOT, - KC_F11, KC_F4, KC_F5, KC_F6, KC_SCRL, KC_NO, KC_NO, KC_NO, KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, - KC_F10, KC_F1, KC_F2, KC_F3, KC_PAUS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_ALGR, KC_NO, - KC_NO, KC_NO, KC_APP, KC_SPC, KC_TAB, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO - ) - -}; diff --git a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/gabustoledo/readme.md b/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/gabustoledo/readme.md deleted file mode 100644 index 7540bc56bf9..00000000000 --- a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/gabustoledo/readme.md +++ /dev/null @@ -1,47 +0,0 @@ -# Gabustoledo - -### Compile - -- Compile: - - `qmk compile -kb kprepublic/bm40hsrgb -km gabustoledo` - -### Flash - -- Flash: - - `qmk flash -kb kprepublic/bm40hsrgb -km gabustoledo` - -# Layout - -## BASE - -![img](https://i.imgur.com/2H9WkM8.png) - -## Base 2 - -![img](https://i.imgur.com/16Y7cN2.png) - -## MEDIA - -![img](https://i.imgur.com/CQH2Zo8.png) - -## NAVIGATION - -![img](https://i.imgur.com/lcdBhfG.png) - -## MOUSE - -![img](https://i.imgur.com/kAaxSkb.png) - -## SYMBOL - -![img](https://i.imgur.com/i3rZYdq.png) - -## NUMBER - -![img](https://i.imgur.com/ijb2Dd8.png) - -## FUNCTION - -![img](https://i.imgur.com/QMoLXsP.png) \ No newline at end of file diff --git a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/gabustoledo/rules.mk b/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/gabustoledo/rules.mk deleted file mode 100644 index 6e27e2f5237..00000000000 --- a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/gabustoledo/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -AUTO_SHIFT_ENABLE = yes # Auto Shift -TAP_DANCE_ENABLE = yes -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite \ No newline at end of file diff --git a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt/config.h b/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt/config.h deleted file mode 100644 index 40ba18a2939..00000000000 --- a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt/config.h +++ /dev/null @@ -1,86 +0,0 @@ -// qmk flash -kb bm40hsrgb -km signynt - -/* Copyright 2021 Vincenzo Mitchell Barroso - * - * 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_LAYERS -#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF -#define RGBLIGHT_EFFECT_BREATHING -#define RGBLIGHT_EFFECT_RAINBOW_MOOD -#define RGBLIGHT_EFFECT_RAINBOW_SWIRL -#define RGBLIGHT_EFFECT_SNAKE -#define RGBLIGHT_EFFECT_KNIGHT -#define RGBLIGHT_EFFECT_CHRISTMAS -#define RGBLIGHT_EFFECT_STATIC_GRADIENT -#define RGBLIGHT_EFFECT_RGB_TEST -#define RGBLIGHT_EFFECT_ALTERNATING -#define RGBLIGHT_EFFECT_TWINKLE - - -//#define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS -#define RGBLIGHT_LIMIT_VAL 10 - -#ifdef RGB_MATRIX_ENABLE - -#define TAPPING_TERM 200 - -//-------------------------------------------------------------------------------------------------------- - -//disable broken animations -# 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_RAINBOW_MOVING_CHEVRON -//#undef ENABLE_RGB_MATRIX_DUAL_BEACON -# undef ENABLE_RGB_MATRIX_CYCLE_PINWHEEL -# undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL -//#undef ENABLE_RGB_MATRIX_RAINBOW_BEACON -//#undef ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS -//#undef ENABLE_RGB_MATRIX_RAINDROPS -# undef ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS // DO NOT ENABLE -//#undef ENABLE_RGB_MATRIX_TYPING_HEATMAP -//#undef ENABLE_RGB_MATRIX_DIGITAL_RAIN -//#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE -//#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE -//#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 - -# undef RGB_MATRIX_DEFAULT_MODE - -# define RGBLIGHT_HUE_STEP 20 - -#endif diff --git a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt/keymap.c b/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt/keymap.c deleted file mode 100644 index eb20a1a25b9..00000000000 --- a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt/keymap.c +++ /dev/null @@ -1,242 +0,0 @@ -// qmk flash -kb bm40hsrgb -km signynt - -/* Copyright 2021 Vincenzo Mitchell Barroso - * - * 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 - -// non-KC_ keycodes -#define KC_RST QK_BOOT -#define KC_TOG RGB_TOG -#define KC_MOD RGB_MOD -#define KC_HUI RGB_HUI -#define KC_SAI RGB_SAI -#define KC_VAI RGB_VAI - -//define layers -enum layers {BASE, MEDR, NAVR, NSSL, NSL, FUNL, GAME, SECGAME}; - -enum custom_keycodes { - CMD_TAB = SAFE_RANGE, -}; - -//cmd tab - -bool is_cmd_tab_active = false; -uint16_t cmd_tab_timer = 0; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case CMD_TAB: - if (record->event.pressed) { - if (!is_cmd_tab_active) { - is_cmd_tab_active = true; - register_code(KC_LCTL); - } - cmd_tab_timer = timer_read(); - register_code(KC_TAB); - } else { - unregister_code(KC_TAB); - } - break; - } - return true; -} - -void matrix_scan_user(void) { - if (is_cmd_tab_active) { - if (timer_elapsed(cmd_tab_timer) > 500) { - unregister_code(KC_LCTL); - is_cmd_tab_active = false; - } - } -} - -//layer led colors - -bool rgb_matrix_indicators_user(void) { - -//game indicators - -if(IS_LAYER_ON(GAME)) { - rgb_matrix_set_color(11, 0, 40, 50); -} - -if(IS_LAYER_ON(SECGAME)) { - rgb_matrix_set_color(11, 50, 0, 0); -} - -//layer indicators - -if(IS_LAYER_ON(NAVR)) { - rgb_matrix_set_color(40, 0, 40, 50); - - rgb_matrix_set_color(19, 0, 40, 50); - rgb_matrix_set_color(20, 0, 40, 50); - rgb_matrix_set_color(21, 0, 40, 50); - rgb_matrix_set_color(22, 0, 40, 50); -} - -if(IS_LAYER_ON(MEDR)) { - rgb_matrix_set_color(39, 50, 10, 20); - - rgb_matrix_set_color(19, 50, 10, 20); - - rgb_matrix_set_color(22, 50, 10, 20); - - rgb_matrix_set_color(42, 50, 10, 20); -} - -if(IS_LAYER_ON(FUNL)) { - rgb_matrix_set_color(43, 50, 0, 0); - - rgb_matrix_set_color(1, 50, 0, 0); - rgb_matrix_set_color(2, 50, 0, 0); - rgb_matrix_set_color(3, 50, 0, 0); - rgb_matrix_set_color(4, 50, 0, 0); - - rgb_matrix_set_color(13, 50, 0, 0); - rgb_matrix_set_color(14, 50, 0, 0); - rgb_matrix_set_color(15, 50, 0, 0); - rgb_matrix_set_color(16, 50, 0, 0); - - rgb_matrix_set_color(25, 50, 0, 0); - rgb_matrix_set_color(26, 50, 0, 0); - rgb_matrix_set_color(27, 50, 0, 0); - rgb_matrix_set_color(28, 50, 0, 0); -} - -if(IS_LAYER_ON(NSL)) { - rgb_matrix_set_color(42, 10, 0, 50); - - rgb_matrix_set_color(2, 10, 0, 50); - rgb_matrix_set_color(3, 10, 0, 50); - rgb_matrix_set_color(4, 10, 0, 50); - - rgb_matrix_set_color(14, 10, 0, 50); - rgb_matrix_set_color(15, 10, 0, 50); - rgb_matrix_set_color(16, 10, 0, 50); - - rgb_matrix_set_color(26, 10, 0, 50); - rgb_matrix_set_color(27, 10, 0, 50); - rgb_matrix_set_color(28, 10, 0, 50); - - rgb_matrix_set_color(38, 10, 0, 50); - rgb_matrix_set_color(39, 10, 0, 50); - rgb_matrix_set_color(40, 10, 0, 50); -} - -if(IS_LAYER_ON(NSSL)) { - rgb_matrix_set_color(41, 0, 50, 1.9); - - rgb_matrix_set_color(1, 0, 50, 1.9); - rgb_matrix_set_color(2, 0, 50, 1.9); - rgb_matrix_set_color(3, 0, 50, 1.9); - rgb_matrix_set_color(4, 0, 50, 1.9); - rgb_matrix_set_color(5, 0, 50, 1.9); - - rgb_matrix_set_color(13, 0, 50, 1.9); - rgb_matrix_set_color(14, 0, 50, 1.9); - rgb_matrix_set_color(15, 0, 50, 1.9); - rgb_matrix_set_color(16, 0, 50, 1.9); - rgb_matrix_set_color(17, 0, 50, 1.9); - - rgb_matrix_set_color(25, 0, 50, 1.9); - rgb_matrix_set_color(26, 0, 50, 1.9); - rgb_matrix_set_color(27, 0, 50, 1.9); - rgb_matrix_set_color(28, 0, 50, 1.9); - rgb_matrix_set_color(29, 0, 50, 1.9); - - return false; -} - -//capslock leds - -if (host_keyboard_led_state().caps_lock) { - rgb_matrix_set_color_all(50, 15.6, 0); - } - -} - -//tap dance declarations -enum { - TD_MEDIA, TD_SCREEN, -}; - -//tap dance definitions -tap_dance_action_t tap_dance_actions[] = { - [TD_MEDIA] = ACTION_TAP_DANCE_DOUBLE( KC_MPLY , KC_MNXT ), - [TD_SCREEN] = ACTION_TAP_DANCE_DOUBLE( (G(S(KC_S))) , S(C(KC_4)) ), -}; - -#define KC_TD(TD_VARIABLE) TD(TD_VARIABLE) - -//-------------------------------------------------------------------------------------------------------- - -//base - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [BASE] = LAYOUT_planck_mit( - KC_LALT, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LALT, - KC_LSFT, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_LSFT, - KC_LCTL, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LCTL, - G(KC_TAB), KC_TD(TD_SCREEN), KC_ESC, LT(MEDR, KC_TAB), LT(NAVR, KC_SPC), LT(NSSL, KC_ENT), LT(NSL, KC_BSPC), LT(FUNL, KC_DEL), KC_LGUI, KC_TD(TD_MEDIA), CMD_TAB - ), - -//layers - [NAVR] = LAYOUT_planck_mit( - KC_LALT, KC_RST, KC_NO, KC_NO, KC_NO, KC_NO, C(S(KC_Z)), C(A(KC_LEFT)), C(KC_X), C(KC_C), C(A(KC_RGHT)), KC_LALT, - KC_LSFT, G(S(C(KC_F1))), G(S(C(KC_F3))), G(S(C(KC_F4))), G(S(C(KC_F2))), KC_NO, KC_CAPS, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_LSFT, - KC_LCTL, KC_NO, KC_ALGR, KC_NO, G(S(C(KC_F5))), KC_NO, KC_INS, KC_HOME, KC_PGDN, KC_PGUP, KC_END, KC_LCTL, - TG(GAME), KC_NO, KC_NO, KC_NO, KC_NO, KC_ENT, KC_BSPC, KC_DEL, KC_NO, C(G(KC_LEFT)), C(G(KC_RIGHT)) - ), - [MEDR] = LAYOUT_planck_mit( - KC_LALT, KC_RST, KC_NO, KC_NO, KC_NO, KC_NO, KC_TOG, KC_MOD, KC_HUI, KC_SAI, KC_VAI, KC_LALT, - KC_LSFT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_MPRV, KC_VOLD, KC_VOLU, KC_MNXT, KC_LSFT, - KC_LCTL, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_F13, KC_F14, KC_F15, RGB_VAI, KC_LCTL, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_MSTP, KC_MPLY, KC_MUTE, KC_NO, KC_NO, KC_NO - ), - [FUNL] = LAYOUT_planck_mit( - KC_LALT, KC_F12, KC_F7, KC_F8, KC_F9, KC_PSCR, KC_F15, KC_NO, KC_NO, KC_NO, KC_RST, KC_LALT, - KC_LSFT, KC_F11, KC_F4, KC_F5, KC_F6, KC_SCRL, KC_F14, KC_NO, KC_NO, KC_NO, KC_NO, KC_LSFT, - KC_LCTL, KC_F10, KC_F1, KC_F2, KC_F3, KC_PAUS, KC_F13, KC_NO, KC_NO, KC_NO, KC_NO, KC_LCTL, - KC_NO, KC_NO, KC_TAB, KC_APP, KC_SPC, KC_UNDS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO - ), - [NSL] = LAYOUT_planck_mit( - KC_LALT, KC_LPRN, KC_7, KC_8, KC_9, KC_RPRN, KC_LBRC, KC_AMPR, KC_ASTR, KC_LCBR, KC_RBRC, KC_BSPC, - KC_LSFT, KC_COLN, KC_4, KC_5, KC_6, KC_EQL, KC_LCBR, KC_DLR, KC_PERC, KC_CIRC, KC_RCBR, KC_LSFT, - KC_LCTL, KC_GRV, KC_1, KC_2, KC_3, KC_PLUS, KC_TILD, KC_EXLM, KC_COMM, KC_DOT, KC_SLSH, KC_LCTL, - A(S(C(KC_N))), S(C(KC_5)), KC_NO, KC_UNDS, KC_0, KC_MINS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO - ), - [NSSL] = LAYOUT_planck_mit( - KC_LALT, KC_LCBR, KC_AMPR, KC_ASTR, KC_LPRN, KC_RCBR, KC_NO, KC_NO, KC_NO, KC_NO, KC_RST, KC_BSPC, - KC_LSFT, KC_SCLN, KC_DLR, KC_PERC, KC_CIRC, KC_PLUS, KC_NO, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, KC_LSFT, - KC_LCTL, KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_PIPE, KC_NO, KC_WH_L, KC_WH_D, KC_WH_U, KC_WH_R, KC_LCTL, - KC_NO, KC_NO, KC_UNDS, KC_GT, KC_RPRN, KC_NO, KC_BTN1, KC_BTN3, KC_BTN2, KC_NO, KC_NO - ), - [GAME] = 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, TG(GAME), - KC_LALT, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, 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_LCTL, - KC_LCTL, A(KC_TAB), MO(SECGAME), KC_TAB, KC_SPC, LT(SECGAME, KC_ENT), KC_BSPC, KC_DEL, KC_MPRV, KC_MPLY, KC_MNXT - ), - [SECGAME] = LAYOUT_planck_mit( - 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_F11, KC_F12, - KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_NO, KC_NO, KC_NO, KC_P1, KC_P2, KC_P3, KC_P4, KC_P5, - KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_NO, KC_NO, KC_P6, KC_P7, KC_P8, KC_P9, KC_P0 - ) -}; diff --git a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt/readme.md b/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt/readme.md deleted file mode 100644 index 97c09be2552..00000000000 --- a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt/readme.md +++ /dev/null @@ -1,117 +0,0 @@ -# Signynt's Keymap: 'Sigma-Squared' - -Sigma Squared is an adaptation & modification of the Layout [Miryoku](https://github.com/manna-harbour/qmk_firmware/blob/miryoku/users/manna-harbour_miryoku/miryoku.org#miryoku-) by *manna-harbour* - -*manna-harbour* lays out the general principles of the layout as follows: - -- Use layers instead of reaching. -- Use both hands instead of contortions. -- Use the home positions as much as possible. -- Make full use of the thumbs. -- Avoid unnecessary complication. - - - -Sigma Squared modifies on **Miryoku** in the following ways: - -- Added the Mods to the outer most columns to be easily accessed while typing with the pinkies -- Extended the **NUMBER** layer to include symbols on the right side to allow calcualtion to be typed more easily without haveing to move between layers -- Added a **GAME** layer to be used for gaming that emulates a more standard keyboard that most games expect - - moves *left shift* and *left ctrl* down - - *esc* moved to top left - - gives access to a **SECOND GAME** layer that contains an Fn row as well as number and arrow keys right under your left fingers -- Added Shortcuts to the bottom row to reduce the amount of keycombos needed to use commonly needed features - - Mission Control, Screenshot, Cycling Apps & Windows -- Added LED indicators to display what layer is currently active (only active while RGB is turned on) - - - -### Flashing - -- to directly flash to board: - - `qmk flash -kb kprepublic/bm40hsrgb -km signynt` - -- to only compile: - - `qmk compile -kb kprepublic/bm40hsrgb -km signynt` - - - -# Layout - -## BASE - -Tap the layer keys to use the black legends, hold them to activate the corresponding layer. - -The Shortcut keys can be modified to suit your needs, or change them in your OS to match the keys. - -If you are using MacOS I recommend swapping your *Ctrl* and *Cmd* keys in system preferences - -The Music Control key can be pressed once to pause and be pressed twice in rapid succession to skip to the next song. - -The Screenshot Key takes a screenshot to the clipboard if pressed once, if double tapped it will take a screenshot to be saved to the desktop. - -![img](https://i.imgur.com/vhb1L2f.png) - -## NAVIGATION - -Provides access to all essential navigation keys, comfortably under your home row. Modifiers remain identical to **BASE** layer to be used for navigating lines and words. - -*Game Layer* key takes you to the **GAME** layer. *(duh)* - -Bottom right keys are used to swap between Virtual Desktops. You might need to modify these to fit your OS. - -![img](https://i.imgur.com/daKxxFz.png) - - - -## MEDIA - -Provides access to all basic media keys, emulating the arrow keys on the home row. - -Also gives access to RGB controls. - -![img](https://i.imgur.com/1jWOvvH.png) - -## NUMBER - -Numbers are arranged in a numpad layout beneath home row, with 0 being positioned under the thumb resting position. Layer includes all most commonly needed symbols to reduce amount of layer switching needed to type longer calculations. - -Top right key changed to *Back Space* so corrections can be made without leaving layer. - -![img](https://i.imgur.com/LGJT3so.png) - -## SYMBOL - -Symbols are positioned over respective numbers from the **NUMBER** layer. - -Mouse keys are positioned similarly under the home row corresponding to the arrow keys. - -Also includes *Back Space* key for corrections. - -![img](https://i.imgur.com/ihOcdPj.png) - -## Fn - -Fn keys are arranged in the same layout as the numbers, with *F10* to *F12* added to the left - -![img](https://i.imgur.com/bPpI8KN.png) - -## GAME - -Somewhat emulates a regular layout needed for gaming. Top right key LED will indicate that you are on the **GAME** layer, and can be pressed to exit it. Holding one of the *Second Game* keys will give you access to **SECOND GAME** - -![img](https://i.imgur.com/r9KIWLX.png) - -## SECOND GAME - -Top right key will turn red to indicate you are in the layer - -![img](https://i.imgur.com/BLKHfVB.png) - - - -# Contact - -If you have any issues or questions you can reach me through Reddit at u/Signynt or on the QMK Discord diff --git a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt/rules.mk b/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt/rules.mk deleted file mode 100644 index 754f3f1f708..00000000000 --- a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt/rules.mk +++ /dev/null @@ -1,7 +0,0 @@ -#rules - -MOUSEKEY_ENABLE = yes # Mouse keys -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -EXTRAKEY_ENABLE = yes # Audio control and System control -TAP_DANCE_ENABLE = yes -#RGB_MATRIX_ENABLE = no diff --git a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_loud/config.h b/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_loud/config.h deleted file mode 100644 index 508f98c053f..00000000000 --- a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_loud/config.h +++ /dev/null @@ -1,86 +0,0 @@ -// qmk flash -kb bm40hsrgb -km signynt_2_loud - -/* Copyright 2021 Vincenzo Mitchell Barroso - * - * 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_LAYERS -#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF -#define RGBLIGHT_EFFECT_BREATHING -#define RGBLIGHT_EFFECT_RAINBOW_MOOD -#define RGBLIGHT_EFFECT_RAINBOW_SWIRL -#define RGBLIGHT_EFFECT_SNAKE -#define RGBLIGHT_EFFECT_KNIGHT -#define RGBLIGHT_EFFECT_CHRISTMAS -#define RGBLIGHT_EFFECT_STATIC_GRADIENT -#define RGBLIGHT_EFFECT_RGB_TEST -#define RGBLIGHT_EFFECT_ALTERNATING -#define RGBLIGHT_EFFECT_TWINKLE - - -//#define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS -#define RGBLIGHT_LIMIT_VAL 10 - -#ifdef RGB_MATRIX_ENABLE - -#define TAPPING_TERM 200 - -//-------------------------------------------------------------------------------------------------------- - -//disable broken animations -# 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_RAINBOW_MOVING_CHEVRON -//#undef ENABLE_RGB_MATRIX_DUAL_BEACON -# undef ENABLE_RGB_MATRIX_CYCLE_PINWHEEL -# undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL -//#undef ENABLE_RGB_MATRIX_RAINBOW_BEACON -//#undef ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS -//#undef ENABLE_RGB_MATRIX_RAINDROPS -# undef ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS // DO NOT ENABLE -//#undef ENABLE_RGB_MATRIX_TYPING_HEATMAP -//#undef ENABLE_RGB_MATRIX_DIGITAL_RAIN -//#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE -//#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE -//#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 - -# undef RGB_MATRIX_DEFAULT_MODE - -# define RGBLIGHT_HUE_STEP 20 - -#endif diff --git a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_loud/keymap.c b/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_loud/keymap.c deleted file mode 100644 index f53e0618438..00000000000 --- a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_loud/keymap.c +++ /dev/null @@ -1,215 +0,0 @@ -// qmk flash -kb bm40hsrgb -km signynt_2_loud - -/* Copyright 2021 Vincenzo Mitchell Barroso - * - * 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 - -// non-KC_ keycodes -#define KC_RST QK_BOOT -#define KC_TOG RGB_TOG -#define KC_MOD RGB_MOD -#define KC_HUI RGB_HUI -#define KC_SAI RGB_SAI -#define KC_VAI RGB_VAI - -//define layers -enum layers {BASE, MEDR, NAVR, NSSL, NSL, FUNL, GAME, SECGAME}; - -enum custom_keycodes { - CMD_TAB = SAFE_RANGE, -}; - -//cmd tab - -bool is_cmd_tab_active = false; -uint16_t cmd_tab_timer = 0; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case CMD_TAB: - if (record->event.pressed) { - if (!is_cmd_tab_active) { - is_cmd_tab_active = true; - register_code(KC_LCTL); - } - cmd_tab_timer = timer_read(); - register_code(KC_TAB); - } else { - unregister_code(KC_TAB); - } - break; - } - return true; -} - -void matrix_scan_user(void) { - if (is_cmd_tab_active) { - if (timer_elapsed(cmd_tab_timer) > 500) { - unregister_code(KC_LCTL); - is_cmd_tab_active = false; - } - } -} - -//layer led colors - -bool rgb_matrix_indicators_user(void) { - - for (uint8_t i = 0; i < RGB_MATRIX_LED_COUNT; ++i) { - if (HAS_ANY_FLAGS(g_led_config.flags[i], LED_FLAG_MODIFIER)) { - rgb_matrix_set_color(i, 0, 0, 0); - } - if (HAS_ANY_FLAGS(g_led_config.flags[i], LED_FLAG_KEYLIGHT)) { - rgb_matrix_set_color(i, 0, 0, 0); - } - } - - //capslock - if (host_keyboard_led_state().caps_lock) { - for (uint8_t i = 0; i < RGB_MATRIX_LED_COUNT; ++i) { - if (HAS_ANY_FLAGS(g_led_config.flags[i], LED_FLAG_UNDERGLOW)) { - rgb_matrix_set_color(i, 255, 255, 255); - } - } - } - - //nav layer - if (IS_LAYER_ON(NAVR)) { - for (uint8_t i = 0; i < RGB_MATRIX_LED_COUNT; ++i) { - if (HAS_ANY_FLAGS(g_led_config.flags[i], LED_FLAG_UNDERGLOW)) { - rgb_matrix_set_color(i, 0, 204, 255); - } - } - } - - //funl layer - if (IS_LAYER_ON(FUNL)) { - for (uint8_t i = 0; i < RGB_MATRIX_LED_COUNT; ++i) { - if (HAS_ANY_FLAGS(g_led_config.flags[i], LED_FLAG_UNDERGLOW)) { - rgb_matrix_set_color(i, 255, 0, 0); - } - } - } - - //nsl layer - if (IS_LAYER_ON(NSL)) { - for (uint8_t i = 0; i < RGB_MATRIX_LED_COUNT; ++i) { - if (HAS_ANY_FLAGS(g_led_config.flags[i], LED_FLAG_UNDERGLOW)) { - rgb_matrix_set_color(i, 51, 0, 255); - } - } - } - - //nssl layer - if (IS_LAYER_ON(NSSL)) { - for (uint8_t i = 0; i < RGB_MATRIX_LED_COUNT; ++i) { - if (HAS_ANY_FLAGS(g_led_config.flags[i], LED_FLAG_UNDERGLOW)) { - rgb_matrix_set_color(i, 0, 255, 0); - } - } - } - - //game layer - if (IS_LAYER_ON(GAME)) { - for (uint8_t i = 0; i < RGB_MATRIX_LED_COUNT; ++i) { - if (HAS_ANY_FLAGS(g_led_config.flags[i], LED_FLAG_UNDERGLOW)) { - rgb_matrix_set_color(i, 0, 204, 255); - } - } - } - - //secgame layer - if (IS_LAYER_ON(SECGAME)) { - for (uint8_t i = 0; i < RGB_MATRIX_LED_COUNT; ++i) { - if (HAS_ANY_FLAGS(g_led_config.flags[i], LED_FLAG_UNDERGLOW)) { - rgb_matrix_set_color(i, 255, 0, 0); - } - } - } - - return false; -} - -//tap dance declarations -enum { - TD_MEDIA, TD_SCREEN, -}; - -//tap dance definitions -tap_dance_action_t tap_dance_actions[] = { - [TD_MEDIA] = ACTION_TAP_DANCE_DOUBLE( KC_MPLY , KC_MNXT ), - [TD_SCREEN] = ACTION_TAP_DANCE_DOUBLE( (G(S(KC_S))) , S(C(KC_4)) ), -}; - -#define KC_TD(TD_VARIABLE) TD(TD_VARIABLE) - -//-------------------------------------------------------------------------------------------------------- - -//base - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [BASE] = LAYOUT_planck_mit( - KC_LALT, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LALT, - KC_LSFT, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_LSFT, - KC_LCTL, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LCTL, - G(KC_TAB), KC_TD(TD_SCREEN), KC_ESC, LT(MEDR, KC_TAB), LT(NAVR, KC_SPC), LT(NSSL, KC_ENT), LT(NSL, KC_BSPC), LT(FUNL, KC_DEL), KC_LGUI, KC_TD(TD_MEDIA), CMD_TAB - ), - -//layers - [NAVR] = LAYOUT_planck_mit( - KC_LALT, KC_RST, KC_NO, KC_NO, KC_NO, KC_NO, C(S(KC_Z)), C(A(KC_LEFT)), C(KC_X), C(KC_C), C(A(KC_RGHT)), KC_LALT, - KC_LSFT, G(S(C(KC_F1))), G(S(C(KC_F3))), G(S(C(KC_F4))), G(S(C(KC_F2))), KC_NO, KC_CAPS, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_LSFT, - KC_LCTL, KC_NO, KC_ALGR, KC_NO, G(S(C(KC_F5))), KC_NO, KC_INS, KC_HOME, KC_PGDN, KC_PGUP, KC_END, KC_LCTL, - TG(GAME), KC_NO, KC_NO, KC_NO, KC_NO, KC_ENT, KC_BSPC, KC_DEL, KC_NO, C(G(KC_LEFT)), C(G(KC_RIGHT)) - ), - [MEDR] = LAYOUT_planck_mit( - KC_LALT, KC_RST, KC_NO, KC_NO, KC_NO, KC_NO, KC_TOG, KC_MOD, KC_HUI, KC_SAI, KC_VAI, KC_LALT, - KC_LSFT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_MPRV, KC_VOLD, KC_VOLU, KC_MNXT, KC_LSFT, - KC_LCTL, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_F13, KC_F14, KC_F15, RGB_VAI, KC_LCTL, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_MSTP, KC_MPLY, KC_MUTE, KC_NO, KC_NO, KC_NO - ), - [FUNL] = LAYOUT_planck_mit( - KC_LALT, KC_F12, KC_F7, KC_F8, KC_F9, KC_PSCR, KC_F15, KC_NO, KC_NO, KC_NO, KC_RST, KC_LALT, - KC_LSFT, KC_F11, KC_F4, KC_F5, KC_F6, KC_SCRL, KC_F14, KC_NO, KC_NO, KC_NO, KC_NO, KC_LSFT, - KC_LCTL, KC_F10, KC_F1, KC_F2, KC_F3, KC_PAUS, KC_F13, KC_NO, KC_NO, KC_NO, KC_NO, KC_LCTL, - KC_NO, KC_NO, KC_TAB, KC_APP, KC_SPC, KC_UNDS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO - ), - [NSL] = LAYOUT_planck_mit( - KC_LALT, KC_LPRN, KC_7, KC_8, KC_9, KC_RPRN, KC_LBRC, KC_AMPR, KC_ASTR, KC_LCBR, KC_RBRC, KC_BSPC, - KC_LSFT, KC_COLN, KC_4, KC_5, KC_6, KC_EQL, KC_LCBR, KC_DLR, KC_PERC, KC_CIRC, KC_RCBR, KC_LSFT, - KC_LCTL, KC_GRV, KC_1, KC_2, KC_3, KC_PLUS, KC_TILD, KC_EXLM, KC_COMM, KC_DOT, KC_SLSH, KC_LCTL, - A(S(C(KC_N))), S(C(KC_5)), KC_NO, KC_UNDS, KC_0, KC_MINS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO - ), - [NSSL] = LAYOUT_planck_mit( - KC_LALT, KC_LCBR, KC_AMPR, KC_ASTR, KC_LPRN, KC_RCBR, KC_NO, KC_NO, KC_NO, KC_NO, KC_RST, KC_BSPC, - KC_LSFT, KC_SCLN, KC_DLR, KC_PERC, KC_CIRC, KC_PLUS, KC_NO, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, KC_LSFT, - KC_LCTL, KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_PIPE, KC_NO, KC_WH_L, KC_WH_D, KC_WH_U, KC_WH_R, KC_LCTL, - KC_NO, KC_NO, KC_UNDS, KC_GT, KC_RPRN, KC_NO, KC_BTN1, KC_BTN3, KC_BTN2, KC_NO, KC_NO - ), - [GAME] = 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, TG(GAME), - KC_LALT, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, 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_LCTL, - KC_LCTL, A(KC_TAB), MO(SECGAME), KC_TAB, KC_SPC, LT(SECGAME, KC_ENT), KC_BSPC, KC_DEL, KC_MPRV, KC_MPLY, KC_MNXT - ), - [SECGAME] = LAYOUT_planck_mit( - 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_F11, KC_F12, - KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_NO, KC_NO, KC_NO, KC_P1, KC_P2, KC_P3, KC_P4, KC_P5, - KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_NO, KC_NO, KC_P6, KC_P7, KC_P8, KC_P9, KC_P0 - ) -}; diff --git a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_loud/readme.md b/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_loud/readme.md deleted file mode 100644 index 97c09be2552..00000000000 --- a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_loud/readme.md +++ /dev/null @@ -1,117 +0,0 @@ -# Signynt's Keymap: 'Sigma-Squared' - -Sigma Squared is an adaptation & modification of the Layout [Miryoku](https://github.com/manna-harbour/qmk_firmware/blob/miryoku/users/manna-harbour_miryoku/miryoku.org#miryoku-) by *manna-harbour* - -*manna-harbour* lays out the general principles of the layout as follows: - -- Use layers instead of reaching. -- Use both hands instead of contortions. -- Use the home positions as much as possible. -- Make full use of the thumbs. -- Avoid unnecessary complication. - - - -Sigma Squared modifies on **Miryoku** in the following ways: - -- Added the Mods to the outer most columns to be easily accessed while typing with the pinkies -- Extended the **NUMBER** layer to include symbols on the right side to allow calcualtion to be typed more easily without haveing to move between layers -- Added a **GAME** layer to be used for gaming that emulates a more standard keyboard that most games expect - - moves *left shift* and *left ctrl* down - - *esc* moved to top left - - gives access to a **SECOND GAME** layer that contains an Fn row as well as number and arrow keys right under your left fingers -- Added Shortcuts to the bottom row to reduce the amount of keycombos needed to use commonly needed features - - Mission Control, Screenshot, Cycling Apps & Windows -- Added LED indicators to display what layer is currently active (only active while RGB is turned on) - - - -### Flashing - -- to directly flash to board: - - `qmk flash -kb kprepublic/bm40hsrgb -km signynt` - -- to only compile: - - `qmk compile -kb kprepublic/bm40hsrgb -km signynt` - - - -# Layout - -## BASE - -Tap the layer keys to use the black legends, hold them to activate the corresponding layer. - -The Shortcut keys can be modified to suit your needs, or change them in your OS to match the keys. - -If you are using MacOS I recommend swapping your *Ctrl* and *Cmd* keys in system preferences - -The Music Control key can be pressed once to pause and be pressed twice in rapid succession to skip to the next song. - -The Screenshot Key takes a screenshot to the clipboard if pressed once, if double tapped it will take a screenshot to be saved to the desktop. - -![img](https://i.imgur.com/vhb1L2f.png) - -## NAVIGATION - -Provides access to all essential navigation keys, comfortably under your home row. Modifiers remain identical to **BASE** layer to be used for navigating lines and words. - -*Game Layer* key takes you to the **GAME** layer. *(duh)* - -Bottom right keys are used to swap between Virtual Desktops. You might need to modify these to fit your OS. - -![img](https://i.imgur.com/daKxxFz.png) - - - -## MEDIA - -Provides access to all basic media keys, emulating the arrow keys on the home row. - -Also gives access to RGB controls. - -![img](https://i.imgur.com/1jWOvvH.png) - -## NUMBER - -Numbers are arranged in a numpad layout beneath home row, with 0 being positioned under the thumb resting position. Layer includes all most commonly needed symbols to reduce amount of layer switching needed to type longer calculations. - -Top right key changed to *Back Space* so corrections can be made without leaving layer. - -![img](https://i.imgur.com/LGJT3so.png) - -## SYMBOL - -Symbols are positioned over respective numbers from the **NUMBER** layer. - -Mouse keys are positioned similarly under the home row corresponding to the arrow keys. - -Also includes *Back Space* key for corrections. - -![img](https://i.imgur.com/ihOcdPj.png) - -## Fn - -Fn keys are arranged in the same layout as the numbers, with *F10* to *F12* added to the left - -![img](https://i.imgur.com/bPpI8KN.png) - -## GAME - -Somewhat emulates a regular layout needed for gaming. Top right key LED will indicate that you are on the **GAME** layer, and can be pressed to exit it. Holding one of the *Second Game* keys will give you access to **SECOND GAME** - -![img](https://i.imgur.com/r9KIWLX.png) - -## SECOND GAME - -Top right key will turn red to indicate you are in the layer - -![img](https://i.imgur.com/BLKHfVB.png) - - - -# Contact - -If you have any issues or questions you can reach me through Reddit at u/Signynt or on the QMK Discord diff --git a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_loud/rules.mk b/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_loud/rules.mk deleted file mode 100644 index 754f3f1f708..00000000000 --- a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_loud/rules.mk +++ /dev/null @@ -1,7 +0,0 @@ -#rules - -MOUSEKEY_ENABLE = yes # Mouse keys -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -EXTRAKEY_ENABLE = yes # Audio control and System control -TAP_DANCE_ENABLE = yes -#RGB_MATRIX_ENABLE = no diff --git a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_quiet/config.h b/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_quiet/config.h deleted file mode 100644 index 70f92bafdee..00000000000 --- a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_quiet/config.h +++ /dev/null @@ -1,86 +0,0 @@ -// qmk flash -kb bm40hsrgb -km signynt_2_quiet - -/* Copyright 2021 Vincenzo Mitchell Barroso - * - * 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_LAYERS -#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF -#define RGBLIGHT_EFFECT_BREATHING -#define RGBLIGHT_EFFECT_RAINBOW_MOOD -#define RGBLIGHT_EFFECT_RAINBOW_SWIRL -#define RGBLIGHT_EFFECT_SNAKE -#define RGBLIGHT_EFFECT_KNIGHT -#define RGBLIGHT_EFFECT_CHRISTMAS -#define RGBLIGHT_EFFECT_STATIC_GRADIENT -#define RGBLIGHT_EFFECT_RGB_TEST -#define RGBLIGHT_EFFECT_ALTERNATING -#define RGBLIGHT_EFFECT_TWINKLE - - -//#define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS -#define RGBLIGHT_LIMIT_VAL 10 - -#ifdef RGB_MATRIX_ENABLE - -#define TAPPING_TERM 200 - -//-------------------------------------------------------------------------------------------------------- - -//disable broken animations -# 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_RAINBOW_MOVING_CHEVRON -//#undef ENABLE_RGB_MATRIX_DUAL_BEACON -# undef ENABLE_RGB_MATRIX_CYCLE_PINWHEEL -# undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL -//#undef ENABLE_RGB_MATRIX_RAINBOW_BEACON -//#undef ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS -//#undef ENABLE_RGB_MATRIX_RAINDROPS -# undef ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS // DO NOT ENABLE -//#undef ENABLE_RGB_MATRIX_TYPING_HEATMAP -//#undef ENABLE_RGB_MATRIX_DIGITAL_RAIN -//#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE -//#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE -//#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 - -# undef RGB_MATRIX_DEFAULT_MODE - -# define RGBLIGHT_HUE_STEP 20 - -#endif diff --git a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_quiet/keymap.c b/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_quiet/keymap.c deleted file mode 100644 index e958071c207..00000000000 --- a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_quiet/keymap.c +++ /dev/null @@ -1,179 +0,0 @@ -// qmk flash -kb bm40hsrgb -km signynt_2_quiet - -/* Copyright 2021 Vincenzo Mitchell Barroso - * - * 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 - -// non-KC_ keycodes -#define KC_RST QK_BOOT -#define KC_TOG RGB_TOG -#define KC_MOD RGB_MOD -#define KC_HUI RGB_HUI -#define KC_SAI RGB_SAI -#define KC_VAI RGB_VAI - -//define layers -enum layers {BASE, MEDR, NAVR, NSSL, NSL, FUNL, GAME, SECGAME}; - -enum custom_keycodes { - CMD_TAB = SAFE_RANGE, -}; - -//cmd tab - -bool is_cmd_tab_active = false; -uint16_t cmd_tab_timer = 0; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case CMD_TAB: - if (record->event.pressed) { - if (!is_cmd_tab_active) { - is_cmd_tab_active = true; - register_code(KC_LCTL); - } - cmd_tab_timer = timer_read(); - register_code(KC_TAB); - } else { - unregister_code(KC_TAB); - } - break; - } - return true; -} - -void matrix_scan_user(void) { - if (is_cmd_tab_active) { - if (timer_elapsed(cmd_tab_timer) > 500) { - unregister_code(KC_LCTL); - is_cmd_tab_active = false; - } - } -} - -//layer led colors - -bool rgb_matrix_indicators_user(void) { - - for (uint8_t i = 0; i < RGB_MATRIX_LED_COUNT; ++i) { - if (HAS_ANY_FLAGS(g_led_config.flags[i], LED_FLAG_MODIFIER)) { - rgb_matrix_set_color(i, 0, 0, 0); - } - if (HAS_ANY_FLAGS(g_led_config.flags[i], LED_FLAG_KEYLIGHT)) { - rgb_matrix_set_color(i, 0, 0, 0); - } - } - - //capslock - if (host_keyboard_led_state().caps_lock) { - for (uint8_t i = 0; i < RGB_MATRIX_LED_COUNT; ++i) { - if (HAS_ANY_FLAGS(g_led_config.flags[i], LED_FLAG_UNDERGLOW)) { - rgb_matrix_set_color(i, 255, 255, 255); - } - } - } - - //game layer - if (IS_LAYER_ON(GAME)) { - for (uint8_t i = 0; i < RGB_MATRIX_LED_COUNT; ++i) { - if (HAS_ANY_FLAGS(g_led_config.flags[i], LED_FLAG_UNDERGLOW)) { - rgb_matrix_set_color(i, 0, 204, 255); - } - } - } - - //secgame layer - if (IS_LAYER_ON(SECGAME)) { - for (uint8_t i = 0; i < RGB_MATRIX_LED_COUNT; ++i) { - if (HAS_ANY_FLAGS(g_led_config.flags[i], LED_FLAG_UNDERGLOW)) { - rgb_matrix_set_color(i, 255, 0, 0); - } - } - } - - return false; -} - -//tap dance declarations -enum { - TD_MEDIA, TD_SCREEN, -}; - -//tap dance definitions -tap_dance_action_t tap_dance_actions[] = { - [TD_MEDIA] = ACTION_TAP_DANCE_DOUBLE( KC_MPLY , KC_MNXT ), - [TD_SCREEN] = ACTION_TAP_DANCE_DOUBLE( (G(S(KC_S))) , S(C(KC_4)) ), -}; - -#define KC_TD(TD_VARIABLE) TD(TD_VARIABLE) - -//-------------------------------------------------------------------------------------------------------- - -//base - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [BASE] = LAYOUT_planck_mit( - KC_LALT, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LALT, - KC_LSFT, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_LSFT, - KC_LCTL, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LCTL, - G(KC_TAB), KC_TD(TD_SCREEN), KC_ESC, LT(MEDR, KC_TAB), LT(NAVR, KC_SPC), LT(NSSL, KC_ENT), LT(NSL, KC_BSPC), LT(FUNL, KC_DEL), KC_LGUI, KC_TD(TD_MEDIA), CMD_TAB - ), - -//layers - [NAVR] = LAYOUT_planck_mit( - KC_LALT, KC_RST, KC_NO, KC_NO, KC_NO, KC_NO, C(S(KC_Z)), C(A(KC_LEFT)), C(KC_X), C(KC_C), C(A(KC_RGHT)), KC_LALT, - KC_LSFT, G(S(C(KC_F1))), G(S(C(KC_F3))), G(S(C(KC_F4))), G(S(C(KC_F2))), KC_NO, KC_CAPS, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_LSFT, - KC_LCTL, KC_NO, KC_ALGR, KC_NO, G(S(C(KC_F5))), KC_NO, KC_INS, KC_HOME, KC_PGDN, KC_PGUP, KC_END, KC_LCTL, - TG(GAME), KC_NO, KC_NO, KC_NO, KC_NO, KC_ENT, KC_BSPC, KC_DEL, KC_NO, C(G(KC_LEFT)), C(G(KC_RIGHT)) - ), - [MEDR] = LAYOUT_planck_mit( - KC_LALT, KC_RST, KC_NO, KC_NO, KC_NO, KC_NO, KC_TOG, KC_MOD, KC_HUI, KC_SAI, KC_VAI, KC_LALT, - KC_LSFT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_MPRV, KC_VOLD, KC_VOLU, KC_MNXT, KC_LSFT, - KC_LCTL, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_F13, KC_F14, KC_F15, RGB_VAI, KC_LCTL, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_MSTP, KC_MPLY, KC_MUTE, KC_NO, KC_NO, KC_NO - ), - [FUNL] = LAYOUT_planck_mit( - KC_LALT, KC_F12, KC_F7, KC_F8, KC_F9, KC_PSCR, KC_F15, KC_NO, KC_NO, KC_NO, KC_RST, KC_LALT, - KC_LSFT, KC_F11, KC_F4, KC_F5, KC_F6, KC_SCRL, KC_F14, KC_NO, KC_NO, KC_NO, KC_NO, KC_LSFT, - KC_LCTL, KC_F10, KC_F1, KC_F2, KC_F3, KC_PAUS, KC_F13, KC_NO, KC_NO, KC_NO, KC_NO, KC_LCTL, - KC_NO, KC_NO, KC_TAB, KC_APP, KC_SPC, KC_UNDS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO - ), - [NSL] = LAYOUT_planck_mit( - KC_LALT, KC_LPRN, KC_7, KC_8, KC_9, KC_RPRN, KC_LBRC, KC_AMPR, KC_ASTR, KC_LCBR, KC_RBRC, KC_BSPC, - KC_LSFT, KC_COLN, KC_4, KC_5, KC_6, KC_EQL, KC_LCBR, KC_DLR, KC_PERC, KC_CIRC, KC_RCBR, KC_LSFT, - KC_LCTL, KC_GRV, KC_1, KC_2, KC_3, KC_PLUS, KC_TILD, KC_EXLM, KC_COMM, KC_DOT, KC_SLSH, KC_LCTL, - A(S(C(KC_N))), S(C(KC_5)), KC_NO, KC_UNDS, KC_0, KC_MINS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO - ), - [NSSL] = LAYOUT_planck_mit( - KC_LALT, KC_LCBR, KC_AMPR, KC_ASTR, KC_LPRN, KC_RCBR, KC_NO, KC_NO, KC_NO, KC_NO, KC_RST, KC_BSPC, - KC_LSFT, KC_SCLN, KC_DLR, KC_PERC, KC_CIRC, KC_PLUS, KC_NO, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, KC_LSFT, - KC_LCTL, KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_PIPE, KC_NO, KC_WH_L, KC_WH_D, KC_WH_U, KC_WH_R, KC_LCTL, - KC_NO, KC_NO, KC_UNDS, KC_GT, KC_RPRN, KC_NO, KC_BTN1, KC_BTN3, KC_BTN2, KC_NO, KC_NO - ), - [GAME] = 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, TG(GAME), - KC_LALT, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, 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_LCTL, - KC_LCTL, A(KC_TAB), MO(SECGAME), KC_TAB, KC_SPC, LT(SECGAME, KC_ENT), KC_BSPC, KC_DEL, KC_MPRV, KC_MPLY, KC_MNXT - ), - [SECGAME] = LAYOUT_planck_mit( - 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_F11, KC_F12, - KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_NO, KC_NO, KC_NO, KC_P1, KC_P2, KC_P3, KC_P4, KC_P5, - KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_NO, KC_NO, KC_P6, KC_P7, KC_P8, KC_P9, KC_P0 - ) -}; diff --git a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_quiet/readme.md b/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_quiet/readme.md deleted file mode 100644 index 97c09be2552..00000000000 --- a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_quiet/readme.md +++ /dev/null @@ -1,117 +0,0 @@ -# Signynt's Keymap: 'Sigma-Squared' - -Sigma Squared is an adaptation & modification of the Layout [Miryoku](https://github.com/manna-harbour/qmk_firmware/blob/miryoku/users/manna-harbour_miryoku/miryoku.org#miryoku-) by *manna-harbour* - -*manna-harbour* lays out the general principles of the layout as follows: - -- Use layers instead of reaching. -- Use both hands instead of contortions. -- Use the home positions as much as possible. -- Make full use of the thumbs. -- Avoid unnecessary complication. - - - -Sigma Squared modifies on **Miryoku** in the following ways: - -- Added the Mods to the outer most columns to be easily accessed while typing with the pinkies -- Extended the **NUMBER** layer to include symbols on the right side to allow calcualtion to be typed more easily without haveing to move between layers -- Added a **GAME** layer to be used for gaming that emulates a more standard keyboard that most games expect - - moves *left shift* and *left ctrl* down - - *esc* moved to top left - - gives access to a **SECOND GAME** layer that contains an Fn row as well as number and arrow keys right under your left fingers -- Added Shortcuts to the bottom row to reduce the amount of keycombos needed to use commonly needed features - - Mission Control, Screenshot, Cycling Apps & Windows -- Added LED indicators to display what layer is currently active (only active while RGB is turned on) - - - -### Flashing - -- to directly flash to board: - - `qmk flash -kb kprepublic/bm40hsrgb -km signynt` - -- to only compile: - - `qmk compile -kb kprepublic/bm40hsrgb -km signynt` - - - -# Layout - -## BASE - -Tap the layer keys to use the black legends, hold them to activate the corresponding layer. - -The Shortcut keys can be modified to suit your needs, or change them in your OS to match the keys. - -If you are using MacOS I recommend swapping your *Ctrl* and *Cmd* keys in system preferences - -The Music Control key can be pressed once to pause and be pressed twice in rapid succession to skip to the next song. - -The Screenshot Key takes a screenshot to the clipboard if pressed once, if double tapped it will take a screenshot to be saved to the desktop. - -![img](https://i.imgur.com/vhb1L2f.png) - -## NAVIGATION - -Provides access to all essential navigation keys, comfortably under your home row. Modifiers remain identical to **BASE** layer to be used for navigating lines and words. - -*Game Layer* key takes you to the **GAME** layer. *(duh)* - -Bottom right keys are used to swap between Virtual Desktops. You might need to modify these to fit your OS. - -![img](https://i.imgur.com/daKxxFz.png) - - - -## MEDIA - -Provides access to all basic media keys, emulating the arrow keys on the home row. - -Also gives access to RGB controls. - -![img](https://i.imgur.com/1jWOvvH.png) - -## NUMBER - -Numbers are arranged in a numpad layout beneath home row, with 0 being positioned under the thumb resting position. Layer includes all most commonly needed symbols to reduce amount of layer switching needed to type longer calculations. - -Top right key changed to *Back Space* so corrections can be made without leaving layer. - -![img](https://i.imgur.com/LGJT3so.png) - -## SYMBOL - -Symbols are positioned over respective numbers from the **NUMBER** layer. - -Mouse keys are positioned similarly under the home row corresponding to the arrow keys. - -Also includes *Back Space* key for corrections. - -![img](https://i.imgur.com/ihOcdPj.png) - -## Fn - -Fn keys are arranged in the same layout as the numbers, with *F10* to *F12* added to the left - -![img](https://i.imgur.com/bPpI8KN.png) - -## GAME - -Somewhat emulates a regular layout needed for gaming. Top right key LED will indicate that you are on the **GAME** layer, and can be pressed to exit it. Holding one of the *Second Game* keys will give you access to **SECOND GAME** - -![img](https://i.imgur.com/r9KIWLX.png) - -## SECOND GAME - -Top right key will turn red to indicate you are in the layer - -![img](https://i.imgur.com/BLKHfVB.png) - - - -# Contact - -If you have any issues or questions you can reach me through Reddit at u/Signynt or on the QMK Discord diff --git a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_quiet/rules.mk b/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_quiet/rules.mk deleted file mode 100644 index 754f3f1f708..00000000000 --- a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/signynt_2_quiet/rules.mk +++ /dev/null @@ -1,7 +0,0 @@ -#rules - -MOUSEKEY_ENABLE = yes # Mouse keys -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -EXTRAKEY_ENABLE = yes # Audio control and System control -TAP_DANCE_ENABLE = yes -#RGB_MATRIX_ENABLE = no diff --git a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/wolff_abnt2/keymap.c b/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/wolff_abnt2/keymap.c deleted file mode 100755 index 1583392a483..00000000000 --- a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/wolff_abnt2/keymap.c +++ /dev/null @@ -1,216 +0,0 @@ -/* Copyright 2020 lmlask - * - * 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 - -enum layers { - _WORKMAN, - _QWERTY, - _DVORAK, - _COLEMAK, - _MIDI, - _GAME, - - _SYM, - _FUNCTION, - _NAV, - _NUM, - _ADJUST, - _MOUSE, - - _CPY, - _SWP -}; - -enum planck_keycodes { - WORKMAN = QK_USER, - QWERTY, - DVORAK, - COLEMAK, - MIDI, - GAME, - TOG_CPY, - TOG_SWP, -}; - -#define NAVTAB LT(_NAV, KC_TAB) -#define SYM LT(_SYM, KC_BSPC) -#define NUM LT(_NUM, KC_DEL) -#define FUN MO(_FUNCTION) -#define CTL_ENT RCTL_T(KC_ENT) - -//Hand swap config, similar to Planck -const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = { - {{11, 0}, {10, 0}, {9, 0}, {8, 0}, {7, 0}, {6, 0}, {5, 0}, {4, 0}, {3, 0}, {2, 0}, {1, 0}, {0, 0} }, - {{11, 1}, {10, 1}, {9, 1}, {8, 1}, {7, 1}, {6, 1}, {5, 1}, {4, 1}, {3, 1}, {2, 1}, {1, 1}, {0, 1} }, - {{11, 2}, {10, 2}, {9, 2}, {8, 2}, {7, 2}, {6, 2}, {5, 2}, {4, 2}, {3, 2}, {2, 2}, {1, 2}, {0, 2} }, - {{0, 3}, {1, 3}, {2, 3}, {3, 3}, {4, 3}, {5, 3}, {6, 3}, {7, 3}, {8, 3}, {9, 3}, {10, 3}}, -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -//BASE LAYERS -[_QWERTY] = 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, BR_ACUT, - NAVTAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, BR_CCED, BR_TILD, - SC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, BR_SLSH, SC_RSPC, - KC_LCTL, KC_LGUI, KC_LALT, KC_MEH, NUM, KC_SPC, SYM, FUN, KC_RALT, KC_HYPR, CTL_ENT -), -[_WORKMAN] = LAYOUT_planck_mit( - KC_ESC, KC_Q, KC_D, KC_R, KC_W, KC_B, KC_J, KC_F, KC_U, KC_P, BR_CCED, BR_ACUT, - NAVTAB, KC_A, KC_S, KC_H, KC_T, KC_G, KC_Y, KC_N, KC_E, KC_O, KC_I, BR_TILD, - SC_LSPO, KC_Z, KC_X, KC_M, KC_C, KC_V, KC_K, KC_L, KC_COMM, KC_DOT, BR_SLSH, SC_RSPC, - KC_LCTL, KC_LGUI, KC_LALT, KC_MEH, NUM, KC_SPC, SYM, FUN, KC_RALT, KC_HYPR, CTL_ENT -), -[_DVORAK] = LAYOUT_planck_mit( - KC_ESC, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, BR_SLSH, BR_ACUT, - NAVTAB, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, BR_TILD, - SC_LSPO, BR_CCED, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, SC_RSPC, - KC_LCTL, KC_LGUI, KC_LALT, KC_MEH, NUM, KC_SPC, SYM, FUN, KC_RALT, KC_HYPR, CTL_ENT -), -[_COLEMAK] = LAYOUT_planck_mit( - KC_ESC, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, BR_CCED, BR_ACUT, - NAVTAB, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, BR_TILD, - SC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, BR_SLSH, SC_RSPC, - KC_LCTL, KC_LGUI, KC_LALT, KC_MEH, NUM, KC_SPC, SYM, FUN, KC_RALT, KC_HYPR, CTL_ENT -), - -//UTILITY LAYERS - SHORTCUT (CPY), SWAP HANDS (SWP) -[_CPY] = LAYOUT_planck_mit( - _______, KC_PGUP, KC_HOME, KC_UP, KC_END, _______, _______, _______, _______, _______, _______, _______, - _______, KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, - _______, C(KC_Z), C(KC_X), C(KC_C), C(KC_V), _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -), -[_SWP] = LAYOUT_planck_mit( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, NUM, SH_T(KC_BSPC),_______, _______, _______, _______, _______, _______ -), -//AUX LAYERS (NAV, SYM, NUM, FN) -[_NAV] = LAYOUT_planck_mit( - KC_CAPS, KC_F1, KC_F2, KC_F3, KC_F4, _______, KC_PGUP, KC_HOME, KC_UP, KC_END, C(KC_V), C(KC_Z), - _______, KC_LALT, KC_LGUI, KC_LSFT, KC_LCTL, _______, KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, C(KC_C), C(KC_X), - _______, _______, _______, _______, _______, _______, KC_ENT, KC_BSPC, KC_DEL, KC_VOLD, KC_VOLU, _______, - _______, _______, _______, _______, _______, KC_ENT, _______, _______, KC_MPRV, KC_MPLY, KC_MNXT -), -[_SYM] = LAYOUT_planck_mit( - BR_DQUO, BR_EXLM, BR_AT, BR_HASH, BR_DLR, BR_PERC, BR_DIAE, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, - BR_QUOT, BR_BSLS, BR_SCLN, KC_MINS, BR_QUOT, _______, _______, KC_PLUS, _______, BR_LBRC, BR_RBRC, _______, - _______, BR_PIPE, BR_COLN, KC_UNDS, BR_DQUO, _______, _______, KC_EQL, _______, BR_LCBR, BR_RCBR, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -), -[_NUM] = LAYOUT_planck_mit( - _______, _______, _______, _______, _______, _______, _______, KC_7, KC_8, KC_9, BR_SLSH, BR_MINS, - _______, BR_SLSH, KC_ASTR, KC_MINS, KC_PLUS, _______, _______, KC_4, KC_5, KC_6, BR_ASTR, BR_PLUS, - _______, BR_PERC, KC_EQL, KC_DOT, KC_COMM, _______, _______, KC_1, KC_2, KC_3, BR_COLN, BR_DOT, - _______, _______, _______, _______, _______, _______, KC_0, KC_BSPC, BR_COMM, BR_EQL, KC_ENT -), -[_FUNCTION] = LAYOUT_planck_mit( - _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_SCRL, _______, KC_F13, KC_F14, KC_F15, KC_F16, KC_INS, - _______, KC_F5, KC_F6, KC_F7, KC_F8, KC_NUM, _______, KC_F17, KC_F18, KC_F19, KC_F20, KC_PAUS, - _______, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, _______, KC_F21, KC_F22, KC_F23, KC_F24, KC_APP, - _______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MPLY, KC_MNXT -), -//ADJUST LAYER FOR KEYBOARD CONTROL -[_ADJUST] = LAYOUT_planck_mit( - QK_BOOT, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, RGB_SPI, _______, MIDI, GAME, _______, _______, _______, - KC_CAPS, RGB_RMOD,RGB_HUD, RGB_SAD, RGB_VAD, RGB_SPD, _______, QWERTY, DVORAK, COLEMAK, WORKMAN, _______, - QK_RBT, _______, _______, _______, _______, _______, _______, TOG_CPY, TOG_SWP, _______, _______, _______, - RGB_TOG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -), -//MOUSE LAYER -[_MOUSE] = LAYOUT_planck_mit( - KC_ESC, KC_BTN6, KC_NO, KC_NO, KC_NO, KC_NO, KC_WH_U, KC_WH_L, KC_MS_U, KC_WH_R, KC_BTN6, KC_NO, - _______, KC_BTN4, KC_BTN2, KC_BTN3, KC_BTN1, KC_NO, KC_WH_D, KC_MS_L, KC_MS_D, KC_MS_R, KC_BTN4, KC_NO, - _______, KC_BTN5, KC_ACL2, KC_ACL1, KC_ACL0, KC_NO, KC_BTN7, KC_BTN1, KC_BTN3, KC_BTN2, KC_BTN5, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -), -//MIDI -[_MIDI] = LAYOUT_planck_mit( - MI_Cs, MI_Ds, MI_F, MI_Fs, MI_Gs, MI_As, MI_C, MI_Cs1, MI_Ds1, MI_F1, MI_Fs1, MI_Gs1, - MI_C, MI_D, MI_E, MI_F, MI_G, MI_A, MI_B, MI_C1, MI_D1, MI_E, MI_F1, MI_G1, - MI_BNDU, MI_OCTU, MI_TRSU, MI_VELU, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, MI_MODU,MI_CHNU, MI_TOGG, - MI_BNDD, MI_OCTD, MI_TRSD, MI_VELD, MI_SOFT, MI_SUST, SYM, FUN, MI_MODD,MI_CHND, MI_AOFF -), -//GAME -[_GAME] = LAYOUT_planck_mit( - KC_ESC, JS_0, JS_1, JS_2, JS_3, JS_4, JS_5, JS_6, JS_7, JS_8, JS_9, KC_P, - KC_TAB, JS_10, JS_11, JS_12, JS_13, JS_14, JS_15, JS_16, JS_17, JS_18, JS_19, KC_O, - KC_LSFT, JS_20, JS_21, JS_22, JS_23, JS_24, JS_25, JS_26, JS_27, JS_28, JS_29, KC_L, - KC_LCTL, KC_LGUI, KC_LALT, KC_MEH, NUM, KC_SPC, SYM, FUN, KC_RALT, KC_HYPR, CTL_ENT -), -}; - -//Custom keycodes code for layer switching -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; - case WORKMAN: - if (record->event.pressed) { - set_single_persistent_default_layer(_WORKMAN); - } - return false; - case DVORAK: - if (record->event.pressed) { - set_single_persistent_default_layer(_DVORAK); - } - return false; - case COLEMAK: - if (record->event.pressed) { - set_single_persistent_default_layer(_COLEMAK); - } - return false; - case MIDI: - if (record->event.pressed) { - set_single_persistent_default_layer(_MIDI); - } - return false; - case GAME: - if (record->event.pressed) { - set_single_persistent_default_layer(_GAME); - } - return false; - case TOG_CPY: - if (record->event.pressed) { - layer_invert(_CPY); - } - return false; - case TOG_SWP: - if (record->event.pressed) { - layer_invert(_SWP); - } - return false; - } - return true; -} - -//ADJUST and MOUSE layers activation code -layer_state_t layer_state_set_user(layer_state_t state) { - state = update_tri_layer_state(state, _FUNCTION, _SYM, _ADJUST); - state = update_tri_layer_state(state, _NAV, _NUM, _MOUSE); - return state; -} - - - - diff --git a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/wolff_abnt2/readme.md b/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/wolff_abnt2/readme.md deleted file mode 100755 index 69130dbfec3..00000000000 --- a/keyboards/kprepublic/bm40hsrgb/rev1/keymaps/wolff_abnt2/readme.md +++ /dev/null @@ -1,79 +0,0 @@ -# Brazilian keymap for the BM40RGB keyboard - -![photo](https://user-images.githubusercontent.com/62627597/228396721-b38ea064-6e80-4aff-90ec-01164d0515ae.jpg) - -This keymap deviates somewhat from the generally used conventions of Planck style keyboards. -It's built on the following principles: - -1. Availability of different base layouts. QWERTY, Dvorak, Colemak and Workman are available. They can be chosen with the four right hand home row keys on the ADJUST layer (NAV + NUM keys). The base layout you choose gets stored on the keyboard EEPROM, so it will still be set if you unplug or reset the keyboard. -2. Frequent use of navigation keys such as the arrow keys, home, end, and hotkeys using those keycodes. For that reason, it keeps the navigation keys on a dedicated nav layer, on the home row, under the right hand. The nav layer is activated by the first button of the home row (the usual caps lock position). I find this much better than using dedicated arrow keys on the bottom right of the keyboard, as the very reason I swapped to a 40% is to move my hands less. -3. Accessibility of the ´ ` ^ ~ ç symbols. There are several blank spaces left on the symbols layer, if you need access to other symbols or diacritics. -4. Proper touch typing, and hotkey access, with the Shift key on both sides. I found my hands very much expect Ctrl to be on the edge of the keyboard, and as such I've kept both bottom corner keys as Ctrl. The right Ctrl will act as an Enter key if tapped. -5. Numbers and navigation keys should be slightly more accessible than symbols and function keys. If you use symbols more often, consider swapping the NUM and SYM layer toggle keys. -6. It's easier to remember layers when they make sense conceptually, so no "lower" and "raise" layers. Instead, there are dedicated layers for navigation/utility (NAV), numbers (NUM), symbols (SYM) and function keys (FN). There's also dedicated MIDI layers, a layer for one-hand typing, a mouse-emulating layer, and a layer for one-hand navigation and copy-pasting. -7. Tap hold is a good tool and you should use it if you can. Backspace and Delete are set as tap functions on the two more accessible layer toggle keys. The bottom right Ctrl behaves as Enter when tapped. The Nav layer button is Tab when tapped. -8. Easy-to-access shortcut modifiers. This layout includes a Master key (Shift+Ctrl+Alt) and a Hyper key (Shift+Ctrl+Alt+Super) for configuring system shortcuts. - -It will only work as intended if your system keyboard layout is set to Brazilian ABNT2. It may work with other international layouts, but some keys, including brackets and the ´ ` ~ ^ keys, will get broken. If your system layout is another one, it should be relatively easy to change keymap.c (search and replace each key with the equivalent one from the international keymaps file). - -# Base Layers - -These are selected as the base by a button in the Adjust layer. - -## Normal - -![bm40rgb-wolff-base](https://user-images.githubusercontent.com/62627597/228848191-cb403c12-c090-4aeb-b207-506e5c80c547.png) - -QWERTY, Dvorak, Colemak and Workman are built-in. - -## MIDI - -![bm40rgb-wolff-midi](https://user-images.githubusercontent.com/62627597/228708182-5ba2b9f4-e1f4-4e10-be6e-58ff373f274a.png) - -One and a half octaves piano on the top rows, control signals in the bottom rows. SYM and FUN remain accessible so the ADJ layer can be accessed. - -## Joystick - -![bm40rgb-wolff-game](https://user-images.githubusercontent.com/62627597/228849208-9fb10cf3-0a11-4799-877a-48eafe811078.png) - -Emulates a 32-button joystick for using as a button-box or dedicated game controller. - -# Modifier layers - -These are activated by holding down modifier keys. - -## Navigation Layer (NAV) - -![bm40rgb-wolff-nav](https://user-images.githubusercontent.com/62627597/228853095-6c254027-adfb-4afb-9536-4f00e11ab3cb.png) - -The layer you'll access most often. Navigation keys right on the right-hand homerow, plus a few common utilities. - -## Functions Layer (FUN) - -![bm40rgb-wolff-fun](https://user-images.githubusercontent.com/62627597/228852255-3c12d3c8-733a-4680-888c-35a4162cd3a3.png) - -## Mouse Layer - -![bm40rgb-wolff-mouse](https://user-images.githubusercontent.com/62627597/228853517-08934862-ca70-444d-a6bc-9dec584c6bb5.png) - -Emulates mouse actions so you can perform simple tasks without reaching for the mouse. - -## Adjust Layer (SYM + FUN) - -![bm40rgb-wolff-adj](https://user-images.githubusercontent.com/62627597/228851675-ec61ad2b-95a9-402b-933a-009e9f52fbd3.png) - -# Additional/utility layers - -These are utility overlays toggled by a key in the Adjust layer. - -## Handswap Layer - -![bm40rgb-swap-hands](https://user-images.githubusercontent.com/62627597/228849174-e3bca496-9f5a-49d6-a41e-9b65adbc6c34.png) - -For one-hand typing. The three top rows are mirrorred when SWAP is held down. - -## CPY Layer (One-hand navigation layer) - -![bm40rgb-copy](https://user-images.githubusercontent.com/62627597/228847641-4caa777e-c368-4921-a0a4-10c47afa2537.png) - -For general navigation and quick copy-paste one-handed stuff. I don't like using it, but my job demands it sometimes. diff --git a/keyboards/kprepublic/jj40/keymaps/brdlf/keymap.c b/keyboards/kprepublic/jj40/keymaps/brdlf/keymap.c deleted file mode 100644 index a320a6ab2a2..00000000000 --- a/keyboards/kprepublic/jj40/keymaps/brdlf/keymap.c +++ /dev/null @@ -1,168 +0,0 @@ -/* Copyright 2022 Abigail Fassl - * - * 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 RAISE MO(_RAISE) -#define LOWER MO(_LOWER) -#define FUN MO(_FUNC) -#define MOUSE MO(_MOUSE) - -enum layers { - _QWERTY = 0, - _FUNC, - _LOWER, - _RAISE, - _ADJUST, - _MOUSE, - _NUMPAD -}; - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -/* Qwerty - * ,-----------------------------------------------------------------------------------. - * | Esc* | Q | W | E | R | T | Y | U | I | O | P | Ent | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Tab | A | S | D | F | G | H | J | K | L | ;: | ' | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | Shft | Z | X | C | V | B | N | M | ,< | .> | /? | Shft | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | Alt | GUI | Func |Lower |Space | Bksp |Raise | DEL | Bksl | NUM | Ctrl | - * `-----------------------------------------------------------------------------------' - */ -[_QWERTY] = LAYOUT_ortho_4x12( - LT(_NUMPAD, KC_ESC), KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_ENT , - 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_RSFT , - KC_LCTL, KC_LALT, KC_LGUI, FUN, LOWER, KC_SPC, KC_BSPC, RAISE, KC_DEL, KC_BSLS, TG(_NUMPAD), KC_RCTL -), - -/* Function - * ,-----------------------------------------------------------------------------------. - * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | 1! | 2" | 3£ | 4$ | 5% | 6^ | 7& | 8* | 9( | 0) | ~ |INSERT| - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | Shift| | | _ | - | + | = | \| | [{ | ]} | |Shift | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | ___ | ___ | ___ | ___ | ___ |Space | Bksp |Mouse | DEL | | | | - * `-----------------------------------------------------------------------------------' - */ -[_FUNC] = LAYOUT_ortho_4x12( - 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_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, LSFT(KC_GRV), KC_INSERT , - KC_LSFT, KC_NO, KC_NO, LSFT(KC_MINS), KC_MINS, LSFT(KC_EQL), KC_EQL, KC_BSLS, KC_LBRC, KC_RBRC, KC_NO, KC_RSFT , - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -), - -/* Lower - * ,-----------------------------------------------------------------------------------. - * | 1! | 2@ | 3# | 4$ | 5% | 6^ | 7& | 8* | 9( | 0) | DEL | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | ! | @ | # | $ | % | ^ | & | * | ( | ) |WrdDel|WrdBks| - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | Shift| PSCRN| | | \| | _ | - | + | = | |BL ON | BLSP |Shift | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | |Lower | | | ADJ | | Vol- | Vol+ | Play | - * `-----------------------------------------------------------------------------------' - */ -[_LOWER] = LAYOUT_ortho_4x12( - 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_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, LCTL(KC_DEL), LCTL(KC_BSPC) , - KC_LSFT, KC_PSCR, S(KC_NUHS), KC_BSLS, LSFT(KC_MINS), KC_MINS, LSFT(KC_EQL), KC_EQL, _______, BL_ON, BL_STEP, KC_RSFT , - _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD, KC_VOLU, KC_MPLY -), - -/* Raise - * ,-----------------------------------------------------------------------------------. - * | ` | \| | | [ | ] | | | PGUP | HOME |PGDOWN| |PRNTSC| - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | _ | = | ( | ) | | | HOME | UP | END | |ZOOM +| - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | ~ | - | + | { | } | | |< | LEFT | DOWN |RIGHT | >| |ZOOM -| - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | ADJ | |CtrlBk|Raise |CtrlDl| | | | - * `-----------------------------------------------------------------------------------' - */ -[_RAISE] = LAYOUT_ortho_4x12( - KC_GRV, KC_BSLS, KC_NO, KC_LBRC, KC_RBRC, KC_NO, KC_NO, KC_PGUP, KC_HOME, KC_PGDN, KC_NO, KC_PSCR , - LSFT(KC_BSLS), LSFT(KC_MINS), KC_EQL, LSFT(KC_9), LSFT(KC_0), KC_NO, KC_NO, KC_HOME, KC_UP, KC_END, KC_NO, LCTL(LSFT(KC_EQL)) , - LSFT(KC_GRV), KC_MINS, LSFT(KC_EQL), LSFT(KC_LBRC), LSFT(KC_RBRC), KC_NO, LCTL(KC_LEFT), KC_LEFT, KC_DOWN, KC_RIGHT, LCTL(KC_RIGHT), LCTL(KC_MINS) , - _______, _______, _______, _______, _______, KC_SPC, LCTL(KC_BSPC), _______, LCTL(KC_DEL), _______, _______, _______ -), - -/* Adjust (Lower + Raise) - * ,-----------------------------------------------------------------------------------. - * | Reset| | | BLON| BLOFF| | | | | | | Del | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | CAPS | RGB | MODE | VAD | VAI | | | Vol- | Vol+ | Play | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | HUD | HUI | SAD | SAI | | | Prev | Next | Mute | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | | | | | - * `-----------------------------------------------------------------------------------' - */ -[_ADJUST] = LAYOUT_ortho_4x12( - QK_BOOT, KC_NO, KC_NO, BL_ON, BL_OFF, KC_NO, KC_NO, _______, _______, _______, _______, KC_DEL , - KC_CAPS, RGB_TOG, RGB_MOD, RGB_VAD, RGB_VAI, KC_NO, KC_NO, KC_AUDIO_VOL_DOWN, KC_AUDIO_VOL_UP, KC_MEDIA_PLAY_PAUSE, _______, _______ , - KC_NO, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, KC_NO, KC_NO, KC_MEDIA_PREV_TRACK, KC_MEDIA_NEXT_TRACK, KC_AUDIO_MUTE, _______, _______ , - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -), - -/* Mouse - * ,-----------------------------------------------------------------------------------. - * | ESC | | | | | | WH_L | WH_UP| BTN3 | WH_D | WH_R | | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | ACC0 | ACC1 | ACC2 | | | | | BTN1 | UP | BTN2 | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | ACC0 | ACC1 | ACC2 | | | | | LEFT | DOWN |RIGHT | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | | | | | | | | | | | | - * `-----------------------------------------------------------------------------------' - */ -[_MOUSE] = LAYOUT_ortho_4x12( - KC_ESC , _______, _______, _______, _______, _______, KC_MS_WH_LEFT, KC_MS_WH_UP, KC_MS_BTN3, KC_MS_WH_DOWN, KC_MS_WH_RIGHT, _______, - KC_MS_ACCEL0, KC_MS_ACCEL1, KC_MS_ACCEL2, _______, _______, _______, _______, KC_MS_BTN1, KC_MS_UP, KC_MS_BTN2, _______, _______, - KC_MS_ACCEL0, KC_MS_ACCEL1, KC_MS_ACCEL2, _______, _______, _______, _______, KC_MS_LEFT, KC_MS_DOWN, KC_MS_RIGHT, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -), - -/* Num Pad - * ,-----------------------------------------------------------------------------------. - * | ESC | | | | | |NMLOCK| 7 | 8 | 9 | / | | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | | | | | | | 4 | 5 | 6 | * | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | | | | | | | 1 | 2 | 3 | + | - | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | | | | | | | 0 | . | , | | | - * `-----------------------------------------------------------------------------------' - */ -[_NUMPAD] = LAYOUT_ortho_4x12( - _______, _______, _______, _______, _______, _______, KC_NUM, KC_7, KC_8, KC_9, KC_KP_SLASH, _______ , - _______, _______, _______, _______, _______, _______, _______, KC_4, KC_5, KC_6, KC_KP_ASTERISK, _______ , - _______, _______, _______, _______, _______, _______, _______, KC_1, KC_2, KC_3, KC_KP_PLUS, KC_KP_MINUS , - _______, _______, _______, _______, _______, _______, _______, KC_0, KC_KP_DOT, KC_COMM, _______, _______ -) - -}; - -layer_state_t layer_state_set_user (layer_state_t state) { - state = update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); - state = update_tri_layer_state(state, _FUNC, _RAISE, _MOUSE); - return state; -} \ No newline at end of file diff --git a/keyboards/kprepublic/jj40/keymaps/brdlf/readme.md b/keyboards/kprepublic/jj40/keymaps/brdlf/readme.md deleted file mode 100644 index a08c0422c2c..00000000000 --- a/keyboards/kprepublic/jj40/keymaps/brdlf/readme.md +++ /dev/null @@ -1,69 +0,0 @@ -# BRDLF custom layout - -> This is my personal configuration for 4x12 ortho keyboard JJ40. - -## Layers - -### Default QWERTY - -| | | | | | | | | | | | | -| :--------: | :-----: | :------: | :------: | :-------: | :----: | :------: | :------: | :----: | :----: | :----: | :-------: | -| Esc
NUM | Q
q | W
w | E
e | R
r | T
t | Y
y | U
u | I
i | O
o | P
p |
Enter | -|
Tab | A
a | S
s | D
d | F
f | G
g | H
h | J
j | K
k | L
l | :
; | "
' | -|
Shift | Z
z | X
x | C
c | V
v | B
b | N
n | M
m | <
, | >
. | ?
/ |
Shift | -|
Ctrl |
Alt |
GUI |
Func |
Lower |
Sp |
Bksp |
Raise|
Del|
\ |
NUM |
Ctrl | - -### Function - -| | | | | | | | | | | | | -| :-------: | :-----: | :-----: | :---------: | :-------: | :-------: | :------: | :-------: | :-----: | :-----: | :------: | :------: | -|
F1 |
F2 |
F3 |
F4 |
F5 |
F6 |
F7 |
F8 |
F9 |
F10 |
F11 |
F12 | -| !
1 | @
2 | #
3 | \$
4 | %
5 | ^
6 | &
7 | \*
8 | (
9 | )
0 |
~ |
INS | -|
Shift | | |
_ |
- |
+ |
= | |
\ | {
[ | }
] | |
Shft | | -|
Ctrl |
Alt |
GUI |
**Fun** |
Lower |
Space |
Bksp |
Raise |
Del | \|
\ |
NUM |
Ctrl | - - -### Lower - -| | | | | | | | | | | | | -| :-------: | :----------: | :----: | :-----: | :-------: | :----: | :----: | :-----: | :----: | :-------: | :--------: | :--------: | -| !
1 | @
2 | #
3 | $
4 | %
5 | ^
6 | &
7 | \*
8 | (
9 | )
0 |
Del |
Bksp | -|
! |
@ |
# |
\$ |
% |
^ |
& |
\* |
( |
) | Wrd
Del | Wrd
Bks | -|
Shift | Prnt
Scrn |
\| | \|
\ |
\_ |
- |
+ |
= | |
BL_ON |
BLSP |
Shift | -| | | | | **Lower** | Space | Bksp | | | Vol- | Vol+ | Play | - -### Raise - -| | | | | | | | | | | | | -| :----: | :-----: | :---: | :---: | :--------: | :-: | :----------: | :-----------: | :---------: | :-------: | :----------: | :----------: | -|
\` | \|
\ | |
[ |
] | | |
PgUp |
Home |
PgDn | | Prnt
Scrn | -|
\| |
\_ |
= |
( |
) | | |
Home |
Up |
End | |
Zoom + | -|
~ |
- |
+ |
{ |
} | | Prev
Word |
Left |
Down |
Right | Next
Word |
Zoom - | -| | | | |
Adjust | | Word
Bksp |
**Raise** | Word
Del | | | | - -### Adjust - -| | | | | | | | | | | | | -| :-------: | :---------: | :---------: | :---------: | :---------: | :----: | :-----: | :--------: | :--: | :--: | :-: | :-: | -| Reset | | | BL_ON | BL_OFF | | | | | | | DEL | -|
Caps | RGB
Togl | RGB
Mode | RGB
Brt- | RGB
Brt+ | | | Vol- | Vol+ | Play | | | -| |
Hue- | RGB
Hue+ | RGB
Sat- | RGB
Sat+ | | | Prev | Next | Mute | | | -| | | | | **Lower** | Space | Bksp | **Raise** | | | | | - -### Mouse - -| | | | | | | | | | | | | -| :-----: | :----: | :----: | :----------: | :---: | :---: | :------------: | :-----------: | :-------------: | :------------: | :-------------: | :-: | -|
ESC | | | | | | Scroll
Left | Scroll
up | Middle
Click | Scroll
Down | Scroll
Right | | -| Speed0 | Speed1 | Speed2 | | | | | Left
Click | Mouse
Up | Right
Click | | | -| Speed0 | Speed1 | Speed2 | | | | | Mouse
Left | Mouse
Down | Mouse
Right | | | -| | | | **Function** | Lower | Space | Bksp | **Raise** | | | | | - -### Numpad - -| | | | | | | | | | | | | -| :-: | :-: | :-: | :-: | :-: | :-: | :-----: | :-: | :-: | :-: | :-: | :-: | -| ESC | | | | | | Numlock | 7 | 8 | 9 | / | | -| | | | | | | | 4 | 5 | 6 | * | | -| | | | | | | | 1 | 2 | 3 | + | - | -| | | | | | | | 0 | . | , | | | \ No newline at end of file diff --git a/keyboards/kprepublic/jj40/keymaps/brdlf/rules.mk b/keyboards/kprepublic/jj40/keymaps/brdlf/rules.mk deleted file mode 100644 index 6c605daecf5..00000000000 --- a/keyboards/kprepublic/jj40/keymaps/brdlf/rules.mk +++ /dev/null @@ -1 +0,0 @@ -MOUSEKEY_ENABLE = yes diff --git a/keyboards/kprepublic/jj40/keymaps/cockpit/keymap.c b/keyboards/kprepublic/jj40/keymaps/cockpit/keymap.c deleted file mode 100644 index 11a76f6d3e6..00000000000 --- a/keyboards/kprepublic/jj40/keymaps/cockpit/keymap.c +++ /dev/null @@ -1,144 +0,0 @@ -#include QMK_KEYBOARD_H - -#define LT_1 RALT(KC_1) -#define LT_2 RALT(KC_2) -#define LT_3 RALT(KC_3) -#define LT_4 RALT(KC_4) -#define LT_5 RALT(KC_5) -#define LT_6 RALT(KC_6) -#define LT_7 RALT(KC_7) -#define LT_8 RALT(KC_8) -#define LT_9 RALT(KC_9) -#define LT_0 RALT(KC_0) -#define LT_EXLM RALT(KC_EXLM) -#define LT_AT RALT(KC_AT) -#define LT_HASH RALT(KC_HASH) -#define LT_DLR RALT(KC_DLR) -#define LT_PERC RALT(KC_PERC) -#define LT_CIRC RALT(KC_CIRC) -#define LT_AMPR RALT(KC_AMPR) -#define LT_ASTR RALT(KC_ASTR) - -// Naming according to Unicode specifications -#define LT_A_OG KC_1 -#define LT_C_CA KC_2 -#define LT_E_OG KC_3 -#define LT_E_DO KC_4 -#define LT_I_OG KC_5 -#define LT_S_CA KC_6 -#define LT_U_OG KC_7 -#define LT_U_MA KC_8 -#define LT_Z_CA KC_EQL - -// Cockpit bindings -#define CP_LOCK LGUI(KC_L) - -enum jj40_layers { - _QWERTY, - _LOWER, - _RAISE, - _FUNC -}; - -enum custom_keycodes { - QWERTY = SAFE_RANGE, - LOWER, - RAISE, - FUNC -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -/* Qwerty - * ,-----------------------------------------------------------------------------------. - * | | Q | W | E | R | T | Y | U | I | O | P | | - * | Esc | q | w | e | r | t | y | u | i | o | p | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | A | S | D | F | G | H | J | K | L | : | " | - * | Tab | a | s | d | f | g | h | j | k | l | ; | ' | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | Z | X | C | V | B | N | M | < | > | ? | | - * |Shift | z | x | c | v | b | n | m | , | . | / |Enter | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | | | | - * | Ctrl | Fn | GUI | Alt |Lower | Space |Raise | Left | Down | Up |Right | - * `-----------------------------------------------------------------------------------' - */ -[_QWERTY] = LAYOUT_planck_mit( - QK_GESC, 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, MO(_FUNC), KC_LGUI, KC_LALT, MO(_LOWER), KC_SPC, MO(_RAISE), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - - /* Lower - * ,-----------------------------------------------------------------------------------. - * | ~ | Ą | Č | Ę | Ė | Į | Š | Ų | Ū | Ž | _ | | - * | ` | ą | č | ę | ė | į | š | ų | ū | ž | - | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | | | | | | | | | | | | - * | Tab | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | | | | | { | } | | | | | | - * |Shift | = | + | - | | | [ | ] | < | > | { | } | Ins | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | |||||||| | | | | | | - * | Ctrl | | | Alt |Lower|| Space | | Home | PgDn | PgUp | End | - * `-----------------------------------------------------------------------------------' - */ -[_LOWER] = LAYOUT_planck_mit( - KC_GRV, LT_A_OG, LT_C_CA, LT_E_OG, LT_E_DO, LT_I_OG, LT_S_CA, LT_U_OG, LT_U_MA, LT_Z_CA, KC_MINS, KC_BSPC, - KC_TAB, LT_EXLM, LT_AT, LT_HASH, LT_DLR, LT_PERC, LT_CIRC, LT_AMPR, LT_ASTR, KC_LPRN, KC_RPRN, KC_DEL , - KC_LSFT, KC_PEQL, KC_PPLS, KC_PMNS, KC_PIPE, KC_LBRC, KC_RBRC, KC_LABK, KC_RABK, KC_LCBR, KC_RCBR, KC_INS , - KC_LCTL, _______, _______, KC_LALT, _______, KC_SPC, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END -), - - /* Raise - * ,-----------------------------------------------------------------------------------. - * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | | - * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | $ | % | ^ | | | | | | | | | | - * | Tab | 4 | 5 | 6 | | | | | | | | \ | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | & | * | ( | ) | | | | < | > | ? | | - * |Shift | 7 | 8 | 9 | 0 | | | | , | . | / |Enter | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | |||||||| | | | | - * | Ctrl | | | Alt | | Space |Raise|| Left | Down | Up |Right | - * `-----------------------------------------------------------------------------------' - */ -[_RAISE] = LAYOUT_planck_mit( - KC_GRV, LT_1, LT_2, LT_3, LT_4, LT_5, LT_6, LT_7, LT_8, LT_9, LT_0, KC_BSPC, - KC_TAB, LT_4, LT_5, LT_6, _______, _______, _______, _______, _______, _______, _______, KC_BSLS, - KC_LSFT, LT_7, LT_8, LT_9, LT_0, _______, _______, _______, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , - KC_LCTL, _______, _______, KC_LALT, _______, KC_SPC, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - - /* Functions - * Note: Terminal uses Calculator shortcut, change your OS keyboard shortcut appropriately. - * ,-----------------------------------------------------------------------------------. - * | | | | | | | | | | | | | - * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | RGB | RGB | RGB | RGB | BL | BL | BL | | Scr | | | - * | Caps | Togl | Hue+ | Sat+ | Brt+ | Togl |Breath| Brt+ | | Brt+ | | Vol+ | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | | RGB | RGB | RGB | WWW | WWW | BL | | Scr | | | - * |Shift | Term | Hue- | Sat- | Brt- | < | > | Brt- | | Brt- |PrScr | Vol- | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | |||||||| RGB | | | | | | | | | - * | Ctrl |||Fn||| Mode | Alt | | Space |MPrev |MStop |MNext |MPlay | Lock | - * `-----------------------------------------------------------------------------------' - */ -[_FUNC] = LAYOUT_planck_mit( - 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_CAPS, RGB_TOG, RGB_HUI, RGB_SAI, RGB_VAI, BL_TOGG, BL_BRTG, BL_UP, _______, KC_BRIU, _______, KC_VOLU, - KC_LSFT, KC_CALC, RGB_HUD, RGB_SAD, RGB_VAD, KC_WBAK, KC_WFWD, BL_DOWN, _______, KC_BRID, KC_PSCR, KC_VOLD, - KC_LCTL, _______, RGB_MOD, KC_LALT, _______, KC_SPC, KC_MPRV, KC_MSTP, KC_MNXT, KC_MPLY, CP_LOCK -) -}; - -// Loop -void matrix_scan_user(void) { - // Empty -}; diff --git a/keyboards/kprepublic/jj40/keymaps/cockpit/readme.md b/keyboards/kprepublic/jj40/keymaps/cockpit/readme.md deleted file mode 100644 index 340c6924ee1..00000000000 --- a/keyboards/kprepublic/jj40/keymaps/cockpit/readme.md +++ /dev/null @@ -1,55 +0,0 @@ -# Cockpit custom layout - -> This configuration is built around Lithuanian keyboard layout, but you can easily modify it to fit your needs - -## Layers - -### Default QWERTY - -| | | | | | | | | | | | | -| :-------: | :----: | :----: | :----: | :----: | :----: | :----: | :----: | :----: | :----: | :----: | :-------: | -|
Esc | Q
q | W
w | E
e | R
r | T
t | Y
y | U
u | I
i | O
o | P
p |
Bksp | -|
Tab | A
a | S
s | D
d | F
f | G
g | H
h | J
j | K
k | L
l | :
; | "
' | -|
Shift | Z
z | X
x | C
c | V
v | B
b | N
n | M
m | <
, | >
. | ?
/ |
Enter | -| Ctrl | Fn | GUI | Alt | Lower | Sp | ace | Raise | Left | Down | Up | Right | - -### Lower - -| | | | | | | | | | | | | -| :-------: | :----: | :----: | :----: | :-------: | :----: | :----: | :----: | :----: | :----: | :-----: | :------: | -| ~
\` | Ą
ą | Č
č | Ę
ę | Ė
ė | Į
į | Š
š | Ų
ų | Ū
ū | Ž
ž | \_
- |
Bksp | -|
Tab |
! |
@ |
# |
\$ |
% |
^ |
& |
\* |
( |
) |
Del | -|
Shift |
= |
+ |
- |
\| | {
[ | }
] |
< |
> |
{ |
} |
Ins | -| Ctrl | | | Alt | **Lower** | Sp | ace | | Home | PgDn | PgUp | End | - -### Raise - -| | | | | | | | | | | | | -| :-------: | :-----: | :-----: | :----: | :-----: | :----: | :----: | :-------: | :-----: | :----: | :----: | :-------: | -| ~
\` | !
1 | @
2 | #
3 | \$
4 | %
5 | ^
6 | &
7 | \*
8 | (
9 | )
0 |
Bksp | -|
Tab | \$
4 | %
5 | ^
6 | | | | | | | | \|
\ | -|
Shift | &
7 | \*
8 | (
9 | )
0 | | | | <
, | >
. | ?
/ |
Enter | -| Ctrl | | | Alt | | Sp | ace | **Raise** | Left | Down | Up | Right | - -### Function - -- Backlight breathing does not work. -- **Term** button is bound to `Calculator`. I have set this button as a shortcut to open a terminal. -- **Lock** is a shortcut for `Alt + L` - -| | | | | | | | | | | | | -| :-------: | :---------: | :---------: | :---------: | :---------: | :--------: | :----------: | :--------: | :----: | :---------: | :-----: | :------: | -|
F1 |
F2 |
F3 |
F4 |
F5 |
F6 |
F7 |
F8 |
F9 |
F10 |
F11 |
F12 | -|
Caps | RGB
Togl | RGB
Hue+ | RGB
Sat+ | RGB
Brt+ | BL
Togl | BL
Breath | BL
Brt+ | | Scr
Brt+ | |
Vol+ | -|
Shift |
Term | RGB
Hue- | RGB
Sat- | RGB
Brt- | WWW
< | WWW
> | BL
Brt- | | Scr
Brt- | PrScr |
Vol- | -| Ctrl | **Fn** | RGB
Mode | Alt | | Sp | ace | MPrev | MStop | MNext | MPlay | Lock | - -## Usage - -```bash -cd qmk_firmware -make kprepublic/jj40:cockpit -bootloadHID .build/kprepublic_jj40_cockpit.hex -``` - -_if you're getting permission errors use sudo_ diff --git a/keyboards/kprepublic/jj40/keymaps/fun40/config.h b/keyboards/kprepublic/jj40/keymaps/fun40/config.h deleted file mode 100644 index f2b5d264e7a..00000000000 --- a/keyboards/kprepublic/jj40/keymaps/fun40/config.h +++ /dev/null @@ -1,8 +0,0 @@ -#ifndef CONFIG_USER_H -#define CONFIG_USER_H - -#include "../../config.h" - -#define FORCE_NKRO - -#endif diff --git a/keyboards/kprepublic/jj40/keymaps/fun40/keymap.c b/keyboards/kprepublic/jj40/keymaps/fun40/keymap.c deleted file mode 100644 index eed6ae5e823..00000000000 --- a/keyboards/kprepublic/jj40/keymaps/fun40/keymap.c +++ /dev/null @@ -1,98 +0,0 @@ -#include QMK_KEYBOARD_H - -#define _QWERTY 0 -#define _LOWER 1 -#define _RAISE 2 -#define _BL 4 // Backlight -// #define _ADJUST 3 -#define TG_NKRO MAGIC_TOGGLE_NKRO - - -enum custom_keycodes { - QWERTY = SAFE_RANGE, - LOWER, - RAISE, -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -/* Qwerty - * ,-----------------------------------------------------------------------------------. - * | Esc | Q | W | E | R | T | Y | U | I | O | P | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Tab | A | S | D | F | G | H | J | K | L | ; | " | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | Shift| Z | X | C | V | B | N | M | , | . | / |Enter | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | Del | Alt | GUI |Lower | Space|Space |Raise | Left | Down | Up |Right | - * `-----------------------------------------------------------------------------------' - */ -[_QWERTY] = LAYOUT_ortho_4x12( - 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_DEL, KC_LALT, KC_LGUI, MO(_LOWER),KC_SPC,KC_SPC, MO(_RAISE), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - -/* Lower - * ,-----------------------------------------------------------------------------------. - * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | ! | @ | # | $ | % | ^ | & | * | ( | ) | | | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Shift|PrScr |ISO ~ |ISO | | | | | | |bl_on |bl_stp| Enter| - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | nkro | Alt | NKRO |Lower | PgDn | PgUp |Raise | Next | Vol- | Vol+ | Play | - * `-----------------------------------------------------------------------------------' - */ -[_LOWER] = LAYOUT_ortho_4x12( - 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_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, _______, - KC_LSFT, KC_PSCR, S(KC_NUHS), S(KC_NUBS), _______, _______, _______, _______, _______, BL_ON, BL_STEP, KC_ENT, - KC_LCTL, MAGIC_TOGGLE_NKRO, KC_LALT, TG_NKRO, _______, KC_PGDN, KC_PGUP, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY -), - -/* Raise - * ,-----------------------------------------------------------------------------------. - * | Caps | + | - | = | ( | ) | | 7 | 8 | 9 | Bksp | Del | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Lock | ~ | _ | | [ | ] | | 4 | 5 | 6 | |Enter | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | Ins | ` | \ | | | { | } | | 1 | 2 | 3 | . | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | | Alt | |Lower | | |Raise | 0 | | Home | End | - * `-----------------------------------------------------------------------------------' - */ -[_RAISE] = LAYOUT_ortho_4x12( - KC_CAPS, KC_MINS, KC_PLUS, KC_EQL, KC_LPRN, KC_RPRN, _______, KC_7, KC_8, KC_9, KC_BSPC, KC_DEL, - QK_LOCK, KC_TILD, KC_UNDS, _______,KC_LBRC, KC_RBRC, _______, KC_4, KC_5, KC_6, _______, _______, - KC_INS, KC_GRV, KC_BSLS, KC_PIPE, KC_LCBR, KC_RCBR, _______, KC_1, KC_2, KC_3, KC_DOT, _______, - KC_LCTL, _______, KC_LALT, _______, _______, _______, _______, _______, KC_0, _______, KC_HOME, KC_END -) - -/* Adjust - G = git - M = mail - * ,-----------------------------------------------------------------------------------. - * | gAdd |gStash| | const| | Clog | | | Mstk | Mrad |Mgmail| | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | gPush| | | if() | | Clog2| | | | |Mcity | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | gPull| | | | | | | | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | |Lower | | |Raise | | | | | - * `-----------------------------------------------------------------------------------' - */ - - -/* Empty - * ,-----------------------------------------------------------------------------------. - * | | | | | | | | | | | | | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | | | | | | | | | | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | | | | | | | | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | |Lower | | |Raise | | | | | - * `-----------------------------------------------------------------------------------' - */ -}; diff --git a/keyboards/kprepublic/jj40/keymaps/fun40/readme.md b/keyboards/kprepublic/jj40/keymaps/fun40/readme.md deleted file mode 100644 index f4036fa0e0f..00000000000 --- a/keyboards/kprepublic/jj40/keymaps/fun40/readme.md +++ /dev/null @@ -1,4 +0,0 @@ -# Fun 40%. - -* backlighting on flash - * backlight fails on reboot \ No newline at end of file diff --git a/keyboards/kprepublic/jj40/keymaps/fun40/rules.mk b/keyboards/kprepublic/jj40/keymaps/fun40/rules.mk deleted file mode 100644 index 9018bddfe35..00000000000 --- a/keyboards/kprepublic/jj40/keymaps/fun40/rules.mk +++ /dev/null @@ -1,17 +0,0 @@ - - -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 = yes # Commands for debug and configuration -NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -MIDI_ENABLE = no # MIDI controls -AUDIO_ENABLE = yes # Audio output on port C6 -UNICODE_ENABLE = no # Unicode -BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID - -RGBLIGHT_ENABLE = yes - -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend diff --git a/keyboards/kprepublic/jj40/keymaps/oscillope/config.h b/keyboards/kprepublic/jj40/keymaps/oscillope/config.h deleted file mode 100644 index e812903de9b..00000000000 --- a/keyboards/kprepublic/jj40/keymaps/oscillope/config.h +++ /dev/null @@ -1,8 +0,0 @@ -#ifndef CONFIG_USER_H -#define CONFIG_USER_H - -#include "../../config.h" - -#define TAPPING_TERM 200 - -#endif diff --git a/keyboards/kprepublic/jj40/keymaps/oscillope/keymap.c b/keyboards/kprepublic/jj40/keymaps/oscillope/keymap.c deleted file mode 100644 index aa5a96af784..00000000000 --- a/keyboards/kprepublic/jj40/keymaps/oscillope/keymap.c +++ /dev/null @@ -1,124 +0,0 @@ -/* -Copyright 2017 Luiz Ribeiro - -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 _QWERTY 0 -#define _LOWER 1 -#define _RAISE 2 -#define _NAV 3 - -#define NAV_TAP LT(_NAV, KC_SPC) - -enum custom_keycodes { - QWERTY = SAFE_RANGE, - LOWER, - RAISE, - CC_ARRW, - CC_PRN, - CC_BRC, - CC_CBR, -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -/* Qwerty - * ,-----------------------------------------------------------------------------------. - * | Esc | Q | W | E | R | T | Y | U | I | O | P | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Tab | A | S | D | F | G | H | J | K | L | ; |Enter | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | ` | Z | X | C | V | B | N | M | , | . | / | ' | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | OS | Alt |Lower |Shift |Raise | Space | Left | Down | Up |Right | - * `-----------------------------------------------------------------------------------' - */ -[_QWERTY] = LAYOUT_planck_1x2uR( - 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_ENT, - KC_GRV, 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_LGUI, KC_LALT, TT(_LOWER), KC_LSFT, TT(_RAISE), NAV_TAP, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - -/* Lower - * ,-----------------------------------------------------------------------------------. - * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Ins | | | () | [] | {} | Home | PgDn | PgUp | End | | | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * |QK_BOOT | Back | Fwd | | | | | | Mute | Vol- | Vol+ | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | Lock | | | Prev | Stop | Play | Next | - * `-----------------------------------------------------------------------------------' - */ -[_LOWER] = LAYOUT_planck_1x2uR( - 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, _______, _______, CC_PRN, CC_BRC, CC_CBR, KC_HOME, KC_PGDN, KC_PGUP, KC_END, _______, _______, - QK_BOOT, KC_WBAK, KC_WFWD, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, - _______, _______, _______, _______, QK_LOCK, _______, _______, KC_MPRV, KC_MSTP, KC_MPLY, KC_MNXT -), - -/* Raise - * ,-----------------------------------------------------------------------------------. - * | Caps | & | * | _ | ( | ) | 7 | 8 | 9 | = | Bksp | Del | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Tab | $ | % | ^ | [ | ] | 4 | 5 | 6 | - | + |Enter | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | -> | ! | @ | # | { | } | 1 | 2 | 3 | . | \ | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | OS | Alt | |Shift | | 0 | Home | PgDn | PgUp | End | - * `-----------------------------------------------------------------------------------' - */ -[_RAISE] = LAYOUT_planck_1x2uR( - KC_CAPS, KC_AMPR, KC_ASTR, KC_UNDS, KC_LPRN, KC_RPRN, KC_7, KC_8, KC_9, KC_EQL, KC_BSPC, KC_DEL, - KC_TAB, KC_DLR, KC_PERC, KC_CIRC, KC_LBRC, KC_RBRC, KC_4, KC_5, KC_6, KC_MINS, KC_PLUS, _______, - CC_ARRW, KC_EXLM, KC_AT, KC_HASH, KC_LCBR, KC_RCBR, KC_1, KC_2, KC_3, _______, KC_BSLS, KC_PIPE, - _______, _______, _______, _______, _______, _______, KC_0, KC_HOME, KC_PGDN, KC_PGUP, KC_END -), - -[_NAV] = LAYOUT_planck_1x2uR( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ -) -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - if (record->event.pressed) { - switch(keycode) { - case CC_ARRW: - SEND_STRING("->"); - return false; - case CC_PRN: - SEND_STRING("()"SS_TAP(X_LEFT)); - return false; - case CC_BRC: - SEND_STRING("[]"SS_TAP(X_LEFT)); - return false; - case CC_CBR: - SEND_STRING("{}"SS_TAP(X_LEFT)); - return false; - } - } - return true; -} - - -// Loop -void matrix_scan_user(void) { - // Empty -}; diff --git a/keyboards/kprepublic/jj40/keymaps/oscillope/rules.mk b/keyboards/kprepublic/jj40/keymaps/oscillope/rules.mk deleted file mode 100644 index 8cf85a5d64e..00000000000 --- a/keyboards/kprepublic/jj40/keymaps/oscillope/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -# build options -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no -EXTRAKEY_ENABLE = yes -CONSOLE_ENABLE = no -COMMAND_ENABLE = yes - -BACKLIGHT_ENABLE = no -RGBLIGHT_ENABLE = no - -KEY_LOCK_ENABLE = yes diff --git a/keyboards/kprepublic/jj40/keymaps/suzuken/config.h b/keyboards/kprepublic/jj40/keymaps/suzuken/config.h deleted file mode 100644 index b1d74e1e693..00000000000 --- a/keyboards/kprepublic/jj40/keymaps/suzuken/config.h +++ /dev/null @@ -1,8 +0,0 @@ -#ifndef CONFIG_USER_H -#define CONFIG_USER_H - -#include "../../config.h" - -#define TAPPING_TERM 300 - -#endif diff --git a/keyboards/kprepublic/jj40/keymaps/suzuken/keymap.c b/keyboards/kprepublic/jj40/keymaps/suzuken/keymap.c deleted file mode 100644 index 52dafc38b48..00000000000 --- a/keyboards/kprepublic/jj40/keymaps/suzuken/keymap.c +++ /dev/null @@ -1,99 +0,0 @@ -#include QMK_KEYBOARD_H - -enum jj40_layers { - _QWERTY, - _LOWER, - _RAISE, - _FUNC -}; - -enum custom_keycodes { - QWERTY = SAFE_RANGE, - LOWER, - RAISE, - FUNC -}; - -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 | ;: |Enter | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | Shift| Z | X | C | V | B | N | M | ,< | .> | /? | '" | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Fn | Ctrl | Alt | GUI |Space |Lower |Raise |Space | Left | Down | Up |Right | - * `-----------------------------------------------------------------------------------' - */ -[_QWERTY] = LAYOUT_ortho_4x12( - 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_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT, - MO(_FUNC), KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, MO(_LOWER), MO(_RAISE), KC_SPC, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT -), - -/* Lower - * ,-----------------------------------------------------------------------------------. - * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Bksp | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | Del | F1 | F2 | F3 | F4 | F5 | F6 | _ | + | { | } |Enter | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | F7 | F8 | F9 | F10 | F11 | F12 | | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | Next | Vol- | Vol+ | Play | - * `-----------------------------------------------------------------------------------' - */ -[_LOWER] = LAYOUT_ortho_4x12( - 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_ENT, - _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______, _______, KC_PIPE, - _______, _______, _______, _______, _______, _______, _______, _______, 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 | - | = | [ | ] |Enter | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | F7 | F8 | F9 | F10 | F11 | F12 | | | | | \ | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | Next | Vol- | Vol+ | Play | - * `-----------------------------------------------------------------------------------' - */ -[_RAISE] = LAYOUT_ortho_4x12( - 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_ENT, - _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______, _______, KC_BSLS, - _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY -), - -/* Functions - * Note: Terminal uses Calculator shortcut, change your OS keyboard shortcut appropriately. - * ,-----------------------------------------------------------------------------------. - * | | | | | | | | | | | | | - * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | - * |------+------+------+------+------+-------------+------+------+------+------+------| - * | | RGB | RGB | RGB | RGB | BL | BL | BL | | | | | - * | | Togl | Hue+ | Sat+ | Brt+ | Togl |Breath| Brt+ | | | |VolUp | - * |------+------+------+------+------+------|------+------+------+------+------+------| - * | | | RGB | RGB | RGB | WWW | WWW | BL | | | | | - * | | Term | Hue- | Sat- | Brt- | Back | Fwd | Brt- | | |PrScr |VolDn | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | |||||||| RGB | | | | | | | | | | - * | |||Fn||| Mode | | | | | | | | | | - * `-----------------------------------------------------------------------------------' - */ -[_FUNC] = LAYOUT_ortho_4x12( - 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_HUI, RGB_SAI, RGB_VAI, BL_TOGG, BL_BRTG, BL_UP, _______, _______, _______, KC_VOLU, - _______, KC_CALC, RGB_HUD, RGB_SAD, RGB_VAD, KC_WBAK, KC_WFWD, BL_DOWN, _______, _______, KC_PSCR, KC_VOLD, - _______, _______, RGB_MOD, _______, _______, _______, _______, _______, _______, _______, _______, _______ -) -}; - -// Loop -void matrix_scan_user(void) { - // Empty -}; diff --git a/keyboards/maple_computing/minidox/keymaps/dustypomerleau/README.md b/keyboards/maple_computing/minidox/keymaps/dustypomerleau/README.md deleted file mode 100644 index b2ec771257e..00000000000 --- a/keyboards/maple_computing/minidox/keymaps/dustypomerleau/README.md +++ /dev/null @@ -1,28 +0,0 @@ -## dustypomerleau, Minidox layout - -The rationale behind my layout can be summarized as follows: - -- Symmetry is important because use-cases are hard to predict. Whenever possible, modifiers and layer keys should be available from either hand. -- Inward rolls should be leveraged not just for alphas (Colemak DHm), but also for coding/symbols. -- Number order—like alpha order—should be designed to favor use of the strongest fingers. -- One-shot keys can greatly reduce the strain of typing, and should be leveraged. - -Some aspects of my layout are optimized for macOS (order of modifiers, manner of producing en and em dashes, coding of micro-volume adjustments, etc.), but can be easily tweaked for the OS of your choice. - -Shift can be a tricky modifier when used in `MT()` combinations, particularly for fast typists on split boards using serial. This can be partially mitigated with options in `config.h`, but still requires a relatively strict typing style/accuracy from the fast typist. The tendency is for faster typists to combat mod/tap mistakes by using very short intervals for `TAPPING_TERM`, but this can introduce its own set of complications. Shift is also one of the highest-yield opportunities to use `OSM()`. For these reasons, I pulled Shift onto dedicated keys in the thumbs for use during regular typing (the home row Shifts have been left in place for use during selection and keycuts). - -The tapdance code that I used to create mod/tap keys inside my symbol layer allows up to 2 consecutive symbols within `TAPPING_TERM`. If you think you will need to quickly nest more than that, feel free to add more `case`s. - -### Special thanks - -- Everyone on the QMK Discord, for helping me work out the code for mod/tap keys using shifted symbols. -- Everyone on the Colemak Discord, for their initial feedback on the layout. -- @stevep and @DreymaR, for their work on Colemak DH(m), a truly awesome typing experience (and of course Shai Coleman, for starting it all off!). -- @ckofy, for offering a dramatic improvement on Dvorak's original number order. -- u/That-Canadian, for designing this awesome keyboard. - -### Questions or comments? - -- GitHub @dustypomerleau -- Twitter @duspom -- Discord @dusty#8897 diff --git a/keyboards/maple_computing/minidox/keymaps/dustypomerleau/config.h b/keyboards/maple_computing/minidox/keymaps/dustypomerleau/config.h deleted file mode 100644 index af4401a4a09..00000000000 --- a/keyboards/maple_computing/minidox/keymaps/dustypomerleau/config.h +++ /dev/null @@ -1,23 +0,0 @@ -// dustypomerleau, Minidox config - -#pragma once - -#define EE_HANDS -#define ONESHOT_TIMEOUT 1000 -#define TAPPING_TERM 200 - -// optional configuration: - -// #define CONVERT_TO_PROTON_C -// #define ONESHOT_TAP_TOGGLE 2 // not compatible with QUICK_TAP_TERM 0 -// #define PERMISSIVE_HOLD -// #define QUICK_TAP_TERM 0 // allows rapid mod use after tap event, but sacrifices double-tap to repeat - -// #define MOUSEKEY_DELAY 0 // delay before cursor movement (high feels sluggish, low makes fine movement difficult) -// #define MOUSEKEY_INTERVAL 20 // time between movement reports - low settings feel like high mouse speed -// #define MOUSEKEY_MAX_SPEED 10 -// #define MOUSEKEY_TIME_TO_MAX 60 -// #define MOUSEKEY_WHEEL_DELAY 0 -// #define MOUSEKEY_WHEEL_MAX_SPEED 8 -// #define MOUSEKEY_WHEEL_TIME_TO_MAX 4 - diff --git a/keyboards/maple_computing/minidox/keymaps/dustypomerleau/keymap.c b/keyboards/maple_computing/minidox/keymaps/dustypomerleau/keymap.c deleted file mode 100644 index 672728fe25f..00000000000 --- a/keyboards/maple_computing/minidox/keymaps/dustypomerleau/keymap.c +++ /dev/null @@ -1,434 +0,0 @@ -// Minidox keymap by dustypomerleau -// Thanks for checking out my keymap. The rationale behind the layout is described in the README. - -#include QMK_KEYBOARD_H - -extern keymap_config_t keymap_config; - -enum my_layers { - _CMK_DHM, - _QWERTY, - _SYS, - _NAV, - _NUM_E, - _NUM_N, - _SYM -}; - -enum my_keycodes { - CMK_DHM = SAFE_RANGE, - QWERTY, - SYS, - NAV, - NUM_E, - NUM_N, - SYM -}; - -enum td_keycodes { - ALT_LP, - CTL_RCB, - GUI_RP, - SFT_LCB, - SFT_PLS -}; - -typedef enum { - SINGLE_TAP, - SINGLE_HOLD, - DOUBLE_SINGLE_TAP -} td_state_t; - -static td_state_t td_state; -int cur_dance (tap_dance_state_t *state); -void altlp_finished (tap_dance_state_t *state, void *user_data); -void altlp_reset (tap_dance_state_t *state, void *user_data); -void ctlrcb_finished (tap_dance_state_t *state, void *user_data); -void ctlrcb_reset (tap_dance_state_t *state, void *user_data); -void guirp_finished (tap_dance_state_t *state, void *user_data); -void guirp_reset (tap_dance_state_t *state, void *user_data); -void sftlcb_finished (tap_dance_state_t *state, void *user_data); -void sftlcb_reset (tap_dance_state_t *state, void *user_data); -void sftpls_finished (tap_dance_state_t *state, void *user_data); -void sftpls_reset (tap_dance_state_t *state, void *user_data); - -#define ALT_2 LALT_T(KC_2) -#define ALT_3 LALT_T(KC_3) -#define ALT_8 LALT_T(KC_8) -#define ALT_D LALT_T(KC_D) -#define ALT_E LALT_T(KC_E) -#define ALT_K LALT_T(KC_K) -#define ALT_LB LALT_T(KC_LBRC) -#define ALT_S LALT_T(KC_S) -#define CTRL_2 LCTL_T(KC_2) -#define CTRL_4 LCTL_T(KC_4) -#define CTRL_5 LCTL_T(KC_5) -#define CTRL_9 LCTL_T(KC_9) -#define CTRL_EQ LCTL_T(KC_EQL) -#define CTRL_I LCTL_T(KC_I) -#define CTRL_L LCTL_T(KC_L) -#define CTRL_R LCTL_T(KC_R) -#define CTRL_S LCTL_T(KC_S) -#define GUI_0 LGUI_T(KC_0) -#define GUI_1 LGUI_T(KC_1) -#define GUI_4 LGUI_T(KC_4) -#define GUI_7 LGUI_T(KC_7) -#define GUI_RB LGUI_T(KC_RBRC) -#define GUI_F LGUI_T(KC_F) -#define GUI_J LGUI_T(KC_J) -#define GUI_N LGUI_T(KC_N) -#define GUI_TEA LGUI_T(KC_T) -#define MAC_EM S(LALT(KC_MINS)) -#define MAC_EN LALT(KC_MINS) -#define NAV_BK LT(_NAV, KC_BSPC) -#define NAV_LK TG(_NAV) -#define NUME_SPC LT(_NUM_E, KC_SPC) -#define NUMLK_E TG(_NUM_E) -#define NUMLK_N TG(_NUM_N) -#define NUMN_SPC LT(_NUM_N, KC_SPC) -#define SFT_0 LSFT_T(KC_0) -#define SFT_1 LSFT_T(KC_1) -#define SFT_6 LSFT_T(KC_6) -#define SFT_7 LSFT_T(KC_7) -#define SFT_A LSFT_T(KC_A) -#define SFT_O LSFT_T(KC_O) -#define SFT_OS OSM(MOD_LSFT) -#define SFT_QOT LSFT_T(KC_QUOT) -#define SYM_OS OSL(_SYM) -#define SYS_Z LT(_SYS, KC_Z) -#define VOL_DN S(LALT(KC_VOLD)) -#define VOL_UP S(LALT(KC_VOLU)) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -/* Colemak DHm - * - * ,----------------------------------. ,----------------------------------. - * | Q | W | F | P | B | | J | L | U | Y | ' | - * |------+------+------+------+------| |------+------+------+------+------| - * | SFT/A| CTL/R| ALT/S| GUI/T| G | | M | GUI/N| ALT/E| CTL/I| SFT/O| - * |------+------+------+------+------| |------+------+------+------+------| - * | SYS/Z| X | C | D | V | | K | H | , | . | ; | - * `----------------------------------' `----------------------------------' - * ,--------------------. ,--------------------. - * |SFT/OS|NAV/BK| | | |NUM/SP|SFT/OS| - * `------+------|SYM/OS| |SYM/OS|------+------' - * | | | | - * `------' `------' - */ -[_CMK_DHM] = LAYOUT( - KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_QUOT, - SFT_A, CTRL_R, ALT_S, GUI_TEA, KC_G, KC_M, GUI_N, ALT_E, CTRL_I, SFT_O, - SYS_Z, KC_X, KC_C, KC_D, KC_V, KC_K, KC_H, KC_COMM, KC_DOT, KC_SCLN, - SFT_OS, NAV_BK, SYM_OS, SYM_OS, NUME_SPC, SFT_OS -), - -/* QWERTY - * - * ,----------------------------------. ,----------------------------------. - * | Q | W | E | R | T | | Y | U | I | O | P | - * |------+------+------+------+------| |------+------+------+------+------| - * | SFT/A| CTL/S| ALT/D| GUI/F| G | | H | GUI/J| ALT/K| CTL/L| SFT/'| - * |------+------+------+------+------| |------+------+------+------+------| - * | SYS/Z| X | C | V | B | | N | M | , | . | ; | - * `----------------------------------' `----------------------------------' - * ,--------------------. ,--------------------. - * |SFT/OS|NAV/BK| | | |NUM/SP|SFT/OS| - * `------+------|SYM/OS| |SYM/OS|------+------' - * | | | | - * `------' `------' - */ -[_QWERTY] = LAYOUT( - KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, - SFT_A, CTRL_S, ALT_D, GUI_F, KC_G, KC_H, GUI_J, ALT_K, CTRL_L, SFT_QOT, - SYS_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SCLN, - SFT_OS, NAV_BK, SYM_OS, SYM_OS, NUMN_SPC, SFT_OS -), - -/* System, media, and layer lock keys - * If you use QWERTY + the Vanilla numbers primarily, change NUMLK_E to NUMLK_N here. - * - * ,----------------------------------. ,----------------------------------. - * | Boot |Debug |QWERTY|CMKDHM| | | | VOL--| VOL++|BRITE-|BRITE+| - * |------+------+------+------+------| |------+------+------+------+------| - * | SHIFT| CTRL | ALT | GUI |NAV LK| | POWER| VOL- | VOL+ | MUTE | MPLY | - * |------+------+------+------+------| |------+------+------+------+------| - * | | |AU OFF| AU ON| | | |NUM LK| MRWD | MFFD | | - * `----------------------------------' `----------------------------------' - * ,--------------------. ,------,-------------. - * | | | | | | | | - * `-------------| | | |------+------. - * | | | | - * `------' `------' - */ -[_SYS] = LAYOUT( - QK_BOOT, DB_TOGG, QWERTY, CMK_DHM, _______, _______, KC_VOLD, KC_VOLU, KC_BRID, KC_BRIU, - KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, NAV_LK, KC_PWR, VOL_DN, VOL_UP, KC_MUTE, KC_MPLY, - _______, _______, AU_OFF, AU_ON, _______, _______, NUMLK_E, KC_MRWD, KC_MFFD, _______, - _______, _______, _______, _______, _______, _______ -), - -/* Navigation + mouse keys - * - * ,----------------------------------. ,----------------------------------. - * | PSCR | | WH U | WH D | | | BSPC | PGDN | PGUP | HOME | END | - * |------+------+------+------+------| |------+------+------+------+------| - * | SHIFT| CTRL | ALT | GUI |NAV LK| | CAPS | LEFT | DOWN | UP | RIGHT| - * |------+------+------+------+------| |------+------+------+------+------| - * | | ACL0 | ACL1 | ACL2 | BTN2 | | BTN1 | MS L | MS D | MS U | MS R | - * `----------------------------------' `----------------------------------' - * ,--------------------. ,--------------------. - * | | | | | | ENTER| | - * `------+------| ESC | | DEL |------+------' - * | | | | - * `------' `------' - */ -[_NAV] = LAYOUT( - KC_PSCR, _______, KC_WH_U, KC_WH_D, _______, KC_BSPC, KC_PGDN, KC_PGUP, KC_HOME, KC_END, - KC_LSFT, KC_LCTL, KC_LALT, KC_LGUI, NAV_LK, KC_CAPS, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, - _______, KC_ACL0, KC_ACL1, KC_ACL2, KC_BTN2, KC_BTN1, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, - _______, _______, KC_ESC, KC_DEL, KC_ENT, _______ -), - -/* Number + function keys (ergonomic number order - default pairing with Colemak) - * - * ,----------------------------------. ,----------------------------------. - * | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | - * |------+------+------+------+------| |------+------+------+------+------| - * | SFT/7| CTL/5| ALT/3| GUI/1| 9 | | 8 | GUI/0| ALT/2| CTL/4| SFT/6| - * |------+------+------+------+------| |------+------+------+------+------| - * | F11 | F12 | - | SPACE| BSPC | | DEL |NUM LK| | | / | - * `----------------------------------' `----------------------------------' - * ,--------------------. ,--------------------. - * | | TAB | | | | | | - * `------+------| ESC | | |------+------' - * | | | | - * `------' `------' - */ -[_NUM_E] = LAYOUT( - KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, - SFT_7, CTRL_5, ALT_3, GUI_1, KC_9, KC_8, GUI_0, ALT_2, CTRL_4, SFT_6, - KC_F11, KC_F12, KC_MINS, KC_SPC, KC_BSPC, KC_DEL, NUMLK_E, _______, _______, KC_SLSH, - _______, KC_TAB, KC_ESC, _______, _______, _______ -), - -/* Number + function keys (numeric number order - default pairing with QWERTY) - * - * ,----------------------------------. ,----------------------------------. - * | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | - * |------+------+------+------+------| |------+------+------+------+------| - * | SFT/1| CTL/2| ALT/3| GUI/4| 5 | | 6 | GUI/7| ALT/8| CTL/9| SFT/0| - * |------+------+------+------+------| |------+------+------+------+------| - * | F11 | F12 | - | SPACE| BSPC | | DEL |NUM LK| | | / | - * `----------------------------------' `----------------------------------' - * ,--------------------. ,--------------------. - * | | TAB | | | | | | - * `------+------| ESC | | |------+------' - * | | | | - * `------' `------' - */ -[_NUM_N] = LAYOUT( - KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, - SFT_1, CTRL_2, ALT_3, GUI_4, KC_5, KC_6, GUI_7, ALT_8, CTRL_9, SFT_0, - KC_F11, KC_F12, KC_MINS, KC_SPC, KC_BSPC, KC_DEL, NUMLK_N, _______, _______, KC_SLSH, - _______, KC_TAB, KC_ESC, _______, _______, _______ -), - - -/* Symbols - * - * ,----------------------------------. ,----------------------------------. - * | ! | @ | # | $ | % | | ^ | & | * | ? | ' | - * |------+------+------+------+------| |------+------+------+------+------| - * | SFT/+| CTL/=| ALT/(| GUI/)| " | | : | GUI/]| ALT/[| CTL/}| SFT/{| - * |------+------+------+------+------| |------+------+------+------+------| - * | < | | | - | > | \ | | ` | _ | / | ~ | ; | - * `----------------------------------' `----------------------------------' - * ,--------------------. ,--------------------. - * | |ENDASH| | | |EMDASH| | - * `------+------| | | |------+------' - * | | | | - * `------' `------' - */ -[_SYM] = LAYOUT( - KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_QUES, KC_QUOT, - TD(SFT_PLS), CTRL_EQ, TD(ALT_LP), TD(GUI_RP), KC_DQT, KC_COLN, GUI_RB, ALT_LB, TD(CTL_RCB), TD(SFT_LCB), - KC_LT, KC_PIPE, KC_MINS, KC_GT, KC_BSLS, KC_GRV, KC_UNDS, KC_SLSH, KC_TILD, KC_SCLN, - _______, MAC_EN, _______, _______, MAC_EM, _______ -) - -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case CMK_DHM: - if (record->event.pressed) { - set_single_persistent_default_layer(_CMK_DHM); - } - return false; - case QWERTY: - if (record->event.pressed) { - set_single_persistent_default_layer(_QWERTY); - } - return false; - default: - return true; - } -}; - -int cur_dance (tap_dance_state_t *state) { - if (state->count == 1) { - if (state->interrupted || !state->pressed) return SINGLE_TAP; - else return SINGLE_HOLD; - } - if (state->count == 2) return DOUBLE_SINGLE_TAP; - else return 3; -} - -void altlp_finished (tap_dance_state_t *state, void *user_data) { - td_state = cur_dance(state); - switch (td_state) { - case SINGLE_TAP: - register_code16(KC_LPRN); - break; - case SINGLE_HOLD: - register_mods(MOD_BIT(KC_LALT)); - break; - case DOUBLE_SINGLE_TAP: - tap_code16(KC_LPRN); - register_code16(KC_LPRN); - } -} - -void altlp_reset (tap_dance_state_t *state, void *user_data) { - switch (td_state) { - case SINGLE_TAP: - unregister_code16(KC_LPRN); - break; - case SINGLE_HOLD: - unregister_mods(MOD_BIT(KC_LALT)); - break; - case DOUBLE_SINGLE_TAP: - unregister_code16(KC_LPRN); - } -} - -void ctlrcb_finished (tap_dance_state_t *state, void *user_data) { - td_state = cur_dance(state); - switch (td_state) { - case SINGLE_TAP: - register_code16(KC_RCBR); - break; - case SINGLE_HOLD: - register_mods(MOD_BIT(KC_LCTL)); - break; - case DOUBLE_SINGLE_TAP: - tap_code16(KC_RCBR); - register_code16(KC_RCBR); - } -} - -void ctlrcb_reset (tap_dance_state_t *state, void *user_data) { - switch (td_state) { - case SINGLE_TAP: - unregister_code16(KC_RCBR); - break; - case SINGLE_HOLD: - unregister_mods(MOD_BIT(KC_LCTL)); - break; - case DOUBLE_SINGLE_TAP: - unregister_code16(KC_RCBR); - } -} - -void guirp_finished (tap_dance_state_t *state, void *user_data) { - td_state = cur_dance(state); - switch (td_state) { - case SINGLE_TAP: - register_code16(KC_RPRN); - break; - case SINGLE_HOLD: - register_mods(MOD_BIT(KC_LGUI)); - break; - case DOUBLE_SINGLE_TAP: - tap_code16(KC_RPRN); - register_code16(KC_RPRN); - } -} - -void guirp_reset (tap_dance_state_t *state, void *user_data) { - switch (td_state) { - case SINGLE_TAP: - unregister_code16(KC_RPRN); - break; - case SINGLE_HOLD: - unregister_mods(MOD_BIT(KC_LGUI)); - break; - case DOUBLE_SINGLE_TAP: - unregister_code16(KC_RPRN); - } -} - -void sftlcb_finished (tap_dance_state_t *state, void *user_data) { - td_state = cur_dance(state); - switch (td_state) { - case SINGLE_TAP: - register_code16(KC_LCBR); - break; - case SINGLE_HOLD: - register_mods(MOD_BIT(KC_LSFT)); - break; - case DOUBLE_SINGLE_TAP: - tap_code16(KC_LCBR); - register_code16(KC_LCBR); - } -} - -void sftlcb_reset (tap_dance_state_t *state, void *user_data) { - switch (td_state) { - case SINGLE_TAP: - unregister_code16(KC_LCBR); - break; - case SINGLE_HOLD: - unregister_mods(MOD_BIT(KC_LSFT)); - break; - case DOUBLE_SINGLE_TAP: - unregister_code16(KC_LCBR); - } -} - -void sftpls_finished (tap_dance_state_t *state, void *user_data) { - td_state = cur_dance(state); - switch (td_state) { - case SINGLE_TAP: - register_code16(KC_PLUS); - break; - case SINGLE_HOLD: - register_mods(MOD_BIT(KC_LSFT)); - break; - case DOUBLE_SINGLE_TAP: - tap_code16(KC_PLUS); - register_code16(KC_PLUS); - } -} - -void sftpls_reset (tap_dance_state_t *state, void *user_data) { - switch (td_state) { - case SINGLE_TAP: - unregister_code16(KC_PLUS); - break; - case SINGLE_HOLD: - unregister_mods(MOD_BIT(KC_LSFT)); - break; - case DOUBLE_SINGLE_TAP: - unregister_code16(KC_PLUS); - } -} - -tap_dance_action_t tap_dance_actions[] = { - [ALT_LP] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, altlp_finished, altlp_reset), - [CTL_RCB] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, ctlrcb_finished, ctlrcb_reset), - [GUI_RP] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, guirp_finished, guirp_reset), - [SFT_LCB] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, sftlcb_finished, sftlcb_reset), - [SFT_PLS] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, sftpls_finished, sftpls_reset) -}; diff --git a/keyboards/maple_computing/minidox/keymaps/dustypomerleau/rules.mk b/keyboards/maple_computing/minidox/keymaps/dustypomerleau/rules.mk deleted file mode 100644 index 2a74d95536b..00000000000 --- a/keyboards/maple_computing/minidox/keymaps/dustypomerleau/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -# dustypomerleau, Minidox rules - -EXTRAKEY_ENABLE = yes -MOUSEKEY_ENABLE = yes -TAP_DANCE_ENABLE = yes diff --git a/keyboards/maple_computing/minidox/keymaps/haegin/keymap.c b/keyboards/maple_computing/minidox/keymaps/haegin/keymap.c deleted file mode 100644 index 324f76da94a..00000000000 --- a/keyboards/maple_computing/minidox/keymaps/haegin/keymap.c +++ /dev/null @@ -1,86 +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 LETTERS 0 -#define SYMBOLS 1 -#define MEDIA 2 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -/* Qwerty - * - * ,----------------------------------. ,----------------------------------. - * | Q | W | E | R | T | | Y | U | I | O | P | - * |------+------+------+------+------| |------+------+------+------+------| - * | A | S | D | F | G | | H | J | K | L | ; | - * |------+------+------+------+------| |------+------+------+------+------| - * | Z | X | C | V | B | | N | M | , | . | / | - * `----------------------------------' `----------------------------------' - * ,--------------------. ,------,-------------. - * | Ctrl | LOWER| | | | RAISE| Shift| - * `-------------| Space| |BckSpc|------+------. - * | | | | - * `------' `------' - */ -[LETTERS] = LAYOUT( - KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, - KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, - KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, - CTL_T(KC_ESC), SFT_T(KC_BSPC), GUI_T(KC_SPC), LT(SYMBOLS, KC_ENT), LT(MEDIA, KC_TAB), ALT_T(LCTL(KC_B)) -), - -/* Raise - * - * ,----------------------------------. ,----------------------------------. - * | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - * |------+------+------+------+------| |------+------+------+------+------| - * | Tab | Left | Down | Up | Right| | | - | = | [ | ] | - * |------+------+------+------+------| |------+------+------+------+------| - * | Ctrl| ` | GUI | Alt | | | | | | \ | ' | - * `----------------------------------' `----------------------------------' - * ,--------------------. ,------,-------------. - * | | LOWER| | | | RAISE| | - * `-------------| | | |------+------. - * | | | | - * `------' `------' - */ -[SYMBOLS] = LAYOUT( - KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, - KC_TAB, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, - KC_LCTL, KC_GRV, KC_LGUI, KC_LALT, _______, _______, _______, _______, KC_BSLS, KC_QUOT, - _______, _______, _______, _______, _______, _______ -), - -/* Lower - * - * ,----------------------------------. ,----------------------------------. - * | ! | @ | # | $ | % | | ^ | & | * | ( | ) | - * |------+------+------+------+------| |------+------+------+------+------| - * | Esc | | | | | | | _ | + | { | } | - * |------+------+------+------+------| |------+------+------+------+------| - * | Caps| ~ | | | | | | | | | | " | - * `----------------------------------' `----------------------------------' - * ,--------------------. ,------,-------------. - * | | LOWER| | | | RAISE| Del | - * `-------------| | | Enter|------+------. - * | | | | - * `------' `------' - */ -[MEDIA] = LAYOUT( - KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, - KC_ESC, _______, _______, _______, _______, _______, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, - KC_CAPS, KC_TILD, _______, _______, _______, _______, _______, _______, KC_PIPE, KC_DQT, - _______, _______, _______, KC_ENT, _______, KC_DEL -) -}; - -void persistant_default_layer_set(uint16_t default_layer) { - eeconfig_update_default_layer(default_layer); - default_layer_set(default_layer); -} - diff --git a/keyboards/maple_computing/minidox/keymaps/norman/config.h b/keyboards/maple_computing/minidox/keymaps/norman/config.h deleted file mode 100644 index ecdf080c2c1..00000000000 --- a/keyboards/maple_computing/minidox/keymaps/norman/config.h +++ /dev/null @@ -1,4 +0,0 @@ -#pragma once - -#define PERMISSIVE_HOLD -#define TAPPING_TERM 160 diff --git a/keyboards/maple_computing/minidox/keymaps/norman/keymap.c b/keyboards/maple_computing/minidox/keymaps/norman/keymap.c deleted file mode 100644 index 12741089ba7..00000000000 --- a/keyboards/maple_computing/minidox/keymaps/norman/keymap.c +++ /dev/null @@ -1,69 +0,0 @@ -#include QMK_KEYBOARD_H - -#include - - -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. -enum layers { - _NORMAN, - _LOWER, - _RAISE, - _ADJUST -}; - -enum custom_keycodes { - QWERTY = SAFE_RANGE, - LOWER, - RAISE, - ADJUST -}; - -// Defines for task manager and such -#define CALTDEL LCTL(LALT(KC_DEL)) -#define TSKMGR LCTL(LSFT(KC_ESC)) -#define DSK_LFT LGUI(LCTL(KC_LEFT)) -#define DSK_RT LGUI(LCTL(KC_RIGHT)) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - -[_NORMAN] = LAYOUT( - NM_Q, NM_W, NM_D, NM_F, NM_K, NM_J, NM_U, NM_R, NM_L, NM_SCLN, - NM_A, NM_S, NM_E, NM_T, NM_G, NM_Y, NM_N, NM_I, NM_O, NM_H, - NM_Z, NM_X, NM_C, NM_V, NM_B, NM_P, NM_M, NM_COMM, NM_DOT, NM_SLSH, - LGUI_T(KC_ENT), LT(_RAISE, KC_ESC), SFT_T(KC_BSPC), CTL_T(KC_SPC), LT(_LOWER, KC_TAB), ALT_T(KC_ENT) -), - -[_RAISE] = LAYOUT( - KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_PLUS, KC_7, KC_8, KC_9, KC_0, - KC_CIRC, KC_AMPR, KC_TILD, KC_PIPE, KC_BSLS, KC_MINUS, KC_4, KC_5, KC_6, KC_EQL, - KC_DQT, KC_QUOT, KC_UNDS, KC_GRV, _______, KC_ASTR, KC_1, KC_2, KC_3, _______, - _______, _______, _______, _______, MO(_ADJUST), _______ -), - - -[_LOWER] = LAYOUT( - KC_ESC, KC_HOME, KC_UP, KC_END, _______, _______, KC_LPRN, KC_RPRN, _______, _______, - KC_VOLU, KC_LEFT, KC_DOWN, KC_RIGHT, KC_PGUP, _______, KC_LBRC, KC_RBRC, _______, _______, - KC_VOLD, KC_MPRV, KC_MPLY, KC_MNXT, KC_PGDN, _______, KC_LCBR, KC_RCBR, _______, _______, - _______, MO(_ADJUST), _______, _______, _______, _______ -), - -[_ADJUST] = LAYOUT( - KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, - _______, DSK_LFT, _______, DSK_RT, _______, TSKMGR, CALTDEL, _______, KC_F11, KC_F12, - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______ -) - -}; - -void persistant_default_layer_set(uint16_t default_layer) { - eeconfig_update_default_layer(default_layer); - default_layer_set(default_layer); -} diff --git a/keyboards/maple_computing/minidox/keymaps/norman/readme.md b/keyboards/maple_computing/minidox/keymaps/norman/readme.md deleted file mode 100644 index 018e4363227..00000000000 --- a/keyboards/maple_computing/minidox/keymaps/norman/readme.md +++ /dev/null @@ -1,56 +0,0 @@ -# Minidox Norman Layout by LeHoff -Based on the QWERTY layout created by Khitsule. -![lehoff](https://i.imgur.com/rKTdymp.png) - -[KLE link](http://www.keyboard-layout-editor.com/#/gists/86ec49f9f820a8b9b36f6e0d2ef8fff7) - -## Layers -| Layer | Legend | -| ----- | ------ | -| Base | Top left (black) | -| Lower | Bottom right (red) | -| Raise | Top right (orange) | -| Adjust | Front print | - -## Features -* Raise/lower layers focus first on one-handed use -* Numpad on right hand with raise layer -* Navigation on left hand with lower layer (ESDF) - * D refers to desktop left/right on Win 10 (win+ctrl+left/right) -* Heavy use of hold/tap dual function keys - from left to right: - * Cmd/Enter - * Raise/Esc - * Shift/Backspace - * Ctrl/Space - * Lower/Tab - * Alt/Enter - - -## Modifier Placement Rationale - -There are several major driving forces at play: - -* I use MacOS. -* I'm Danish so the Alt and Shift-Alt layers in MacOS simply have to work. -* I use Vim for coding. -* I use org-mode in Emacs to keep track of my time. - -* Space is on the right hand side because I almost exclusively use my right hand thumb for - space. -* Cmd is on the left since I often use Cmd+click to open a link in a new tab in Safari. -* Due to my usage of Vim Esc got a spot on the modifier row. -* Tab is on the right to enable easy navigation between winows with Cmd+Tab. -* Shift is on the left since org-mode uses Ctrl+arrows to manipulate task state quickly, - and since the arrow keys are activated using Lower (which has been moved to the right) and S, E, T, - and D, it works well that way. -* Ctrl is on the right since Ctrl+<0-9> is used in MacOS to switch between spaces. -* Enter is on both sides since Enter is often used together with all of the modifiers. E.g., - Cmd+Enter to send mails in most situations, but Ctrl+Enter is used in Emacs to create a - new task in org-mode. - -This means that arrows and digits are being modified from the other hand, which could be -bad for gaming, so if you're into that you might want to re-think a few things, but in -that case you are probably using a Windows machine and then there are other constraints -you have to deal with. - - diff --git a/keyboards/maple_computing/minidox/keymaps/rsthd_combos/config.h b/keyboards/maple_computing/minidox/keymaps/rsthd_combos/config.h deleted file mode 100644 index a7d11feca52..00000000000 --- a/keyboards/maple_computing/minidox/keymaps/rsthd_combos/config.h +++ /dev/null @@ -1,5 +0,0 @@ -#pragma once - -#define EE_HANDS - -#define COMBO_TERM 100 diff --git a/keyboards/maple_computing/minidox/keymaps/rsthd_combos/keymap.c b/keyboards/maple_computing/minidox/keymaps/rsthd_combos/keymap.c deleted file mode 100644 index 33bfc7340ed..00000000000 --- a/keyboards/maple_computing/minidox/keymaps/rsthd_combos/keymap.c +++ /dev/null @@ -1,109 +0,0 @@ -#include QMK_KEYBOARD_H - -// Defines names for use in layer keycodes and the keymap -enum layer_names { - _RSTHD, - _LOWER, - _RAISE, - _ADJUST -}; - -enum combo_events { - TOP_L, - TOP_R, - MID_L, - MID_R, - BOT_L, - BOT_R, - HN_QUOT, - TOP_CTR, - MID_CTR, - BOT_CTR, -}; - -const uint16_t PROGMEM fk_combo[] = {KC_F, KC_K, COMBO_END}; -const uint16_t PROGMEM zl_combo[] = {KC_Z, KC_L, COMBO_END}; -const uint16_t PROGMEM hd_combo[] = {KC_H, KC_D, COMBO_END}; -const uint16_t PROGMEM mn_combo[] = {KC_M, KC_N, COMBO_END}; -const uint16_t PROGMEM pb_combo[] = {KC_P, KC_B, COMBO_END}; -const uint16_t PROGMEM xw_combo[] = {KC_X, KC_W, COMBO_END}; -const uint16_t PROGMEM hn_combo[] = {KC_H, KC_N, COMBO_END}; -const uint16_t PROGMEM kz_combo[] = {KC_K, KC_Z, COMBO_END}; -const uint16_t PROGMEM dm_combo[] = {KC_D, KC_M, COMBO_END}; -const uint16_t PROGMEM bx_combo[] = {KC_B, KC_X, COMBO_END}; - -combo_t key_combos[] = { - [TOP_L] = COMBO(fk_combo, KC_ESC), - [TOP_R] = COMBO(zl_combo, KC_AT), - [MID_L] = COMBO(hd_combo, KC_TAB), - [MID_R] = COMBO_ACTION(mn_combo), - [BOT_L] = COMBO(pb_combo, KC_HASH), - [BOT_R] = COMBO(xw_combo, KC_AMPR), - [HN_QUOT] = COMBO(hn_combo, KC_QUOT), - [TOP_CTR] = COMBO_ACTION(kz_combo), - [MID_CTR] = COMBO_ACTION(dm_combo), - [BOT_CTR] = COMBO_ACTION(bx_combo), -}; - - void process_combo_event(uint16_t combo_index, bool pressed) { - switch(combo_index) { - case MID_R: - if (pressed) { - tap_code16(LALT(KC_3)); - } - break; - case TOP_CTR: - if (pressed) { - set_oneshot_mods(MOD_LGUI); - } - break; - case MID_CTR: - if (pressed) { - set_oneshot_mods(MOD_LALT); - } - break; - case BOT_CTR: - if (pressed) { - set_oneshot_mods(MOD_LCTL); - } - break; - } - } - -// Defines for task manager and such -// For insertion in keymap -#define KILL LGUI(LALT(KC_ESC)) //Force quit controls -#define SCRCAP LCTL(LSFT(LGUI(KC_5))) //Screen capture controls -#define DSK_LFT LGUI(LCTL(KC_LEFT)) -#define DSK_RT LGUI(LCTL(KC_RIGHT)) - - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - -[_RSTHD] = LAYOUT( - KC_J, KC_C, KC_Y, KC_F, KC_K, KC_Z, KC_L, KC_COMM, KC_U, KC_Q, - KC_R, KC_S, KC_T, KC_H, KC_D, KC_M, KC_N, KC_A, KC_I , KC_O, - LCTL_T(KC_SLSH), LALT_T(KC_V), LGUI_T(KC_G), KC_P, KC_B, KC_X, KC_W, RGUI_T(KC_DOT), RALT_T(KC_SCLN),RCTL_T(KC_MINS), - OSM(MOD_LSFT), LT(_LOWER, KC_BSPC), KC_E, KC_SPC, LT(_RAISE, KC_ENT), OSM(MOD_LSFT) -), -[_RAISE] = LAYOUT( - KC_PAST, KC_7, KC_8, KC_9, KC_PLUS, KC_NUBS, LALT(KC_2), _______, LALT(KC_4), KC_DLR, - KC_CIRC, KC_4, KC_5, KC_6, KC_EQL, LSFT(KC_NUBS), KC_GRV, KC_TILD, KC_PIPE, KC_BSLS, - _______, RALT_T(KC_1), KC_2, KC_3,KC_PERC, _______, _______, _______, _______, _______, - _______, MO(_ADJUST), KC_0, _______, _______, _______ -), -[_LOWER] = LAYOUT( - _______, KC_LBRC, KC_QUES, KC_RBRC, KC_BRMU, KC_PGUP, KC_HOME, KC_UP, KC_END, KC_VOLU, - KC_ESC, KC_LPRN, KC_EXLM, KC_RPRN, KC_BRMD, KC_PGDN, KC_LEFT, KC_DOWN, KC_RIGHT, KC_VOLD, - _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, - _______, _______, _______, KC_DEL, MO(_ADJUST), _______ -), -[_ADJUST] = LAYOUT( - _______, KC_F7, KC_F8, KC_F9, SCRCAP, _______, KC_F10, KC_F11, KC_F12, _______, - _______, KC_F1, KC_F2, KC_F3, _______, _______, KC_F4, KC_F5, KC_F6, _______, - OSM(MOD_LCTL),_______, _______, _______, QK_BOOT, KILL, _______, _______, _______, OSM(MOD_RCTL), - _______, _______, _______, _______, _______, _______ -) - -}; diff --git a/keyboards/maple_computing/minidox/keymaps/rsthd_combos/readme.md b/keyboards/maple_computing/minidox/keymaps/rsthd_combos/readme.md deleted file mode 100644 index 877d7059e78..00000000000 --- a/keyboards/maple_computing/minidox/keymaps/rsthd_combos/readme.md +++ /dev/null @@ -1,22 +0,0 @@ -# The RSTHD Layout for minidox - Empowered with Combos -An attempt at porting Xuming Zeng’s [RSTHD](https://xsznix.wordpress.com/2016/05/16/introducing-the-rsthd-layout/) from the Ergodox to the Minidox. -[KLE Link](http://www.keyboard-layout-editor.com/#/gists/3161700bf3573325804716b2bdafa50f) -![RSTHD empowered with chords](https://live.staticflickr.com/65535/49926249372_77ab8eba95_z.jpg) - -**Symbols and media/system keys work as shown with keyboard identified by MacOS as "International/ISO" hardware (not ANSI) and "Input Source" within Preferences set to "British" (Apple).** - -The key feature on this keymap, aside from the layout, is to telescope seven columns into five using combos. The top row and the bottom row form the basis of the number and nav layers respectively. Combos are shown in the above drawing using paired blue legends. -## Writing specific -As a hobby writer I have intended to make a layout that favours prose rather than code, with symbols used in everyday writing such as various (Western) currencies in easy reach. Hardcore coders will no doubt move their favourite symbols to where they feel most comfortable! -The thumb mounted 'E' made it difficult to adapt other keymaps to this letter layout and eventually drove this fundamental redesign. I have strove to minimise the risk of ‘negligent discharge’ of functions whilst typing - whose interruption which can be fatal to creative flow - and which my previous layouts adapted from various ones in the repository seemed prone. To this end hold-tap keys are not placed on the home row nor thumb operated 'space' and 'E' keys, shift gets its own keys, and I use combos to create a useful number of virtual keys. -## Combos! -I employ combos to simulate the missing inner and outer columns that the minidox lacks relative to the Ergodox. All combos operate on keys within the inner pair of columns of each side because during normal typing the index finger has to cover both these columns, making press events of adjacent keys unlikely to overlap. They are assigned names within the keymap that relate to their position on the keyboard (not to my assigned functions) so their functions can be changed at will to suit user preference without confusing the keymap. -- The six chords spanning the neighbouring two columns of each half correspond to keys in the outer columns of the Ergodox. -- A further four chords span the central divide, using pairs of letters that infrequently occur consecutively. - - The three combos spanning adjacent keys over the central divide simulate the mirrored inboard columns of the RSTHD map for Ergodox, and are set to chamber one shot of their respective modifiers. - - The quotation mark is a combo of both resting keys of the index fingers. This is inspired by ‘air quotes’ used in conversation. -I am confident these combos will rarely be accidentally triggered. If this occurs, try reducing the tapping term. -## Other features -- Number pad on left. This confers many benefits for the RSTHD layout, such as leaving key symbols on the primary layer uncovered that are useful for numbers (,.:-). On this layer ‘E’ becomes ‘0’. -- The nav cluster is now on the right hand and, upon activation ’space’ becomes ‘del’, which allows rapid navigation and editing of text. -- Pair of one shot shift keys, since mod-tap shift assigned to letters is a bad idea IMO. Some users might choose to move the shift onto the bottom left and right combos which corresponds to where shift lives in the outer columns of the ergodox layout. diff --git a/keyboards/maple_computing/minidox/keymaps/rsthd_combos/rules.mk b/keyboards/maple_computing/minidox/keymaps/rsthd_combos/rules.mk deleted file mode 100644 index ab1e438182a..00000000000 --- a/keyboards/maple_computing/minidox/keymaps/rsthd_combos/rules.mk +++ /dev/null @@ -1 +0,0 @@ -COMBO_ENABLE = yes diff --git a/keyboards/maple_computing/minidox/keymaps/tw1t611/keymap.c b/keyboards/maple_computing/minidox/keymaps/tw1t611/keymap.c deleted file mode 100644 index 265affc1c97..00000000000 --- a/keyboards/maple_computing/minidox/keymaps/tw1t611/keymap.c +++ /dev/null @@ -1,59 +0,0 @@ -#include QMK_KEYBOARD_H -#include "keymap_german.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 _QWERTZ 0 -#define _LOWER 1 -#define _RAISE 2 -#define _ADJUST 3 - -enum custom_keycodes { - QWERTY = SAFE_RANGE, - LOWER, - RAISE, - ADJUST, -}; - -// macro keys -#define CALTDEL LCTL(LALT(KC_DEL)) // ctrl-alt-del -#define CALTESC LCTL(LSFT(KC_ESC)) // ctrl-alt-esc -#define CALT LCTL(KC_LALT) // ctrl-alt - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - -[_QWERTZ] = LAYOUT( - DE_Q, DE_W, DE_E, DE_R, DE_T, DE_Z, DE_U, DE_I, DE_O, DE_P, - DE_A, DE_S, DE_D, DE_F, DE_G, DE_H, DE_J, DE_K, DE_L, KC_SPC, - DE_Y, DE_X, DE_C, DE_V, DE_B, DE_N, DE_M, DE_COMM, DE_DOT, DE_MINS, - KC_LCTL, MO(_LOWER), MO(_RAISE), KC_LGUI, KC_LSFT, KC_LALT -), - -[_RAISE] = LAYOUT( - DE_EXLM, DE_QUES, DE_SECT, DE_DLR, DE_HASH, DE_PLUS, DE_7, DE_8, DE_9, DE_0, - DE_CIRC, DE_QUOT, DE_DQUO, DE_GRV, DE_AMPR, DE_ASTR, DE_4, DE_5, DE_6, DE_EQL, - DE_SLSH, DE_PIPE, DE_BSLS, DE_AT, DE_EURO, DE_PERC, DE_1, DE_2, DE_3, KC_TAB, - _______, _______, _______, _______, _______, _______ -), - -[_LOWER] = LAYOUT( - KC_AUDIO_MUTE, KC_AUDIO_VOL_DOWN, DE_LBRC, DE_RBRC, KC_AUDIO_VOL_UP, KC_HOME, KC_PGDN, KC_PGUP, KC_END, DE_TILD, - KC_ESC, DE_LABK, DE_LPRN, DE_RPRN, DE_RABK, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_ENT, - KC_BSPC, KC_DEL, DE_LCBR, DE_RCBR, KC_PSCR, _______, DE_ADIA, DE_ODIA, DE_UDIA, DE_SS, - _______, _______, _______, _______, MO(_ADJUST), _______ -), - -[_ADJUST] = LAYOUT( - _______, _______, _______, _______, _______, _______, KC_F7, KC_F8, KC_F9, KC_F10, - CALTESC, CALTDEL, _______, CALT, _______, _______, KC_F4, KC_F5, KC_F6, KC_F11, - QK_BOOT, _______, _______, _______, _______, _______, KC_F1, KC_F2, KC_F3, KC_F12, - _______, _______, _______, _______, _______, _______ -)}; - -void matrix_init_user(void) { - set_single_persistent_default_layer(_QWERTZ); -}; diff --git a/keyboards/maple_computing/minidox/keymaps/tw1t611/readme.md b/keyboards/maple_computing/minidox/keymaps/tw1t611/readme.md deleted file mode 100644 index 7ab4526fbc4..00000000000 --- a/keyboards/maple_computing/minidox/keymaps/tw1t611/readme.md +++ /dev/null @@ -1,23 +0,0 @@ -# Minidox Layout by tw1t611 -![](https://imgur.com/M95KSke.png) - -This is a german layout with support for umlauts and the euro sign. -You need to set your system layout to german. - -[keyboard-layout-editor.com](http://www.keyboard-layout-editor.com/#/gists/d58a82d8017d0c0cca044ef385def165) - -## Layers -| Layer | Legend | -| ----- | ------ | -| Base | Top left (white) | -| Lower | Top right (organge) | -| Raise | Bottom right (blue) | -| Adjust | Front print (orange + shift) | - -## Features -* German layout with support for umlauts and the euro sign -* Raise/lower layers focus first on one-handed use -* Numpad on right hand with raise layer -* Vim optimized - * Easy reachable Esc - * arrow keys on h, j, k, l diff --git a/keyboards/maple_computing/minidox/keymaps/tw1t611/rules.mk b/keyboards/maple_computing/minidox/keymaps/tw1t611/rules.mk deleted file mode 100644 index fcfd2225bcf..00000000000 --- a/keyboards/maple_computing/minidox/keymaps/tw1t611/rules.mk +++ /dev/null @@ -1 +0,0 @@ -EXTRAKEY_ENABLE = yes diff --git a/keyboards/massdrop/alt/keymaps/b_/config.h b/keyboards/massdrop/alt/keymaps/b_/config.h deleted file mode 100644 index 8607cd81868..00000000000 --- a/keyboards/massdrop/alt/keymaps/b_/config.h +++ /dev/null @@ -1,118 +0,0 @@ -// Copyright 2021 br (@b-) -// SPDX-License-Identifier: GPL-2.0-or-later - -#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 // Enabling to allow to tweak individual keys -// #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 3000 // 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_CODE_DELAY 25 // 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) - - - -//Teal and Blue -//#define RGB_MATRIX_DEFAULT_HUE 127 // Default boot color -//#define RGB_MATRIX_DEFAULT_SPD 47 // Used to determine the color for the modifiers - -//Teal and Blue -//#define RGB_MATRIX_DEFAULT_HUE 120 // Default boot color -//#define RGB_MATRIX_DEFAULT_SPD 50 //Used to determine the color for the modifiers - - -//QMK HSV is based on 255 value wheel rather than 360 - -//Cyan and Yellow -//#define RGB_MATRIX_DEFAULT_HUE 127 // Default boot color -//#define RGB_MATRIX_DEFAULT_SPD 177 - -//Cyan and Green -//#define RGB_MATRIX_DEFAULT_HUE 127 // Default boot color -//#define RGB_MATRIX_DEFAULT_SPD 215 - -// #define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS - -#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_SOLID_REACTIVE // Sets the default mode, if none has been set -#define RGB_MATRIX_DEFAULT_HUE 180 //purple alphas with green background when pressed. - -// This list in in the correct mode order. Next mode is the following line, previous mode is previous line. Loops around. -#define ENABLE_RGB_MATRIX_ALPHAS_MODS -#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN -#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT -#define ENABLE_RGB_MATRIX_BREATHING -#define ENABLE_RGB_MATRIX_BAND_SAT -#define ENABLE_RGB_MATRIX_BAND_VAL -#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT -#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL -#define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT -#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL -#define ENABLE_RGB_MATRIX_CYCLE_ALL -#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT -#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN -#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON -#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN -#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL -#define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL -#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL -#define ENABLE_RGB_MATRIX_DUAL_BEACON -#define ENABLE_RGB_MATRIX_RAINBOW_BEACON -#define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS -#define ENABLE_RGB_MATRIX_RAINDROPS -#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS -#define ENABLE_RGB_MATRIX_HUE_BREATHING -#define ENABLE_RGB_MATRIX_HUE_PENDULUM -#define ENABLE_RGB_MATRIX_HUE_WAVE -#define ENABLE_RGB_MATRIX_PIXEL_FRACTAL -#define ENABLE_RGB_MATRIX_PIXEL_RAIN - -#define ENABLE_RGB_MATRIX_TYPING_HEATMAP -#define ENABLE_RGB_MATRIX_DIGITAL_RAIN - -#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE -#define ENABLE_RGB_MATRIX_SOLID_REACTIVE -#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE -#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE -#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS -#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS -#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS -#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS -#define ENABLE_RGB_MATRIX_SPLASH -#define ENABLE_RGB_MATRIX_MULTISPLASH -#define ENABLE_RGB_MATRIX_SOLID_SPLASH -#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH diff --git a/keyboards/massdrop/alt/keymaps/b_/keymap.c b/keyboards/massdrop/alt/keymaps/b_/keymap.c deleted file mode 100644 index 9f860cbd1a0..00000000000 --- a/keyboards/massdrop/alt/keymaps/b_/keymap.c +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2021 br (@b-) -// SPDX-License-Identifier: GPL-2.0-or-later - -#include QMK_KEYBOARD_H - -/* physical layout - * [ ` ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 0 ] [ - ] [ = ] [ bksp ] [ del ] - * [ tab* ] [ q ] [ w ] [ e ] [ r ] [ t ] [ y ] [ u ] [ i ] [ o ] [ p ] [ [ ] [ ] ] [ home ] - * [ ctrl* ] [ a ] [ s ] [ d ] [ f ] [ g ] [ h ] [ j ] [ k ] [ l ] [ ; ] [ ' ] [ enter ] [ PgUp ] - * [ lshift* ] [ z ] [ x ] [ c ] [ v ] [ b ] [ n ] [ m ] [ , ] [ . ] [ / ] [ rshift* ] ] [ ↑ ] [ PgDn ] - * [ ctrl ] [ alt ] [ meta ] [ spaaaaaaaace ] [ meta ] [ alt ] [ ← ] [ ↓ ] [ → ] - */ -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_65_ansi_blocker( /* normal */ - 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_DEL, /* 15 */ - LT(1,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_HOME, /* 15 */ - LCTL_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_PGUP, /* 14 */ - LM(2, MOD_LSFT), KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, LM(2, MOD_LSFT), KC_UP, KC_PGDN, /* 14 */ - KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT /* 9 */ - ), - [1] = LAYOUT_65_ansi_blocker( /* hold tab */ - 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_MUTE, - KC_TRNS, RGB_SPD, RGB_VAI, RGB_SPI, RGB_HUI, RGB_SAI, BL_UP, BL_DOWN,BL_BRTG, BL_STEP, KC_PSCR, KC_SCRL, KC_PAUS, KC_TRNS, KC_END, - MO(3), RGB_RMOD, RGB_VAD, RGB_MOD, RGB_HUD, RGB_SAD, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, - KC_TRNS, RGB_TOG, KC_TRNS, KC_TRNS, KC_TRNS, MO(4), NK_TOGG, 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_HOME, KC_PGDN, KC_END // fn layer. f keys, media keys, backlight control, nkro-toggle, etc. - ), - [2] = LAYOUT_65_ansi_blocker( /* lshift + rshift = caps lock */ - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, 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_TRNS, KC_CAPS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS // this feels like a kludge...but it works - ), - [3] = LAYOUT_65_ansi_blocker( /* tab+ctrl */ - KC_EXEC, KC_HELP, KC_MENU, KC_SLCT, KC_STOP, KC_AGIN, KC_UNDO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_EJCT, - KC_NO, 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_M_T, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - KC_TRNS, BL_TOGG, BL_STEP, BL_BRTG, KC_FIND, BL_DOWN,BL_UP, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_BRIU, - KC_NO, KC_NO, KC_CUT, KC_COPY, KC_PSTE, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_MSTP, KC_BRID, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_MRWD, KC_MPLY, KC_MFFD // miscellaneous silly keys, subject to change - ), - [4] = LAYOUT_65_ansi_blocker( /* tab+b */ - KC_TRNS, 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, /* backspace */ - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS // tab + b + backspace goes to bootloader - ) -}; - diff --git a/keyboards/massdrop/alt/keymaps/bonta/keymap.c b/keyboards/massdrop/alt/keymaps/bonta/keymap.c deleted file mode 100644 index 5509ba6010e..00000000000 --- a/keyboards/massdrop/alt/keymaps/bonta/keymap.c +++ /dev/null @@ -1,112 +0,0 @@ -#include QMK_KEYBOARD_H - -enum alt_keycodes { - U_T_AUTO = SAFE_RANGE, //USB Extra Port Toggle Auto Detect / Always Active - U_T_AGCR, //USB Toggle Automatic GCR control - DBG_TOG, //DEBUG Toggle On / Off - DBG_MTRX, //DEBUG Toggle Matrix Prints - DBG_KBD, //DEBUG Toggle Keyboard Prints - DBG_MOU, //DEBUG Toggle Mouse Prints - MD_BOOT, //Restart into bootloader after hold timeout -}; - -#define TG_NKRO MAGIC_TOGGLE_NKRO //Toggle 6KRO / NKRO mode -#define RGB_BRU RGB_VAI -#define RGB_BRD RGB_VAD - -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_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_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, 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_RGUI, MO(1), 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_F13, KC_MUTE, - _______, RGB_SPD, RGB_BRU, RGB_SPI, _______, _______, _______, U_T_AUTO,U_T_AGCR,_______, KC_PSCR, KC_SCRL, KC_PAUS, _______, KC_END, - _______, RGB_RMOD,RGB_BRD, RGB_MOD, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, - _______, RGB_TOG, _______, _______, _______, MD_BOOT, TG_NKRO, _______, _______, _______, _______, _______, KC_VOLU, KC_VOLD, - _______, _______, _______, KC_MPLY, _______, _______, KC_MPRV, KC_VOLD, KC_MNXT - ) -}; - -// 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) { -}; - -#define MODS_SHIFT (get_mods() & MOD_BIT(KC_LSFT) || get_mods() & MOD_BIT(KC_RSFT)) -#define MODS_CTRL (get_mods() & MOD_BIT(KC_LCTL) || get_mods() & MOD_BIT(KC_RCTL)) -#define MODS_ALT (get_mods() & MOD_BIT(KC_LALT) || get_mods() & MOD_BIT(KC_RALT)) - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - static uint32_t key_timer; - - switch (keycode) { - case U_T_AUTO: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_extra_manual, "USB extra port manual mode"); - } - return false; - case U_T_AGCR: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_gcr_auto, "USB GCR auto mode"); - } - return false; - case DBG_TOG: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_enable, "Debug mode"); - } - return false; - case DBG_MTRX: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_matrix, "Debug matrix"); - } - return false; - case DBG_KBD: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_keyboard, "Debug keyboard"); - } - return false; - case DBG_MOU: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_mouse, "Debug mouse"); - } - return false; - case RGB_TOG: - if (record->event.pressed) { - switch (rgb_matrix_get_flags()) { - case LED_FLAG_ALL: { - rgb_matrix_set_flags(LED_FLAG_KEYLIGHT); - rgb_matrix_set_color_all(0, 0, 0); - } - break; - case LED_FLAG_KEYLIGHT: { - rgb_matrix_set_flags(LED_FLAG_UNDERGLOW); - rgb_matrix_set_color_all(0, 0, 0); - } - break; - default: { - rgb_matrix_set_flags(LED_FLAG_ALL); - } - break; - } - } - return false; - case MD_BOOT: - if (record->event.pressed) { - key_timer = timer_read32(); - } else { - if (timer_elapsed32(key_timer) >= 500) { - reset_keyboard(); - } - } - return false; - default: - return true; //Process all other keycodes normally - } -} diff --git a/keyboards/massdrop/alt/keymaps/emptyflask/README.md b/keyboards/massdrop/alt/keymaps/emptyflask/README.md deleted file mode 100644 index b07693ebac6..00000000000 --- a/keyboards/massdrop/alt/keymaps/emptyflask/README.md +++ /dev/null @@ -1,14 +0,0 @@ -### Drop (Massdrop) ALT Layout - -This layout is for the [Drop ALT Keyboard](https://drop.com/buy/massdrop-alt-high-profile-mechanical-keyboard). - -Features: - -* Tap caps lock for ESC, hold for CTRL -* Prefer grave/tilde to dedicated ESC key -* Swap home and delete. It's more compatible with my keycaps, and closer to a traditional layout. -* Numpad layer (FN-\ to enable) -* Method for clearing all stuck-down mods (taken from favorable-mutation, for tapped modifiers) - -To do: -* Customize RGB: solid colors by default, highlight numpad keys when using that layer. diff --git a/keyboards/massdrop/alt/keymaps/emptyflask/config.h b/keyboards/massdrop/alt/keymaps/emptyflask/config.h deleted file mode 100644 index b3152c42095..00000000000 --- a/keyboards/massdrop/alt/keymaps/emptyflask/config.h +++ /dev/null @@ -1,3 +0,0 @@ -#pragma once - -#define ONESHOT_TIMEOUT 3000 diff --git a/keyboards/massdrop/alt/keymaps/emptyflask/keymap.c b/keyboards/massdrop/alt/keymaps/emptyflask/keymap.c deleted file mode 100644 index 508eac744c3..00000000000 --- a/keyboards/massdrop/alt/keymaps/emptyflask/keymap.c +++ /dev/null @@ -1,292 +0,0 @@ -#include QMK_KEYBOARD_H - -enum my_keycodes { - U_T_AUTO = SAFE_RANGE, // USB Extra Port Toggle Auto Detect / Always Active - U_T_AGCR, // USB Toggle Automatic GCR control - DBG_TOG, // DEBUG Toggle On / Off - DBG_MTRX, // DEBUG Toggle Matrix Prints - DBG_KBD, // DEBUG Toggle Keyboard Prints - DBG_MOU, // DEBUG Toggle Mouse Prints - MD_BOOT, // Restart into bootloader after hold timeout - HK_COSL, // Clear held-down keys - QWERTY, // Switch to QWERTY layout - COLEMAK, // Switch to Colemak layout - DVORAK, // Switch to Dvorak layout - WORKMAN, // Switch to Workman layout -}; - -enum my_layers { - _QWERTY = 0, - _COLEMAK, - _DVORAK, - _WORKMAN, - _FUNCTION, - _NUMPAD, - _LAYOUTS, -}; - -#define CTL_ESC LCTL_T(KC_ESC) // Tap for ESC, hold for CTRL -#define MD_LOCK LCTL(LGUI(KC_Q)) // MacOS lock screen shortcut -#define MO_FUNC MO(_FUNCTION) // Hold for function layer -#define TG_NUMP TG(_NUMPAD) // Toggle numpad layer -#define OSL_LAY OSL(_LAYOUTS) // One-shot layer to change layout - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* QWERTY - * ┌───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬────────────┬───────┐ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ BackSpace │ Home │ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├───────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬─────────┼───────┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │ Del │ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├──────────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─────────┼───────┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * │ Ctrl/Esc │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Return │ PgUp │ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├────────────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴───────┬───────┼───────┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * │ Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift │ Up │ PgDn │ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├─────────┬─────┴───┬───┴─────┬─┴───────┴───────┴───────┴───────┴───────┴─────┬─┴───────┼───────┴─┬──┬───────┼───────┼───────┤ - * │ │ │ │ │ │ │▒▒│ │ │ │ - * │ Ctrl │ GUI │ Alt │ Space │ Alt │ Func │▒▒│ Left │ Down │ Right │ - * │ │ │ │ │ │ │▒▒│ │ │ │ - * └─────────┴─────────┴─────────┴───────────────────────────────────────────────┴─────────┴─────────┴──┴───────┴───────┴───────┘ - */ - [_QWERTY] = 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_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_DEL, - CTL_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, MO_FUNC, KC_LEFT, KC_DOWN, KC_RGHT - ), - - [_COLEMAK] = 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_BSPC, KC_HOME, - 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, - CTL_ESC, 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_PGUP, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, 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_FUNC, KC_LEFT, KC_DOWN, KC_RGHT - ), - - [_DVORAK] = 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_LBRC, KC_RBRC, KC_BSPC, KC_HOME, - 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_BSLS, KC_DEL, - CTL_ESC, 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_PGUP, - KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_RSFT, KC_UP, KC_PGDN, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO_FUNC, KC_LEFT, KC_DOWN, KC_RGHT - ), - - [_WORKMAN] = 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_BSPC, KC_HOME, - KC_TAB, KC_Q, KC_D, KC_R, KC_W, KC_B, KC_J, KC_F, KC_U, KC_P, KC_SCLN, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, - CTL_ESC, KC_A, KC_S, KC_H, KC_T, KC_G, KC_Y, KC_N, KC_E, KC_O, KC_I, KC_QUOT, KC_ENT, KC_PGUP, - KC_LSFT, KC_Z, KC_X, KC_M, KC_C, KC_V, KC_K, KC_L, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO_FUNC, KC_LEFT, KC_DOWN, KC_RGHT - ), - - /* Function layer - * ┌───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬────────────┬───────┐ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * │ Esc │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │ Del │ End │ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├───────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬─────────┼───────┤ - * │ │ RGB │ RGB │ RGB │ RGB │ RGB │ │ USB │ USB │ │ │ │ │ │ │ - * │ │ Speed │ Val │ Speed │ Hue │ Sat │ │ Port │ GCR │ │ PrtSc │ ScrLk │ Pause │ NumPad │ Mute │ - * │ │ - │ + │ + │ + │ + │ │ │ │ │ │ │ │ │ │ - * ├──────────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─────────┼───────┤ - * │ │ RGB │ RGB │ RGB │ RGB │ RGB │ │ │ │ (Mac) │ │ │ │ │ - * │ CapsLock │ Mode │ Val │ Mode │ Hue │ Sat │ │ │ │ Lock │ │ │ │ Vol+ │ - * │ │ - │ - │ + │ - │ - │ │ │ │ │ │ │ │ │ - * ├────────────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴───────┬───────┼───────┤ - * │ │ RGB │ │ │ │ │ 6KRO/ │ │ │ │ │ │ │ │ - * │ │ On/Off│ │ │ │Restart│ NKRO │ Debug │ │ │ Layout│ │ PgUp │ Vol- │ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├─────────┬─────┴───┬───┴─────┬─┴───────┴───────┴───────┴───────┴───────┴─────┬─┴───────┼───────┴─┬──┬───────┼───────┼───────┤ - * │ │ │ │ │ │ │▒▒│ │ │ │ - * │ │ │ │ Clear modifiers │ │ │▒▒│ Home │ PgDn │ End │ - * │ │ │ │ │ │ │▒▒│ │ │ │ - * └─────────┴─────────┴─────────┴───────────────────────────────────────────────┴─────────┴─────────┴──┴───────┴───────┴───────┘ - */ - [_FUNCTION] = LAYOUT_65_ansi_blocker( - 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_END, - _______, RGB_SPD, RGB_VAI, RGB_SPI, RGB_HUI, RGB_SAI, _______, U_T_AUTO,U_T_AGCR,_______, KC_PSCR, KC_SCRL, KC_PAUS, TG_NUMP, KC_MUTE, - KC_CAPS, RGB_RMOD,RGB_VAD, RGB_MOD, RGB_HUD, RGB_SAD, _______, _______, _______, MD_LOCK, _______, _______, _______, KC_VOLU, - _______, RGB_TOG, _______, _______, _______, MD_BOOT, NK_TOGG, DBG_TOG, _______, _______, OSL_LAY, _______, KC_PGUP, KC_VOLD, - _______, _______, _______, HK_COSL, _______, _______, KC_HOME, KC_PGDN, KC_END - ), - - /* Number pad (FN-\ to toggle) - * ┌───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬────────────┬───────┐ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * │ │ │ │ │ │ │ │ │ / │ * │ - │ │ │ │ │ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├───────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬─────────┼───────┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * │ │ │ │ │ │ │ │ 7 │ 8 │ 9 │ + │ │ │ │ │ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├──────────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─────────┼───────┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * │ │ │ │ │ │ │ │ 4 │ 5 │ 6 │ + │ │ │ │ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├────────────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴───────┬───────┼───────┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * │ │ │ │ │ │ │ │ 1 │ 2 │ 3 │ = │ │ │ │ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├─────────┬─────┴───┬───┴─────┬─┴───────┴───────┴───────┴───────┴───────┴─────┬─┴───────┼───────┴─┬──┬───────┼───────┼───────┤ - * │ │ │ │ │ │ │▒▒│ │ │ │ - * │ │ │ │ 0 │ . │ │▒▒│ │ │ │ - * │ │ │ │ │ │ │▒▒│ │ │ │ - * └─────────┴─────────┴─────────┴───────────────────────────────────────────────┴─────────┴─────────┴──┴───────┴───────┴───────┘ - */ - [_NUMPAD] = LAYOUT_65_ansi_blocker( - _______, _______, _______, _______, _______, _______, _______, _______, KC_PSLS, KC_PAST, KC_PMNS, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, KC_P7, KC_P8, KC_P9, KC_PPLS, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, KC_P4, KC_P5, KC_P6, KC_PPLS, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, KC_P1, KC_P2, KC_P3, KC_PEQL, _______, _______, _______, - _______, _______, _______, KC_P0, KC_PDOT, _______, _______, _______, _______ - ), - - /* Alternate layouts (FN-/ then one of [Q,C,D,W]) */ - [_LAYOUTS] = LAYOUT_65_ansi_blocker( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, QWERTY, WORKMAN, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, DVORAK, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, COLEMAK, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - - /* Template - * ┌───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬───────┬────────────┬───────┐ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├───────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬─────────┼───────┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├──────────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─┬─────┴─────────┼───────┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├────────────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴──┬────┴───────┬───────┼───────┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├─────────┬─────┴───┬───┴─────┬─┴───────┴───────┴───────┴───────┴───────┴─────┬─┴───────┼───────┴─┬──┬───────┼───────┼───────┤ - * │ │ │ │ │ │ │▒▒│ │ │ │ - * │ │ │ │ │ │ │▒▒│ │ │ │ - * │ │ │ │ │ │ │▒▒│ │ │ │ - * └─────────┴─────────┴─────────┴───────────────────────────────────────────────┴─────────┴─────────┴──┴───────┴───────┴───────┘ - [X] = LAYOUT_65_ansi_blocker( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - */ -}; - -#define MODS_SHIFT (get_mods() & MOD_MASK_SHIFT) -#define MODS_CTRL (get_mods() & MOD_MASK_CTRL) - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - static uint32_t key_timer; - - switch (keycode) { - case QWERTY: - if (record->event.pressed) { - set_single_persistent_default_layer(_QWERTY); - } - return true; - case COLEMAK: - if (record->event.pressed) { - set_single_persistent_default_layer(_COLEMAK); - } - return true; - case DVORAK: - if (record->event.pressed) { - set_single_persistent_default_layer(_DVORAK); - } - return true; - case WORKMAN: - if (record->event.pressed) { - set_single_persistent_default_layer(_WORKMAN); - } - return true; - case HK_COSL: - clear_keyboard(); - reset_oneshot_layer(); - return true; - case U_T_AUTO: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_extra_manual, "USB extra port manual mode"); - } - return false; - case U_T_AGCR: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_gcr_auto, "USB GCR auto mode"); - } - return false; - case DBG_TOG: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_enable, "Debug mode"); - } - return false; - case DBG_MTRX: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_matrix, "Debug matrix"); - } - return false; - case DBG_KBD: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_keyboard, "Debug keyboard"); - } - return false; - case DBG_MOU: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_mouse, "Debug mouse"); - } - return false; - case MD_BOOT: - if (record->event.pressed) { - key_timer = timer_read32(); - } else { - if (timer_elapsed32(key_timer) >= 500) { - reset_keyboard(); - } - } - return false; - case RGB_TOG: - if (record->event.pressed) { - switch (rgb_matrix_get_flags()) { - case LED_FLAG_ALL: { - rgb_matrix_set_flags(LED_FLAG_KEYLIGHT); - rgb_matrix_set_color_all(0, 0, 0); - } - break; - case LED_FLAG_KEYLIGHT: { - 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 - } -} diff --git a/keyboards/massdrop/alt/keymaps/ewersp/README.md b/keyboards/massdrop/alt/keymaps/ewersp/README.md deleted file mode 100644 index 8a19bb6c19a..00000000000 --- a/keyboards/massdrop/alt/keymaps/ewersp/README.md +++ /dev/null @@ -1,30 +0,0 @@ -## Greetings, Traveler! - -This layout is for the [Massdrop ALT Keyboard](https://drop.com/buy/massdrop-alt-mechanical-keyboard) and targets Windows machines. - -This keymap is very similar to the default keymap for the Drop ALT, but it overloads the left alt key to behave like an additional 'Fn' key while keeping the functionality of the alt key intact. - -### For example: -``` -LeftAlt + 1...N -> F1...FN -LeftAlt + L/R Arrows -> Home/End -LeftAlt + Home -> End -LeftAlt + Backspace -> Delete -LeftAlt + Esc -> Backtick (`) -LeftAlt + Shift + Esc -> Tilde (~) -LeftAlt + LeftShift + 4 -> Alt+F4 -``` - -The novel part of this keymap is that it **preserves the default functionality** of the left alt key, so ```'alt + tab', 'ctrl + alt + del', 'alt + f4'```, etc. all work as expected without using any janky timers. - -Everything also works with other modifier keys, so ```'alt + L/R' and 'alt + shift + L/R'``` work great for text manipulation to select lines. - -This **'super alt'** keymap will feel very familiar for anyone **coming from macOS** since the Windows alt key is in the same position as CMD on macOS keyboards. - -And finally, the original alt key functionality can be toggled at any time by pressing **```'Fn + period'```** so even if you don't like it, you can turn it off. - -This keymap was based on the 'default' Drop ALT keymap (and _not_ 'default_md') which means it supports all the fancy QMK RGB patterns, and isn't limited to the stock options that come with the board. - -If you have any questions, feel free to reach out to me at: ewersp [at] gmail [dot] com. - -Enjoy! **<3** diff --git a/keyboards/massdrop/alt/keymaps/ewersp/config.h b/keyboards/massdrop/alt/keymaps/ewersp/config.h deleted file mode 100644 index 1c801d7e3c1..00000000000 --- a/keyboards/massdrop/alt/keymaps/ewersp/config.h +++ /dev/null @@ -1,3 +0,0 @@ -#pragma once - -#define FORCE_NKRO diff --git a/keyboards/massdrop/alt/keymaps/ewersp/keymap.c b/keyboards/massdrop/alt/keymaps/ewersp/keymap.c deleted file mode 100644 index dd9177d8a91..00000000000 --- a/keyboards/massdrop/alt/keymaps/ewersp/keymap.c +++ /dev/null @@ -1,242 +0,0 @@ -#include QMK_KEYBOARD_H - -enum alt_keycodes { - U_T_AUTO = SAFE_RANGE, //USB Extra Port Toggle Auto Detect / Always Active - U_T_AGCR, //USB Toggle Automatic GCR control - DBG_TOG, //DEBUG Toggle On / Off - DBG_MTRX, //DEBUG Toggle Matrix Prints - DBG_KBD, //DEBUG Toggle Keyboard Prints - DBG_MOU, //DEBUG Toggle Mouse Prints - MD_BOOT, //Restart into bootloader after hold timeout - ALT_DEL, //Added to map left alt + backspace to delete -}; - -// Friendly layer names -enum alt_layers { - DEF = 0, - ALT, - FUNC, - SUPR -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [DEF] = 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_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_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, 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, MO(SUPR), KC_SPC, KC_RALT, MO(FUNC),KC_LEFT, KC_DOWN, KC_RGHT - ), - [ALT] = LAYOUT_65_ansi_blocker( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, KC_LALT, _______, _______, _______, _______, _______, _______ - ), - [FUNC] = 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_MUTE, - _______, RGB_SPD, RGB_VAI, RGB_SPI, RGB_HUI, RGB_SAI, _______, U_T_AUTO,U_T_AGCR,_______, KC_PSCR, KC_SCRL, KC_PAUS, _______, KC_END, - _______, RGB_RMOD,RGB_VAD, RGB_MOD, RGB_HUD, RGB_SAD, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, - _______, RGB_TOG, _______, _______, EE_CLR, MD_BOOT, NK_TOGG, DBG_TOG, _______, TG(ALT), _______, _______, KC_PGUP, KC_VOLD, - _______, _______, KC_LALT, _______, _______, _______, KC_HOME, KC_PGDN, KC_END - ), - [SUPR] = 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, ALT_DEL, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_END, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, KC_HOME, _______, KC_END - ) -}; - -// EEPROM storage mode -enum alt_rgb_mode { - RGB_MODE_ALL, - RGB_MODE_KEYLIGHT, - RGB_MODE_UNDERGLOW, - RGB_MODE_NONE, -}; - -// EEPROM storage type -typedef union { - uint32_t raw; - struct { - uint8_t rgb_mode :8; - }; -} alt_config_t; - -alt_config_t alt_config; - -// Read from EEPROM on init to load the last saved mode -void keyboard_post_init_kb(void) { - alt_config.raw = eeconfig_read_user(); - switch (alt_config.rgb_mode) { - case RGB_MODE_ALL: - rgb_matrix_set_flags(LED_FLAG_ALL); - rgb_matrix_enable_noeeprom(); - break; - case RGB_MODE_KEYLIGHT: - rgb_matrix_set_flags(LED_FLAG_KEYLIGHT); - rgb_matrix_set_color_all(0, 0, 0); - break; - case RGB_MODE_UNDERGLOW: - rgb_matrix_set_flags(LED_FLAG_UNDERGLOW); - rgb_matrix_set_color_all(0, 0, 0); - break; - case RGB_MODE_NONE: - rgb_matrix_set_flags(LED_FLAG_NONE); - rgb_matrix_disable_noeeprom(); - break; - } -} - -#define MODS_SHIFT (get_mods() & MOD_BIT(KC_LSFT) || get_mods() & MOD_BIT(KC_RSFT)) -#define MODS_CTRL (get_mods() & MOD_BIT(KC_LCTL) || get_mods() & MOD_BIT(KC_RCTL)) -#define MODS_ALT (get_mods() & MOD_BIT(KC_LALT) || get_mods() & MOD_BIT(KC_RALT)) - -// If the super alt layer is the active layer -bool super_alt_layer_active = false; - -// If we need to unregister alt when leaving the super alt layer -bool need_to_unregister_alt = false; - -// This runs code every time that the layers get changed -layer_state_t layer_state_set_user(layer_state_t state) { - switch (get_highest_layer(state)) { - case DEF: - // When returning to the default layer, check if we need to unregister the left alt key - if (super_alt_layer_active && need_to_unregister_alt) { - unregister_code(KC_LALT); - } - - super_alt_layer_active = false; - need_to_unregister_alt = false; - break; - case SUPR: - super_alt_layer_active = true; - break; - } - return state; -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - static uint32_t key_timer; - - switch (keycode) { - // These are the keys we want to 'fall though' and behave as usual when pressed with the alt modifier - case KC_A ... KC_Z: - case KC_TAB: - case KC_DEL: - case KC_UP: - case KC_DOWN: - case MO(FUNC): - if (super_alt_layer_active && record->event.pressed) { - // Only activate the alt modifier for the first key press - if ((get_mods() & MOD_BIT(KC_LALT)) == false) { - register_code(KC_LALT); - need_to_unregister_alt = true; - } - } - // We still want to process the keycode normally - return true; - case KC_F4: - // Map alt+shift+4 to alt+f4 - if (super_alt_layer_active && (get_mods() & MOD_BIT(KC_LSFT))) { - if (record->event.pressed) { - register_code(KC_LALT); - } else { - unregister_code(KC_LALT); - } - } - return true; - case ALT_DEL: - if (record->event.pressed) { - register_code(KC_DEL); - } else { - unregister_code(KC_DEL); - } - return false; - case U_T_AUTO: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_extra_manual, "USB extra port manual mode"); - } - return false; - case U_T_AGCR: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_gcr_auto, "USB GCR auto mode"); - } - return false; - case DBG_TOG: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_enable, "Debug mode"); - } - return false; - case DBG_MTRX: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_matrix, "Debug matrix"); - } - return false; - case DBG_KBD: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_keyboard, "Debug keyboard"); - } - return false; - case DBG_MOU: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_mouse, "Debug mouse"); - } - return false; - case MD_BOOT: - if (record->event.pressed) { - key_timer = timer_read32(); - } else { - if (timer_elapsed32(key_timer) >= 500) { - reset_keyboard(); - } - } - return false; - case QK_CLEAR_EEPROM: - if (record->event.pressed) { - key_timer = timer_read32(); - } else { - if (timer_elapsed32(key_timer) >= 500) { - eeconfig_init(); - } - } - return false; - 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); - alt_config.rgb_mode = RGB_MODE_KEYLIGHT; - 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); - alt_config.rgb_mode = RGB_MODE_UNDERGLOW; - break; - } - case LED_FLAG_UNDERGLOW: { - rgb_matrix_set_flags(LED_FLAG_NONE); - rgb_matrix_disable_noeeprom(); - alt_config.rgb_mode = RGB_MODE_NONE; - break; - } - default: { - rgb_matrix_set_flags(LED_FLAG_ALL); - rgb_matrix_enable_noeeprom(); - alt_config.rgb_mode = RGB_MODE_ALL; - break; - } - } - eeconfig_update_user(alt_config.raw); - } - return false; - default: - return true; // Process all other keycodes normally - } -} diff --git a/keyboards/massdrop/alt/keymaps/favorable-mutation/README.md b/keyboards/massdrop/alt/keymaps/favorable-mutation/README.md deleted file mode 100644 index 9b0ad513b45..00000000000 --- a/keyboards/massdrop/alt/keymaps/favorable-mutation/README.md +++ /dev/null @@ -1,14 +0,0 @@ -### Massdrop Alt Layout - -This layout is for the [Massdrop Alt -Keyboard](https://drop.com/buy/massdrop-alt-mechanical-keyboard) -and targets MacOS machines. - -Some features: - -* Tap space for space, hold for cmd -* Tap caps lock for esc, hold for ctrl -* Dedicated key for entering default mode of [yabai window -manager](https://github.com/koekeishiya/yabai) -* Who needs arrow keys, anyways??? -* Method for clearing all stuck-down mods diff --git a/keyboards/massdrop/alt/keymaps/favorable-mutation/config.h b/keyboards/massdrop/alt/keymaps/favorable-mutation/config.h deleted file mode 100644 index 1893f2ba6e0..00000000000 --- a/keyboards/massdrop/alt/keymaps/favorable-mutation/config.h +++ /dev/null @@ -1,28 +0,0 @@ -/* -Copyright 2019 Griffin Rademacher - -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 - -// toggle one-shot layer keys after this many presses -#define ONESHOT_TAP_TOGGLE 3 - -// set time held before Mod-Tap key sends mod code -#define TAPPING_TERM 1000 - -// permissive hold: if holding down a Mod-Tap key while pressing another, it -// acts as a mod, even within the tapping term -#define PERMISSIVE_HOLD diff --git a/keyboards/massdrop/alt/keymaps/favorable-mutation/keymap.c b/keyboards/massdrop/alt/keymaps/favorable-mutation/keymap.c deleted file mode 100644 index 370734d06d2..00000000000 --- a/keyboards/massdrop/alt/keymaps/favorable-mutation/keymap.c +++ /dev/null @@ -1,145 +0,0 @@ -#include QMK_KEYBOARD_H - -enum alt_keycodes { - U_T_AUTO = SAFE_RANGE, //USB Extra Port Toggle Auto Detect / Always Active - U_T_AGCR, //USB Toggle Automatic GCR control - DBG_TOG, //DEBUG Toggle On / Off - DBG_MTRX, //DEBUG Toggle Matrix Prints - DBG_KBD, //DEBUG Toggle Keyboard Prints - DBG_MOU, //DEBUG Toggle Mouse Prints - MD_BOOT, //Restart into bootloader after hold timeout - HK_COSL, //Clear held-down keys -}; - -#define TG_NKRO MAGIC_TOGGLE_NKRO //Toggle 6KRO / NKRO mode -#define CTL_ESC LCTL_T(KC_ESC) -#define TP_LSFT OSM(MOD_LSFT) -#define TP_RSFT OSM(MOD_RSFT) -#define TP_LALT OSM(MOD_LALT) -#define TP_RALT OSM(MOD_RALT) -#define KC_YBAI LCTL(KC_SPC) -#define GUI_SPC LGUI_T(KC_SPC) -#define KC_SPOT LGUI(KC_SPC) - -//TODO default layer vim-like binds that work with WM, i to type??? this leads -//to layers of vim modes - what's the best way to deal with that? -//also need to deal with shift not working for other mods, add to shift layer -//most likely -// -//TODO tap/toggle for layers - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = 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_SPOT, - 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_HOME, - CTL_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_MUTE, - TP_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_VOLU, KC_MPLY, - TP_LALT, TG(2), KC_YBAI, GUI_SPC, TP_RALT, TG(1), KC_MRWD, KC_VOLD, KC_MFFD - ), - [1] = 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_DEL, - _______, RGB_SPD, RGB_VAI, RGB_SPI, RGB_HUI, RGB_SAI, _______, U_T_AUTO,U_T_AGCR,_______, KC_PSCR, KC_SCRL, KC_PAUS, _______, KC_HOME, - _______, RGB_RMOD,RGB_VAD, RGB_MOD, RGB_HUD, RGB_SAD, _______, KC_MRWD, KC_MFFD, _______, _______, _______, _______, KC_PGUP, - _______, RGB_TOG, _______, _______, _______, MD_BOOT, TG_NKRO, DBG_TOG, _______, _______, _______, _______, KC_UP, KC_PGDN, - _______, _______, _______, HK_COSL, _______, TG(1), KC_LEFT, KC_DOWN, KC_RGHT - ), - /* - [X] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - */ -}; - -// 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) { -}; - -#define MODS_SHIFT (get_mods() & MOD_MASK_SHIFT) -#define MODS_CTRL (get_mods() & MOD_MASK_CTRL) -#define MODS_ALT (get_mods() & MOD_MASK_ALT) - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - static uint32_t key_timer; - - switch (keycode) { - case HK_COSL: - clear_keyboard(); - reset_oneshot_layer(); - return true; - case U_T_AUTO: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_extra_manual, "USB extra port manual mode"); - } - return false; - case U_T_AGCR: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_gcr_auto, "USB GCR auto mode"); - } - return false; - case DBG_TOG: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_enable, "Debug mode"); - } - return false; - case DBG_MTRX: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_matrix, "Debug matrix"); - } - return false; - case DBG_KBD: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_keyboard, "Debug keyboard"); - } - return false; - case DBG_MOU: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_mouse, "Debug mouse"); - } - return false; - case MD_BOOT: - if (record->event.pressed) { - key_timer = timer_read32(); - } else { - if (timer_elapsed32(key_timer) >= 500) { - reset_keyboard(); - } - } - return false; - case RGB_TOG: - if (record->event.pressed) { - switch (rgb_matrix_get_flags()) { - case LED_FLAG_ALL: { - rgb_matrix_set_flags(LED_FLAG_KEYLIGHT); - rgb_matrix_set_color_all(0, 0, 0); - } - break; - case LED_FLAG_KEYLIGHT: { - 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 - } -} diff --git a/keyboards/massdrop/alt/keymaps/hlmtre/keymap.c b/keyboards/massdrop/alt/keymaps/hlmtre/keymap.c deleted file mode 100644 index a0ea46f3230..00000000000 --- a/keyboards/massdrop/alt/keymaps/hlmtre/keymap.c +++ /dev/null @@ -1,131 +0,0 @@ -/* Copyright 2021 hlmtre - * - * 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 alt_keycodes { - U_T_AUTO = SAFE_RANGE, //USB Extra Port Toggle Auto Detect / Always Active - U_T_AGCR, //USB Toggle Automatic GCR control - DBG_TOG, //DEBUG Toggle On / Off - DBG_MTRX, //DEBUG Toggle Matrix Prints - DBG_KBD, //DEBUG Toggle Keyboard Prints - DBG_MOU, //DEBUG Toggle Mouse Prints - MD_BOOT, //Restart into bootloader after hold timeout -}; - -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_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_HOME, - 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_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 - ), - [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_MUTE, - _______, RGB_SPD, RGB_VAI, RGB_SPI, RGB_HUI, RGB_SAI, _______, U_T_AUTO, KC_INS, _______, KC_PSCR, KC_SCRL, KC_PAUS, _______, KC_END, - _______, RGB_RMOD,RGB_VAD, RGB_MOD, RGB_HUD, RGB_SAD, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, - _______, RGB_TOG, _______, _______, _______, MD_BOOT, NK_TOGG, DBG_TOG, _______, _______, _______, _______, KC_VOLU, KC_VOLD, - _______, _______, _______, KC_MPLY, _______, _______, KC_MPRV, KC_VOLD, KC_MNXT - ), - /* - [X] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - */ -}; - -#define MODS_SHIFT (get_mods() & MOD_BIT(KC_LSFT) || get_mods() & MOD_BIT(KC_RSFT)) -#define MODS_CTRL (get_mods() & MOD_BIT(KC_LCTL) || get_mods() & MOD_BIT(KC_RCTL)) -#define MODS_ALT (get_mods() & MOD_BIT(KC_LALT) || get_mods() & MOD_BIT(KC_RALT)) - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - static uint32_t key_timer; - - switch (keycode) { - case U_T_AUTO: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_extra_manual, "USB extra port manual mode"); - } - return false; - case U_T_AGCR: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_gcr_auto, "USB GCR auto mode"); - } - return false; - case DBG_TOG: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_enable, "Debug mode"); - } - return false; - case DBG_MTRX: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_matrix, "Debug matrix"); - } - return false; - case DBG_KBD: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_keyboard, "Debug keyboard"); - } - return false; - case DBG_MOU: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_mouse, "Debug mouse"); - } - return false; - case MD_BOOT: - if (record->event.pressed) { - key_timer = timer_read32(); - } else { - if (timer_elapsed32(key_timer) >= 500) { - reset_keyboard(); - } - } - return false; - 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 - } -} diff --git a/keyboards/massdrop/alt/keymaps/mac/keymap.c b/keyboards/massdrop/alt/keymaps/mac/keymap.c deleted file mode 100644 index 8a5fd9543ab..00000000000 --- a/keyboards/massdrop/alt/keymaps/mac/keymap.c +++ /dev/null @@ -1,115 +0,0 @@ -#include QMK_KEYBOARD_H - -enum alt_keycodes { - U_T_AUTO = SAFE_RANGE, //USB Extra Port Toggle Auto Detect / Always Active - U_T_AGCR, //USB Toggle Automatic GCR control - DBG_TOG, //DEBUG Toggle On / Off - DBG_MTRX, //DEBUG Toggle Matrix Prints - DBG_KBD, //DEBUG Toggle Keyboard Prints - DBG_MOU, //DEBUG Toggle Mouse Prints - MD_BOOT, //Restart into bootloader after hold timeout -}; - -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_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_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, 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_RGUI, MO(1), 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_MUTE, - _______, RGB_SPD, RGB_VAI, RGB_SPI, RGB_HUI, RGB_SAI, _______, U_T_AUTO,U_T_AGCR,_______, KC_PSCR, KC_SCRL, KC_PAUS, _______, KC_END, - _______, RGB_RMOD,RGB_VAD, RGB_MOD, RGB_HUD, RGB_SAD, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, - _______, RGB_TOG, _______, _______, _______, MD_BOOT, NK_TOGG, DBG_TOG, _______, _______, _______, _______, KC_PGUP, KC_VOLD, - _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END - ), - /* - [X] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - */ -}; - -#define MODS_SHIFT (get_mods() & MOD_BIT(KC_LSFT) || get_mods() & MOD_BIT(KC_RSFT)) -#define MODS_CTRL (get_mods() & MOD_BIT(KC_LCTL) || get_mods() & MOD_BIT(KC_RCTL)) -#define MODS_ALT (get_mods() & MOD_BIT(KC_LALT) || get_mods() & MOD_BIT(KC_RALT)) - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - static uint32_t key_timer; - - switch (keycode) { - case U_T_AUTO: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_extra_manual, "USB extra port manual mode"); - } - return false; - case U_T_AGCR: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_gcr_auto, "USB GCR auto mode"); - } - return false; - case DBG_TOG: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_enable, "Debug mode"); - } - return false; - case DBG_MTRX: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_matrix, "Debug matrix"); - } - return false; - case DBG_KBD: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_keyboard, "Debug keyboard"); - } - return false; - case DBG_MOU: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_mouse, "Debug mouse"); - } - return false; - case MD_BOOT: - if (record->event.pressed) { - key_timer = timer_read32(); - } else { - if (timer_elapsed32(key_timer) >= 500) { - reset_keyboard(); - } - } - return false; - case RGB_TOG: - if (record->event.pressed) { - switch (rgb_matrix_get_flags()) { - case LED_FLAG_ALL: { - rgb_matrix_set_flags(LED_FLAG_KEYLIGHT); - rgb_matrix_set_color_all(0, 0, 0); - } - break; - case LED_FLAG_KEYLIGHT: { - 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 - } -} diff --git a/keyboards/massdrop/alt/keymaps/mac_md/keymap.c b/keyboards/massdrop/alt/keymaps/mac_md/keymap.c deleted file mode 100644 index 2b557475a5d..00000000000 --- a/keyboards/massdrop/alt/keymaps/mac_md/keymap.c +++ /dev/null @@ -1,258 +0,0 @@ -#include QMK_KEYBOARD_H - -enum alt_keycodes { - L_BRI = SAFE_RANGE, //LED Brightness Increase //Working - L_BRD, //LED Brightness Decrease //Working - L_EDG_I, //LED Edge Brightness Increase - L_EDG_D, //LED Edge Brightness Decrease - L_EDG_M, //LED Edge lighting mode - L_PTN, //LED Pattern Select Next //Working - L_PTP, //LED Pattern Select Previous //Working - L_PSI, //LED Pattern Speed Increase //Working - L_PSD, //LED Pattern Speed Decrease //Working - L_RATIOD, - L_RATIOI, - L_T_MD, //LED Toggle Mode //Working - L_T_ONF, //LED Toggle On / Off //Broken - L_ON, //LED On //Broken - L_OFF, //LED Off //Broken - L_T_BR, //LED Toggle Breath Effect //Working - L_T_PTD, //LED Toggle Scrolling Pattern Direction //Working - U_T_AGCR, //USB Toggle Automatic GCR control //Working - DBG_TOG, //DEBUG Toggle On / Off // - DBG_MTRX, //DEBUG Toggle Matrix Prints // - DBG_KBD, //DEBUG Toggle Keyboard Prints // - DBG_MOU, //DEBUG Toggle Mouse Prints // - DBG_FAC, //DEBUG Factory light testing (All on white) - MD_BOOT //Restart into bootloader after hold timeout //Working -}; - -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_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_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, 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_RGUI, MO(1), 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_MUTE, - L_T_BR, L_PSD, L_BRI, L_PSI, L_EDG_I, _______, _______, _______, U_T_AGCR,_______, KC_PSCR, KC_SCRL, KC_PAUS, _______, KC_END, - L_T_PTD, L_PTP, L_BRD, L_PTN, L_EDG_D, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, - _______, L_T_MD, L_T_ONF, _______, L_EDG_M, MD_BOOT, NK_TOGG, _______, _______, _______, _______, _______, KC_PGUP, KC_VOLD, - _______, _______, _______, DBG_FAC, _______, _______, KC_HOME, KC_PGDN, KC_END - ), - /* - [X] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - */ -}; - -#define MODS_SHIFT (get_mods() & MOD_BIT(KC_LSFT) || get_mods() & MOD_BIT(KC_RSFT)) -#define MODS_CTRL (get_mods() & MOD_BIT(KC_LCTL) || get_mods() & MOD_BIT(KC_RCTL)) -#define MODS_ALT (get_mods() & MOD_BIT(KC_LALT) || get_mods() & MOD_BIT(KC_RALT)) - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - static uint32_t key_timer; - static uint8_t scroll_effect = 0; - - switch (keycode) { - case L_BRI: - if (record->event.pressed) { - if (LED_GCR_STEP > LED_GCR_MAX - gcr_desired) gcr_desired = LED_GCR_MAX; - else gcr_desired += LED_GCR_STEP; - if (led_animation_breathing) gcr_breathe = gcr_desired; - } - return false; - case L_BRD: - if (record->event.pressed) { - if (LED_GCR_STEP > gcr_desired) gcr_desired = 0; - else gcr_desired -= LED_GCR_STEP; - if (led_animation_breathing) gcr_breathe = gcr_desired; - } - return false; - case L_EDG_M: - if (record->event.pressed) { - led_edge_mode++; - if (led_edge_mode > LED_EDGE_MODE_MAX) { - led_edge_mode = LED_EDGE_MODE_ALL; - } - } - return false; - case L_EDG_I: - if (record->event.pressed) { - led_edge_brightness += 0.1; - if (led_edge_brightness > 1) { led_edge_brightness = 1; } - } - return false; - case L_EDG_D: - if (record->event.pressed) { - led_edge_brightness -= 0.1; - if (led_edge_brightness < 0) { led_edge_brightness = 0; } - } - return false; - case L_RATIOI: - if (record->event.pressed) { - led_ratio_brightness += 0.2; - if (led_ratio_brightness > 2.0) { led_ratio_brightness = 2.0; } - } - return false; - case L_RATIOD: - if (record->event.pressed) { - led_ratio_brightness -= 0.2; - if (led_ratio_brightness < 0.0) { led_ratio_brightness = 0.0; } - } - return false; - case L_PTN: - if (record->event.pressed) { - if (led_animation_id == led_setups_count - 1) led_animation_id = 0; - else led_animation_id++; - } - return false; - case L_PTP: - if (record->event.pressed) { - if (led_animation_id == 0) led_animation_id = led_setups_count - 1; - else led_animation_id--; - } - return false; - case L_PSI: - if (record->event.pressed) { - led_animation_speed += ANIMATION_SPEED_STEP; - } - return false; - case L_PSD: - if (record->event.pressed) { - led_animation_speed -= ANIMATION_SPEED_STEP; - if (led_animation_speed < 0) led_animation_speed = 0; - } - return false; - case L_T_MD: - if (record->event.pressed) { - led_lighting_mode++; - if (led_lighting_mode > LED_MODE_MAX_INDEX) led_lighting_mode = LED_MODE_NORMAL; - } - return false; - case L_T_ONF: - if (record->event.pressed) { - led_enabled = !led_enabled; - I2C3733_Control_Set(led_enabled); - } - return false; - case L_ON: - if (record->event.pressed) { - led_enabled = 1; - I2C3733_Control_Set(led_enabled); - } - return false; - case L_OFF: - if (record->event.pressed) { - led_enabled = 0; - I2C3733_Control_Set(led_enabled); - } - return false; - case L_T_BR: - if (record->event.pressed) { - led_animation_breathing = !led_animation_breathing; - if (led_animation_breathing) { - gcr_breathe = gcr_desired; - led_animation_breathe_cur = BREATHE_MIN_STEP; - breathe_dir = 1; - } - } - return false; - case L_T_PTD: - if (record->event.pressed) { - scroll_effect++; - if (scroll_effect == 1) { //Patterns with scroll move horizontal (Right to left) - led_animation_direction = 1; - led_animation_orientation = 0; - led_animation_circular = 0; - } else if (scroll_effect == 2) { //Patterns with scroll move vertical (Top to bottom) - led_animation_direction = 1; - led_animation_orientation = 1; - led_animation_circular = 0; - } else if (scroll_effect == 3) { //Patterns with scroll move vertical (Bottom to top) - led_animation_direction = 0; - led_animation_orientation = 1; - led_animation_circular = 0; - } else if (scroll_effect == 4) { //Patterns with scroll explode from center - led_animation_direction = 0; - led_animation_orientation = 0; - led_animation_circular = 1; - } else if (scroll_effect == 5) { //Patterns with scroll implode on center - led_animation_direction = 1; - led_animation_orientation = 0; - led_animation_circular = 1; - } else { //Patterns with scroll move horizontal (Left to right) - scroll_effect = 0; - led_animation_direction = 0; - led_animation_orientation = 0; - led_animation_circular = 0; - } - } - return false; - case U_T_AGCR: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_gcr_auto, "USB GCR auto mode"); - } - return false; - case DBG_FAC: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - led_lighting_mode = LED_MODE_NORMAL; - led_edge_brightness = 1; - led_edge_mode = LED_EDGE_MODE_ALL; - led_animation_breathing = 0; - led_animation_id = 7; //led_programs.c led_setups leds_white index - gcr_desired = LED_GCR_MAX; - led_enabled = 1; - I2C3733_Control_Set(led_enabled); - } - return false; - case DBG_TOG: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_enable, "Debug mode"); - } - return false; - case DBG_MTRX: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_matrix, "Debug matrix"); - } - return false; - case DBG_KBD: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_keyboard, "Debug keyboard"); - } - return false; - case DBG_MOU: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_mouse, "Debug mouse"); - } - return false; - case MD_BOOT: - if (record->event.pressed) { - key_timer = timer_read32(); - } else { - if (timer_elapsed32(key_timer) >= 500) { - reset_keyboard(); - } - } - return false; - default: - return true; //Process all other keycodes normally - } -} - -led_instruction_t led_instructions[] = { - //Please see ../default_md/keymap.c for examples - - //All LEDs use the user's selected pattern (this is the factory default) - { .flags = LED_FLAG_USE_ROTATE_PATTERN }, - - //end must be set to 1 to indicate end of instruction set - { .end = 1 } -}; diff --git a/keyboards/massdrop/alt/keymaps/mac_md/rules.mk b/keyboards/massdrop/alt/keymaps/mac_md/rules.mk deleted file mode 100644 index 064a6f54c1f..00000000000 --- a/keyboards/massdrop/alt/keymaps/mac_md/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -# This keymap requires Massdrop Configurator support -OPT_DEFS += -DUSE_MASSDROP_CONFIGURATOR diff --git a/keyboards/massdrop/alt/keymaps/pregame/config.h b/keyboards/massdrop/alt/keymaps/pregame/config.h deleted file mode 100644 index e2234da2ec3..00000000000 --- a/keyboards/massdrop/alt/keymaps/pregame/config.h +++ /dev/null @@ -1,150 +0,0 @@ -/* Copyright 2020 elijahblake81 - * - * 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 // Enabling to allow to tweak individual keys -// #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 3000 // 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) - - - -//Teal and Blue -//#define RGB_MATRIX_DEFAULT_HUE 127 // Default boot color -//#define RGB_MATRIX_DEFAULT_SPD 47 // Used to determine the color for the modifiers - -//Teal and Blue -//#define RGB_MATRIX_DEFAULT_HUE 120 // Default boot color -//#define RGB_MATRIX_DEFAULT_SPD 50 //Used to determine the color for the modifiers - - -//QMK HSV is based on 255 value wheel rather than 360 - -//Cyan and Yellow -//#define RGB_MATRIX_DEFAULT_HUE 127 // Default boot color -//#define RGB_MATRIX_DEFAULT_SPD 177 - -//Cyan and Green -//#define RGB_MATRIX_DEFAULT_HUE 127 // Default boot color -//#define RGB_MATRIX_DEFAULT_SPD 215 - -// #define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS - -#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_SOLID_REACTIVE // Sets the default mode, if none has been set -#define RGB_MATRIX_DEFAULT_HUE 180 //purple alphas with green background when pressed. -// #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_ALTERNATING // Enable alternating animation mode. -#define RGBLIGHT_EFFECT_BREATHING // Enable breathing animation mode. -// #define RGBLIGHT_EFFECT_CHRISTMAS // Enable christmas animation mode. -// #define RGBLIGHT_EFFECT_KNIGHT // Enable knight animation mode. -// #define RGBLIGHT_EFFECT_RAINBOW_MOOD // Enable rainbow mood animation mode. -// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL // Enable rainbow swirl animation mode. -// #define RGBLIGHT_EFFECT_RGB_TEST // Enable RGB test animation mode. -// #define RGBLIGHT_EFFECT_SNAKE // Enable snake animation mode. -// #define RGBLIGHT_EFFECT_STATIC_GRADIENT // Enable static gradient mode. - -// #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_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_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_RAINBOW_MOVING_CHEVRON // Full gradent Chevron shapped scrolling left to right -// #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 // Static single hue, pulses keys hit to shifted hue then fades to current hue -// #undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE // Pulses keys hit to hue & value then fades value out -// #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/massdrop/alt/keymaps/pregame/keymap.c b/keyboards/massdrop/alt/keymaps/pregame/keymap.c deleted file mode 100644 index d111b6a5547..00000000000 --- a/keyboards/massdrop/alt/keymaps/pregame/keymap.c +++ /dev/null @@ -1,248 +0,0 @@ -/* Copyright 2020 elijahblake81 - * - * 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 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 ========================================================== -extern bool g_suspend_state; -extern rgb_config_t rgb_matrix_config; -bool disable_layer_color; - -enum alt_keycodes { - U_T_AUTO = SAFE_RANGE, // USB Extra Port Toggle Auto Detect / Always Active - U_T_AGCR, // USB Toggle Automatic GCR control - DBG_TOG, // DEBUG Toggle On / Off - DBG_MTRX, // DEBUG Toggle Matrix Prints - DBG_KBD, // DEBUG Toggle Keyboard Prints - DBG_MOU, // DEBUG Toggle Mouse Prints - MD_BOOT, // Restart into bootloader after hold timeout -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - /* - [DEFAULT] = 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_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_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, 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 - ), - */ - [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_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_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, 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 - ), - [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_F13, KC_CALC, - RGB_M_P, RGB_SPD, RGB_HUI, RGB_SPI, RGB_SAI, RGB_VAI, _______, U_T_AUTO, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, _______, KC_MYCM, - RGB_TOG, RGB_RMOD, RGB_HUD, RGB_MOD, RGB_SAD, RGB_VAD, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLU, - _______, _______, _______, _______, _______, MD_BOOT, NK_TOGG, DBG_TOG, _______, _______, _______, _______, KC_VOLU, KC_VOLD, - _______, _______, _______, KC_MPLY, _______, _______, KC_HOME, KC_VOLD, KC_END - ), - /* - [X] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, TG_NKRO, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - [RGB] = LAYOUT( - ESC: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, 0: 10, MINS: 11, EQL: 12, BSPC: 13, DEL: 14, - TAB: 15, Q: 16, W: 17, E: 18, R: 19, T: 20, Y: 21, U: 22, I: 23, O: 24, P: 25, LBRC: 26, RBRC: 27, BSLS: 28, HOME: 29, - CAPS: 30, A: 31, S: 32, D: 33, F: 34, G: 35, H: 36, J: 37, K: 38, L: 39, SCLN: 40, QUOT: 41, ENT: 42, PGUP: 43, - LSFT: 44, Z: 45, X: 46, C: 47, V: 48, B: 49, N: 50, M: 51, COMM: 52, DOT: 53, SLSH: 54, RSFT: 55, UP: 56, PGDN: 57, - LCTL: 58, LGUI: 59, LALT: 60, SPC: 61, RALT: 62, FN: 63, LEFT: 64, DOWN: 65, RGHT: 66 - //UnderGlow - :67, :68, :69, :70, :71, :72, :73, :74, :75, :76, :77, :78, :79, :80, :81, - :82, :83, :84, :85, - :86, :87, :88, :89, - :90, :91, :92, :93, :94, :95, :96, :97, :98, :99, :100, :101, :102, :103, :104, :105, - ), - [MATRIX] = LAYOUT( - 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, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, - 58, 59, 60, 61, 62, 63, 64, 65, 66, - //UnderGlow - 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, - 88, 89, - 86, 87, - 84, 85, - 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83 - ), - */ -}; - -#ifdef _______ -#undef _______ -#define _______ {0, 0, 0} - -const uint8_t PROGMEM ledmap[][RGB_MATRIX_LED_COUNT][3] = { - [0] = { - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, CHART, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, CHART, CHART, CHART, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, CHART, _______, - _______, _______, _______, _______, _______, _______, CHART, CHART, CHART, - //UnderGlow - CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, - CHART, CHART, - CHART, CHART, - CHART, CHART, - CHART, CHART, - CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART - }, - [1] = { - CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, BLUE, - GOLD, PINK, AZURE, PINK, TURQ, TEAL, _______, RED, _______, _______, GREEN, BLUE, GOLD, _______, BLUE, - TEAL, MAGENT, AZURE, MAGENT, TURQ, TEAL, _______, _______, _______, _______, _______, _______, GOLD, BLUE, - _______, _______, _______, _______, _______, RED, RED, RED, _______, _______, _______, _______, GOLD, BLUE, - _______, _______, _______, GOLD, _______, _______, PURPLE, GOLD, PURPLE, - //UnderGlow - CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, - CHART, CHART, - CHART, CHART, - CHART, CHART, - CHART, CHART, - CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART, CHART - }, -}; - -#undef _______ -#define _______ KC_TRNS -#endif - -// Runs just one time when the keyboard initializes. -void matrix_init_user(void) { - // Enable or disable debugging - debug_enable=false; - debug_matrix=false; - debug_keyboard=false; - //rgb_enabled_flag = true; // Initially, keyboard RGB is enabled. Change to false config.h initializes RGB disabled. -}; - -void keyboard_post_init_user(void) { - rgb_matrix_enable(); -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - static uint32_t key_timer; - - switch (keycode) { - case U_T_AUTO: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_extra_manual, "USB extra port manual mode"); - } - return false; - case U_T_AGCR: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_gcr_auto, "USB GCR auto mode"); - } - return false; - case MD_BOOT: - if (record->event.pressed) { - key_timer = timer_read32(); - } else { - if (timer_elapsed32(key_timer) >= 500) { - reset_keyboard(); - } - } - return false; - 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); - rgb_matrix_set_color_all(0, 0, 0); - } - break; - case LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER: { - 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; - } - } - return true; -} -void set_layer_color(int layer) { - 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) { - if (g_suspend_state || disable_layer_color || - rgb_matrix_get_flags() == LED_FLAG_NONE || - rgb_matrix_get_flags() == LED_FLAG_UNDERGLOW) { - return; - } - set_layer_color(get_highest_layer(layer_state)); - return false; -} diff --git a/keyboards/massdrop/alt/keymaps/pregame/readme.md b/keyboards/massdrop/alt/keymaps/pregame/readme.md deleted file mode 100644 index e1872705607..00000000000 --- a/keyboards/massdrop/alt/keymaps/pregame/readme.md +++ /dev/null @@ -1,35 +0,0 @@ -# Massdrop Alt Pregame - -This keymap is here to show some love to the MD Alt. This is a stripped down version of the Drop Ctrl Endgame; hence the name Pregame. - -## IRL -![In Real Life](https://i.imgur.com/Xp6Mb6P.jpg) - - - -## Layers - -### Typing Layer - -![Typing Layer](https://i.imgur.com/F7iU53K.png) - -### Function Layer - -![SHORTCUT_LAYER](https://i.imgur.com/Gub1xyC.png) - -## Features - -These are the features currently supported by this keymap: - -### RGB Can be customized by "NAME OF COLOR" in the Keymap.c file. - 1. Look at keymap for example. My base layer the W,A,S,D and Arrow Keys are CHART short for CHARTREUSE (Close to NVIDIA GREEN). The values to pick from are located on keymap.h file. - 2. I have applied static colors to the Function layer that let you know which keys are available to that layer only. The not lit up keys are still accessible if set to Transparent Keycap!!! - -## Credits - -This was all converted originally from the Drop Ctrl Endgame. I took nblyumberg's version of code and converted it to fit into the alt. -RGB timeout functionality was originally inspired by the code in this [gist](https://gist.github.com/algernon/9182469e21894192017f2bb5d478c7df). -LED config code was mostly transferred from [matthewrobo keymap](https://github.com/qmk/qmk_firmware/tree/master/keyboards/massdrop/ctrl/keymaps/matthewrobo). - - -**Rest of the information about RGB matrix, scan matrix, and whatever information I have used was made publicly available by many other awesome members of the community.** diff --git a/keyboards/massdrop/alt/keymaps/pregame/rules.mk b/keyboards/massdrop/alt/keymaps/pregame/rules.mk deleted file mode 100644 index 5981633f7c2..00000000000 --- a/keyboards/massdrop/alt/keymaps/pregame/rules.mk +++ /dev/null @@ -1,14 +0,0 @@ -# RGBLIGHT_ENABLE = no # Not for MD boards. This is here in case you forget. -COMMAND_ENABLE = no # Commands for debug and configuration -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -# AUTO_SHIFT_ENABLE = yes # Auto Shift -NKRO_ENABLE = yes # USB Nkey Rollover -DYNAMIC_MACRO_ENABLE = no # Dynamic macro recording and play -MOUSEKEY_ENABLE = no # Enable mouse control keycodes. Increases firmware size. -TAP_DANCE_ENABLE = no # Enable tap dance keys -CONSOLE_ENABLE = no # Enable debugging console. Increases firmware size. -EXTRAKEY_ENABLE = yes # Audio control and System control -# RAW_ENABLE = yes # Raw HID has not yet been implemented for this keyboard -# COMBO_ENABLE # Key combo feature -# LEADER_ENABLE # Enable leader key chording diff --git a/keyboards/massdrop/alt/keymaps/reywood/README.md b/keyboards/massdrop/alt/keymaps/reywood/README.md deleted file mode 100644 index 5ee630dfb80..00000000000 --- a/keyboards/massdrop/alt/keymaps/reywood/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# THIS KEYMAP IS BROKEN - -The CTRL and ALT have both been switched to using the QMK RGB Matrix system, -rendering any custom effects that used the old, custom Massdrop lighting system, -BROKEN. diff --git a/keyboards/massdrop/alt/keymaps/reywood/keymap.c b/keyboards/massdrop/alt/keymaps/reywood/keymap.c deleted file mode 100644 index 69d09e086c4..00000000000 --- a/keyboards/massdrop/alt/keymaps/reywood/keymap.c +++ /dev/null @@ -1,189 +0,0 @@ -#include QMK_KEYBOARD_H -#include "rgb_matrix_user.h" - -enum alt_keycodes { - L_BRI = SAFE_RANGE, //LED Brightness Increase - L_BRD, //LED Brightness Decrease - L_PTN, //LED Pattern Select Next - L_PTP, //LED Pattern Select Previous - L_PSI, //LED Pattern Speed Increase - L_PSD, //LED Pattern Speed Decrease - L_T_MD, //LED Toggle Mode - L_T_ONF, //LED Toggle On / Off - L_ON, //LED On - L_OFF, //LED Off - L_T_BR, //LED Toggle Breath Effect - L_T_PTD, //LED Toggle Scrolling Pattern Direction - U_T_AUTO, //USB Extra Port Toggle Auto Detect / Always Active - U_T_AGCR, //USB Toggle Automatic GCR control - DBG_TOG, //DEBUG Toggle On / Off - DBG_MTRX, //DEBUG Toggle Matrix Prints - DBG_KBD, //DEBUG Toggle Keyboard Prints - DBG_MOU, //DEBUG Toggle Mouse Prints - MD_BOOT, //Restart into bootloader after hold timeout -}; - -#define TG_NKRO MAGIC_TOGGLE_NKRO //Toggle 6KRO / NKRO mode -#define ______ KC_TRNS - -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_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_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, 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_RGUI, MO(1), 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_MUTE, - _______, _______, _______, KC_UP, _______, _______, _______, U_T_AUTO,U_T_AGCR,_______, KC_PSCR, KC_SCRL, KC_PAUS, _______, KC_END, - _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, MD_BOOT, TG_NKRO, _______, _______, _______, _______, _______, KC_VOLU, _______, - _______, _______, _______, KC_MPLY, MO(2), _______, KC_MRWD, KC_VOLD, KC_MFFD - ), - [2] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - L_T_BR, L_PSD, L_BRI, L_PSI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - L_T_PTD, L_PTP, L_BRD, L_PTN, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, L_T_MD, L_T_ONF, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), -}; - -// 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) { -}; - -#define MODS_SHIFT (get_mods() & MOD_BIT(KC_LSFT) || get_mods() & MOD_BIT(KC_RSFT)) -#define MODS_CTRL (get_mods() & MOD_BIT(KC_LCTL) || get_mods() & MOD_BIT(KC_RCTL)) -#define MODS_ALT (get_mods() & MOD_BIT(KC_LALT) || get_mods() & MOD_BIT(KC_RALT)) - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - static uint32_t key_timer; - - rgb_matrix_record_key_press(record); - - switch (keycode) { - case L_BRI: - if (record->event.pressed) { - if (LED_GCR_STEP > LED_GCR_MAX - gcr_desired) gcr_desired = LED_GCR_MAX; - else gcr_desired += LED_GCR_STEP; - if (led_animation_breathing) gcr_breathe = gcr_desired; - } - return false; - case L_BRD: - if (record->event.pressed) { - if (LED_GCR_STEP > gcr_desired) gcr_desired = 0; - else gcr_desired -= LED_GCR_STEP; - if (led_animation_breathing) gcr_breathe = gcr_desired; - } - return false; - case L_PTN: - if (record->event.pressed) { - if (led_animation_id == led_setups_count - 1) led_animation_id = 0; - else led_animation_id++; - } - return false; - case L_PTP: - if (record->event.pressed) { - if (led_animation_id == 0) led_animation_id = led_setups_count - 1; - else led_animation_id--; - } - return false; - case L_PSI: - if (record->event.pressed) { - led_animation_speed += ANIMATION_SPEED_STEP; - } - return false; - case L_PSD: - if (record->event.pressed) { - led_animation_speed -= ANIMATION_SPEED_STEP; - if (led_animation_speed < 0) led_animation_speed = 0; - } - return false; - case L_T_MD: - if (record->event.pressed) { - led_lighting_mode++; - if (led_lighting_mode > LED_MODE_MAX_INDEX) led_lighting_mode = LED_MODE_NORMAL; - } - return false; - case L_T_ONF: - if (record->event.pressed) { - led_enabled = !led_enabled; - I2C3733_Control_Set(led_enabled); - } - return false; - case L_ON: - if (record->event.pressed) { - led_enabled = 1; - I2C3733_Control_Set(led_enabled); - } - return false; - case L_OFF: - if (record->event.pressed) { - led_enabled = 0; - I2C3733_Control_Set(led_enabled); - } - return false; - case L_T_BR: - if (record->event.pressed) { - led_animation_breathing = !led_animation_breathing; - if (led_animation_breathing) { - gcr_breathe = gcr_desired; - led_animation_breathe_cur = BREATHE_MIN_STEP; - breathe_dir = 1; - } - } - return false; - case L_T_PTD: - if (record->event.pressed) { - led_animation_direction = !led_animation_direction; - } - return false; - case U_T_AUTO: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_extra_manual, "USB extra port manual mode"); - } - return false; - case U_T_AGCR: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_gcr_auto, "USB GCR auto mode"); - } - return false; - case DBG_TOG: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_enable, "Debug mode"); - } - return false; - case DBG_MTRX: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_matrix, "Debug matrix"); - } - return false; - case DBG_KBD: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_keyboard, "Debug keyboard"); - } - return false; - case DBG_MOU: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_mouse, "Debug mouse"); - } - return false; - case MD_BOOT: - if (record->event.pressed) { - key_timer = timer_read32(); - } else { - if (timer_elapsed32(key_timer) >= 500) { - reset_keyboard(); - } - } - return false; - default: - return true; //Process all other keycodes normally - } -} diff --git a/keyboards/massdrop/alt/keymaps/reywood/rgb_matrix_user.c b/keyboards/massdrop/alt/keymaps/reywood/rgb_matrix_user.c deleted file mode 100644 index 9ea8fbede49..00000000000 --- a/keyboards/massdrop/alt/keymaps/reywood/rgb_matrix_user.c +++ /dev/null @@ -1,193 +0,0 @@ -#include "quantum.h" -#include "md_rgb_matrix.h" - -extern issi3733_led_t *led_cur; -extern uint8_t led_per_run; -extern issi3733_led_t *lede; -extern issi3733_led_t led_map[]; - -static uint16_t last_boost_update; -static uint8_t led_boosts[ISSI3733_LED_COUNT]; -static uint8_t led_boost_index; -static uint8_t led_cur_index; - -#define LED_BOOST_REFRESH_INTERVAL_IN_MS 40 -#define LED_BOOST_DECAY 0.7 -#define LED_BOOST_PROPAGATE 0.5 -#define LED_BOOST_PEAK 100 - -#define MIN_RGB 0x050008 -#define MIN_R (MIN_RGB >> 16 & 0xff) -#define MIN_G (MIN_RGB >> 8 & 0xff) -#define MIN_B (MIN_RGB & 0xff) - -#define MAX_RGB 0xc26eff -#define MAX_R (MAX_RGB >> 16 & 0xff) -#define MAX_G (MAX_RGB >> 8 & 0xff) -#define MAX_B (MAX_RGB & 0xff) - -#define UNDERGLOW_RGB 0x4f002e -#define UNDERGLOW_R (UNDERGLOW_RGB >> 16 & 0xff) -#define UNDERGLOW_G (UNDERGLOW_RGB >> 8 & 0xff) -#define UNDERGLOW_B (UNDERGLOW_RGB & 0xff) - -#define UNDERGLOW_SCAN_CODE 255 - -#define max(a, b) (((a) > (b)) ? (a) : (b)) - -#define __ -1 -static const uint8_t KEY_TO_LED_MAP[MATRIX_ROWS][MATRIX_COLS] = { - { 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, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57}, - {58, 59, 60, __, __, __, 61, __, __, __, 62, 63, 64, 65, 66}, -}; - -#define KEY_LED_COUNT 67 -#define KP(c, r) { .col = c, .row = r } // shorthand for keypos_t -static const keypos_t LED_TO_KEY_MAP[KEY_LED_COUNT] = { - KP(0, 0), KP(1, 0), KP(2, 0), KP(3, 0), KP(4, 0), KP(5, 0), KP(6, 0), KP(7, 0), KP(8, 0), KP(9, 0), KP(10, 0), KP(11, 0), KP(12, 0), KP(13, 0), KP(14, 0), - KP(0, 1), KP(1, 1), KP(2, 1), KP(3, 1), KP(4, 1), KP(5, 1), KP(6, 1), KP(7, 1), KP(8, 1), KP(9, 1), KP(10, 1), KP(11, 1), KP(12, 1), KP(13, 1), KP(14, 1), - KP(0, 2), KP(1, 2), KP(2, 2), KP(3, 2), KP(4, 2), KP(5, 2), KP(6, 2), KP(7, 2), KP(8, 2), KP(9, 2), KP(10, 2), KP(11, 2), KP(13, 2), KP(14, 2), - KP(0, 3), KP(2, 3), KP(3, 3), KP(4, 3), KP(5, 3), KP(6, 3), KP(7, 3), KP(8, 3), KP(9, 3), KP(10, 3), KP(11, 3), KP(12, 3), KP(13, 3), KP(14, 3), - KP(0, 4), KP(1, 4), KP(2, 4), KP(6, 4), KP(10, 4), KP(11, 4), KP(12, 4), KP(13, 4), KP(14, 4), -}; - - -static void update_led_boosts(void); -static void update_led_cur_rgb_values(void); -static void set_nearest_led_to_max(uint8_t col, uint8_t row); -static uint8_t calculate_new_color_component_value(uint8_t max, uint8_t min); -static void calculate_new_led_boosts(uint8_t new_led_boosts[]); -static uint8_t calculate_new_led_boost_at(int index); -static uint8_t get_propagated_boost_from_neighbors(int led_position); -static uint8_t get_led_boost_at_keypos(uint8_t row, uint8_t col); -static void set_new_led_boosts(uint8_t* new_led_boosts); -static uint8_t map_key_position_to_led_index(uint8_t col, uint8_t row); - - -void rgb_matrix_init_user(void) { - for (int i = 0; i < ISSI3733_LED_COUNT; i++) { - led_boosts[i] = 0; - } - last_boost_update = timer_read(); - led_boost_index = 0; - led_cur_index = 0; -} - -void md_rgb_matrix_run(void) { - uint8_t led_this_run = 0; - - if (led_cur == 0) { //Denotes start of new processing cycle in the case of chunked processing - led_cur = led_map; - led_cur_index = 0; - } - update_led_boosts(); - - while (led_cur < lede && led_this_run < led_per_run) { - update_led_cur_rgb_values(); - - led_cur++; - led_cur_index++; - led_this_run++; - } -} - -void rgb_matrix_record_key_press(keyrecord_t *record) { - if (record->event.pressed) { - keypos_t key = record->event.key; - set_nearest_led_to_max(key.col, key.row); - } -} - - -static void update_led_boosts(void) { - if (timer_elapsed(last_boost_update) > LED_BOOST_REFRESH_INTERVAL_IN_MS) { - last_boost_update = timer_read(); - - uint8_t new_led_boosts[ISSI3733_LED_COUNT]; - calculate_new_led_boosts(new_led_boosts); - set_new_led_boosts(new_led_boosts); - } -} - -static void update_led_cur_rgb_values(void) { - if (led_cur->scan == UNDERGLOW_SCAN_CODE) { - *led_cur->rgb.r = UNDERGLOW_R; - *led_cur->rgb.g = UNDERGLOW_G; - *led_cur->rgb.b = UNDERGLOW_B; - } else { - *led_cur->rgb.r = calculate_new_color_component_value(MAX_R, MIN_R); - *led_cur->rgb.g = calculate_new_color_component_value(MAX_G, MIN_G); - *led_cur->rgb.b = calculate_new_color_component_value(MAX_B, MIN_B); - } -} - -static void set_nearest_led_to_max(uint8_t col, uint8_t row) { - uint8_t led_index = map_key_position_to_led_index(col, row); - if (led_index >= 0 && led_index < ISSI3733_LED_COUNT) { - led_boosts[led_index] = LED_BOOST_PEAK; - } -} - -static uint8_t calculate_new_color_component_value(uint8_t max, uint8_t min) { - uint8_t current_boost = led_boosts[led_cur_index]; - return (float)(max - min) * current_boost / LED_BOOST_PEAK + min; -} - -static void calculate_new_led_boosts(uint8_t new_led_boosts[]) { - for (int i = 0; i < ISSI3733_LED_COUNT; i++) { - new_led_boosts[i] = calculate_new_led_boost_at(i); - } -} - -static uint8_t calculate_new_led_boost_at(int index) { - uint8_t decayed_boost = led_boosts[index] * LED_BOOST_DECAY; - uint8_t propagated_boost = get_propagated_boost_from_neighbors(index); - uint8_t new_boost = (propagated_boost > decayed_boost) ? propagated_boost : decayed_boost; - if (new_boost > LED_BOOST_PEAK) { - new_boost = LED_BOOST_PEAK; - } - return new_boost; -} - -static uint8_t get_propagated_boost_from_neighbors(int led_position) { - if (led_position < 0 || led_position >= KEY_LED_COUNT) { - return 0; - } - keypos_t led_keypos = LED_TO_KEY_MAP[led_position]; - uint8_t top_boost = get_led_boost_at_keypos(led_keypos.row - 1, led_keypos.col); - uint8_t bottom_boost = get_led_boost_at_keypos(led_keypos.row + 1, led_keypos.col); - uint8_t left_boost = get_led_boost_at_keypos(led_keypos.row, led_keypos.col - 1); - uint8_t right_boost = get_led_boost_at_keypos(led_keypos.row, led_keypos.col + 1); - uint8_t max_boost = max(max(top_boost, bottom_boost), max(left_boost, right_boost)); - if (max_boost > LED_BOOST_PEAK) { - max_boost = LED_BOOST_PEAK; - } - return max_boost * LED_BOOST_PROPAGATE; -} - -static uint8_t get_led_boost_at_keypos(uint8_t row, uint8_t col) { - if (row < 0 || row >= MATRIX_ROWS || col < 0 || col >= MATRIX_COLS) { - return 0; - } - uint8_t led_index = KEY_TO_LED_MAP[row][col]; - if (led_index < 0) { - return 0; - } - return led_boosts[led_index]; -} - -static void set_new_led_boosts(uint8_t* new_led_boosts) { - for (int i = 0; i < ISSI3733_LED_COUNT; i++) { - led_boosts[i] = new_led_boosts[i]; - } -} - -static uint8_t map_key_position_to_led_index(uint8_t col, uint8_t row) { - if (row >= 0 && row < MATRIX_ROWS && col >= 0 && col < MATRIX_COLS) { - return KEY_TO_LED_MAP[row][col]; - } - return -1; -} diff --git a/keyboards/massdrop/alt/keymaps/reywood/rgb_matrix_user.h b/keyboards/massdrop/alt/keymaps/reywood/rgb_matrix_user.h deleted file mode 100644 index 4ffd202e9b8..00000000000 --- a/keyboards/massdrop/alt/keymaps/reywood/rgb_matrix_user.h +++ /dev/null @@ -1,3 +0,0 @@ -#pragma once - -void rgb_matrix_record_key_press(keyrecord_t *record); diff --git a/keyboards/massdrop/alt/keymaps/reywood/rules.mk b/keyboards/massdrop/alt/keymaps/reywood/rules.mk deleted file mode 100644 index 57a697a7e72..00000000000 --- a/keyboards/massdrop/alt/keymaps/reywood/rules.mk +++ /dev/null @@ -1,5 +0,0 @@ -# project specific files -SRC += rgb_matrix_user.c - -# This keymap requires Massdrop Configurator support -OPT_DEFS += -DUSE_MASSDROP_CONFIGURATOR diff --git a/keyboards/massdrop/alt/keymaps/urbanvanilla/config.h b/keyboards/massdrop/alt/keymaps/urbanvanilla/config.h deleted file mode 100644 index 64f73b800f6..00000000000 --- a/keyboards/massdrop/alt/keymaps/urbanvanilla/config.h +++ /dev/null @@ -1,27 +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 . -*/ - -#pragma once - -#define MATRIX_IO_DELAY 40 - -#define RGB_MATRIX_KEYPRESSES -#define RGB_MATRIX_FRAMEBUFFER_EFFECTS -#define RGB_MATRIX_LED_PROCESS_LIMIT 15 -#define RGB_MATRIX_LED_FLUSH_LIMIT 10 - -// #define RGB_MATRIX_SLEEP // turn off effects when suspended diff --git a/keyboards/massdrop/alt/keymaps/urbanvanilla/keymap.c b/keyboards/massdrop/alt/keymaps/urbanvanilla/keymap.c deleted file mode 100644 index c5905d502fb..00000000000 --- a/keyboards/massdrop/alt/keymaps/urbanvanilla/keymap.c +++ /dev/null @@ -1,164 +0,0 @@ -#include QMK_KEYBOARD_H - -enum alt_keycodes { - U_T_AUTO = SAFE_RANGE, //USB Extra Port Toggle Auto Detect / Always Active - U_T_AGCR, //USB Toggle Automatic GCR control - DBG_TOG, //DEBUG Toggle On / Off - DBG_MTRX, //DEBUG Toggle Matrix Prints - DBG_KBD, //DEBUG Toggle Keyboard Prints - DBG_MOU, //DEBUG Toggle Mouse Prints - MD_BOOT, //Restart into bootloader after hold timeout -}; - -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_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_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, 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 - ), - [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, VK_TOGG, KC_MUTE, - _______, RGB_SPD, RGB_VAI, RGB_SPI, RGB_HUI, RGB_SAI, _______, U_T_AUTO,U_T_AGCR,_______, KC_PSCR, KC_SCRL, KC_PAUS, _______, KC_END, - _______, RGB_RMOD,RGB_VAD, RGB_MOD, RGB_HUD, RGB_SAD, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, - _______, _______, RGB_TOG, _______, _______, MD_BOOT, NK_TOGG, DBG_TOG, _______, _______, _______, _______, KC_PGUP, KC_VOLD, - _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END - ), - /* - [X] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - */ -}; - -#define MODS_SHIFT (get_mods() & MOD_BIT(KC_LSFT) || get_mods() & MOD_BIT(KC_RSFT)) -#define MODS_CTRL (get_mods() & MOD_BIT(KC_LCTL) || get_mods() & MOD_BIT(KC_RCTL)) -#define MODS_ALT (get_mods() & MOD_BIT(KC_LALT) || get_mods() & MOD_BIT(KC_RALT)) -#define IDLE_TIMER_DURATION 20000 //how many milliseconds before RGB turns off - -static uint32_t idle_timer; //custom timer to check if keyboard is idled. -bool rgbkeyIdle = false; //flag for keyboard idling, nil keys for set -bool Jelocikey_toggle = false; -uint8_t currentWPM; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - -static uint32_t key_timer; -idle_timer = timer_read32(); - - - switch (keycode) { - case U_T_AUTO: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_extra_manual, "USB extra port manual mode"); - } - return false; - case U_T_AGCR: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_gcr_auto, "USB GCR auto mode"); - } - return false; - case DBG_TOG: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_enable, "Debug mode"); - } - return false; - case DBG_MTRX: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_matrix, "Debug matrix"); - } - return false; - case DBG_KBD: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_keyboard, "Debug keyboard"); - } - return false; - case DBG_MOU: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_mouse, "Debug mouse"); - } - return false; - case MD_BOOT: - if (record->event.pressed) { - key_timer = timer_read32(); - } else { - if (timer_elapsed32(key_timer) >= 500) { - reset_keyboard(); - } - } - return false; - 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; -/* case QK_VELOCIKEY_TOGGLE: - if (record->event.pressed) { - Jelocikey_toggle =! Jelocikey_toggle; - } - else { - rgb_matrix_set_speed_noeeprom(127); - } - return false; */ - default: - - if (rgbkeyIdle) { //check if the keyboards already idle and if it is, turn it back on as key is pressed. - rgbkeyIdle = false; - rgb_matrix_set_suspend_state(false); - rgb_matrix_enable_noeeprom(); - } - - if (Jelocikey_toggle) { - rgb_matrix_set_speed_noeeprom(3); - currentWPM = get_current_wpm(); - rgb_matrix_set_speed_noeeprom(currentWPM); - rgb_matrix_set_color(13, 100, 255, 255); - } - return true; //Process all other keycodes normally - } -} - -void matrix_scan_user(void) { -//custom idle rbg switch off function - if (timer_elapsed32(idle_timer) > IDLE_TIMER_DURATION) { - idle_timer = 0; - timer_clear(); - rgbkeyIdle = true; - rgb_matrix_set_suspend_state(true); - rgb_matrix_disable_noeeprom(); - } -} - -void suspend_power_down_user(void) { - rgb_matrix_set_suspend_state(true); -} - -void suspend_wakeup_init_user(void) { - rgb_matrix_set_suspend_state(false); -} diff --git a/keyboards/massdrop/alt/keymaps/urbanvanilla/readme.md b/keyboards/massdrop/alt/keymaps/urbanvanilla/readme.md deleted file mode 100644 index 116ccc4efff..00000000000 --- a/keyboards/massdrop/alt/keymaps/urbanvanilla/readme.md +++ /dev/null @@ -1,48 +0,0 @@ - -# Custom mapping for the Drop Alt Keyboard. - -A really simple set of changes/fixes - -# Features and changes: - -## *ESC is now Grave Escape.* -Changes KC_ESC for grave escape - Escape key is also `/~ when used with the modifier key. - -## *RGB timer switch off* - -There is a timer that turns off RGB lighting after a set time. This is defined by - - #define IDLE_TIMER_DURATION 20000 //how many milliseconds before RGB turns off - -## *Keyboard chatter fix* - -I have left the debounce settings and instead changed - - wait_us(1); //Delay for output -to 40 instead of 1 which works for other keyboards as I was getting lots of keyboard chatter on all keys previously. 20 seemed to still let key chatter go through. Seems to be working well since. - - - - - - -# ALT - -![ALT](https://massdrop-s3.imgix.net/product-images/alt-keyboard/FP/WNxwR19gTua3nxiiQWP3_AI7B3311%20copy%20page.jpg?auto=format&fm=jpg&fit=max&w=700&h=467&dpr=1&q=80) - -The Massdrop ALT is a 65% mechanical keyboard featuring dual USB-C connectors, an integrated Hi-Speed USB 2.0 hub, and fully customizable RGB backlighting and underlighting. - -Keyboard Maintainer: [Massdrop](https://github.com/massdrop) -Hardware Supported: Massdrop, Inc. ALT PCBs utilizing Microchip's ATSAMD51J18A MCU and USB2422 2-Port USB 2.0 Hi-Speed Hub Controller, and ISSI's IS31FL3733 LED Drivers. -Hardware Availability: [Massdrop ALT Mechanical Keyboard](https://www.massdrop.com/buy/massdrop-alt-mechanical-keyboard) - -Make example for this keyboard (after setting up your build environment): - - make massdrop/alt:default - -For information on flashing this keyboard, visit the following links: - -[Massdrop Loader Releases](https://github.com/Massdrop/mdloader/releases) -[Massdrop Loader Repository and Instructions](https://github.com/Massdrop/mdloader) - -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). diff --git a/keyboards/massdrop/alt/keymaps/urbanvanilla/rules.mk b/keyboards/massdrop/alt/keymaps/urbanvanilla/rules.mk deleted file mode 100644 index a51c4a4ff0c..00000000000 --- a/keyboards/massdrop/alt/keymaps/urbanvanilla/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -WPM_ENABLE = yes -VELOCIKEY_ENABLE = yes # doesn't work with RGB MATRIX only RGB LIGHT :( diff --git a/keyboards/massdrop/ctrl/keymaps/R167/keymap.c b/keyboards/massdrop/ctrl/keymaps/R167/keymap.c deleted file mode 100644 index e9379edde12..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/R167/keymap.c +++ /dev/null @@ -1,143 +0,0 @@ -// Copyright 2021 Winston Durand (@R167) -// SPDX-License-Identifier: MIT - -#include QMK_KEYBOARD_H - -enum ctrl_keycodes { - U_T_AUTO = SAFE_RANGE, // USB Extra Port Toggle Auto Detect / Always Active - U_T_AGCR, // USB Toggle Automatic GCR control - DBG_TOG, // DEBUG Toggle On / Off - DBG_MTRX, // DEBUG Toggle Matrix Prints - DBG_KBD, // DEBUG Toggle Keyboard Prints - DBG_MOU, // DEBUG Toggle Mouse Prints - MD_BOOT, // Restart into bootloader after hold timeout - SLEEP, // Macro to send CMD+ALT+Ejct & turn off lights -}; - -enum r167_layers { - _QWERTY = 0, // Standard querty layout - _FN, // Simple function keys -}; - -// clang-format off -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_QWERTY] = 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_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_EJCT, KC_HOME, KC_VOLU, - 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_VOLD, - 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_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT, MO(_FN), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - [_FN] = LAYOUT( - SLEEP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MUTE, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, SLEEP, KC_MPLY, _______, _______, - _______, RGB_SPD, RGB_VAI, RGB_SPI, RGB_HUI, RGB_SAI, _______, U_T_AUTO,U_T_AGCR,_______, _______, _______, _______, _______, KC_MPRV, KC_MNXT, _______, - _______, RGB_RMOD,RGB_VAD, RGB_MOD, RGB_HUD, RGB_SAD, _______, _______, _______, _______, _______, _______, _______, - _______, RGB_TOG, _______, _______, _______, MD_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - /* - [X] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, NK_TOGG, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - */ -}; -// clang-format on - -#define MODS_SHIFT (get_mods() & MOD_MASK_SHIFT) -#define MODS_CTRL (get_mods() & MOD_MASK_CTRL) -#define MODS_ALT (get_mods() & MOD_MASK_ALT) - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - static uint32_t key_timer; - static bool asleep = false; - if (asleep && record->event.pressed) { - asleep = false; - rgb_matrix_set_flags(LED_FLAG_ALL); - rgb_matrix_enable_noeeprom(); - } - - switch (keycode) { - case U_T_AUTO: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_extra_manual, "USB extra port manual mode"); - } - return false; - case U_T_AGCR: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_gcr_auto, "USB GCR auto mode"); - } - return false; - case DBG_TOG: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_enable, "Debug mode"); - } - return false; - case DBG_MTRX: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_matrix, "Debug matrix"); - } - return false; - case DBG_KBD: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_keyboard, "Debug keyboard"); - } - return false; - case DBG_MOU: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_mouse, "Debug mouse"); - } - return false; - case MD_BOOT: - if (record->event.pressed) { - key_timer = timer_read32(); - } else { - if (timer_elapsed32(key_timer) >= 500) { - reset_keyboard(); - } - } - return false; - 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; - case SLEEP: - if (record->event.pressed) { - // CMD+ALT+EJECT doesn't always reliably trigger. fall back mode - // tap_code16(G(A(KC_EJCT))); - tap_code16(LCTL(LGUI(KC_Q))); - asleep = true; - rgb_matrix_set_flags(LED_FLAG_NONE); - rgb_matrix_disable_noeeprom(); - } else if (IS_RELEASED(record->event)) { - tap_code(KC_ESCAPE); - } - return false; - default: - return true; // Process all other keycodes normally - } -} diff --git a/keyboards/massdrop/ctrl/keymaps/R167/readme.md b/keyboards/massdrop/ctrl/keymaps/R167/readme.md deleted file mode 100644 index 1b805ea6a94..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/R167/readme.md +++ /dev/null @@ -1,14 +0,0 @@ -![Layer 0](https://i.imgur.com/iRwr7si.png) - -![Layer 1](https://i.imgur.com/b2qwYdR.png) - -# R167 massdrop ctrl - -The main layer is a ~standard QWERTY layout with the ALT/GUI swap for macOS -in addition to shifting the `Fn` key one to the right so cmd/alt line up nicely. -Addionally, I rarely use PgUp/Dn, so I've remapped those to volume control. - -The most interesting bit is the shortcut `Fn + Esc` which triggers the macOS sleep -shortcut (`CMD + ALT + Eject`) and then disables LEDs since the computer will wake up -peripherals even while the display is asleep. Keyboard is returned to all LEDs on after -pressing any key. diff --git a/keyboards/massdrop/ctrl/keymaps/endgame/README.md b/keyboards/massdrop/ctrl/keymaps/endgame/README.md deleted file mode 100644 index f65b70475f5..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/endgame/README.md +++ /dev/null @@ -1,83 +0,0 @@ -# Massdrop Ctrl Endgame - -This keymap is here to show some love to the MD Ctrl. - -## Layers - -### Typing Layer - -![Typing Layer](https://imgur.com/QUIU2SL.png) - -### Function Layer - -![Function Layer](https://imgur.com/4q4ld4X.png) - -### Mouse Layer - -![Mouse Layer](https://imgur.com/xXVFyEE.png) - -### Git Layer - -![Git Layer](https://imgur.com/WMMM0zz.png) - -## Features - -These are the features currently supported by this keymap: - -### RGB Time Out - -This allows setting a dynamic timeout for RGB to turn off. The following is supported: - -1. Restores on the first click of any key. -2. Restores to its previous state before timeout. i.e. if it was edge only before timeout it will restore to edge only, same for all modes. -3. Doesn't interfere with RGB modes. You can set keyboard to All, Edge Only or Off and timeout will not interfere with these modes. -4. The time before RGB is turned off is dynamically adjustable using keycodes ROUT_VI to increase, ROUT_VD to decrease. They have a 10 second steps by default. Minimum value 10 seconds by default and maximum is 10 minutes. -5. Can be toggled on or off dyncamically with the ROUT_TG keycode. -6. Can be put in fast mode using ROUT_FM, for movie watching purposes. Default value is 3 seconds. Note that fast mode disabled ROUT_VD and ROUT_VI so to use them again you have to toggle fast mode off with ROUT_FM. It doesn't impact ROUT_TG and ROUT_TG will remember if fast mode was enabled when toggled back on, so it doesn't disable fast mode on its own, only ROUT_FM can disable or enable fast mode. - -### Tapdance Keys - -Not really a feature. I just want to document what tapdance keys this keymap has because there will be many of them. - -1. LGUI is used for both LGUI and toggle mouse layer for double tap. -2. LCTRL sends LCTRL for single tap and LCTRL+LALT+T for double tap, which opens terminal in most environments. - -## Future Work - -By the time this is project has accomplished its original primary objectives, the following features will be available for the ctrl: - -1. Automatic RGB timeout with all the options you would need. **DONE** -2. Macro and Shortcut layers for at least the following: Git **DONE**, IntelliJ, VIM **WIP**, Yakuake, KDE, Firefox, Slack, Discord. All using default program configuration. [This list may and probably will get longer] -3. Custom LED configs that offer all the RGB layouts I deem useful or having a unique feature, look or feel. **DONE** -4. Increased Dynamic Macro slots, because two simply isn't enough. This particular one falls outside Ctrl config and into QMK core modification. However, it is on the list of features I would like this keyboard to have and is a **TOP PRIORITY** for me. It won't be easy, but I will figure it out. -5. Porting from the Drop, Inc. way of doing things to the QMK way of doing things, wherever possible. Full QMK support of this keyboard is the goal, not that it's possible, but I'd like to get as close as it gets. **WIP** -6. An easier way to configure LED than both the QMK way and the Drop way. I'm thinking of a graphical LED config like Drop configurator that offers the advanced LED config features QMK offers. This may or may not get done depending on whether or not I get sick of QMK LED config at any point. If it does get done, it may or may not be added to QMK Configurator. -7. Better documentation of the MD Ctrl specifications, features, etc. This will be included here in the form of C and doxygen comments. The bigger portion will be included in QMK docs if and where possible. **WIP** - -Additions: - -8. Implement Raw HID. **WIP** - -This list will most probably either expand or have some items removed if they're deemed not worthy, probably both. Nothing will be removed because it can't be done though, I am a firm believer in You Can Do It. Anything modified in this list will be clearly marked, for posterity. - -## Motivation - -I bought this keyboard because I believed and still believe that it offers the greatest possible value for money for any TKL fan. It was very disappointing to me after receiving it to see that this keyboard didn't get the love it should have in QMK, from either Drop, Inc. or users. -Granted, this is a TKL RGB board which means it is hated by every single enthusiast in the community. That doesn't mean it shouldn't be getting love form its users, or most importantly its maker. - -Drop, Inc. have for some reason decided that they want to work on their own QMK stack. A stupid decision to say the least. Although having made this decision, they did very little actual work on this keyboard and have offered very little support and almost no time working on the firmware. To my knowledge, no one is currently working on it in a truly active fashion. A small handful of people work on the software and even then, they seem to think that their own way of doing things is better than the way chosen by the thousands in the community who have worked on QMK. Their QMK fork for the keyboard is abandoned for months. Updates are few and far between and it seems this keyboard has been forgotten in the annals of 2018 by both its maker and its users. - -To their credit, at least they decided to abandon their idiotic RGB setup and have opted after taking their sweet time to use QMK RGB and they did make some much needed changes to mdloader. That being said, Drop, Inc. still don't show love to this keyboard and whether or not they are actually able is questionable. - -So the aim of this work, starting with this Keymap, is to make the Massdrop Ctrl a true QMK keyboard instead of the marketing spiel "QMK Supported". As much as it can be made so of course within the bounds of what can be done with information openly available about the keyboard. - -I am not of the opinion that a mechanical keyboard is inherently superior. I am of the opinion that a mechanical keyboard is a tool that boosts productivity, enjoyment and efficiency, if it fails at that then it is no longer superior. Programmability is a huge part of that and I can no longer use any keyboard that doesn't have a level of programmability less than QMK offers. - -I will personally do my best for this keyboard for no reason other than it will likely be my main keyboard for years to come. - -## Credits - -RGB timeout functionality was originally inspired by the code in this [gist](https://gist.github.com/algernon/9182469e21894192017f2bb5d478c7df). -LED config code was mostly transferred from [matthewrobo keymap](https://github.com/qmk/qmk_firmware/tree/master/keyboards/massdrop/ctrl/keymaps/matthewrobo). - -Rest of the information about RGB matrix, scan matrix, and whatever information I have used was made publicly available by many other awesome members of the community. diff --git a/keyboards/massdrop/ctrl/keymaps/endgame/config.h b/keyboards/massdrop/ctrl/keymaps/endgame/config.h deleted file mode 100644 index 1bf82d3730a..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/endgame/config.h +++ /dev/null @@ -1,101 +0,0 @@ -#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_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_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_RAINBOW_MOVING_CHEVRON // Full gradent Chevron shapped scrolling left to right -#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 // Static single hue, pulses keys hit to shifted hue then fades to current hue -#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE // Pulses keys hit to hue & value then fades value out -#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/massdrop/ctrl/keymaps/endgame/config_led.c b/keyboards/massdrop/ctrl/keymaps/endgame/config_led.c deleted file mode 100644 index b58227a1fdd..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/endgame/config_led.c +++ /dev/null @@ -1,83 +0,0 @@ -#ifdef RGB_MATRIX_ENABLE -#include "ctrl.h" - -#include "md_rgb_matrix.h" -#include "rgb_matrix.h" -#include "config_led.h" - -led_config_t g_led_config = { { - { 0, 1, 2, 3, 4, 5, 6, 7 }, - { 16, 17, 18, 19, 20, 21, 22, 23 }, - { 33, 34, 35, 36, 37, 38, 39, 40 }, - { 50, 51, 52, 53, 54, 55, 56, 57 }, - { 63, 64, 65, 66, 67, 68, 69, 70 }, - { 76, 77, 78, 79, 80, 81, 82, 83 }, - { 8, 9, 10, 11, 12, 13, 14, 15 }, - { 24, 25, 26, 27, 28, 29, 30, 31 }, - { 41, 42, 43, 44, 45, 46, 47, 48 }, - { 58, 59, 60, 61, 62, 75, 49, 32 }, - { 71, 72, 73, 74, 84, 85, 86, NO_LED } -}, { - // 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 - { 7, 5 }, { 31, 5 }, { 43, 5 }, { 55, 5 }, { 67, 5 }, { 85, 5 }, { 97, 5 }, { 109, 5 }, - { 121, 5 }, { 139, 5 }, { 151, 5 }, { 163, 5 }, { 175, 5 }, { 193, 5 }, { 205, 5 }, { 217, 5 }, - // 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 - { 7, 20 }, { 19, 20 }, { 31, 20 }, { 43, 20 }, { 55, 20 }, { 67, 20 }, { 79, 20 }, { 91, 20 }, - { 103, 20 }, { 115, 20 }, { 127, 20 }, { 139, 20 }, { 151, 20 }, { 169, 20 }, { 193, 20 }, { 205, 20 }, - { 217, 20 }, - // 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 - { 10, 30 }, { 25, 30 }, { 37, 30 }, { 49, 30 }, { 61, 30 }, { 73, 30 }, { 85, 30 }, { 97, 30 }, - { 109, 30 }, { 121, 30 }, { 133, 30 }, { 145, 30 }, { 157, 30 }, { 172, 30 }, { 193, 30 }, { 205, 30 }, - { 217, 30 }, - // 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 - { 11, 39 }, { 28, 39 }, { 40, 39 }, { 52, 39 }, { 64, 39 }, { 76, 39 }, { 88, 39 }, { 100, 39 }, - { 112, 39 }, { 124, 39 }, { 136, 39 }, { 148, 39 }, { 168, 39 }, - // 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 - { 14, 49 }, { 34, 49 }, { 46, 49 }, { 58, 49 }, { 70, 49 }, { 82, 49 }, { 94, 49 }, { 106, 49 }, - { 118, 49 }, { 130, 49 }, { 142, 49 }, { 165, 49 }, { 205, 49 }, - // KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - { 8, 59 }, { 23, 59 }, { 38, 59 }, { 83, 59 }, { 129, 59 }, { 144, 59 }, { 159, 59 }, { 174, 59 }, - { 193, 59 }, { 205, 59 }, { 217, 59 }, - // Underglow / Border - { 224, 64 }, { 204, 64 }, { 186, 64 }, { 167, 64 }, { 149, 64 }, { 130, 64 }, { 112, 64 }, { 94, 64 }, - { 75, 64 }, { 57, 64 }, { 38, 64 }, { 20, 64 }, { 0, 64 }, { 0, 47 }, { 0, 32 }, { 0, 17 }, - { 0, 0 }, { 20, 0 }, { 38, 0 }, { 57, 0 }, { 75, 0 }, { 94, 0 }, { 112, 0 }, { 130, 0 }, - { 149, 0 }, { 167, 0 }, { 186, 0 }, { 204, 0 }, { 224, 0 }, { 224, 17 }, { 224, 32 }, { 224, 47 } -}, { - // 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 - 1, 4, 4, 4, 4, 1, 1, 1, - 1, 4, 4, 4, 4, 1, 1, 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_INS, KC_HOME, KC_PGUP - 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 1, 1, 1, - 1, - // 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 - 1, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 1, 1, - 1, - // 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 - 1, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 1, - // 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 - 1, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 1, 1, - // KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - 1, 1, 1, 4, 1, 1, 1, 1, - 1, 1, 1, - // Underglow / Border - 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2 -} }; - - -#ifdef USB_LED_INDICATOR_ENABLE -bool rgb_matrix_indicators_kb(void) -{ - md_rgb_matrix_indicators(); - return rgb_matrix_indicators_user(); -} -#endif // USB_LED_INDICATOR_ENABLE - -#endif diff --git a/keyboards/massdrop/ctrl/keymaps/endgame/keymap.c b/keyboards/massdrop/ctrl/keymaps/endgame/keymap.c deleted file mode 100644 index 463ccb42ba0..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/endgame/keymap.c +++ /dev/null @@ -1,489 +0,0 @@ -#include QMK_KEYBOARD_H -#include - -#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 rgb_config_t rgb_matrix_config; -bool disable_layer_color; - -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. - -enum layout_names { - _KL=0, // Keys Layout: The main keyboard layout that has all the characters - _FL, // Function Layout: The function key activated layout with default functions and some added ones - _ML, // Mouse Layout: Mouse Keys and mouse movement - _GL, // GIT Layout: GIT shortcuts and macros - _VL, // VIM Layout: VIM shorcuts and macros - _YL, // Yakuake Layout: Yakuake drop-down terminal shortcuts and macros - _EL, // KDE Layout: Shortcuts for KDE desktop using default KDE shortcuts settings -}; - -enum tapdance_keycodes { - TD_LGUI_ML = 0, // Tap dance key to switch to mouse layer _ML - TD_APP_YL, - TD_CTRL_TERM, // Tap dance key to open terminal on LCTRL double press -}; - -enum ctrl_keycodes { - U_T_AUTO = SAFE_RANGE, // USB Extra Port Toggle Auto Detect / Always Active - U_T_AGCR, // USB Toggle Automatic GCR control - DBG_TOG, // DEBUG Toggle On / Off - DBG_MTRX, // DEBUG Toggle Matrix Prints - DBG_KBD, // DEBUG Toggle Keyboard Prints - DBG_MOU, // DEBUG Toggle Mouse Prints - MD_BOOT, // Restart into bootloader after hold timeout - SEL_CPY, // Select Copy. Select the word cursor is pointed at and copy, using double mouse click and ctrl+c - ROUT_TG, // Timeout Toggle. Toggle idle LED time out on or off - ROUT_VI, // Timeout Value Increase. Increase idle time out before LED disabled - ROUT_VD, // Timeout Value Decrease. Decrease idle time out before LED disabled - ROUT_FM, // RGB timeout fast mode toggle - COPY_ALL, // Copy all text using ctrl(a+c) - TERMINAL, // CTRL+ALT+T -}; - -enum string_macro_keycodes { - // The start of this enum should always be equal to end of ctrl_keycodes + 1 - G_INIT = TERMINAL + 1, // git init - G_CLONE, // git clone - G_CONF, // git config --global - G_ADD, // git add - G_DIFF, // git diff - G_RESET, // git reset - G_REBAS, // git rebase - G_BRANH, // git branch - G_CHECK, // git checkout - G_MERGE, // git merge - G_REMTE, // git remote add - G_FETCH, // git fetch - G_PULL, // git pull - G_PUSH, // git push - G_COMM, // git commit - G_STAT, // git status - G_LOG, // git log -}; - -static uint16_t idle_timer; // Idle LED timeout timer -static uint8_t idle_second_counter; // Idle LED seconds counter, counts seconds not milliseconds -static uint8_t key_event_counter; // This counter is used to check if any keys are being held - -static const char * sendstring_commands[] = { - "git init ", - "git clone ", - "git config --global ", - "git add ", - "git diff ", - "git reset ", - "git rebase ", - "git branch -b \"", - "git checkout ", - "git merge ", - "git remote add ", - "git fetch ", - "git pull ", - "git push ", - "git commit ", - "git status ", - "git log ", -}; - -//Associate our tap dance key with its functionality -tap_dance_action_t tap_dance_actions[] = { - [TD_LGUI_ML] = ACTION_TAP_DANCE_LAYER_TOGGLE(KC_LGUI, _ML), - [TD_APP_YL] = ACTION_TAP_DANCE_LAYER_TOGGLE(KC_APP, _YL), - [TD_CTRL_TERM] = ACTION_TAP_DANCE_DOUBLE(KC_LCTL, LCA(KC_T)), -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* - [DEFAULT] = 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_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 - ), - */ - [_KL] = 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_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, SC_SENT, KC_UP, - TD(TD_CTRL_TERM), TD(TD_LGUI_ML), KC_LALT, KC_SPC, KC_RALT, TT(_FL), TD(TD_APP_YL), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - [_FL] = LAYOUT( - _______, DM_PLY1, DM_PLY2, _______, _______, DM_REC1, DM_REC2, _______, _______, DM_RSTP, _______, KC_WAKE, KC_SLEP, KC_MUTE, _______, _______, - _______, _______, TG(_ML), TG(_GL), TG(_VL), TG(_YL), _______, _______, _______, ROUT_FM, ROUT_TG, ROUT_VD, ROUT_VI, _______, KC_MSTP, KC_MPLY, KC_VOLU, - RGB_M_P, RGB_SPD, RGB_VAI, RGB_SPI, RGB_HUI, RGB_SAI, _______, U_T_AUTO, U_T_AGCR, _______, _______, _______, _______, _______, KC_MPRV, KC_MNXT, KC_VOLD, - _______, RGB_RMOD,RGB_VAD, RGB_MOD, RGB_HUD, RGB_SAD, _______, _______, _______, _______, _______, _______, _______, - _______, RGB_TOG, _______, COPY_ALL, _______, MD_BOOT, NK_TOGG, _______, _______, _______, _______, _______, KC_BRIU, - _______, _______, _______, _______, _______, TG(_FL), _______, _______, _______, KC_BRID, _______ - ), - [_ML] = LAYOUT( - _______, KC_ACL0, KC_ACL1, KC_ACL2, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_BTN4, KC_BTN3, KC_BTN5, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_BTN1, KC_MS_U, KC_BTN2, KC_WH_U, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_MS_L, KC_MS_D, KC_MS_R, KC_WH_D, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, SEL_CPY, _______, _______, _______, _______, _______, _______, _______, _______, KC_MS_U, - _______, TG(_ML), _______, _______, _______, TG(_ML), _______, _______, KC_MS_L, KC_MS_D, KC_MS_R - ), - [_GL] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, G_REMTE, G_RESET, G_REBAS, _______, G_INIT, _______, G_PULL, G_PUSH, _______, _______, _______, _______, _______, - _______, G_ADD, G_STAT, G_DIFF, G_FETCH, _______, _______, _______, _______, G_LOG, _______, _______, _______, - _______, G_CONF, G_CHECK, G_CLONE, G_COMM, G_BRANH, _______, G_MERGE, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, TG(_GL), _______, _______, _______, _______, _______ - ), - // This layout doesn't have custom keycodes for now, just custom LED config - [_VL] = 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_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, SC_SENT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, TG(_VL), KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - // Works with https://github.com/ash0x0/config/blob/master/yakuake.shortcuts - [_YL] = LAYOUT( - KC_ESC, 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_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_NO, KC_NO, KC_NO, KC_NO, KC_HOME, KC_PGUP, - KC_NO, KC_Q, KC_NO, KC_E, KC_NO, KC_T, KC_NO, KC_NO, KC_I, KC_NO, KC_P, KC_NO, KC_RBRC, KC_BSLS, KC_NO, KC_END, KC_PGDN, - KC_NO, KC_A, KC_NO, KC_D, KC_NO, KC_G, KC_NO, KC_J, KC_K, KC_L, KC_SCLN, KC_NO, KC_NO, - KC_NO, KC_Z, KC_X, KC_NO, KC_NO, KC_NO, KC_NO, KC_M, KC_COMM, KC_DOT, KC_NO, KC_NO, KC_UP, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, TG(_YL), KC_NO, KC_NO, KC_LEFT, KC_DOWN, KC_RGHT - ), - /* - [X] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, TG_NKRO, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - [RGB] = LAYOUT( - ESC: 0, F1: 1, F2: 2, F3: 3, F4: 4, F5: 5, F6: 6, F7: 7, F8: 8, F9: 9, F10: 10, F11: 11, F12: 12, PSCR: 13, SLCK: 14, PAUS: 15, - GRV: 16, 1: 17, 2: 18, 3: 19, 4: 20, 5: 21, 6: 22, 7: 23, 8: 24, 9: 25, 0: 26, MINS: 27, EQL: 28, BSPC: 29, INS: 30, HOME: 31, PGUP: 32, - TAB: 33, Q: 34, W: 35, E: 36, R: 37, T: 38, Y: 39, U: 40, I: 41, O: 42, P: 43, LBRC: 44, RBRC: 45, BSLS: 46, DEL: 47, END: 48, PGDN: 49, - CAPS: 50, A: 51, S: 52, D: 53, F: 54, G: 55, H: 56, J: 57, K: 58, L: 59, SCLN: 60, QUOT: 61, ENT: 62, - LSFT: 63, Z: 64, X: 65, C: 66, V: 67, B: 68, N: 69, M: 70, COMM: 71, DOT: 72, SLSH: 73, RSFT: 74, UP: 75, - LCTL: 76, LGUI: 77, LALT: 78, SPC: 79, RALT: 80, Fn: 81, APP: 82, RCTL: 83, LEFT: 84, DOWN: 85, RGHT: 86 - ), - [MATRIX] = LAYOUT( - 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, 47, 48, 49, - 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, - 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, - 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86 - ), - */ -}; - -#ifdef _______ -#undef _______ -#define _______ {0, 0, 0} - -const uint8_t PROGMEM ledmap[][RGB_MATRIX_LED_COUNT][3] = { - [_FL] = { - _______, CORAL, CORAL, _______, _______, CORAL, CORAL, _______, _______, CORAL, _______, YELLOW, YELLOW, TEAL, GOLD, GOLD, - _______, _______, PINK, PINK, PINK, PINK, _______, _______, _______, GREEN, GREEN, GREEN, GREEN, _______, TEAL, TEAL, TEAL, - ORANGE, ORANGE, ORANGE, ORANGE, ORANGE, ORANGE, _______, AZURE, AZURE, _______, _______, _______, _______, _______, TEAL, TEAL, TEAL, - _______, ORANGE, ORANGE, ORANGE, ORANGE, ORANGE, _______, _______, _______, _______, _______, _______, _______, - _______, ORANGE, _______, CORAL, _______, AZURE, AZURE, _______, _______, _______, _______, AZURE, SPRING, - _______, _______, _______, _______, _______, PINK, _______, AZURE, _______, SPRING, _______ - }, - [_ML] = { - _______, GOLD, GOLD, GOLD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, MAGENT, MAGENT, MAGENT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, MAGENT, GOLD, MAGENT, GOLD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, GOLD, GOLD, GOLD, GOLD, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, CORAL, _______, _______, _______, _______, _______, _______, _______, _______, GOLD, - _______, PINK, _______, _______, _______, PINK, _______, _______, GOLD, GOLD, GOLD - }, - [_GL] = { - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, BLUE, AZURE, AZURE, _______, CYAN, _______, TURQ, PURPLE, _______, _______, _______, _______, _______, - _______, CORAL, GREEN, GREEN, TURQ, _______, _______, _______, _______, GREEN, _______, _______, _______, - _______, CYAN, CHART, TURQ, ORANGE, CHART, _______, CHART, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, PINK, _______, _______, _______, _______, _______ - }, - [_VL] = { - PURPLE, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, TURQ, _______, _______, _______, _______, TURQ, _______, _______, _______, _______, _______, _______, _______, _______, - _______, AZURE, AZURE, AZURE, PURPLE, _______, BLUE, PURPLE, PURPLE, PURPLE, BLUE, _______, _______, _______, _______, _______, _______, - _______, PURPLE, _______, BLUE, _______, GOLD, GOLDEN, GOLDEN, GOLDEN, GOLDEN, _______, _______, _______, - _______, _______, BLUE, BLUE, _______, _______, TURQ, _______, _______, _______, TURQ, _______, _______, - _______, _______, _______, _______, _______, PINK, _______, _______, _______, _______, _______ - }, - [_YL] = { - RED, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - CHART, BLUE, BLUE, BLUE, BLUE, BLUE, BLUE, BLUE, BLUE, BLUE, BLUE, _______, _______, _______, _______, PURPLE, PURPLE, - _______, RED, _______, BLUE, _______, GOLD, _______, _______, GREEN, _______, MAGENT, _______, GOLD, GOLD, _______, PURPLE, PURPLE, - _______, BLUE, _______, BLUE, _______, MAGENT, _______, GREEN, GREEN, GREEN, MAGENT, _______, _______, - _______, ORANGE, ORANGE, _______, _______, _______, _______, RED, MAGENT, MAGENT, _______, _______, GREEN, - _______, _______, _______, _______, _______, PINK, _______, _______, BLUE, GREEN, BLUE - }, -}; - -#undef _______ -#define _______ KC_TRNS -#endif - -// Runs just one time when the keyboard initializes. -void matrix_init_user(void) { - // Enable or disable debugging - debug_enable=true; - debug_matrix=true; - debug_keyboard=true; - debug_mouse=true; - - idle_second_counter = 0; // Counter for number of seconds keyboard has been idle. - key_event_counter = 0; // Counter to determine if keys are being held, neutral at 0. - rgb_time_out_seconds = RGB_DEFAULT_TIME_OUT; // RGB timeout initialized to its default configure in keymap.h - rgb_time_out_enable = false; // Disable RGB timeout by default. Enable using toggle key. - rgb_time_out_user_value = false; // Has to have the same initial value as rgb_time_out_enable. - rgb_enabled_flag = true; // Initially, keyboard RGB is enabled. Change to false config.h initializes RGB disabled. - rgb_time_out_fast_mode_enabled = false; // RGB timeout fast mode disabled initially. - rgb_time_out_saved_flag = rgb_matrix_get_flags(); // Save RGB matrix state for when keyboard comes back from ide. -}; - -void keyboard_post_init_user(void) { - rgb_matrix_enable(); -} - -// Runs constantly in the background, in a loop. -void matrix_scan_user(void) { - if(rgb_time_out_enable && rgb_enabled_flag) { - // If the key event counter is not zero then some key was pressed down but not released, thus reset the timeout counter. - if (key_event_counter) { - idle_second_counter = 0; - } else if (timer_elapsed(idle_timer) > MILLISECONDS_IN_SECOND) { - idle_second_counter++; - idle_timer = timer_read(); - } - - if (idle_second_counter >= rgb_time_out_seconds) { - rgb_time_out_saved_flag = rgb_matrix_get_flags(); - rgb_matrix_set_flags(LED_FLAG_NONE); - rgb_matrix_disable_noeeprom(); - rgb_enabled_flag = false; - idle_second_counter = 0; - } - } -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - static uint32_t key_timer; - - // Increment key event counter for every press and decrement for every release. - if (record->event.pressed) { - key_event_counter++; - } else { - key_event_counter--; - } - - if (rgb_time_out_enable) { - idle_timer = timer_read(); - // Reset the seconds counter. Without this, something like press> leave x seconds> press, would be x seconds on the effective counter not 0 as it should. - idle_second_counter = 0; - if (!rgb_enabled_flag) { - rgb_matrix_enable_noeeprom(); - rgb_matrix_set_flags(rgb_time_out_saved_flag); - rgb_enabled_flag = true; - } - } - - switch (keycode) { - case U_T_AUTO: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_extra_manual, "USB extra port manual mode"); - } - return false; - case U_T_AGCR: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_gcr_auto, "USB GCR auto mode"); - } - return false; - case MD_BOOT: - if (record->event.pressed) { - key_timer = timer_read32(); - } else { - if (timer_elapsed32(key_timer) >= 500) { - reset_keyboard(); - } - } - return false; - } - - if (record->event.pressed) { - // The Yakuake config uses LGUI+Ctrl+Shift+. KC_NO used for undesired key, all mapped ones get mods. - if (get_highest_layer(layer_state) == _YL && keycode != TG(_YL)) { - tap_code16(C(G(S(keycode)))); - return false; - } - switch (keycode) { - case DBG_TOG: - TOGGLE_FLAG_AND_PRINT(debug_enable, "Debug mode"); - return false; - case DBG_MTRX: - TOGGLE_FLAG_AND_PRINT(debug_matrix, "Debug matrix"); - return false; - case DBG_KBD: - TOGGLE_FLAG_AND_PRINT(debug_keyboard, "Debug keyboard"); - return false; - case DBG_MOU: - TOGGLE_FLAG_AND_PRINT(debug_mouse, "Debug mouse"); - return false; - case RGB_TOG: - rgb_time_out_enable = rgb_time_out_user_value; - switch (rgb_matrix_get_flags()) { - case LED_FLAG_ALL: { - rgb_matrix_set_flags(LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER); - rgb_matrix_set_color_all(0, 0, 0); - } - break; - case LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER: { - rgb_matrix_set_flags(LED_FLAG_UNDERGLOW); - rgb_matrix_set_color_all(0, 0, 0); - } - break; - case LED_FLAG_UNDERGLOW: { - // This line is for LED idle timer. It disables the toggle so you can turn off LED completely if you like - rgb_time_out_enable = false; - 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; - // ======================================================== CUSTOM KEYCOADS BELOW ======================================================== - case COPY_ALL: - // Selects all and text and copy - SEND_STRING(SS_LCTL("ac")); - return false; - case SEL_CPY: - // Select word under cursor and copy. Double mouse click then ctrl+c - tap_code16(KC_BTN1); - tap_code16(KC_BTN1); - tap_code16(C(KC_C)); - return false; - case ROUT_TG: - // Toggle idle LED timeout on or off - rgb_time_out_enable = !rgb_time_out_enable; - rgb_time_out_user_value = rgb_time_out_enable; - return false; - case ROUT_VI: - // Increase idle LED timeout value in seconds - // Only increase if current value is lower than RGB_TIME_OUT_MAX. Don't care what value the result will be - // Modity RGB_TIME_OUT_STEP for bigger or smaller increments - if (!rgb_time_out_fast_mode_enabled && rgb_time_out_seconds <= RGB_TIME_OUT_MAX) { - rgb_time_out_seconds += RGB_TIME_OUT_STEP; - } - return false; - case ROUT_VD: - // Decrease idle LED timeout value in seconds - // Only decrease if current value is higher than minimum value and the result is larger than zero - // Modity RGB_TIME_OUT_STEP for bigger or smaller decrements - if (!rgb_time_out_fast_mode_enabled && rgb_time_out_seconds > RGB_TIME_OUT_MIN) { - rgb_time_out_seconds -= RGB_TIME_OUT_STEP; - } - return false; - case ROUT_FM: - if (rgb_time_out_fast_mode_enabled) { - rgb_time_out_seconds = rgb_time_out_saved_seconds; - } else { - rgb_time_out_saved_seconds = rgb_time_out_seconds; - rgb_time_out_seconds = RGB_FAST_MODE_TIME_OUT; - } - rgb_time_out_fast_mode_enabled = !rgb_time_out_fast_mode_enabled; - return false; - case G_INIT ... G_LOG: - send_string_with_delay(sendstring_commands[keycode - G_INIT], 5); - return false; - } - } - return true; -} - -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) { - if (disable_layer_color || - rgb_matrix_get_flags() == LED_FLAG_NONE || - rgb_matrix_get_flags() == LED_FLAG_UNDERGLOW) { - return; - } - set_layer_color(get_highest_layer(layer_state)); - return false; -} - -/* This is a test function for Raw HID, which is currently not implemented for this keyboard */ -/** -void raw_hid_receive(uint8_t *data, uint8_t length) { - uint8_t response[RAW_EPSIZE]; - memset(response+1, 'C', 1); - memset(response+2, 'T', 1); - memset(response+3, 'R', 1); - memset(response+4, 'L', 1); - raw_hid_send(data, length); -} -*/ diff --git a/keyboards/massdrop/ctrl/keymaps/endgame/rules.mk b/keyboards/massdrop/ctrl/keymaps/endgame/rules.mk deleted file mode 100644 index c4fab8ad53c..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/endgame/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# RGBLIGHT_ENABLE = no # Not for MD boards. This is here in case you forget. -COMMAND_ENABLE = yes # Commands for debug and configuration -# AUTO_SHIFT_ENABLE = yes # Auto Shift -NKRO_ENABLE = yes # USB Nkey Rollover -DYNAMIC_MACRO_ENABLE = yes # Dynamic macro recording and play -MOUSEKEY_ENABLE = yes # Enable mouse control keycodes. Increases firmware size. -TAP_DANCE_ENABLE = yes # Enable tap dance keys -CONSOLE_ENABLE = yes # Enable debugging console. Increases firmware size. -SRC += config_led.c # Used to add files to the compilation/linking list. -EXTRAKEY_ENABLE = yes # Audio control and System control -# RAW_ENABLE = yes # Raw HID has not yet been implemented for this keyboard -# COMBO_ENABLE # Key combo feature -# LEADER_ENABLE # Enable leader key chording diff --git a/keyboards/massdrop/ctrl/keymaps/foxx1337/README.md b/keyboards/massdrop/ctrl/keymaps/foxx1337/README.md deleted file mode 100644 index 4827d2bdbf8..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/foxx1337/README.md +++ /dev/null @@ -1,18 +0,0 @@ -# Massdrop CTRL default layout with raw HID protocol - -This represents my current layout, with filtered out effects, personal defaults, -added inactivity timeout (for rgbmatrix) and a HID protocol example. - -To test that this is working, there's a user application I'm using to help with -development on [my GitHub](https://github.com/foxx1337/rawhid_io). - -Currently all the HID operations defined in the protocol are callable from the -user application: - -- hello: gets the string "CTRLHID 1.0.0" -- lights: toggles the rgbmatrix on/off -- led n #RRGGBB: colors the specified led. Valid n from 0 to 117 (87-117 are on - the edge) -- leds start #RRGGBB #RRGGBB #RRGGBB ...: colors the range of leds from start -- mode n: switches to the specific rgbmatrix mode. Use the last one, 11, to test - the led operations listed above diff --git a/keyboards/massdrop/ctrl/keymaps/foxx1337/config.h b/keyboards/massdrop/ctrl/keymaps/foxx1337/config.h deleted file mode 100644 index 497ae1d11f9..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/foxx1337/config.h +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright 2021 foxx1337 at yahoo dot 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 . - */ - -#pragma once - -#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 RGB_MATRIX_FRAMEBUFFER_EFFECTS -#define RGB_MATRIX_KEYPRESSES // reacts to keypresses - -#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_SOLID_REACTIVE // Sets the default mode, if none has been set -#define RGB_MATRIX_DEFAULT_HUE 12 -#define RGB_MATRIX_DEFAULT_SPD (UINT8_MAX / 2 + 32) -#define RGB_MATRIX_DEFAULT_VAL 96 -// #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. -// #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_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_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_RAINBOW_MOVING_CHEVRON // Full gradent Chevron shapped scrolling left to right -#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 -// =================================================== 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 // Static single hue, pulses keys hit to shifted hue then fades to current hue -//#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE // Pulses keys hit to hue & value then fades value out -#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/massdrop/ctrl/keymaps/foxx1337/hid_protocol.c b/keyboards/massdrop/ctrl/keymaps/foxx1337/hid_protocol.c deleted file mode 100644 index fd7dd6b6921..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/foxx1337/hid_protocol.c +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright 2021 foxx1337 at yahoo dot 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 -#include "hid_protocol.h" - -uint8_t raw_hid_buffer[RAW_EPSIZE]; - -void raw_hid_perform_send(void) { - raw_hid_send(raw_hid_buffer, RAW_EPSIZE); -} diff --git a/keyboards/massdrop/ctrl/keymaps/foxx1337/hid_protocol.h b/keyboards/massdrop/ctrl/keymaps/foxx1337/hid_protocol.h deleted file mode 100644 index 96f90f5e054..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/foxx1337/hid_protocol.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2021 foxx1337 at yahoo dot 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 . - */ - -#pragma once - -#include -#include - -#define CTRL_HID_GREETING_VERSION "CTRLHID 1.0.0" - -enum ctrl_hid_codes { - // Signals end of message. Not really that useful. - CTRL_HID_EOM = 0x00, - CTRL_HID_OK, - CTRL_HID_NOK, - - /** - * to hid: CTRL_HID_HELLO - * from hid: CTRL_HID_HELLO, "CTRLHID 1.0.0", CTRL_HID_EOM - **/ - CTRL_HID_HELLO, - - /** - * to hid: CTRL_HID_LIGHTS_TOGGLE - * from hid: CTRL_HID_LIGHTS_TOGGLE, CTRL_HID_OK, is_led_timeout, CTRL_HID_EOM - * - * Toggles all the leds on the keyboard. is_led_timeout will be 1 if the new - * state is off, 0 if leds are on. - **/ - CTRL_HID_LIGHTS_TOGGLE, - - /** - * to hid: CTRL_HID_LED, led_id, r, g, b - * from hid: CTRL_HID_LED, CTRL_HID_OK, CTRL_HID_EOM - * on error: CTRL_HID_LED, CTRL_HID_NOK, num_leds, CTRL_HID_EOM - * - * Sets the specific led to r, g, b. It's only visible when the hid_effect mode is active. - **/ - CTRL_HID_LED, - - /** - * to hid: CTRL_HID_LEDS, start, count, r0, g0, b0, ..., r[count-1], g[count-1], b[count-1] - * from hid: CTRL_HID_LEDS, CTRL_HID_OK, affected_leds, CTRL_HID_EOM - * - * Sets affected_leds leds following start to the corresponding r, g, b value. - * It's only visible when the hid_effect mode is active. - **/ - CTRL_HID_LEDS, - - /** - * to hid: CTRL_HID_RGBMATRIX_MODE, mode - * from hid: CTRL_HID_RGBMATRIX_MODE, CTRL_HID_OK, CTRL_HID_EOM - * on error: CTRL_HID_RGBMATRIX_MODE, CTRL_HID_NOK, mode_max, CTRL_HID_EOM - * - * Changes light mode. mode_max is hid_effect for CTRL_HID_LED and CTRL_HID_LEDS. - */ - CTRL_HID_RGBMATRIX_MODE -}; - -extern uint8_t raw_hid_buffer[RAW_EPSIZE]; - -// Defined in rgb_matrix_user.inc -// It's 119 for Massdrop CTRL, 0 - 118. -extern RGB rgb_matrix_led_state[RGB_MATRIX_LED_COUNT]; - -void raw_hid_perform_send(void); diff --git a/keyboards/massdrop/ctrl/keymaps/foxx1337/keymap.c b/keyboards/massdrop/ctrl/keymaps/foxx1337/keymap.c deleted file mode 100644 index ffeb89c60ee..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/foxx1337/keymap.c +++ /dev/null @@ -1,268 +0,0 @@ -/* - * Copyright 2021 foxx1337 at yahoo dot 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 -#include "hid_protocol.h" - -enum ctrl_keycodes { - U_T_AUTO = SAFE_RANGE, //USB Extra Port Toggle Auto Detect / Always Active - U_T_AGCR, //USB Toggle Automatic GCR control - DBG_TOG, //DEBUG Toggle On / Off - DBG_MTRX, //DEBUG Toggle Matrix Prints - DBG_KBD, //DEBUG Toggle Keyboard Prints - DBG_MOU, //DEBUG Toggle Mouse Prints - MD_BOOT, //Restart into bootloader after hold timeout -}; - -#define TIMEOUT_ACTIVITY 300000 // 300 seconds before lights go off - -uint32_t time_last_activity; -bool is_led_timeout; -led_flags_t led_state; - -keymap_config_t keymap_config; - -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_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( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MUTE, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, KC_MSTP, KC_VOLU, - _______, RGB_SPD, RGB_VAI, RGB_SPI, RGB_HUI, RGB_SAI, _______, U_T_AUTO,U_T_AGCR,_______, _______, _______, _______, _______, KC_MPRV, KC_MNXT, KC_VOLD, - _______, RGB_RMOD,RGB_VAD, RGB_MOD, RGB_HUD, RGB_SAD, _______, _______, _______, _______, _______, _______, _______, - _______, RGB_TOG, _______, _______, _______, MD_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - /* - [X] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, NK_TOGG, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - */ -}; - -void change_led_state(bool is_off) { - is_led_timeout = is_off; - - if (is_led_timeout) { - led_state = rgb_matrix_get_flags(); - if (led_state != LED_FLAG_NONE) { - rgb_matrix_set_flags(LED_FLAG_NONE); - rgb_matrix_disable_noeeprom(); - } - } else { - if (led_state != LED_FLAG_NONE) { - rgb_matrix_set_flags(led_state); - rgb_matrix_enable_noeeprom(); - } - } -} - -// Runs just one time when the keyboard initializes. -void matrix_init_user(void) { - time_last_activity = timer_read32(); -}; - -// Runs constantly in the background, in a loop. -void matrix_scan_user(void) { - if (!is_led_timeout && timer_elapsed32(time_last_activity) > TIMEOUT_ACTIVITY) { - change_led_state(true); - } -}; - -#define MODS_SHIFT (get_mods() & MOD_MASK_SHIFT) -#define MODS_CTRL (get_mods() & MOD_MASK_CTRL) -#define MODS_ALT (get_mods() & MOD_MASK_ALT) - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - static uint32_t key_timer; - - time_last_activity = timer_read32(); - if (is_led_timeout) { - change_led_state(false); - } - - switch (keycode) { - case U_T_AUTO: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_extra_manual, "USB extra port manual mode"); - } - return false; - case U_T_AGCR: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_gcr_auto, "USB GCR auto mode"); - } - return false; - case DBG_TOG: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_enable, "Debug mode"); - } - return false; - case DBG_MTRX: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_matrix, "Debug matrix"); - } - return false; - case DBG_KBD: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_keyboard, "Debug keyboard"); - } - return false; - case DBG_MOU: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_mouse, "Debug mouse"); - } - return false; - case MD_BOOT: - if (record->event.pressed) { - key_timer = timer_read32(); - } else { - if (timer_elapsed32(key_timer) >= 500) { - reset_keyboard(); - } - } - return false; - 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); - rgb_matrix_set_color_all(0, 0, 0); - } - break; - case LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER: { - 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 raw_hid_say_hello(void) { - const char *ctrl = CTRL_HID_GREETING_VERSION; - uint8_t i = 0; - while (ctrl[i] != 0 && i + 2 < RAW_EPSIZE) { - raw_hid_buffer[1 + i] = ctrl[i]; - i++; - } - raw_hid_buffer[i] = CTRL_HID_EOM; -} - -void raw_hid_lights_toggle(void) { - change_led_state(!is_led_timeout); - - raw_hid_buffer[1] = CTRL_HID_OK; - raw_hid_buffer[2] = (uint8_t) is_led_timeout; - raw_hid_buffer[3] = CTRL_HID_EOM; -} - -void raw_hid_led(uint8_t *data) { - //rgb_matrix_set_color(data[1], data[2], data[3], data[4]); - const uint8_t led = data[1]; - - if (led >= RGB_MATRIX_LED_COUNT) { - raw_hid_buffer[1] = CTRL_HID_NOK; - raw_hid_buffer[2] = RGB_MATRIX_LED_COUNT; - raw_hid_buffer[3] = CTRL_HID_EOM; - return; - } - - rgb_matrix_led_state[led].r = data[2]; - rgb_matrix_led_state[led].g = data[3]; - rgb_matrix_led_state[led].b = data[4]; - - raw_hid_buffer[1] = CTRL_HID_OK; - raw_hid_buffer[2] = CTRL_HID_EOM; -} - -void raw_hid_leds(uint8_t *data) { - const uint8_t first_led = data[1]; - const uint8_t number_leds = data[2]; - - uint8_t i = 0; - while (i < number_leds && first_led + i < RGB_MATRIX_LED_COUNT && i * 3 + 5 < RAW_EPSIZE) { - rgb_matrix_led_state[first_led + i].r = data[3 + i * 3 + 0]; - rgb_matrix_led_state[first_led + i].g = data[3 + i * 3 + 1]; - rgb_matrix_led_state[first_led + i].b = data[3 + i * 3 + 2]; - i++; - } - - raw_hid_buffer[1] = CTRL_HID_OK; - raw_hid_buffer[2] = i; - raw_hid_buffer[3] = CTRL_HID_EOM; -} - -void raw_hid_rgbmatrix_mode(uint8_t *data) { - const uint8_t mode = data[1]; - if (mode >= RGB_MATRIX_EFFECT_MAX) { - raw_hid_buffer[1] = CTRL_HID_NOK; - raw_hid_buffer[2] = RGB_MATRIX_EFFECT_MAX - 1; - raw_hid_buffer[3] = CTRL_HID_EOM; - return; - } - rgb_matrix_mode_noeeprom(mode); - - raw_hid_buffer[1] = CTRL_HID_OK; - raw_hid_buffer[2] = CTRL_HID_EOM; -} - -void raw_hid_receive(uint8_t *data, uint8_t length) { - switch (*data) { - case CTRL_HID_HELLO: - raw_hid_say_hello(); - break; - case CTRL_HID_LIGHTS_TOGGLE: - raw_hid_lights_toggle(); - break; - case CTRL_HID_LED: - raw_hid_led(data); - break; - case CTRL_HID_LEDS: - raw_hid_leds(data); - break; - case CTRL_HID_RGBMATRIX_MODE: - raw_hid_rgbmatrix_mode(data); - break; - } - - raw_hid_perform_send(); -} diff --git a/keyboards/massdrop/ctrl/keymaps/foxx1337/rgb_matrix_user.inc b/keyboards/massdrop/ctrl/keymaps/foxx1337/rgb_matrix_user.inc deleted file mode 100644 index 36d09c42e24..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/foxx1337/rgb_matrix_user.inc +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2021 foxx1337 at yahoo dot 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 . - */ - -// !!! DO NOT ADD #pragma once !!! // - -// Step 1. -// Declare custom effects using the RGB_MATRIX_EFFECT macro -// (note the lack of semicolon after the macro!) -RGB_MATRIX_EFFECT(hid_effect) - -// Step 2. -// Define effects inside the `RGB_MATRIX_CUSTOM_EFFECT_IMPLS` ifdef block -#ifdef RGB_MATRIX_CUSTOM_EFFECT_IMPLS - -RGB rgb_matrix_led_state[RGB_MATRIX_LED_COUNT]; - -// e.g: A simple effect, self-contained within a single method -static bool hid_effect(effect_params_t* params) { - RGB_MATRIX_USE_LIMITS(led_min, led_max); - - for (uint8_t i = led_min; i < led_max; i++) { - rgb_matrix_set_color(i, - rgb_matrix_led_state[i].r, - rgb_matrix_led_state[i].g, - rgb_matrix_led_state[i].b); - } - return led_max < RGB_MATRIX_LED_COUNT; -} - -#endif // RGB_MATRIX_CUSTOM_EFFECT_IMPLS diff --git a/keyboards/massdrop/ctrl/keymaps/foxx1337/rules.mk b/keyboards/massdrop/ctrl/keymaps/foxx1337/rules.mk deleted file mode 100644 index ba6cb8f4b5a..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/foxx1337/rules.mk +++ /dev/null @@ -1,6 +0,0 @@ -# Build Options -CONSOLE_ENABLE = no # Console for debug -RAW_ENABLE = yes # Raw device -RGB_MATRIX_CUSTOM_USER = yes # Custom rgb matrix effect - -SRC += hid_protocol.c diff --git a/keyboards/massdrop/ctrl/keymaps/mac/keymap.c b/keyboards/massdrop/ctrl/keymaps/mac/keymap.c deleted file mode 100644 index 75df0ad9745..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/mac/keymap.c +++ /dev/null @@ -1,126 +0,0 @@ -#include QMK_KEYBOARD_H - -enum ctrl_keycodes { - U_T_AUTO = SAFE_RANGE, //USB Extra Port Toggle Auto Detect / Always Active - U_T_AGCR, //USB Toggle Automatic GCR control - DBG_TOG, //DEBUG Toggle On / Off - DBG_MTRX, //DEBUG Toggle Matrix Prints - DBG_KBD, //DEBUG Toggle Keyboard Prints - DBG_MOU, //DEBUG Toggle Mouse Prints - MD_BOOT, //Restart into bootloader after hold timeout -}; - -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_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_LALT, KC_LGUI, KC_SPC, KC_RGUI, MO(1), KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - [1] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MUTE, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, KC_MSTP, KC_VOLU, - _______, RGB_SPD, RGB_VAI, RGB_SPI, RGB_HUI, RGB_SAI, _______, U_T_AUTO,U_T_AGCR,_______, _______, _______, _______, _______, KC_MPRV, KC_MNXT, KC_VOLD, - _______, RGB_RMOD,RGB_VAD, RGB_MOD, RGB_HUD, RGB_SAD, _______, _______, _______, _______, _______, _______, _______, - _______, RGB_TOG, _______, _______, _______, MD_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - /* - [X] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, NK_TOGG, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - */ -}; - -// 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) { -}; - -#define MODS_SHIFT (get_mods() & MOD_BIT(KC_LSFT) || get_mods() & MOD_BIT(KC_RSFT)) -#define MODS_CTRL (get_mods() & MOD_BIT(KC_LCTL) || get_mods() & MOD_BIT(KC_RCTL)) -#define MODS_ALT (get_mods() & MOD_BIT(KC_LALT) || get_mods() & MOD_BIT(KC_RALT)) - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - static uint32_t key_timer; - - switch (keycode) { - case U_T_AUTO: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_extra_manual, "USB extra port manual mode"); - } - return false; - case U_T_AGCR: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_gcr_auto, "USB GCR auto mode"); - } - return false; - case DBG_TOG: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_enable, "Debug mode"); - } - return false; - case DBG_MTRX: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_matrix, "Debug matrix"); - } - return false; - case DBG_KBD: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_keyboard, "Debug keyboard"); - } - return false; - case DBG_MOU: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_mouse, "Debug mouse"); - } - return false; - case MD_BOOT: - if (record->event.pressed) { - key_timer = timer_read32(); - } else { - if (timer_elapsed32(key_timer) >= 500) { - reset_keyboard(); - } - } - return false; - 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); - rgb_matrix_set_color_all(0, 0, 0); - } - break; - case LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER: { - 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 - } -} diff --git a/keyboards/massdrop/ctrl/keymaps/mac_md/keymap.c b/keyboards/massdrop/ctrl/keymaps/mac_md/keymap.c deleted file mode 100644 index 79407113471..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/mac_md/keymap.c +++ /dev/null @@ -1,269 +0,0 @@ -#include QMK_KEYBOARD_H - -enum ctrl_keycodes { - L_BRI = SAFE_RANGE, //LED Brightness Increase //Working - L_BRD, //LED Brightness Decrease //Working - L_EDG_I, //LED Edge Brightness Increase - L_EDG_D, //LED Edge Brightness Decrease - L_EDG_M, //LED Edge lighting mode - L_PTN, //LED Pattern Select Next //Working - L_PTP, //LED Pattern Select Previous //Working - L_PSI, //LED Pattern Speed Increase //Working - L_PSD, //LED Pattern Speed Decrease //Working - L_RATIOD, - L_RATIOI, - L_T_MD, //LED Toggle Mode //Working - L_T_ONF, //LED Toggle On / Off //Broken - L_ON, //LED On //Broken - L_OFF, //LED Off //Broken - L_T_BR, //LED Toggle Breath Effect //Working - L_T_PTD, //LED Toggle Scrolling Pattern Direction //Working - U_T_AGCR, //USB Toggle Automatic GCR control //Working - DBG_TOG, //DEBUG Toggle On / Off // - DBG_MTRX, //DEBUG Toggle Matrix Prints // - DBG_KBD, //DEBUG Toggle Keyboard Prints // - DBG_MOU, //DEBUG Toggle Mouse Prints // - DBG_FAC, //DEBUG Factory light testing (All on white) - MD_BOOT //Restart into bootloader after hold timeout //Working -}; - -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_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_LALT, KC_LGUI, KC_SPC, KC_RGUI, MO(1), KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - [1] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MUTE, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, KC_MSTP, KC_VOLU, - L_T_BR, L_PSD, L_BRI, L_PSI, L_EDG_I, _______, _______, _______, U_T_AGCR,_______, _______, _______, _______, _______, KC_MPRV, KC_MNXT, KC_VOLD, - L_T_PTD, L_PTP, L_BRD, L_PTN, L_EDG_D, _______, _______, _______, _______, _______, _______, _______, _______, - _______, L_T_MD, L_T_ONF, _______, L_EDG_M, MD_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, - _______, _______, _______, DBG_FAC, _______, _______, _______, _______, _______, _______, _______ - ), - /* - [X] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, NK_TOGG, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - */ -}; - -// 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) { -}; - -#define MODS_SHIFT (get_mods() & MOD_BIT(KC_LSFT) || get_mods() & MOD_BIT(KC_RSFT)) -#define MODS_CTRL (get_mods() & MOD_BIT(KC_LCTL) || get_mods() & MOD_BIT(KC_RCTL)) -#define MODS_ALT (get_mods() & MOD_BIT(KC_LALT) || get_mods() & MOD_BIT(KC_RALT)) - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - static uint32_t key_timer; - static uint8_t scroll_effect = 0; - - switch (keycode) { - case L_BRI: - if (record->event.pressed) { - if (LED_GCR_STEP > LED_GCR_MAX - gcr_desired) gcr_desired = LED_GCR_MAX; - else gcr_desired += LED_GCR_STEP; - if (led_animation_breathing) gcr_breathe = gcr_desired; - } - return false; - case L_BRD: - if (record->event.pressed) { - if (LED_GCR_STEP > gcr_desired) gcr_desired = 0; - else gcr_desired -= LED_GCR_STEP; - if (led_animation_breathing) gcr_breathe = gcr_desired; - } - return false; - case L_EDG_M: - if (record->event.pressed) { - led_edge_mode++; - if (led_edge_mode > LED_EDGE_MODE_MAX) { - led_edge_mode = LED_EDGE_MODE_ALL; - } - } - return false; - case L_EDG_I: - if (record->event.pressed) { - led_edge_brightness += 0.1; - if (led_edge_brightness > 1) { led_edge_brightness = 1; } - } - return false; - case L_EDG_D: - if (record->event.pressed) { - led_edge_brightness -= 0.1; - if (led_edge_brightness < 0) { led_edge_brightness = 0; } - } - return false; - case L_RATIOI: - if (record->event.pressed) { - led_ratio_brightness += 0.2; - if (led_ratio_brightness > 2.0) { led_ratio_brightness = 2.0; } - } - return false; - case L_RATIOD: - if (record->event.pressed) { - led_ratio_brightness -= 0.2; - if (led_ratio_brightness < 0.0) { led_ratio_brightness = 0.0; } - } - return false; - case L_PTN: - if (record->event.pressed) { - if (led_animation_id == led_setups_count - 1) led_animation_id = 0; - else led_animation_id++; - } - return false; - case L_PTP: - if (record->event.pressed) { - if (led_animation_id == 0) led_animation_id = led_setups_count - 1; - else led_animation_id--; - } - return false; - case L_PSI: - if (record->event.pressed) { - led_animation_speed += ANIMATION_SPEED_STEP; - } - return false; - case L_PSD: - if (record->event.pressed) { - led_animation_speed -= ANIMATION_SPEED_STEP; - if (led_animation_speed < 0) led_animation_speed = 0; - } - return false; - case L_T_MD: - if (record->event.pressed) { - led_lighting_mode++; - if (led_lighting_mode > LED_MODE_MAX_INDEX) led_lighting_mode = LED_MODE_NORMAL; - } - return false; - case L_T_ONF: - if (record->event.pressed) { - led_enabled = !led_enabled; - I2C3733_Control_Set(led_enabled); - } - return false; - case L_ON: - if (record->event.pressed) { - led_enabled = 1; - I2C3733_Control_Set(led_enabled); - } - return false; - case L_OFF: - if (record->event.pressed) { - led_enabled = 0; - I2C3733_Control_Set(led_enabled); - } - return false; - case L_T_BR: - if (record->event.pressed) { - led_animation_breathing = !led_animation_breathing; - if (led_animation_breathing) { - gcr_breathe = gcr_desired; - led_animation_breathe_cur = BREATHE_MIN_STEP; - breathe_dir = 1; - } - } - return false; - case L_T_PTD: - if (record->event.pressed) { - scroll_effect++; - if (scroll_effect == 1) { //Patterns with scroll move horizontal (Right to left) - led_animation_direction = 1; - led_animation_orientation = 0; - led_animation_circular = 0; - } else if (scroll_effect == 2) { //Patterns with scroll move vertical (Top to bottom) - led_animation_direction = 1; - led_animation_orientation = 1; - led_animation_circular = 0; - } else if (scroll_effect == 3) { //Patterns with scroll move vertical (Bottom to top) - led_animation_direction = 0; - led_animation_orientation = 1; - led_animation_circular = 0; - } else if (scroll_effect == 4) { //Patterns with scroll explode from center - led_animation_direction = 0; - led_animation_orientation = 0; - led_animation_circular = 1; - } else if (scroll_effect == 5) { //Patterns with scroll implode on center - led_animation_direction = 1; - led_animation_orientation = 0; - led_animation_circular = 1; - } else { //Patterns with scroll move horizontal (Left to right) - scroll_effect = 0; - led_animation_direction = 0; - led_animation_orientation = 0; - led_animation_circular = 0; - } - } - return false; - case U_T_AGCR: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_gcr_auto, "USB GCR auto mode"); - } - return false; - case DBG_FAC: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - led_lighting_mode = LED_MODE_NORMAL; - led_edge_brightness = 1; - led_edge_mode = LED_EDGE_MODE_ALL; - led_animation_breathing = 0; - led_animation_id = 7; //led_programs.c led_setups leds_white index - gcr_desired = LED_GCR_MAX; - led_enabled = 1; - I2C3733_Control_Set(led_enabled); - } - return false; - case DBG_TOG: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_enable, "Debug mode"); - } - return false; - case DBG_MTRX: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_matrix, "Debug matrix"); - } - return false; - case DBG_KBD: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_keyboard, "Debug keyboard"); - } - return false; - case DBG_MOU: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_mouse, "Debug mouse"); - } - return false; - case MD_BOOT: - if (record->event.pressed) { - key_timer = timer_read32(); - } else { - if (timer_elapsed32(key_timer) >= 500) { - reset_keyboard(); - } - } - return false; - default: - return true; //Process all other keycodes normally - } -} - -led_instruction_t led_instructions[] = { - //Please see ../default_md/keymap.c for examples - - //All LEDs use the user's selected pattern (this is the factory default) - { .flags = LED_FLAG_USE_ROTATE_PATTERN }, - - //end must be set to 1 to indicate end of instruction set - { .end = 1 } -}; diff --git a/keyboards/massdrop/ctrl/keymaps/mac_md/rules.mk b/keyboards/massdrop/ctrl/keymaps/mac_md/rules.mk deleted file mode 100644 index 064a6f54c1f..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/mac_md/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -# This keymap requires Massdrop Configurator support -OPT_DEFS += -DUSE_MASSDROP_CONFIGURATOR diff --git a/keyboards/massdrop/ctrl/keymaps/r-pufky/config.h b/keyboards/massdrop/ctrl/keymaps/r-pufky/config.h deleted file mode 100644 index 07e69df3b98..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/r-pufky/config.h +++ /dev/null @@ -1,27 +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 . -*/ - -#pragma once - - -#define FORCE_NKRO - -#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_SOLID_COLOR -#define RGB_MATRIX_DEFAULT_VAL 100 -#define HSV_BACKLIGHT_COLOR HSV_BLUE -#define HSV_GAME_COLOR 170, 255, 192 // darker blue -#define HSV_CONTROL_COLOR 0, 255, 192 // darker red diff --git a/keyboards/massdrop/ctrl/keymaps/r-pufky/keymap.c b/keyboards/massdrop/ctrl/keymaps/r-pufky/keymap.c deleted file mode 100644 index 232b3e8dd4f..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/r-pufky/keymap.c +++ /dev/null @@ -1,175 +0,0 @@ -/* Copyright 2020 Robert Pufky - * - * 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 BASE 0 -#define GAME 1 -#define CTRL 2 -#define MODS_SHIFT (get_mods() & MOD_MASK_SHIFT) -#define MODS_CTRL (get_mods() & MOD_MASK_CTRL) -#define MODS_ALT (get_mods() & MOD_MASK_ALT) - -enum ctrl_keycodes { - U_T_AUTO = SAFE_RANGE, // USB Extra Port Toggle Auto Detect/Always Active - U_T_AGCR, // USB Toggle Automatic GCR control - L_BRI = SAFE_RANGE, // LED Brightness Increase - L_BRD, // LED Brightness Decrease - L_PTN, // LED Pattern Select Next - L_PTP, // LED Pattern Select Previous - L_PSI, // LED Pattern Speed Increase - L_PSD, // LED Pattern Speed Decrease - L_T_MD, // LED Toggle Mode - L_T_ONF, // LED Toggle On / Off //Broken - L_ON, // LED On //Broken - L_OFF, // LED Off //Broken - L_T_BR, // LED Toggle Breath Effect - L_T_PTD, // LED Toggle Scrolling Pattern Direction - DBG_TOG, // DEBUG Toggle On / Off - DBG_MTRX, // DEBUG Toggle Matrix Print - DBG_KBD, // DEBUG Toggle Keyboard Prints - DBG_MOU, // DEBUG Toggle Mouse Prints - MD_BOOT, // Restart into bootloader after hold timeout -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [BASE] = 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_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_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, KC_UP, - KC_NUM, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(CTRL), KC_F24, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - [GAME] = 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_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_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, KC_UP, - KC_HOME, KC_END, KC_LALT, KC_SPC, KC_RALT, MO(CTRL), KC_F24, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - [CTRL] = LAYOUT( - KC_EJCT, 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_MUTE, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, KC_MSTP, KC_VOLU, - _______, RGB_SPD, RGB_VAI, RGB_SPI, RGB_HUI, RGB_SAI, _______, _______, _______, _______, _______, TO(BASE), TO(GAME), _______, KC_MPRV, KC_MNXT, KC_VOLD, - KC_CAPS, RGB_RMOD, RGB_VAD, RGB_MOD, RGB_HUD, RGB_SAD, _______, _______, _______, _______, _______, _______, _______, - _______, RGB_TOG, _______, _______, _______, MD_BOOT, NK_TOGG, _______, _______, _______, _______, _______, KC_BRIU, - _______, _______, _______, _______, _______, _______, _______, _______, KC_MRWD, KC_BRID, KC_MFFD - ), -}; - -// Init keyboard static color with underglow off. -void matrix_init_user(void) { - rgblight_sethsv(HSV_BACKLIGHT_COLOR); - rgb_matrix_set_flags(LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER | LED_FLAG_INDICATOR); -}; - -// Runs constantly in the background, in a loop. -void matrix_scan_user(void) { -}; - -// Set backlight color based on active layer -layer_state_t layer_state_set_user(layer_state_t state) { - switch (get_highest_layer(state)) { - case GAME: { - rgblight_sethsv_noeeprom(HSV_GAME_COLOR); - break; - } - case CTRL: { - rgblight_sethsv_noeeprom(HSV_CONTROL_COLOR); - break; - } - default: - rgblight_sethsv_noeeprom(HSV_BACKLIGHT_COLOR); - break; - } - return state; -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - static uint32_t key_timer; - - switch (keycode) { - case U_T_AUTO: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_extra_manual, "USB extra port manual mode"); - } - return false; - case U_T_AGCR: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_gcr_auto, "USB GCR auto mode"); - } - return false; - case DBG_TOG: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_enable, "Debug mode"); - } - return false; - case DBG_MTRX: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_matrix, "Debug matrix"); - } - return false; - case DBG_KBD: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_keyboard, "Debug keyboard"); - } - return false; - case DBG_MOU: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_mouse, "Debug mouse"); - } - return false; - case MD_BOOT: - if (record->event.pressed) { - key_timer = timer_read32(); - } else { - if (timer_elapsed32(key_timer) >= 500) { - reset_keyboard(); - } - } - return false; - 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_OFF); - } - break; - case (LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER | LED_FLAG_INDICATOR): { - rgb_matrix_set_flags(LED_FLAG_UNDERGLOW); - rgb_matrix_set_color_all(RGB_OFF); - } - 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 - } -} diff --git a/keyboards/massdrop/ctrl/keymaps/r-pufky/readme.md b/keyboards/massdrop/ctrl/keymaps/r-pufky/readme.md deleted file mode 100644 index 38075b3a0ff..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/r-pufky/readme.md +++ /dev/null @@ -1,44 +0,0 @@ -# Massdrop Ctrl r-pufky - -Gaming QOL improvments; enabling useful keys for left hand & in-game overlay -usage. - -## Layers - -### Typing Layer - -![Typing Layer](https://i.imgur.com/qEBaupV.png) - -Layer optimized to enable useful keys for typing and casual gaming without -changing typing state, as well as specific in-game overlay keys. - -* Left Ctrl: Easier control key usage without always setting capslock. -* Num Lock: Unique non visible character key for additional left-hand input - options in game. -* Fn: Enable Control layer, temporal. -* F24: Non-visible F24 key; no windows function. Map to in-game overlays. - -### Gaming Layer - -![Gaming Layer](https://i.imgur.com/q4wGbFQ.png) - -Replaces super key with additional non-printing inputs. - -* Home: Non visible character key for additional input options in game. -* End: Non visible character key for additional input options in game. -* Left Ctrl: Easier control key usage without always setting capslock. -* Fn: Enable Control layer, temporal. -* F24: Non-visible F24 key; no windows function. Map to in-game overlays. - -### Control Layer - -![Function Layer](https://i.imgur.com/7Nalcyp.png) - -* Purple: Media keys. Note CD Eject on Escape, and OSX Prev/Next on Arrows. -* Blue: Keyboard adminstration. Toggle NKRO (N Key Rollover) and enable - bootloader. -* Orange: RGB Controls. -* Green: Toggle gaming layer. -* Capslock: Now requires the use of the function key. -* F13-F24: Extended function keys. -* Bright+/-: Monitor Brightness. diff --git a/keyboards/massdrop/ctrl/keymaps/responsive_pattern/README.md b/keyboards/massdrop/ctrl/keymaps/responsive_pattern/README.md deleted file mode 100644 index 60c2d1f91f3..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/responsive_pattern/README.md +++ /dev/null @@ -1,17 +0,0 @@ - - -Fn + P + Esc, Fn + P + `: reset effect to default - -Fn + P + Tab, Fn + P + Y: select previous color pattern -Fn + P + Caps, Fn + P + H: select next color pattern - -Fn + P + A, Fn + P + J: (no effect for now) -Fn + P + D, Fn + P + L: (no effect for now) - - -Fn + P + Q, Fn + P + U: wave travel faster -Fn + P + E, Fn + P + O: wave travel slower - - -Fn + P + W, Fn + P + I: increase wave width -Fn + P + S, Fn + P + K: decrease wave width diff --git a/keyboards/massdrop/ctrl/keymaps/responsive_pattern/keymap.c b/keyboards/massdrop/ctrl/keymaps/responsive_pattern/keymap.c deleted file mode 100644 index b314cfea0aa..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/responsive_pattern/keymap.c +++ /dev/null @@ -1,764 +0,0 @@ -#include QMK_KEYBOARD_H - -#include // sqrtf, powf - -#ifdef CONSOLE_ENABLE - -#include - -#endif - -enum ctrl_keycodes { - L_BRI = SAFE_RANGE, //LED Brightness Increase //Working - L_BRD, //LED Brightness Decrease //Working - L_PTN, //LED Pattern Select Next //Working - L_PTP, //LED Pattern Select Previous //Working - L_PSI, //LED Pattern Speed Increase //Working - L_PSD, //LED Pattern Speed Decrease //Working - L_T_MD, //LED Toggle Mode //Working - L_T_ONF, //LED Toggle On / Off //Broken - L_ON, //LED On //Broken - L_OFF, //LED Off //Broken - L_T_BR, //LED Toggle Breath Effect //Working - L_T_PTD, //LED Toggle Scrolling Pattern Direction //Working - U_T_AGCR, //USB Toggle Automatic GCR control //Working - DBG_TOG, //DEBUG Toggle On / Off // - DBG_MTRX, //DEBUG Toggle Matrix Prints // - DBG_KBD, //DEBUG Toggle Keyboard Prints // - DBG_MOU, //DEBUG Toggle Mouse Prints // - MD_BOOT, //Restart into bootloader after hold timeout //Working - - - L_SP_PR, //LED Splash Pattern Select Previous - L_SP_NE, //LED Splash Pattern Select Next - - L_SP_WD, //LED Splash Widen Wavefront width - L_SP_NW, //LED Splash Narrow Wavefront width - - L_SP_FA, //LED Splash wave travel speed faster (shorter period) - L_SP_SL, //LED Splash wave travel speed slower (longer period) - - L_CP_PR, //LED Color Pattern Select Previous - L_CP_NX, //LEB Color Pattern Select Next - - S_RESET // reset all parameters -}; - -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_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( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MUTE, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, KC_MSTP, KC_VOLU, - L_T_BR, L_PSD, L_BRI, L_PSI, _______, _______, _______, _______, U_T_AGCR,_______, MO(2), _______, _______, _______, KC_MPRV, KC_MNXT, KC_VOLD, - L_T_PTD, L_PTP, L_BRD, L_PTN, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, L_T_MD, L_T_ONF, _______, _______, MD_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - [2] = LAYOUT( - S_RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - S_RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - L_CP_NX, L_SP_SL, L_SP_WD, L_SP_FA, _______, _______, L_CP_NX, L_SP_SL, L_SP_WD, L_SP_FA, _______, _______, _______, _______, _______, _______, _______, - L_CP_PR, L_SP_PR, L_SP_NW, L_SP_NE, _______, _______, L_CP_PR, L_SP_PR, L_SP_NW, L_SP_NE, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ) - /* - [X] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, NK_TOGG, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - */ -}; - -#define DISTANCE_NORAMLIZING_PARAMETER 3 -struct { - uint8_t PATTERN_INDEX; - float WAVE_WIDTH; - float WAVE_SPEED; - int COLOR_PATTERN_INDEX; - float TRAVEL_DISTANCE; -} USER_CONFIG = { - .PATTERN_INDEX = 1, - .WAVE_WIDTH = 10, // width of the wave in keycaps - .WAVE_SPEED = 15, // travel how many keycaps per second - .COLOR_PATTERN_INDEX = 0, - .TRAVEL_DISTANCE = 25, -}; - - -#define COLOR_PATTERN_RGB_COUNT 18 -static uint8_t COLOR_PATTERNS[][COLOR_PATTERN_RGB_COUNT][3] = { - { // default rainbow color - {255, 0, 0}, {255, 0, 0}, {255, 127, 0}, - {255, 127, 0}, {255, 255, 0}, {255, 255, 0}, - {120, 255, 0}, {120, 255, 0}, { 0, 255, 0}, - { 0, 255, 0}, { 0, 255, 120}, { 0, 255, 120}, - { 0, 0, 255}, { 0, 0, 255}, { 75, 0, 130}, - { 75, 0, 130}, { 43, 0, 130}, { 43, 0, 130}, - }, { // light rainbow color - {248, 12, 18}, {238, 17, 0}, {255, 51, 17}, - {255, 68, 32}, {255, 102, 68}, {255, 153, 51}, - {254, 174, 45}, {204, 187, 51}, {208, 195, 16}, - {170, 204, 34}, {105, 208, 37}, { 34, 204, 170}, - { 18, 189, 185}, { 17, 170, 187}, { 68, 68, 221}, - { 51, 17, 187}, { 59, 12, 189}, { 68, 34, 153}, - }, { // white flat - {255, 255, 255}, {255, 255, 255}, {255, 255, 255}, - {255, 255, 255}, {255, 255, 255}, {255, 255, 255}, - {255, 255, 255}, {255, 255, 255}, {255, 255, 255}, - {255, 255, 255}, {255, 255, 255}, {255, 255, 255}, - {255, 255, 255}, {255, 255, 255}, {255, 255, 255}, - {255, 255, 255}, {255, 255, 255}, {255, 255, 255}, - }, { // white fade, cos curve - {255, 255, 255}, {255, 255, 255}, {252, 252, 252}, - {247, 247, 247}, {240, 240, 240}, {232, 232, 232}, - {221, 221, 221}, {209, 209, 209}, {196, 196, 196}, - {181, 181, 181}, {164, 164, 164}, {147, 147, 147}, - {128, 128, 128}, {108, 108, 108}, { 88, 88, 88}, - { 66, 66, 66}, { 45, 45, 45}, { 23, 23, 23}, - }, -}; -static const uint8_t COLOR_PATTERNS_COUNT = ARRAY_SIZE(COLOR_PATTERNS); - -/** - * trimed down version of `ISSI3733_LED_MAP`: - * - * `ISSI3733_LED_MAP` is defined in keyboards/massdrop/ctrl/config_led.h is not directly usable, - * the numbers inside this map could probably be related to the PCB layout instead of - * the actual physical layout, - * - * this `ISSI3733_LED_MAP` is used somewhere in protocol/ but is not globally accessible - * so one is created here - * - * x and y are coordinates of the physical layout - * KC_ESC is (0, 0), gap between function keys and number rows is 1.5 - * +y is downwards - * 1 unit is width/height of 1 standard keycap - */ -#define MAX_LED_ID ISSI3733_LED_COUNT -typedef struct led_info_s { - uint16_t id; - uint16_t scan; - float x; - float y; - uint8_t distance_to[MAX_LED_ID + 1]; -} led_info_t; -led_info_t led_info[MAX_LED_ID + 1] = { - { .id = 0 }, - { .id = 1, .x = 0.0, .y = 0.0, .scan = 41 }, // ESC - { .id = 2, .x = 2.0, .y = 0.0, .scan = 58 }, // F1 - { .id = 3, .x = 3.0, .y = 0.0, .scan = 59 }, // F2 - { .id = 4, .x = 3.5, .y = 0.0, .scan = 60 }, // F3 - { .id = 5, .x = 5.0, .y = 0.0, .scan = 61 }, // F4 - { .id = 6, .x = 6.5, .y = 0.0, .scan = 62 }, // F5 - { .id = 7, .x = 7.5, .y = 0.0, .scan = 63 }, // F6 - { .id = 8, .x = 8.5, .y = 0.0, .scan = 64 }, // F7 - { .id = 9, .x = 9.5, .y = 0.0, .scan = 65 }, // F8 - { .id = 10, .x = 11, .y = 0.0, .scan = 66 }, // F9 - { .id = 11, .x = 12, .y = 0.0, .scan = 67 }, // F10 - { .id = 12, .x = 13, .y = 0.0, .scan = 68 }, // F11 - { .id = 13, .x = 14, .y = 0.0, .scan = 69 }, // F12 - { .id = 14, .x = 15.5, .y = 0.0, .scan = 70 }, // Print - { .id = 15, .x = 16.5, .y = 0.0, .scan = 71 }, // Scoll Lock - { .id = 16, .x = 17.5, .y = 0.0, .scan = 72 }, // Pause - { .id = 17, .x = 0.0, .y = 1.5, .scan = 53 }, // ` - { .id = 18, .x = 1.0, .y = 1.5, .scan = 30 }, // 1 - { .id = 19, .x = 2.0, .y = 1.5, .scan = 31 }, // 2 - { .id = 20, .x = 3.0, .y = 1.5, .scan = 32 }, // 3 - { .id = 21, .x = 3.5, .y = 1.5, .scan = 33 }, // 4 - { .id = 22, .x = 5.0, .y = 1.5, .scan = 34 }, // 5 - { .id = 23, .x = 6.0, .y = 1.5, .scan = 35 }, // 6 - { .id = 24, .x = 7.0, .y = 1.5, .scan = 36 }, // 7 - { .id = 25, .x = 8.0, .y = 1.5, .scan = 37 }, // 8 - { .id = 26, .x = 9.0, .y = 1.5, .scan = 38 }, // 9 - { .id = 27, .x = 10.0, .y = 1.5, .scan = 39 }, // 0 - { .id = 28, .x = 11.0, .y = 1.5, .scan = 45 }, // - - { .id = 29, .x = 12.0, .y = 1.5, .scan = 46 }, // = - { .id = 30, .x = 13.5, .y = 1.5, .scan = 42 }, // Backspace - { .id = 31, .x = 15.5, .y = 1.5, .scan = 73 }, // Insert - { .id = 32, .x = 16.6, .y = 1.5, .scan = 74 }, // Home - { .id = 33, .x = 17.5, .y = 1.5, .scan = 75 }, // Page Up - { .id = 34, .x = 0.2, .y = 2.5, .scan = 43 }, // Tab - { .id = 35, .x = 1.5, .y = 2.5, .scan = 20 }, // Q - { .id = 36, .x = 2.5, .y = 2.5, .scan = 26 }, // W - { .id = 37, .x = 3.5, .y = 2.5, .scan = 8 }, // E - { .id = 38, .x = 4.5, .y = 2.5, .scan = 21 }, // R - { .id = 39, .x = 5.5, .y = 2.5, .scan = 23 }, // T - { .id = 40, .x = 6.5, .y = 2.5, .scan = 28 }, // Y - { .id = 41, .x = 7.5, .y = 2.5, .scan = 24 }, // U - { .id = 42, .x = 8.5, .y = 2.5, .scan = 12 }, // I - { .id = 43, .x = 9.5, .y = 2.5, .scan = 18 }, // O - { .id = 44, .x = 10.5, .y = 2.5, .scan = 19 }, // P - { .id = 45, .x = 11.5, .y = 2.5, .scan = 47 }, // [ - { .id = 46, .x = 12.5, .y = 2.5, .scan = 48 }, // ] - { .id = 47, .x = 13.75, .y = 2.5, .scan = 49 }, /* \ */ - { .id = 48, .x = 15.5, .y = 2.5, .scan = 76 }, // Delete - { .id = 49, .x = 16.5, .y = 2.5, .scan = 77 }, // End - { .id = 50, .x = 17.5, .y = 2.5, .scan = 78 }, // Page Down - { .id = 51, .x = 0.4, .y = 3.5, .scan = 57 }, // Caps Lock - { .id = 52, .x = 2.5, .y = 3.5, .scan = 4 }, // A - { .id = 53, .x = 3.5, .y = 3.5, .scan = 22 }, // S - { .id = 54, .x = 4.5, .y = 3.5, .scan = 7 }, // D - { .id = 55, .x = 5.5, .y = 3.5, .scan = 9 }, // F - { .id = 56, .x = 6.5, .y = 3.5, .scan = 10 }, // G - { .id = 57, .x = 7.5, .y = 3.5, .scan = 11 }, // H - { .id = 58, .x = 8.5, .y = 3.5, .scan = 13 }, // J - { .id = 59, .x = 9.5, .y = 3.5, .scan = 14 }, // K - { .id = 60, .x = 10.5, .y = 3.5, .scan = 15 }, // L - { .id = 61, .x = 11.5, .y = 3.5, .scan = 51 }, // ; - { .id = 62, .x = 12.5, .y = 3.5, .scan = 52 }, // ' - { .id = 63, .x = 13.5, .y = 3.5, .scan = 40 }, // Enter - { .id = 64, .x = 0.5, .y = 4.5, .scan = 225 }, // LSHIFT - { .id = 65, .x = 2.25, .y = 4.5, .scan = 29 }, // Z - { .id = 66, .x = 3.25, .y = 4.5, .scan = 27 }, // X - { .id = 67, .x = 4.25, .y = 4.5, .scan = 6 }, // C - { .id = 68, .x = 5.25, .y = 4.5, .scan = 25 }, // V - { .id = 69, .x = 6.25, .y = 4.5, .scan = 5 }, // B - { .id = 70, .x = 7.25, .y = 4.5, .scan = 17 }, // N - { .id = 71, .x = 8.25, .y = 4.5, .scan = 16 }, // M - { .id = 72, .x = 9.25, .y = 4.5, .scan = 54 }, // COMMA - { .id = 73, .x = 10.25, .y = 4.5, .scan = 55 }, // DOT - { .id = 74, .x = 11.25, .y = 4.5, .scan = 56 }, // SLASH - { .id = 75, .x = 13.2, .y = 4.5, .scan = 229 }, // RSHIFT - { .id = 76, .x = 16.5, .y = 4.5, .scan = 82 }, // UP - { .id = 77, .x = 0.1, .y = 5.5, .scan = 224 }, // LCTRL - { .id = 78, .x = 1.25, .y = 5.5, .scan = 227 }, // WIN - { .id = 79, .x = 2.5, .y = 5.5, .scan = 226 }, // LALT - { .id = 80, .x = 6.25, .y = 5.5, .scan = 44 }, // SPACE - -#define MAX_CACHED_SCAN_CODE 231 - { .id = 81, .x = 10.25, .y = 5.5, .scan = 230 }, // RALT - -#define FN_KEY_LED_ID 82 -#define FN_KEY_SCAN_CODE 20737 - { .id = 82, .x = 11.5, .y = 5.5, .scan = 20737 }, // FN - { .id = 83, .x = 12.7, .y = 5.5, .scan = 101 }, // APP - { .id = 84, .x = 13.75, .y = 5.5, .scan = 228 }, // RCTRL - { .id = 85, .x = 15.5, .y = 5.5, .scan = 80 }, // LEFT - { .id = 86, .x = 16.5, .y = 5.5, .scan = 81 }, // DOWN - { .id = 87, .x = 17.5, .y = 5.5, .scan = 79 }, // RIGHT - -#define MAX_LED_ID_WITH_SCANCODE 87 - - { .id = 88, .x = 18.5, .y = 6.5, .scan = 255 }, - { .id = 89, .x = 16.917, .y = 6.5, .scan = 255 }, - { .id = 90, .x = 15.333, .y = 6.5, .scan = 255 }, - { .id = 91, .x = 13.75, .y = 6.5, .scan = 255 }, - { .id = 92, .x = 12.167, .y = 6.5, .scan = 255 }, - { .id = 93, .x = 10.583, .y = 6.5, .scan = 255 }, - { .id = 94, .x = 9, .y = 6.5, .scan = 255 }, - { .id = 95, .x = 7.417, .y = 6.5, .scan = 255 }, - { .id = 96, .x = 5.833, .y = 6.5, .scan = 255 }, - { .id = 97, .x = 4.25, .y = 6.5, .scan = 255 }, - { .id = 98, .x = 2.667, .y = 6.5, .scan = 255 }, - { .id = 99, .x = 1.083, .y = 6.5, .scan = 255 }, - { .id = 100, .x = -0.5, .y = 6.5, .scan = 255 }, - { .id = 101, .x = -0.5, .y = 4.75, .scan = 255 }, - { .id = 102, .x = -0.5, .y = 3, .scan = 255 }, - { .id = 103, .x = -0.5, .y = 1.25, .scan = 255 }, - { .id = 104, .x = -0.5, .y = -0.5, .scan = 255 }, - { .id = 105, .x = 1.083, .y = -0.5, .scan = 255 }, - { .id = 106, .x = 2.667, .y = -0.5, .scan = 255 }, - { .id = 107, .x = 4.25, .y = -0.5, .scan = 255 }, - { .id = 108, .x = 5.833, .y = -0.5, .scan = 255 }, - { .id = 109, .x = 7.417, .y = -0.5, .scan = 255 }, - { .id = 110, .x = 9, .y = -0.5, .scan = 255 }, - { .id = 111, .x = 10.583, .y = -0.5, .scan = 255 }, - { .id = 112, .x = 12.167, .y = -0.5, .scan = 255 }, - { .id = 113, .x = 13.75, .y = -0.5, .scan = 255 }, - { .id = 114, .x = 15.333, .y = -0.5, .scan = 255 }, - { .id = 115, .x = 16.917, .y = -0.5, .scan = 255 }, - { .id = 116, .x = 18.5, .y = 1.25, .scan = 255 }, - { .id = 117, .x = 18.5, .y = 3, .scan = 255 }, - { .id = 118, .x = 18.5, .y = 4.75, .scan = 255 }, - { .id = 119, .x = 18.5, .y = 6.5, .scan = 255 }, -}; - -/** - * there are a few variables are used here - * keycode, scancode, led id - * - * scancode relates to actual physical key press - * - * keycode is software key press, or scancode with modifiers (shift, ctrl, alt, etc.), - * keycode with the value less than 255 are usually the same with scan code (I hope so) - * - * the led pattern are running based on led id, because led on the keyboard - * are not limited to keys only - */ -led_info_t* get_led_info_by_scancode(uint16_t scancode){ - static bool init = false; - static led_info_t* scancode_to_led_info[MAX_CACHED_SCAN_CODE + 1]; - if(!init){ - for(int i = 1; i <= MAX_LED_ID_WITH_SCANCODE; ++i){ - uint16_t scan = led_info[i].scan; - if(scan <= MAX_CACHED_SCAN_CODE){ - scancode_to_led_info[scan] = (led_info + i); - } - } - init = true; - } - - if(scancode <= MAX_CACHED_SCAN_CODE){ - return scancode_to_led_info[scancode]; - } else if(scancode == FN_KEY_SCAN_CODE){ // FN - return (led_info + FN_KEY_LED_ID); - } - return led_info; -} - - - -void init_led_info(void){ - for(int i = 1; i <= MAX_LED_ID; ++i){ - led_info_t *entry1 = led_info + i; - for(int j = i; j <= MAX_LED_ID; ++j){ - led_info_t *entry2 = led_info + j; - /** - * distance is tripled because - * convertion from float to int reduces accuracy - * - */ - uint8_t distance = (uint8_t)sqrtf( - powf(entry1->x - entry2->x, 2.0) + - powf(entry1->y - entry2->y, 2.0)) * - DISTANCE_NORAMLIZING_PARAMETER; - entry1->distance_to[j] = distance; - entry2->distance_to[i] = distance; - } - } -}; - - -// Runs just one time when the keyboard initializes. -void matrix_init_user(void) { - init_led_info(); -}; - -typedef struct keystroke_s { - uint16_t scancode; - uint32_t timer; - bool active; -} keystroke_t; - -#define MAX_ACTIVE_KEYSTORKES 10 -keystroke_t ACTIVE_KEYSTROKES[MAX_ACTIVE_KEYSTORKES]; - -void reset_led_for_instruction(int led_instruction_index){ - led_instructions[led_instruction_index].id0 = 0; - led_instructions[led_instruction_index].id1 = 0; - led_instructions[led_instruction_index].id2 = 0; - led_instructions[led_instruction_index].id3 = 0; -}; -void add_led_to_instruction(int led_instruction_index, int led_id){ - if(32 >= led_id && led_id >= 1){ - led_instructions[led_instruction_index].id0 += ( 1 << (led_id - 1) ); - } else if(64 >= led_id){ - led_instructions[led_instruction_index].id1 += ( 1 << (led_id - 33) ); - } else if(96 >= led_id){ - led_instructions[led_instruction_index].id2 += ( 1 << (led_id - 65) ); - } else if(128 >= led_id){ - led_instructions[led_instruction_index].id3 += ( 1 << (led_id - 97) ); - } -}; - - -void wave_effect(void); -void set_wave_color(int); -// Runs constantly in the background, in a loop. -void matrix_scan_user(void) { - wave_effect(); - set_wave_color(USER_CONFIG.PATTERN_INDEX); -}; - - -#define MODS_SHIFT (get_mods() & MOD_BIT(KC_LSFT) || get_mods() & MOD_BIT(KC_RSFT)) -#define MODS_CTRL (get_mods() & MOD_BIT(KC_LCTL) || get_mods() & MOD_BIT(KC_RCTL)) -#define MODS_ALT (get_mods() & MOD_BIT(KC_LALT) || get_mods() & MOD_BIT(KC_RALT)) - -void register_keystroke(uint16_t keycode){ - if(get_led_info_by_scancode(keycode)->id){ - uint32_t oldest_keystroke_lifespan = 0; - int8_t oldest_keystroke_index = -1; - bool registered = false; - - keystroke_t *keystroke = ACTIVE_KEYSTROKES; - for(int i = 0; i < MAX_ACTIVE_KEYSTORKES; ++i){ - if(!keystroke->active){ - keystroke->scancode = keycode; - keystroke->timer = timer_read32(); - keystroke->active = true; - registered = true; - break; - } - - uint32_t lifespan = timer_elapsed32(keystroke->timer); - if(lifespan > oldest_keystroke_lifespan){ - oldest_keystroke_index = i; - oldest_keystroke_lifespan = lifespan; - } - - ++keystroke; - } - - // override the oldest keystroke - if(!registered){ - keystroke = ACTIVE_KEYSTROKES + oldest_keystroke_index; - keystroke->scancode = keycode; - keystroke->timer = timer_read32(); - keystroke->active = true; // presumably active already - } - } -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - static uint32_t key_timer; - - switch (keycode) { - case L_BRI: - if (record->event.pressed) { - if (LED_GCR_STEP > LED_GCR_MAX - gcr_desired) gcr_desired = LED_GCR_MAX; - else gcr_desired += LED_GCR_STEP; - if (led_animation_breathing) gcr_breathe = gcr_desired; - } - return false; - case L_BRD: - if (record->event.pressed) { - if (LED_GCR_STEP > gcr_desired) gcr_desired = 0; - else gcr_desired -= LED_GCR_STEP; - if (led_animation_breathing) gcr_breathe = gcr_desired; - } - return false; - case L_PTN: - if (record->event.pressed) { - if (led_animation_id == led_setups_count - 1) led_animation_id = 0; - else led_animation_id++; - } - return false; - case L_PTP: - if (record->event.pressed) { - if (led_animation_id == 0) led_animation_id = led_setups_count - 1; - else led_animation_id--; - } - return false; - case L_PSI: - if (record->event.pressed) { - led_animation_speed += ANIMATION_SPEED_STEP; - } - return false; - case L_PSD: - if (record->event.pressed) { - led_animation_speed -= ANIMATION_SPEED_STEP; - if (led_animation_speed < 0) led_animation_speed = 0; - } - return false; - case L_T_MD: - if (record->event.pressed) { - led_lighting_mode++; - if (led_lighting_mode > LED_MODE_MAX_INDEX) led_lighting_mode = LED_MODE_NORMAL; - } - return false; - case L_T_ONF: - if (record->event.pressed) { - led_enabled = !led_enabled; - I2C3733_Control_Set(led_enabled); - } - return false; - case L_ON: - if (record->event.pressed) { - led_enabled = 1; - I2C3733_Control_Set(led_enabled); - } - return false; - case L_OFF: - if (record->event.pressed) { - led_enabled = 0; - I2C3733_Control_Set(led_enabled); - } - return false; - case L_T_BR: - if (record->event.pressed) { - led_animation_breathing = !led_animation_breathing; - if (led_animation_breathing) { - gcr_breathe = gcr_desired; - led_animation_breathe_cur = BREATHE_MIN_STEP; - breathe_dir = 1; - } - } - return false; - case L_T_PTD: - if (record->event.pressed) { - led_animation_direction = !led_animation_direction; - } - return false; - case U_T_AGCR: - if (record->event.pressed && MODS_SHIFT && MODS_CTRL) { - TOGGLE_FLAG_AND_PRINT(usb_gcr_auto, "USB GCR auto mode"); - } - return false; - case DBG_TOG: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_enable, "Debug mode"); - } - return false; - case DBG_MTRX: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_matrix, "Debug matrix"); - } - return false; - case DBG_KBD: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_keyboard, "Debug keyboard"); - } - return false; - case DBG_MOU: - if (record->event.pressed) { - TOGGLE_FLAG_AND_PRINT(debug_mouse, "Debug mouse"); - } - return false; - case MD_BOOT: - if (record->event.pressed) { - key_timer = timer_read32(); - } else { - if (timer_elapsed32(key_timer) >= 500) { - reset_keyboard(); - } - } - return false; - - - - case S_RESET: - // reset all parameters - - USER_CONFIG.PATTERN_INDEX = 1; - USER_CONFIG.WAVE_WIDTH = 10; - USER_CONFIG.WAVE_SPEED = 15; - USER_CONFIG.COLOR_PATTERN_INDEX = 0; - USER_CONFIG.TRAVEL_DISTANCE = 25; - - return false; - case L_SP_PR: // previous dripple pattern - case L_SP_NE: // next dripple pattern - if (record->event.pressed) { -#define PATTERN_COUNT 7 - uint8_t incre = keycode == L_SP_PR ? PATTERN_COUNT-1 : 1; - USER_CONFIG.PATTERN_INDEX += incre; - USER_CONFIG.PATTERN_INDEX %= PATTERN_COUNT; - - if(USER_CONFIG.PATTERN_INDEX <= 4){ - USER_CONFIG.TRAVEL_DISTANCE = 25; - USER_CONFIG.COLOR_PATTERN_INDEX = 0; - USER_CONFIG.WAVE_SPEED = 10; - } - - switch(USER_CONFIG.PATTERN_INDEX){ - case 0: // None - break; - case 1: // background off, wave on - USER_CONFIG.WAVE_WIDTH = 2; - break; - case 2: // background on, wave off - USER_CONFIG.WAVE_WIDTH = 5; - break; - case 3: // background off, rainbow wave - USER_CONFIG.WAVE_WIDTH = 10; - break; - case 4: // background on, rainbow wave - USER_CONFIG.WAVE_WIDTH = 10; - break; - case 5: - USER_CONFIG.WAVE_WIDTH = 10; - - USER_CONFIG.COLOR_PATTERN_INDEX = 2; - USER_CONFIG.TRAVEL_DISTANCE = 0; - USER_CONFIG.WAVE_SPEED = 10; - break; - case 6: - USER_CONFIG.WAVE_WIDTH = 10; - - USER_CONFIG.COLOR_PATTERN_INDEX = 3; - USER_CONFIG.TRAVEL_DISTANCE = 2; - USER_CONFIG.WAVE_SPEED = 10; - break; - } - - // remove effect after changing pattern - for(int i = 0; i < MAX_ACTIVE_KEYSTORKES; ++i){ - ACTIVE_KEYSTROKES[i].active = 0; - } - } - return false; - case L_SP_WD: - case L_SP_NW: - if(record->event.pressed){ - short incre = keycode == L_SP_WD ? 1 : -1; - USER_CONFIG.WAVE_WIDTH += incre; - if(USER_CONFIG.WAVE_WIDTH < 1){ - USER_CONFIG.WAVE_WIDTH = 1; - } - } - return false; - case L_SP_FA: - case L_SP_SL: - if(record->event.pressed){ - short incre = keycode == L_SP_FA ? -1 : 1; - - USER_CONFIG.WAVE_SPEED += incre; - if(USER_CONFIG.WAVE_SPEED > 50){ - USER_CONFIG.WAVE_SPEED = 50; - } else if(USER_CONFIG.WAVE_SPEED < 1){ - USER_CONFIG.WAVE_SPEED = 1; - } - } - return false; - // these are the keys not in range 0x04 - 0x52 - case L_CP_PR: - case L_CP_NX: - if(record->event.pressed){ - uint8_t incre = keycode == L_CP_PR ? COLOR_PATTERNS_COUNT - 1 : 1; - USER_CONFIG.COLOR_PATTERN_INDEX += incre; - USER_CONFIG.COLOR_PATTERN_INDEX %= COLOR_PATTERNS_COUNT; - set_wave_color(USER_CONFIG.COLOR_PATTERN_INDEX); - } - return false; - - default: - - - if(record->event.pressed){ - register_keystroke(keycode); - -#ifdef CONSOLE_ENABLE - led_info_t *entry = get_led_info_by_scancode(keycode); - uprintf(("KL: kc: %u, led id: %u, x: %f, y: %f, " - "col: %u, row: %u, pressed: %u, time: %u\n"), - keycode, entry->id, entry->x, entry->y, - record->event.key.col, record->event.key.row, - record->event.pressed, record->event.time); -#endif - } - return true; //Process all other keycodes normally - } -} - -led_instruction_t led_instructions[] = { - //LEDs are normally inactive, no processing is performed on them - //Flags are used in matching criteria for an LED to be active and indicate how to color it - //Flags can be found in tmk_core/protocol/arm_atsam/md_rgb_matrix.h (prefixed with LED_FLAG_) - //LED IDs can be found in config_led.h in the keyboard's directory - //Examples are below - - //All LEDs use the user's selected pattern (this is the factory default) - { .flags = LED_FLAG_USE_ROTATE_PATTERN }, - - //Specific LEDs use the user's selected pattern while all others are off - // { .flags = LED_FLAG_MATCH_ID | LED_FLAG_USE_ROTATE_PATTERN, .id0 = 0xFFFFFFFF, .id1 = 0xAAAAAAAA, .id2 = 0x55555555, .id3 = 0x11111111 }, - - //Specific LEDs use specified RGB values while all others are off - // { .flags = LED_FLAG_MATCH_ID | LED_FLAG_USE_RGB, .id0 = 0xFF, .id1 = 0x00FF, .id2 = 0x0000FF00, .id3 = 0xFF000000, .r = 75, .g = 150, .b = 225 }, - - //All LEDs use the user's selected pattern - //On layer 1, all key LEDs (except the top row which keeps active pattern) are red while all edge LEDs are green - //When layer 1 is active, key LEDs use red (id0 32 - 17: 1111 1111 1111 1111 0000 0000 0000 0000 = 0xFFFF0000) (except top row 16 - 1) - //When layer 1 is active, key LEDs use red (id1 64 - 33: 1111 1111 1111 1111 1111 1111 1111 1111 = 0xFFFFFFFF) - //When layer 1 is active, key LEDs use red (id2 87 - 65: 0000 0000 0111 1111 1111 1111 1111 1111 = 0x007FFFFF) - //When layer 1 is active, edge LEDs use green (id2 95 - 88: 1111 1111 1000 0000 0000 0000 0000 0000 = 0xFF800000) - //When layer 1 is active, edge LEDs use green (id3 119 - 96: 0000 0000 1111 1111 1111 1111 1111 1111 = 0x00FFFFFF) - // { .flags = LED_FLAG_USE_ROTATE_PATTERN }, - - #define WAVE_LED_INSTRUCTION_START 1 - { .flags = LED_FLAG_MATCH_ID | LED_FLAG_USE_RGB, .id0 = 0, .id1 = 0, .id2 = 0, .g = 255 }, - { .flags = LED_FLAG_MATCH_ID | LED_FLAG_USE_RGB, .id0 = 0, .id1 = 0, .id2 = 0, .g = 255 }, - { .flags = LED_FLAG_MATCH_ID | LED_FLAG_USE_RGB, .id0 = 0, .id1 = 0, .id2 = 0, .g = 255 }, - { .flags = LED_FLAG_MATCH_ID | LED_FLAG_USE_RGB, .id0 = 0, .id1 = 0, .id2 = 0, .g = 255 }, - { .flags = LED_FLAG_MATCH_ID | LED_FLAG_USE_RGB, .id0 = 0, .id1 = 0, .id2 = 0, .g = 255 }, - { .flags = LED_FLAG_MATCH_ID | LED_FLAG_USE_RGB, .id0 = 0, .id1 = 0, .id2 = 0, .g = 255 }, - { .flags = LED_FLAG_MATCH_ID | LED_FLAG_USE_RGB, .id0 = 0, .id1 = 0, .id2 = 0, .g = 255 }, - { .flags = LED_FLAG_MATCH_ID | LED_FLAG_USE_RGB, .id0 = 0, .id1 = 0, .id2 = 0, .g = 255 }, - { .flags = LED_FLAG_MATCH_ID | LED_FLAG_USE_RGB, .id0 = 0, .id1 = 0, .id2 = 0, .g = 255 }, - { .flags = LED_FLAG_MATCH_ID | LED_FLAG_USE_RGB, .id0 = 0, .id1 = 0, .id2 = 0, .g = 255 }, - { .flags = LED_FLAG_MATCH_ID | LED_FLAG_USE_RGB, .id0 = 0, .id1 = 0, .id2 = 0, .g = 255 }, - { .flags = LED_FLAG_MATCH_ID | LED_FLAG_USE_RGB, .id0 = 0, .id1 = 0, .id2 = 0, .g = 255 }, - { .flags = LED_FLAG_MATCH_ID | LED_FLAG_USE_RGB, .id0 = 0, .id1 = 0, .id2 = 0, .g = 255 }, - { .flags = LED_FLAG_MATCH_ID | LED_FLAG_USE_RGB, .id0 = 0, .id1 = 0, .id2 = 0, .g = 255 }, - { .flags = LED_FLAG_MATCH_ID | LED_FLAG_USE_RGB, .id0 = 0, .id1 = 0, .id2 = 0, .g = 255 }, - { .flags = LED_FLAG_MATCH_ID | LED_FLAG_USE_RGB, .id0 = 0, .id1 = 0, .id2 = 0, .g = 255 }, - { .flags = LED_FLAG_MATCH_ID | LED_FLAG_USE_RGB, .id0 = 0, .id1 = 0, .id2 = 0, .g = 255 }, - { .flags = LED_FLAG_MATCH_ID | LED_FLAG_USE_RGB, .id0 = 0, .id1 = 0, .id2 = 0, .g = 255 }, - #define WAVE_LED_INSTRUCTION_END 18 - - //All key LEDs use red while edge LEDs use the active pattern - //All key LEDs use red (id0 32 - 1: 1111 1111 1111 1111 1111 1111 1111 1111 = 0xFFFFFFFF) - //All key LEDs use red (id1 64 - 33: 1111 1111 1111 1111 1111 1111 1111 1111 = 0xFFFFFFFF) - //All key LEDs use red (id2 87 - 65: 0000 0000 0111 1111 1111 1111 1111 1111 = 0x007FFFFF) - //Edge uses active pattern (id2 95 - 88: 1111 1111 1000 0000 0000 0000 0000 0000 = 0xFF800000) - //Edge uses active pattern (id3 119 - 96: 0000 0000 1111 1111 1111 1111 1111 1111 = 0x00FFFFFF) - // { .flags = LED_FLAG_MATCH_ID | LED_FLAG_USE_RGB, .id0 = 0xFFFFFFFF, .id1 = 0xFFFFFFFF, .id2 = 0x007FFFFF, .r = 255 }, - // { .flags = LED_FLAG_MATCH_ID | LED_FLAG_USE_ROTATE_PATTERN , .id2 = 0xFF800000, .id3 = 0x00FFFFFF }, - - { .flags = LED_FLAG_MATCH_ID | LED_FLAG_USE_RGB | LED_FLAG_MATCH_LAYER, - .id1 = 0b00001111001111000000011110011110, - .r = 0, .g = 255, .b = 60, .layer = 2 }, - - //end must be set to 1 to indicate end of instruction set - { .end = 1 } -}; - - -void set_wave_color(int color_pattern_index){ - for(int i = WAVE_LED_INSTRUCTION_START; i < WAVE_LED_INSTRUCTION_END; ++i){ - for(int j = 0; j < COLOR_PATTERN_RGB_COUNT; ++j){ - led_instructions[i].r = COLOR_PATTERNS[color_pattern_index][i][0]; - led_instructions[i].g = COLOR_PATTERNS[color_pattern_index][i][1]; - led_instructions[i].b = COLOR_PATTERNS[color_pattern_index][i][2]; - } - } -}; - -void wave_effect(void){ - for(int i = WAVE_LED_INSTRUCTION_START; i < WAVE_LED_INSTRUCTION_END; ++i){ - reset_led_for_instruction(i); - } - int wave_led_instruction_span = WAVE_LED_INSTRUCTION_END - WAVE_LED_INSTRUCTION_START; - - - keystroke_t *keystroke = ACTIVE_KEYSTROKES; - for(int i = 0; i < MAX_ACTIVE_KEYSTORKES; ++i, ++keystroke){ - if(!keystroke->active) continue; - bool active = false; - - uint16_t keystroke_led_id = get_led_info_by_scancode(keystroke->scancode)->id; - - float elapsed_s = timer_elapsed32(keystroke->timer) / 1000.0f; - float travel = elapsed_s * USER_CONFIG.WAVE_SPEED; - - for(uint16_t id = 1; id <= MAX_LED_ID; ++id){ - float normalized_distance = - led_info[id].distance_to[keystroke_led_id] / - (float)DISTANCE_NORAMLIZING_PARAMETER; - - if(travel >= normalized_distance && travel - normalized_distance >= 0 && - normalized_distance >= travel - USER_CONFIG.WAVE_WIDTH){ - int portion = (travel - normalized_distance) * - wave_led_instruction_span / USER_CONFIG.WAVE_WIDTH; - add_led_to_instruction(portion, id); - - active = true; - } - } - - keystroke->active = active; - } -}; diff --git a/keyboards/massdrop/ctrl/keymaps/responsive_pattern/rules.mk b/keyboards/massdrop/ctrl/keymaps/responsive_pattern/rules.mk deleted file mode 100644 index 064a6f54c1f..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/responsive_pattern/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -# This keymap requires Massdrop Configurator support -OPT_DEFS += -DUSE_MASSDROP_CONFIGURATOR diff --git a/keyboards/massdrop/ctrl/keymaps/xanimos/config.h b/keyboards/massdrop/ctrl/keymaps/xanimos/config.h deleted file mode 100644 index 52a90d332ad..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/xanimos/config.h +++ /dev/null @@ -1,117 +0,0 @@ -/* Copyright 2022 Daniel Weeks (@xanimos) - * - * 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_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_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_RAINBOW_MOVING_CHEVRON // Full gradent Chevron shapped scrolling left to right -#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 // Static single hue, pulses keys hit to shifted hue then fades to current hue -#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE // Pulses keys hit to hue & value then fades value out -#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/massdrop/ctrl/keymaps/xanimos/config_led.c b/keyboards/massdrop/ctrl/keymaps/xanimos/config_led.c deleted file mode 100644 index 6d6338073d2..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/xanimos/config_led.c +++ /dev/null @@ -1,98 +0,0 @@ -/* Copyright 2022 Daniel Weeks (@xanimos) - * - * 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 . - */ - -#ifdef RGB_MATRIX_ENABLE -#include "ctrl.h" - -#include "md_rgb_matrix.h" -#include "rgb_matrix.h" -#include "config_led.h" - -led_config_t g_led_config = { { - { 0, 1, 2, 3, 4, 5, 6, 7 }, - { 16, 17, 18, 19, 20, 21, 22, 23 }, - { 33, 34, 35, 36, 37, 38, 39, 40 }, - { 50, 51, 52, 53, 54, 55, 56, 57 }, - { 63, 64, 65, 66, 67, 68, 69, 70 }, - { 76, 77, 78, 79, 80, 81, 82, 83 }, - { 8, 9, 10, 11, 12, 13, 14, 15 }, - { 24, 25, 26, 27, 28, 29, 30, 31 }, - { 41, 42, 43, 44, 45, 46, 47, 48 }, - { 58, 59, 60, 61, 62, 75, 49, 32 }, - { 71, 72, 73, 74, 84, 85, 86, NO_LED } -}, { - // 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 - { 7, 5 }, { 31, 5 }, { 43, 5 }, { 55, 5 }, { 67, 5 }, { 85, 5 }, { 97, 5 }, { 109, 5 }, - { 121, 5 }, { 139, 5 }, { 151, 5 }, { 163, 5 }, { 175, 5 }, { 193, 5 }, { 205, 5 }, { 217, 5 }, - // 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 - { 7, 20 }, { 19, 20 }, { 31, 20 }, { 43, 20 }, { 55, 20 }, { 67, 20 }, { 79, 20 }, { 91, 20 }, - { 103, 20 }, { 115, 20 }, { 127, 20 }, { 139, 20 }, { 151, 20 }, { 169, 20 }, { 193, 20 }, { 205, 20 }, - { 217, 20 }, - // 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 - { 10, 30 }, { 25, 30 }, { 37, 30 }, { 49, 30 }, { 61, 30 }, { 73, 30 }, { 85, 30 }, { 97, 30 }, - { 109, 30 }, { 121, 30 }, { 133, 30 }, { 145, 30 }, { 157, 30 }, { 172, 30 }, { 193, 30 }, { 205, 30 }, - { 217, 30 }, - // 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 - { 11, 39 }, { 28, 39 }, { 40, 39 }, { 52, 39 }, { 64, 39 }, { 76, 39 }, { 88, 39 }, { 100, 39 }, - { 112, 39 }, { 124, 39 }, { 136, 39 }, { 148, 39 }, { 168, 39 }, - // 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 - { 14, 49 }, { 34, 49 }, { 46, 49 }, { 58, 49 }, { 70, 49 }, { 82, 49 }, { 94, 49 }, { 106, 49 }, - { 118, 49 }, { 130, 49 }, { 142, 49 }, { 165, 49 }, { 205, 49 }, - // KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - { 8, 59 }, { 23, 59 }, { 38, 59 }, { 83, 59 }, { 129, 59 }, { 144, 59 }, { 159, 59 }, { 174, 59 }, - { 193, 59 }, { 205, 59 }, { 217, 59 }, - // Underglow / Border - { 224, 64 }, { 204, 64 }, { 186, 64 }, { 167, 64 }, { 149, 64 }, { 130, 64 }, { 112, 64 }, { 94, 64 }, - { 75, 64 }, { 57, 64 }, { 38, 64 }, { 20, 64 }, { 0, 64 }, { 0, 47 }, { 0, 32 }, { 0, 17 }, - { 0, 0 }, { 20, 0 }, { 38, 0 }, { 57, 0 }, { 75, 0 }, { 94, 0 }, { 112, 0 }, { 130, 0 }, - { 149, 0 }, { 167, 0 }, { 186, 0 }, { 204, 0 }, { 224, 0 }, { 224, 17 }, { 224, 32 }, { 224, 47 } -}, { - // 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 - 1, 4, 4, 4, 4, 1, 1, 1, - 1, 4, 4, 4, 4, 1, 1, 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_INS, KC_HOME, KC_PGUP - 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 1, 1, 1, - 1, - // 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 - 1, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 1, 1, - 1, - // 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 - 1, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 1, - // 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 - 1, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 1, 1, - // KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - 1, 1, 1, 4, 1, 1, 1, 1, - 1, 1, 1, - // Underglow / Border - 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 2 -} }; - - -#ifdef USB_LED_INDICATOR_ENABLE -bool rgb_matrix_indicators_advanced_kb(uint8_t led_min, uint8_t led_max) { - md_rgb_matrix_indicators_advanced(led_min, led_max); - return rgb_matrix_indicators_advanced_user(led_min, led_max); -} -#endif // USB_LED_INDICATOR_ENABLE - -#endif diff --git a/keyboards/massdrop/ctrl/keymaps/xanimos/keymap.c b/keyboards/massdrop/ctrl/keymaps/xanimos/keymap.c deleted file mode 100644 index 5d95018dbc4..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/xanimos/keymap.c +++ /dev/null @@ -1,517 +0,0 @@ -/* Copyright 2022 Daniel Weeks (@xanimos) - * - * 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 - -#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 rgb_config_t rgb_matrix_config; -bool disable_layer_color; - -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. - -enum layout_names { - _KL=0, // Keys Layout: The main keyboard layout that has all the characters - _FL, // Function Layout: The function key activated layout with default functions and some added ones - _GL, // GIT Layout: GIT shortcuts and macros - _NUMPAD, // Numpad Layout: Adds a numpad to the keys -}; - -// Tap Dance keycodes -enum td_keycodes { - TD_FN_SWITCH = 0 -}; - -// Define a type containing as many tapdance states as you need -typedef enum { - TD_NONE, - TD_UNKNOWN, - TD_SINGLE_HOLD, - TD_DOUBLE_HOLD -} td_state_t; - -typedef struct { - bool is_press_action; - td_state_t state; -} td_tap_t; - -// Declare your tapdance functions: - -// Function to determine the current tapdance state -td_state_t cur_dance(tap_dance_state_t *state); - -// `finished` and `reset` functions for each tapdance keycode -void fn_tap_finished(tap_dance_state_t *state, void *user_data); -void fn_tap_reset(tap_dance_state_t *state, void *user_data); - -enum ctrl_keycodes { - MD_BOOT = SAFE_RANGE, // Restart into bootloader after hold timeout - ROUT_TG, // Timeout Toggle. Toggle idle LED time out on or off - ROUT_VI, // Timeout Value Increase. Increase idle time out before LED disabled - ROUT_VD, // Timeout Value Decrease. Decrease idle time out before LED disabled - ROUT_FM, // RGB timeout fast mode toggle - TOG_NPD, // Toggle Numpad On/Off - COPY_ALL, // Copy all text using ctrl(a+c) -}; - -enum string_macro_keycodes { - // The start of this enum should always be equal to end of ctrl_keycodes + 1 - G_INIT = COPY_ALL + 1, // git init - G_CLONE, // git clone - G_ADD, // git add - G_DIFF, // git diff - G_RESET, // git reset --soft - G_BRANH, // git branch list - G_CHECK, // git checkout - G_REMTE, // git remote add - G_FETCH, // git fetch - G_PULL, // git pull - G_PUPST, // git pull upstream - G_PUSH, // git push - G_PSORG, // git push -u origin - G_PSFWL, // git push --force-with-lease - G_COMM, // git commit - G_COMSG, // git commit -m ": [TFS-]" - G_STAT, // git status - G_LOG, // git log -}; - -static uint16_t idle_timer; // Idle LED timeout timer -static uint8_t idle_second_counter; // Idle LED seconds counter, counts seconds not milliseconds -static uint8_t key_event_counter; // This counter is used to check if any keys are being held - -static const char * sendstring_commands[] = { - "git init", - "git clone ", - "git add ", - "git diff ", - "git reset --soft ", - "git branch --list", - "git checkout ", - "git remote add ", - "git fetch ", - "git pull", - "git pull upstream ", - "git push", - "git push -u origin ", - "git push --force-with-lease", - "git commit ", - "git commit -m \": [TFS-]\"", - "git status", - "git log", -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_KL] = LAYOUT( - // ESC F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 PRINT SCLCK PAUSE - 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,RCS(KC_M), - // ~ 1 2 3 4 5 6 7 8 9 0 - = BCKSP INS HOME PGUP - 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, - // TAB Q W E R T Y U I O P [ ] \ DEL END PGDN - 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, - // CAPS A S D F G H J K L ; ' ENTER - 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 , - // SHIFT Z X C V B N M , . / RSHIFT UP - 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 , - // CTRL GUI ALT SPACE RALT MENU RGUI RCTRL LEFT DOWN RIGHT - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, TD(TD_FN_SWITCH), KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - [_FL] = LAYOUT( - // ESC F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 PRINT SCLCK PAUSE - _______, ROUT_TG, ROUT_FM, ROUT_VD, ROUT_VI, _______, _______, _______, _______, _______, _______, KC_WAKE, KC_SLEP, KC_PAUS, _______, KC_MUTE, - // ~ 1 2 3 4 5 6 7 8 9 0 - = BCKSP INS HOME PGUP - RGB_TOG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MSTP, KC_MPLY, KC_VOLU, - // TAB Q W E R T Y U I O P [ ] \ DEL END PGDN - _______, RGB_MOD, RGB_SPI, RGB_VAI, RGB_HUI, RGB_SAI, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MNXT, KC_VOLD, - // CAPS A S D F G H J K L ; ' ENTER - _______,RGB_RMOD, RGB_SPD, RGB_VAD, RGB_HUD, RGB_SAD, _______, _______, _______, _______, _______, _______, _______, - // SHIFT Z X C V B N M , . / RSHIFT UP - _______, _______, _______,COPY_ALL, _______, MD_BOOT, NK_TOGG, _______, _______, _______, _______, TOG_NPD, KC_BRIU, - // CTRL GUI ALT SPACE RALT MENU RGUI RCTRL LEFT DOWN RIGHT - _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_BRID, _______ - ), - [_GL] = LAYOUT( - // ESC F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 PRINT SCLCK PAUSE - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - // ~ 1 2 3 4 5 6 7 8 9 0 - = BCKSP INS HOME PGUP - G_INIT, G_CLONE, G_REMTE, G_RESET, G_PSFWL, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - // TAB Q W E R T Y U I O P [ ] \ DEL END PGDN - _______, G_PUPST, G_PULL, G_PSORG, G_PUSH, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - // CAPS A S D F G H J K L ; ' ENTER - _______, G_ADD, G_STAT, G_DIFF, G_FETCH, _______, _______, _______, _______, _______, _______, _______, _______, - // SHIFT Z X C V B N M , . / RSHIFT UP - _______, G_LOG, G_CHECK, G_COMM, G_COMSG, G_BRANH, _______, _______, _______, _______, _______, _______, _______, - // CTRL GUI ALT SPACE RALT MENU RGUI RCTRL LEFT DOWN RIGHT - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - [_NUMPAD] = LAYOUT( - // ESC F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 PRINT SCLCK PAUSE - TOG_NPD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - // ~ 1 2 3 4 5 6 7 8 9 0 - = BCKSP INS HOME PGUP - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - // TAB Q W E R T Y U I O P [ ] \ DEL END PGDN - _______, _______, _______, _______, _______, _______, KC_P7, KC_P8, KC_P9, _______, _______, _______, _______, _______, _______, _______, _______, - // CAPS A S D F G H J K L ; ' ENTER - _______, _______, _______, _______, _______, _______, KC_P4, KC_P5, KC_P6, _______, _______, _______, _______, - // SHIFT Z X C V B N M , . / RSHIFT UP - _______, _______, _______, _______, _______, KC_P1, KC_P2, KC_P3, KC_PDOT, _______, _______, _______, _______, - // CTRL GUI ALT SPACE RALT MENU RGUI RCTRL LEFT DOWN RIGHT - _______, _______, _______, KC_P0, _______, _______, _______, _______, _______, _______, _______ - ), - /* - [X] = LAYOUT( - // ESC F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 PRINT SCLCK PAUSE - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - // ~ 1 2 3 4 5 6 7 8 9 0 - = BCKSP INS HOME PGUP - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - // TAB Q W E R T Y U I O P [ ] \ DEL END PGDN - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - // CAPS A S D F G H J K L ; ' ENTER - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - // SHIFT Z X C V B N M , . / RSHIFT UP - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - // CTRL GUI ALT SPACE RALT MENU RGUI RCTRL LEFT DOWN RIGHT - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - */ -}; - -#define __OFF__ {0, 0, 0} - -const uint8_t PROGMEM ledmap[][RGB_MATRIX_LED_COUNT][3] = { - [_FL] = { - // These remain on base layer rgb to see adjustments ;) - // |----------------------------------| - // _______, ROUT_TG, ROUT_FM, ROUT_VD, ROUT_VI, _______, _______, _______, _______, _______, _______, KC_WAKE, KC_SLEP, KC_PAUS, _______, KC_MUTE, - __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, YELLOW, YELLOW, ORANGE, __OFF__, GOLD, - // RGB_TOG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MSTP, KC_MPLY, KC_VOLU, - GOLD, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, RED, SPRING, ORANGE, - // _______, RGB_MOD, RGB_SPI, RGB_VAI, RGB_HUI, RGB_SAI, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MNXT, KC_VOLD, - __OFF__, ORANGE, GREEN, AZURE, GOLDEN, MAGENT, __OFF__, AZURE, AZURE, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, TEAL, TEAL, ORANGE, - // _______,RGB_RMOD, RGB_SPD, RGB_VAD, RGB_HUD, RGB_SAD, _______, _______, _______, _______, _______, _______, _______, - __OFF__, ORANGE, GREEN, AZURE, GOLDEN, MAGENT, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, - // _______, _______, _______,COPY_ALL, _______, MD_BOOT, NK_TOGG, _______, _______, _______, _______, TO(_NUMPAD), KC_BRIU, - __OFF__, __OFF__, __OFF__, CORAL, __OFF__, RED, TURQ, __OFF__, __OFF__, __OFF__, __OFF__, CYAN, SPRING, - // _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_BRID, _______ - __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, SPRING, __OFF__ - }, - [_GL] = { - // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, - // G_INIT, G_CLONE, G_REMTE, G_RESET, G_PSFWL, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - AZURE, CHART, CHART, RED, CORAL, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, - // _______, G_PUPST, G_PULL, G_PSORG, G_PUSH, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - __OFF__, BLUE, PURPLE, MAGENT, PINK, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, - // _______, G_ADD, G_STAT, G_DIFF, G_FETCH, _______, _______, _______, _______, _______, _______, _______, _______, - __OFF__, SPRING, GREEN, TURQ, TEAL, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, - // _______, G_LOG, G_CHECK, G_COMM, G_COMSG, G_BRANH, _______, _______, _______, _______, _______, _______, _______, - __OFF__, CYAN, GOLDEN, YELLOW, GOLD, CHART, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, - // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__ - }, - [_NUMPAD] = { - // TO(_KL), _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - RED, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, - // _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, - // _______, _______, _______, _______, _______, _______, KC_P7, KC_P8, KC_P9, _______, _______, _______, _______, _______, _______, _______, _______, - __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, GREEN, GREEN, GREEN, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, - // _______, _______, _______, _______, _______, _______, KC_P4, KC_P5, KC_P6, _______, _______, _______, _______, - __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, TURQ, TURQ, TURQ, __OFF__, __OFF__, __OFF__, __OFF__, - // _______, _______, _______, _______, _______, _______, KC_P1, KC_P2, KC_P3, KC_PDOT, _______, _______, _______, - __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, CYAN, CYAN, CYAN, AZURE, __OFF__, __OFF__, __OFF__, __OFF__, - // _______, _______, _______, KC_P0, _______, _______, _______, _______, _______, _______, _______ - __OFF__, __OFF__, __OFF__, CYAN, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__, __OFF__ - }, -}; - -// Runs just one time when the keyboard initializes. -void matrix_init_user(void) { - // Enable or disable debugging - debug_enable = false; - debug_matrix = false; - debug_keyboard = false; - debug_mouse = false; - - idle_second_counter = 0; // Counter for number of seconds keyboard has been idle. - key_event_counter = 0; // Counter to determine if keys are being held, neutral at 0. - rgb_time_out_seconds = RGB_DEFAULT_TIME_OUT; // RGB timeout initialized to its default configure in keymap.h - rgb_time_out_enable = false; // Disable RGB timeout by default. Enable using toggle key. - rgb_time_out_user_value = false; // Has to have the same initial value as rgb_time_out_enable. - rgb_enabled_flag = true; // Initially, keyboard RGB is enabled. Change to false config.h initializes RGB disabled. - rgb_time_out_fast_mode_enabled = false; // RGB timeout fast mode disabled initially. - rgb_time_out_saved_flag = rgb_matrix_get_flags(); // Save RGB matrix state for when keyboard comes back from ide. -}; - -void keyboard_post_init_user(void) { - rgb_matrix_enable(); -} - -// Runs constantly in the background, in a loop. -void matrix_scan_user(void) { - if(rgb_time_out_enable && rgb_enabled_flag) { - // If the key event counter is not zero then some key was pressed down but not released, thus reset the timeout counter. - if (key_event_counter) { - idle_second_counter = 0; - } else if (timer_elapsed(idle_timer) > MILLISECONDS_IN_SECOND) { - idle_second_counter++; - idle_timer = timer_read(); - } - - if (idle_second_counter >= rgb_time_out_seconds) { - rgb_time_out_saved_flag = rgb_matrix_get_flags(); - rgb_matrix_set_flags(LED_FLAG_NONE); - rgb_matrix_disable_noeeprom(); - rgb_enabled_flag = false; - idle_second_counter = 0; - } - } -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - static uint32_t key_timer; - - // Increment key event counter for every press and decrement for every release. - if (record->event.pressed) { - key_event_counter++; - - } else { - key_event_counter--; - } - - if (rgb_time_out_enable) { - idle_timer = timer_read(); - // Reset the seconds counter. Without this, something like press> leave x seconds> press, would be x seconds on the effective counter not 0 as it should. - idle_second_counter = 0; - if (!rgb_enabled_flag) { - rgb_matrix_enable_noeeprom(); - rgb_matrix_set_flags(rgb_time_out_saved_flag); - rgb_enabled_flag = true; - } - } - - switch (keycode) { - case MD_BOOT: - if (record->event.pressed) { - key_timer = timer_read32(); - } else { - if (timer_elapsed32(key_timer) >= 500) { - reset_keyboard(); - } - } - return false; - } - - if (record->event.pressed) { - switch (keycode) { - case RGB_TOG: - rgb_time_out_enable = rgb_time_out_user_value; - switch (rgb_matrix_get_flags()) { - case LED_FLAG_ALL: { - rgb_matrix_set_flags(LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER); - rgb_matrix_set_color_all(0, 0, 0); - } - break; - case LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER: { - rgb_matrix_set_flags(LED_FLAG_UNDERGLOW); - rgb_matrix_set_color_all(0, 0, 0); - } - break; - case LED_FLAG_UNDERGLOW: { - // This line is for LED idle timer. It disables the toggle so you can turn off LED completely if you like - rgb_time_out_enable = false; - 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; - // ======================================================== CUSTOM KEYCOADS BELOW ======================================================== - case COPY_ALL: - // Selects all and text and copy - SEND_STRING(SS_LCTL("ac")); - return false; - case ROUT_TG: - // Toggle idle LED timeout on or off - rgb_time_out_enable = !rgb_time_out_enable; - rgb_time_out_user_value = rgb_time_out_enable; - return false; - case ROUT_VI: - // Increase idle LED timeout value in seconds - // Only increase if current value is lower than RGB_TIME_OUT_MAX. Don't care what value the result will be - // Modity RGB_TIME_OUT_STEP for bigger or smaller increments - if (!rgb_time_out_fast_mode_enabled && rgb_time_out_seconds <= RGB_TIME_OUT_MAX) { - rgb_time_out_seconds += RGB_TIME_OUT_STEP; - } - return false; - case ROUT_VD: - // Decrease idle LED timeout value in seconds - // Only decrease if current value is higher than minimum value and the result is larger than zero - // Modity RGB_TIME_OUT_STEP for bigger or smaller decrements - if (!rgb_time_out_fast_mode_enabled && rgb_time_out_seconds > RGB_TIME_OUT_MIN) { - rgb_time_out_seconds -= RGB_TIME_OUT_STEP; - } - return false; - case ROUT_FM: - if (rgb_time_out_fast_mode_enabled) { - rgb_time_out_seconds = rgb_time_out_saved_seconds; - } else { - rgb_time_out_saved_seconds = rgb_time_out_seconds; - rgb_time_out_seconds = RGB_FAST_MODE_TIME_OUT; - } - rgb_time_out_fast_mode_enabled = !rgb_time_out_fast_mode_enabled; - return false; - case G_INIT ... G_LOG: - send_string_with_delay(sendstring_commands[keycode - G_INIT], 5); - return false; - case TOG_NPD: - if (get_highest_layer(layer_state) != _NUMPAD) { - layer_move(_NUMPAD); - } else { - layer_move(_KL); - } - return false; - } - } - return true; -} - -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); - continue; - } - if(layer == _FL && i <= 4 && i >= 1) { - continue; // Leave RGB for F1-F4 of function layer to adjust RGB settings - } - - rgb_matrix_set_color(i, 0, 0, 0); - } -} - -bool rgb_matrix_indicators_user(void) { - if (disable_layer_color || - rgb_matrix_get_flags() == LED_FLAG_NONE || - rgb_matrix_get_flags() == LED_FLAG_UNDERGLOW) { - return; - } - set_layer_color(get_highest_layer(layer_state)); - return false; -} - - - -td_state_t cur_dance(tap_dance_state_t *state) { - if (state->pressed && !state->interrupted) { - if (state->count == 1) { return TD_SINGLE_HOLD; } - return TD_DOUBLE_HOLD; - } - return TD_UNKNOWN; -} - -static td_tap_t fn_tap_state = { - .is_press_action = true, - .state = TD_NONE -}; - -void fn_tap_finished(tap_dance_state_t *state, void *user_data) { - fn_tap_state.state = cur_dance(state); - switch (fn_tap_state.state) { - case TD_SINGLE_HOLD: - // set function layer - layer_move(_FL); - break; - case TD_DOUBLE_HOLD: - // set git layer - layer_move(_GL); - break; - case TD_UNKNOWN: - register_code(KC_APP); - break; - default: - break; - } -} - -void fn_tap_reset(tap_dance_state_t *state, void *user_data) { - switch (fn_tap_state.state) { - case TD_UNKNOWN: - unregister_code(KC_APP); - break; - case TD_DOUBLE_HOLD: - case TD_SINGLE_HOLD: - // Set default layer if we didn't activate numpad layer in function - if (get_highest_layer(layer_state) != _NUMPAD) { - layer_move(_KL); - } - break; - break; - default: - break; - } - fn_tap_state.state = TD_NONE; -} - -tap_dance_action_t tap_dance_actions[] = { - [TD_FN_SWITCH] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, fn_tap_finished, fn_tap_reset) -}; diff --git a/keyboards/massdrop/ctrl/keymaps/xanimos/readme.md b/keyboards/massdrop/ctrl/keymaps/xanimos/readme.md deleted file mode 100644 index 5be66aadf87..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/xanimos/readme.md +++ /dev/null @@ -1,200 +0,0 @@ -# Massdrop Ctrl Xanimos - -This keymap is the one I use on my MD CTRL, as a professional software engineer I like to make things my own. I'm also up for spreading the love. -Massdrop has had a pretty bad rap with qmk the past but recently it's not too bad once you put a little pizzazz into it. - -I started with the Endgame keymap and have re-written most of and expanded upon it. - -## Layers - -### Typing Layer - -_I physically switched around my RALT and Menu keys as my personal preference. The label is still in default location but you can see they are mapped to my liking._ - - ``` - __________ ___________________________________________ ___________________________________________ ___________________________________________ ________________________________ - | ESC | | F1 | F2 | F3 | F4 | | F5 | F6 | F7 | F8 | | F9 | F10 | F11 | F12 | | PRINT | SCLCK | PAUSE | - | ------ | | ------ | ------ | ------ | ------ | | ------ | ------ | ------ | ------ | | ------ | ------ | ------ | ------ | | ------ | ------ | ------ | - | 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 | RCS(M) | - |__________| |__________|__________|__________|__________| |__________|__________|__________|__________| |__________|__________|__________|__________| |__________|__________|__________| - ____________________________________________________________________________________________________________________________________________________________________ ________________________________ - | ~ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | BCKSP | | INS | HOME | PGUP | - | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | | ------ | ------ | ------ | - | 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 | - |__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|_____________________| |__________|__________|__________| - | TAB | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | | DEL | END | PGDN | - | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | | ------ | ------ | ------ | - | 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 | - |_______________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|________________| |__________|__________|__________| - | CAPS | A | S | D | F | G | H | J | K | L | ; | ' | ENTER | - | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | - | 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 | - |_________________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|_________________________| __________ - | SHIFT | Z | X | C | V | B | N | M | , | . | / | RSHIFT | | UP | - | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | | ------ | - | 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 | - |____________________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|_________________________________| __________|__________|__________ - | CTRL | GUI | ALT | SPACE | RALT | MENU | RGUI | RCTRL | | LEFT | DOWN | RIGHT | - | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | | ------ | ------ | ------ | - | KC_LCTL | KC_LGUI | KC_LALT | KC_SPC | FN_SWTCH | KC_RALT | KC_RGUI | KC_RCTL | | KC_LEFT | KC_DOWN | KC_RGHT | - |_____________|_____________|_____________|_________________________________________________________________|______________|_____________|_____________|_____________| |__________|__________|__________| - - ``` - -### Function Layer - - ``` - __________ ___________________________________________ ___________________________________________ ___________________________________________ ________________________________ - | ESC | | F1 | F2 | F3 | F4 | | F5 | F6 | F7 | F8 | | F9 | F10 | F11 | F12 | | PRINT | SCLCK | PAUSE | - | ------ | | ------ | ------ | ------ | ------ | | ------ | ------ | ------ | ------ | | ------ | ------ | ------ | ------ | | ------ | ------ | ------ | - | | | ROUT_TG | ROUT_RM | ROUT_VD | ROUT_VI | | | | | | | | KC_WAKE | KC_SLEP | | | KC_PAUS | | KC_MUTE | - |__________| |__________|__________|__________|__________| |__________|__________|__________|__________| |__________|__________|__________|__________| |__________|__________|__________| - ____________________________________________________________________________________________________________________________________________________________________ ________________________________ - | ~ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | BCKSP | | INS | HOME | PGUP | - | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | | ------ | ------ | ------ | - | | | | | | | | | | | | | | | | KC_MSTP | KC_MPLY | KC_VOLU | - |__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|_____________________| |__________|__________|__________| - | TAB | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | | DEL | END | PGDN | - | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | | ------ | ------ | ------ | - | | RGB_MOD | RGB_SPI | RBG_VAI | RGB_HUI | | | | | | | | | | | KC_MPRV | KC_MNXT | KC_VOLD | - |_______________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|________________| |__________|__________|__________| - | CAPS | A | S | D | F | G | H | J | K | L | ; | ' | ENTER | - | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | - | | RGB_RMOD | RGB_SPD | RGB_VAD | RGB_HUD | | | | | | | | | - |_________________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|_________________________| __________ - | SHIFT | Z | X | C | V | B | N | M | , | . | / | RSHIFT | | UP | - | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | | ------ | - | | | | COPY_ALL | | MD_BOOT | NK_TOGG | | | | | TOGGLE_NUMPAD | | KC_BRIU | - |____________________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|_________________________________| __________|__________|__________ - | CTRL | GUI | ALT | SPACE | RALT | MENU | RGUI | RCTRL | | LEFT | DOWN | RIGHT | - | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | | ------ | ------ | ------ | - | | | | | | | | | | | KC_BRID | | - |_____________|_____________|_____________|_________________________________________________________________|______________|_____________|_____________|_____________| |__________|__________|__________| - - ``` - -### Git Layer - - ``` - __________ ___________________________________________ ___________________________________________ ___________________________________________ ________________________________ - | ESC | | F1 | F2 | F3 | F4 | | F5 | F6 | F7 | F8 | | F9 | F10 | F11 | F12 | | PRINT | SCLCK | PAUSE | - | ------ | | ------ | ------ | ------ | ------ | | ------ | ------ | ------ | ------ | | ------ | ------ | ------ | ------ | | ------ | ------ | ------ | - | | | | | | | | | | | | | | | | | | | | | - |__________| |__________|__________|__________|__________| |__________|__________|__________|__________| |__________|__________|__________|__________| |__________|__________|__________| - ____________________________________________________________________________________________________________________________________________________________________ ________________________________ - | ~ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | BCKSP | | INS | HOME | PGUP | - | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | | ------ | ------ | ------ | - | G_INIT | G_CLONE | G_REMTE | G_RESET | G_PSFWL | | | | | | | | | | | | | | - |__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|_____________________| |__________|__________|__________| - | TAB | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | | DEL | END | PGDN | - | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | | ------ | ------ | ------ | - | | G_PUPST | G_PULL | G_PSORG | G_PUSH | | | | | | | | | | | | | | - |_______________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|________________| |__________|__________|__________| - | CAPS | A | S | D | F | G | H | J | K | L | ; | ' | ENTER | - | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | - | | G_ADD | G_STAT | G_DIFF | G_FETCH | | | | | | | | | - |_________________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|_________________________| __________ - | SHIFT | Z | X | C | V | B | N | M | , | . | / | RSHIFT | | UP | - | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | | ------ | - | | G_LOG | G_CHECK | G_COMM | G_COMSG | G_BRANH | | | | | | | | | - |____________________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|_________________________________| __________|__________|__________ - | CTRL | GUI | ALT | SPACE | RALT | MENU | RGUI | RCTRL | | LEFT | DOWN | RIGHT | - | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | | ------ | ------ | ------ | - | | | | | | | | | | | | | - |_____________|_____________|_____________|_________________________________________________________________|______________|_____________|_____________|_____________| |__________|__________|__________| - - ``` - - - These are the strings that are dumped/keyed in for each associated keycode - ``` - G_INIT "git init" - G_CLONE "git clone " - G_ADD "git add " - G_DIFF "git diff " - G_RESET "git reset --soft " - G_BRANH "git branch --list" - G_CHECK "git checkout " - G_REMTE "git remote add " - G_FETCH "git fetch " - G_PULL "git pull" - G_PUPST "git pull upstream " - G_PUSH "git push" - G_PSORG "git push -u origin " - G_PSFWL "git push --force-with-lease" - G_COMM "git commit " - G_COMSG "git commit -m \": [TFS-]\"" - G_STAT "git status" - G_LOG "git log" - ``` - -### Numpad Layer - -*activated via the __Function Layer__ and stays active until you escape* - ``` - __________ ___________________________________________ ___________________________________________ ___________________________________________ ________________________________ - | ESC | | F1 | F2 | F3 | F4 | | F5 | F6 | F7 | F8 | | F9 | F10 | F11 | F12 | | PRINT | SCLCK | PAUSE | - | ------ | | ------ | ------ | ------ | ------ | | ------ | ------ | ------ | ------ | | ------ | ------ | ------ | ------ | | ------ | ------ | ------ | - | TOG_NPD | | | | | | | | | | | | | | | | | | | | - |__________| |__________|__________|__________|__________| |__________|__________|__________|__________| |__________|__________|__________|__________| |__________|__________|__________| - ____________________________________________________________________________________________________________________________________________________________________ ________________________________ - | ~ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | BCKSP | | INS | HOME | PGUP | - | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | | ------ | ------ | ------ | - | | | | | | | | | | | | | | | | | | | - |__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|_____________________| |__________|__________|__________| - | TAB | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | | DEL | END | PGDN | - | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | | ------ | ------ | ------ | - | | | | | | | KC_P7 | KC_P8 | KC_P9 | | | | | | | | | | - |_______________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|________________| |__________|__________|__________| - | CAPS | A | S | D | F | G | H | J | K | L | ; | ' | ENTER | - | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | - | | | | | | | KC_P4 | KC_P5 | KC_P6 | | | | | - |_________________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|_________________________| __________ - | SHIFT | Z | X | C | V | B | N | M | , | . | / | RSHIFT | | UP | - | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | | ------ | - | | | | | | KC_P1 | KC_P2 | KC_P3 | KC_PDOT | | | | | | - |____________________|__________|__________|__________|__________|__________|__________|__________|__________|__________|__________|_________________________________| __________|__________|__________ - | CTRL | GUI | ALT | SPACE | RALT | MENU | RGUI | RCTRL | | LEFT | DOWN | RIGHT | - | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | | ------ | ------ | ------ | - | | | | KC_P0 | | | | | | | | | - |_____________|_____________|_____________|_________________________________________________________________|______________|_____________|_____________|_____________| |__________|__________|__________| - - ``` - -## Features - -These are the features currently used by this keymap: - -### RGB Time Out - -This allows setting a dynamic timeout for RGB to turn off. The following is supported: - -1. Restores on the first click of any key. -2. Restores to its previous state before timeout. i.e. if it was edge only before timeout it will restore to edge only, same for all modes. -3. Doesn't interfere with RGB modes. You can set keyboard to All, Edge Only or Off and timeout will not interfere with these modes. -4. The time before RGB is turned off is dynamically adjustable using keycodes ROUT_VI to increase, ROUT_VD to decrease. They have a 10 second steps by default. Minimum value 10 seconds by default and maximum is 10 minutes. -5. Can be toggled on or off dyncamically with the ROUT_TG keycode. -6. Can be put in fast mode using ROUT_FM, for movie watching purposes. Default value is 3 seconds. Note that fast mode disabled ROUT_VD and ROUT_VI so to use them again you have to toggle fast mode off with ROUT_FM. It doesn't impact ROUT_TG and ROUT_TG will remember if fast mode was enabled when toggled back on, so it doesn't disable fast mode on its own, only ROUT_FM can disable or enable fast mode. - -### Tapdance Keys - -Created a tapdance setup to use the same key to switch between the layers, aka a function key. ;) - -Layers are temporary while holding the function key down. - - Single tap and hold: Activates the Function Layer. - - Double tap and hold: Activates the Git Layer. - -### Numpad - -Activated in the *Function Layer* by holding down the fn key and pressing the toggle key (RSHIFT). The keeps the layer activated without needing to hold the fn key anymore. -To leave the numpad layer press the ESC key or hold and let go of the fn key. - -### Space Cadet Shift - -The typing layer is setup to use the [Space Cadet Shift](https://docs.qmk.fm/#/feature_space_cadet). As a software engineer this is massively useful :) - -_Sorry ISO users, you'll need to configure it for your own setup or disable it._ - -## Credits - - - [endgame](https://github.com/qmk/qmk_firmware/tree/master/keyboards/massdrop/ctrl/keymaps/endgame) by [ash0x0](https://github.com/ash0x0) - For the base keymap I started with. \ No newline at end of file diff --git a/keyboards/massdrop/ctrl/keymaps/xanimos/rules.mk b/keyboards/massdrop/ctrl/keymaps/xanimos/rules.mk deleted file mode 100644 index 2913eff83bd..00000000000 --- a/keyboards/massdrop/ctrl/keymaps/xanimos/rules.mk +++ /dev/null @@ -1,13 +0,0 @@ -# RGBLIGHT_ENABLE = no # Not for MD boards. This is here in case you forget. -COMMAND_ENABLE = no # Commands for debug and configuration -# AUTO_SHIFT_ENABLE = yes # Auto Shift -NKRO_ENABLE = yes # USB Nkey Rollover -DYNAMIC_MACRO_ENABLE = no # Dynamic macro recording and play -MOUSEKEY_ENABLE = no # Enable mouse control keycodes. Increases firmware size. -TAP_DANCE_ENABLE = yes # Enable tap dance keys -CONSOLE_ENABLE = no # Enable debugging console. Increases firmware size. -SRC += config_led.c # Used to add files to the compilation/linking list. -EXTRAKEY_ENABLE = yes # Audio control and System control -# RAW_ENABLE = yes # Raw HID has not yet been implemented for this keyboard -# COMBO_ENABLE # Key combo feature -# LEADER_ENABLE # Enable leader key chording diff --git a/keyboards/mechkeys/mechmini/v2/keymaps/lbibass_625_space/config.h b/keyboards/mechkeys/mechmini/v2/keymaps/lbibass_625_space/config.h deleted file mode 100755 index 7adb68d347b..00000000000 --- a/keyboards/mechkeys/mechmini/v2/keymaps/lbibass_625_space/config.h +++ /dev/null @@ -1,4 +0,0 @@ -#pragma once - -#define ONESHOT_TAP_TOGGLE 3 -#define TAPPING_TERM 200 diff --git a/keyboards/mechkeys/mechmini/v2/keymaps/lbibass_625_space/keymap.c b/keyboards/mechkeys/mechmini/v2/keymaps/lbibass_625_space/keymap.c deleted file mode 100755 index 566a2f9bee7..00000000000 --- a/keyboards/mechkeys/mechmini/v2/keymaps/lbibass_625_space/keymap.c +++ /dev/null @@ -1,50 +0,0 @@ -#include QMK_KEYBOARD_H - -#define _BL 0 -#define _FN1 2 -#define _FN2 3 -#define _WIN 1 -#define _FN3 4 -//Tap Dance Declarations -enum -{ - TD_DOTCOM = 0 -}; -//Tap Dance Definitions -tap_dance_action_t tap_dance_actions[] = { - //Tap once for Esc, twice for Caps Lock - [TD_DOTCOM] = ACTION_TAP_DANCE_DOUBLE(KC_COMMA, KC_DOT) - // Other declarations would go here, separated by commas, if you have them -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [_BL] = LAYOUT_625_space( - LT(OSL(2), KC_TAB), KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - GUI_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, LT(3, KC_ENT), - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, TD(TD_DOTCOM), OSL(2), OSM(MOD_RSFT), - KC_ESC, KC_LALT, KC_LCTL, KC_SPC, KC_RGUI, MO(4)), - [_WIN] = LAYOUT_625_space( - LT(OSL(2), KC_TAB), KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, LT(4, KC_ENT), - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, TD(TD_DOTCOM), OSL(2), OSM(MOD_RSFT), - KC_ESC, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, RGB_TOG), - [_FN1] = LAYOUT_625_space( - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, - GUI_T(KC_ESC), KC_PGUP, KC_VOLU, KC_DEL, KC_TRNS, KC_BSLS, KC_LBRC, KC_RBRC, KC_MINS, KC_EQL, KC_TRNS, - KC_LSFT, KC_PGDN, KC_VOLD, BL_STEP, BL_TOGG, KC_SCLN, KC_QUOT, KC_SLSH, KC_DOT, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), - - [_FN2] = LAYOUT_625_space( - KC_PWR, KC_BRID, KC_BRIU, KC_NO, KC_NO, KC_NO, KC_NO, KC_MRWD, KC_MPLY, KC_MFFD, KC_MUTE, QK_BOOT, - MT(KC_LGUI, KC_ESC), KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, TG(1), KC_TRNS, KC_TRNS, KC_VOLD, KC_VOLU, KC_TRNS, - KC_TRNS, RGB_TOG, RGB_MOD, RGB_VAI, RGB_VAD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, KC_TRNS, KC_TRNS, - KC_CAPS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), - - [_FN3] = LAYOUT_625_space( - KC_PWR, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, QK_BOOT, - MT(KC_LGUI, KC_ESC), KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, TG(1), KC_TRNS, KC_TRNS, KC_F11, KC_F12, KC_TRNS, - KC_TRNS, RGB_TOG, RGB_MOD, RGB_VAI, RGB_VAD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, KC_TRNS, KC_TRNS, - KC_CAPS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) - -}; diff --git a/keyboards/mechkeys/mechmini/v2/keymaps/lbibass_625_space/readme.md b/keyboards/mechkeys/mechmini/v2/keymaps/lbibass_625_space/readme.md deleted file mode 100644 index e09e520131a..00000000000 --- a/keyboards/mechkeys/mechmini/v2/keymaps/lbibass_625_space/readme.md +++ /dev/null @@ -1,2 +0,0 @@ -# /u/Lbibass's 6.25u spacebar Mechmini 2.0 Layout. - diff --git a/keyboards/mechkeys/mechmini/v2/keymaps/lbibass_625_space/rules.mk b/keyboards/mechkeys/mechmini/v2/keymaps/lbibass_625_space/rules.mk deleted file mode 100755 index cf808a2b414..00000000000 --- a/keyboards/mechkeys/mechmini/v2/keymaps/lbibass_625_space/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -BOOTMAGIC_ENABLE = yes # 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 = no # Commands for debug and configuration -SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend -NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes -TAP_DANCE_ENABLE = yes diff --git a/keyboards/mechkeys/mechmini/v2/keymaps/lbibass_split_space/config.h b/keyboards/mechkeys/mechmini/v2/keymaps/lbibass_split_space/config.h deleted file mode 100755 index 2f35530627b..00000000000 --- a/keyboards/mechkeys/mechmini/v2/keymaps/lbibass_split_space/config.h +++ /dev/null @@ -1,4 +0,0 @@ -#pragma once - -#define ONESHOT_TAP_TOGGLE 3 -#define TAPPING_TERM 200 diff --git a/keyboards/mechkeys/mechmini/v2/keymaps/lbibass_split_space/keymap.c b/keyboards/mechkeys/mechmini/v2/keymaps/lbibass_split_space/keymap.c deleted file mode 100755 index c9d9de82c05..00000000000 --- a/keyboards/mechkeys/mechmini/v2/keymaps/lbibass_split_space/keymap.c +++ /dev/null @@ -1,33 +0,0 @@ -#include QMK_KEYBOARD_H - -#define _BL 0 -#define _FN1 2 -#define _FN2 3 -#define _WIN 1 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [_BL] = LAYOUT_split_space( - 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_BSPC, - GUI_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, LT(3, KC_ENT), - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, MO(2), KC_RSFT, - KC_ESC, KC_LALT, KC_LCTL, KC_SPC, KC_SPC, KC_RGUI, KC_RALT, RGB_TOG), - [_WIN] = LAYOUT_split_space( - 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_BSPC, - CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, LT(3, KC_ENT), - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, MO(2), KC_RSFT, - KC_ESC, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_RALT, KC_LCTL, RGB_TOG), - [_FN1] = LAYOUT_split_space( - 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_PGUP, KC_VOLU, KC_TRNS, KC_TRNS, KC_BSLS, KC_LBRC, KC_RBRC, KC_MINS, KC_EQL, KC_TRNS, - KC_LSFT, KC_PGDN, KC_VOLD, KC_TRNS, KC_TRNS, KC_SCLN, KC_QUOT, KC_SLSH, KC_DOT, KC_RSFT, KC_HOME, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), - - [_FN2] = LAYOUT_split_space( - KC_PWR, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, QK_BOOT, - MT(KC_LGUI, KC_ESC), KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, TG(1), KC_TRNS, KC_TRNS, KC_F11, KC_F12, KC_TRNS, - KC_TRNS, RGB_TOG, RGB_MOD, RGB_VAI, RGB_VAD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, KC_TRNS, KC_END, - KC_CAPS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), - -}; - diff --git a/keyboards/mechkeys/mechmini/v2/keymaps/lbibass_split_space/readme.md b/keyboards/mechkeys/mechmini/v2/keymaps/lbibass_split_space/readme.md deleted file mode 100644 index 34888fbb194..00000000000 --- a/keyboards/mechkeys/mechmini/v2/keymaps/lbibass_split_space/readme.md +++ /dev/null @@ -1,2 +0,0 @@ -# /u/Lbibass's Split Space Mechmini 2.0 Layout - diff --git a/keyboards/mechkeys/mechmini/v2/keymaps/lbibass_split_space/rules.mk b/keyboards/mechkeys/mechmini/v2/keymaps/lbibass_split_space/rules.mk deleted file mode 100755 index 7d50540f149..00000000000 --- a/keyboards/mechkeys/mechmini/v2/keymaps/lbibass_split_space/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -BOOTMAGIC_ENABLE = yes # 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 = no # Commands for debug and configuration -SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend -NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes -TAP_DANCE_ENABLE = no diff --git a/keyboards/mechkeys/mechmini/v2/keymaps/wsturgiss/config.h b/keyboards/mechkeys/mechmini/v2/keymaps/wsturgiss/config.h deleted file mode 100755 index 262c423cc41..00000000000 --- a/keyboards/mechkeys/mechmini/v2/keymaps/wsturgiss/config.h +++ /dev/null @@ -1,11 +0,0 @@ -/* tapdance */ -#define TAPPING_TERM 180 - -/* space cadet stuff */ -#define LSPO_KEY KC_9 -#define RSPC_KEY KC_0 -#define DISABLE_SPACE_CADET_ROLLOVER - -/* leader stuff */ -#define LEADER_TIMEOUT 400 -#define LEADER_PER_KEY_TIMING 300 diff --git a/keyboards/mechkeys/mechmini/v2/keymaps/wsturgiss/keymap.c b/keyboards/mechkeys/mechmini/v2/keymaps/wsturgiss/keymap.c deleted file mode 100644 index 85725c8c5cf..00000000000 --- a/keyboards/mechkeys/mechmini/v2/keymaps/wsturgiss/keymap.c +++ /dev/null @@ -1,96 +0,0 @@ -#include QMK_KEYBOARD_H - -#define base 0 -#define raise 1 -#define lower 2 - -//Tap Dance Declarations -enum { - TD_SEMI_QUOT = 0, - TD_COMM_MINUS = 1, - TD_DOT_EQUAL = 2, - TD_SLASH_BACKSLASH = 3 -}; - -//Tap Dance Definitions -tap_dance_action_t tap_dance_actions[] = { - //Tap once for ;, twice for ' -not using this currently - [TD_SEMI_QUOT] = ACTION_TAP_DANCE_DOUBLE(KC_SCLN, KC_QUOT), - //Tap once for , twice for - - [TD_COMM_MINUS] = ACTION_TAP_DANCE_DOUBLE(KC_COMM, KC_MINUS), - //Tap once for . twice for = - [TD_DOT_EQUAL] = ACTION_TAP_DANCE_DOUBLE(KC_DOT, KC_EQUAL), - //Tap once for / twice for '\' - [TD_SLASH_BACKSLASH] = ACTION_TAP_DANCE_DOUBLE(KC_SLSH, KC_BSLS) -}; - -#define CTRL_ESC CTL_T(KC_ESC) - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [base] = LAYOUT_2u_space_ortho( - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - CTRL_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, - SC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, TD(1), TD(2), TD(3), SC_RSPC, - KC_LCTL, QK_LEAD, KC_LALT, KC_LGUI, MO(1), KC_SPC, MO(2), KC_VOLD, KC_MPLY, KC_VOLU, KC_GRV), - - [raise] = LAYOUT_2u_space_ortho( - _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_DEL, - _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_QUOT, _______, - _______, KC_HOME, KC_END, _______, _______, _______, _______, _______, KC_LBRC, KC_RBRC, _______, _______, - _______, _______, _______, _______, _______, _______, _______, KC_MPRV, _______, KC_MNXT, EE_CLR), - - [lower] = LAYOUT_2u_space_ortho( - _______, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______, - _______, RGB_TOG, RGB_MOD, RGB_VAI, RGB_VAD, _______, _______, KC_4, KC_5, KC_6, KC_KP_PLUS, _______, - _______, RGB_SAI, RGB_SAD, RGB_HUI, RGB_HUD, _______, _______, KC_1, KC_2, KC_3, KC_KP_MINUS, _______, - _______, _______, _______, _______, _______, _______, _______, KC_0, _______, _______, _______) - - -}; - -//Leader maps -void leader_end_user(void) { - if (leader_sequence_one_key(KC_F)) { - // Anything you can do in a macro. - SEND_STRING("QMK is awesome."); - } - //tableflip (LEADER - TF) - if (leader_sequence_two_keys(KC_T, KC_F)) { - set_unicode_input_mode(UNICODE_MODE_MACOS); - send_unicode_string("(ノಠ痊ಠ)ノ彡┻━┻"); - } - //screencap (LEADER - SC) - if (leader_sequence_two_keys(KC_S, KC_C)) { - SEND_STRING(SS_LGUI(SS_LSFT(SS_TAP(X_4)))); - } - //screencap (LEADER - TM) - if (leader_sequence_two_keys(KC_T, KC_M)) { - set_unicode_input_mode(UNICODE_MODE_MACOS); - register_unicode(0x2122); // ™ - } - /* - if (leader_sequence_three_keys(KC_D, KC_D, KC_S)) { - SEND_STRING("https://start.duckduckgo.com"SS_TAP(X_ENTER)); - } - */ -} - -//change colors and rgb modes on layer change -layer_state_t layer_state_set_user(layer_state_t state) { - switch (get_highest_layer(state)) { - case raise: - rgblight_mode_noeeprom(1); - rgblight_setrgb(0xc7, 0x00, 0xf4); - break; - case lower: - rgblight_mode_noeeprom(1); - rgblight_setrgb(0x00, 0xa3, 0x0d); - break; - default: // for any other layers, or the default layer - rgblight_mode_noeeprom(5); - rgblight_setrgb(0xFF, 0xB6, 0x00); - break; - } - return state; -}; diff --git a/keyboards/mechkeys/mechmini/v2/keymaps/wsturgiss/rules.mk b/keyboards/mechkeys/mechmini/v2/keymaps/wsturgiss/rules.mk deleted file mode 100755 index c429a6486ff..00000000000 --- a/keyboards/mechkeys/mechmini/v2/keymaps/wsturgiss/rules.mk +++ /dev/null @@ -1,11 +0,0 @@ -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -CONSOLE_ENABLE = no # Console for debug(+400) -COMMAND_ENABLE = no # Commands for debug and configuration -SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend -NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes -TAP_DANCE_ENABLE = yes -UNICODE_ENABLE = yes -LEADER_ENABLE = yes diff --git a/keyboards/nullbitsco/snap/keymaps/typehud/config.h b/keyboards/nullbitsco/snap/keymaps/typehud/config.h deleted file mode 100644 index 62c11709a23..00000000000 --- a/keyboards/nullbitsco/snap/keymaps/typehud/config.h +++ /dev/null @@ -1,46 +0,0 @@ -/* Copyright 2022 Chris Tanaka - * - * 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 - -/* space savers */ -#define DYNAMIC_KEYMAP_LAYER_COUNT 3 -#define NO_ACTION_TAPPING -#define NO_ACTION_ONESHOT -#define TAPPING_FORCE_HOLD - -// Old configuration -#define OLED_BRIGHTNESS 128 -#define OLED_TIMEOUT 30000 -#define OLED_UPDATE_INTERVAL 200 - -// Selectively undefine to save space -// VIA support won't fit otherwise -#ifdef RGBLIGHT_ENABLE -#undef RGBLIGHT_EFFECT_TWINKLE -#endif //RGB LIGHT_ENABLE - -// Split configuration -#define SPLIT_TRANSPORT_MIRROR -#define SPLIT_WPM_ENABLE - -// Typehud configuration -#define TYPEHUD_FILLGRAPH -#define TYPEHUD_MATRIX_COLS 16 -// #define TYPEHUD_MASTER -// #define TYPEHUD_MATRIX_ROTATE_90 -// #define TYPEHUD_MATRIX_ROTATE_180 -// #define TYPEHUD_MATRIX_ROTATE_270 diff --git a/keyboards/nullbitsco/snap/keymaps/typehud/keymap.c b/keyboards/nullbitsco/snap/keymaps/typehud/keymap.c deleted file mode 100644 index 231c9d85452..00000000000 --- a/keyboards/nullbitsco/snap/keymaps/typehud/keymap.c +++ /dev/null @@ -1,157 +0,0 @@ -/* Copyright 2022 Chris Tanaka - * - * 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 "typehud.h" - -// clang-format off -enum layers { - _BASE, - _VIA1, - _VIA2 -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BASE] = 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_PAUS, - KC_F13, 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_DEL, KC_HOME, - KC_F14, 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_F15, 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_F16, KC_LSFT, KC_NUHS, 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_F17, KC_LCTL, KC_LGUI, KC_LALT, MO(_VIA1), KC_SPC, KC_SPC, MO(_VIA1), KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - [_VIA1] = LAYOUT_all( - 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, 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, 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 - ), - [_VIA2] = LAYOUT_all( - 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, 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 - ) -}; -// clang-format on - -#if defined(ENCODER_MAP_ENABLE) -const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { - [_BASE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_MPRV, KC_MNXT) }, - [_VIA1] = { ENCODER_CCW_CW(KC_NO, KC_NO), ENCODER_CCW_CW(KC_NO, KC_NO) }, - [_VIA2] = { ENCODER_CCW_CW(KC_NO, KC_NO), ENCODER_CCW_CW(KC_NO, KC_NO) } -}; -#endif - -oled_rotation_t oled_init_user(oled_rotation_t rotation) { - oled_clear(); - -#ifdef TYPEHUD_MASTER - if (is_keyboard_master()) { -#else - if (!is_keyboard_master()) { -#endif - typehud_init(); - } - - if (is_keyboard_left()) - return OLED_ROTATION_0; - else - return OLED_ROTATION_180; -} - -static void render_status(void) { - oled_set_cursor(0, 0); - oled_write_P(PSTR("SNAP75 "), false); - oled_write_P(PSTR("Layer "), false); - switch (get_highest_layer(layer_state)) { - case _VIA1: - oled_write_P(PSTR("FN1 "), false); - break; - case _VIA2: - oled_write_P(PSTR("FN2 "), false); - break; - default: // use BASE case as default - oled_write_P(PSTR("Base"), false); - } - - // Host Keyboard LED Status - oled_set_cursor(0, 1); - static led_t persistent_led_state = {0}; - led_t led_state = host_keyboard_led_state(); - - // Only update if the LED state has changed - // Otherwise, the OLED will not turn off if an LED is on. - if (persistent_led_state.raw != led_state.raw) { - persistent_led_state = led_state; - - oled_write_ln_P(PSTR(" "), false); - - if (led_state.caps_lock) { - oled_set_cursor(0, 1); - oled_write_P(PSTR("CAPS"), false); - } - - if (led_state.num_lock) { - oled_set_cursor(5, 1); - oled_write_P(PSTR("NUM"), true); - } - - if (led_state.scroll_lock) { - oled_set_cursor(9, 1); - oled_write_P(PSTR("SCR"), false); - } - } - - // WPM and max WPM - oled_set_cursor(0, 2); - oled_write_P(PSTR("WPM "), false); - uint8_t current_wpm = get_current_wpm(); - oled_write(get_u8_str(current_wpm, '0'), true); - - oled_set_cursor(8, 2); - oled_write_P(PSTR("MAX "), false); - static uint8_t max_wpm; - max_wpm = MAX(max_wpm, current_wpm); - oled_write(get_u8_str(max_wpm, '0'), true); -} - -bool oled_task_user(void) { -#ifdef TYPEHUD_MASTER - if (is_keyboard_master()) { -#else - if (!is_keyboard_master()) { -#endif - typehud_render(); - } else { - render_status(); - } - - return true; -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - typehud_process_record(record); - return true; -} - -bool should_process_keypress(void) { - return true; -} diff --git a/keyboards/nullbitsco/snap/keymaps/typehud/readme.md b/keyboards/nullbitsco/snap/keymaps/typehud/readme.md deleted file mode 100644 index d5f50f310c8..00000000000 --- a/keyboards/nullbitsco/snap/keymaps/typehud/readme.md +++ /dev/null @@ -1,51 +0,0 @@ -# Typehud Keymap - -VIA compatible keymap that displays a live wpm HUD on your OLED. - - - -## Configuration - -Configuration options (other than the keymap itself) can be found in `typehud/config.h`. - -### Graph Type - -By default the graph is filled. For a non-filled graph remove or comment out the following line: - -```c -#define TYPEHUD_FILLGRAPH -``` - -### Keyboard Matrix Orientation - -To change the keyboard matrix orientation add one of the following: - -- `TYPEHUD_MATRIX_ROTATE_90` -- `TYPEHUD_MATRIX_ROTATE_180` -- `TYPEHUD_MATRIX_ROTATE_270` - -### Keyboard Matrix Key Overrides - -If the number of physical keys doesn't match the keyboard matrix rows/columns you can override it: - -```c -#define TYPEHUD_MATRIX_ROWS 6 -#define TYPEHUD_MATRIX_COLS 16 -``` - -In addition if the position of the physical keys doesn't match the matrix you can override it. Negative numbers will shift the keys left/up and positive numbers will shift the keys right/down: - -```c -#define TYPEHUD_MATRIX_ROW_SHIFT -1 -#define TYPEHUD_MATRIX_COL_SHIFT -2 -``` - -### Split Keyboard Side - -For split keyboards, the keymap assumes it will be rendered to the slave side. - -To render to master instead, add the following configuration line: - -```c -#define TYPEHUD_MASTER -``` diff --git a/keyboards/nullbitsco/snap/keymaps/typehud/rules.mk b/keyboards/nullbitsco/snap/keymaps/typehud/rules.mk deleted file mode 100644 index 16bd6085c05..00000000000 --- a/keyboards/nullbitsco/snap/keymaps/typehud/rules.mk +++ /dev/null @@ -1,6 +0,0 @@ -OLED_ENABLE = yes -WPM_ENABLE = yes -VIA_ENABLE = yes -ENCODER_MAP_ENABLE = yes - -SRC += typehud.c diff --git a/keyboards/nullbitsco/snap/keymaps/typehud/typehud.c b/keyboards/nullbitsco/snap/keymaps/typehud/typehud.c deleted file mode 100644 index ad884f843b8..00000000000 --- a/keyboards/nullbitsco/snap/keymaps/typehud/typehud.c +++ /dev/null @@ -1,349 +0,0 @@ -/* Copyright 2023 Jay Greco - * - * 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 "typehud.h" - -static bool is_initialized; -static uint16_t timer; -static int8_t bar_height; -static uint8_t wpm_arr[_GRAPH_WIDTH]; -static uint8_t point_arr[_GRAPH_WIDTH]; - - -static void - render_graph(uint8_t wpm), - render_caret(void), - render_axis(void), - render_bar(void), - render_init(void); - -/* - * Renders the wpm counter. - */ -static void render_wpm(uint8_t wpm) { - oled_set_cursor(0, 0); - oled_write("WPM", false); - oled_set_cursor(0, 1); - oled_write(get_u8_str(wpm, '0'), false); -} - -/* - * Renders the keyboard matrix. - */ -static void render_matrix(keyrecord_t *record) { - uint8_t x = _MATRIX_X; - uint8_t y = _MATRIX_Y; - uint8_t width = _MATRIX_WIDTH; - uint8_t height = _MATRIX_HEIGHT; -#ifdef SPLIT_KEYBOARD - uint8_t rows = _NML_MATRIX_ROWS; - uint8_t cols = _NML_MATRIX_COLS; -#endif - - // On initial render draw the matrix outline - if (!is_initialized) { - for (uint8_t i = 1; i <= width - 2; i++) { - oled_write_pixel(x + i, y, true); - oled_write_pixel(x + i, y + height - 1, true); - } - for (uint8_t j = 1; j <= height - 2; j++) { - oled_write_pixel(x, y + j, true); - oled_write_pixel(x + width - 1, y + j, true); - } - return; - } - - // Determine position based on matrix rotation - // For split keyboards the keys on the right half get appended as additional rows and - // have their columns reset at 0 -#ifdef SPLIT_KEYBOARD - uint8_t row = (record->event.key.row % rows); - uint8_t col = record->event.key.col; - if (record->event.key.row >= rows) { - col += (cols / 2); - } -#else - uint8_t row = record->event.key.row; - uint8_t col = record->event.key.col; -#endif - -#ifdef TYPEHUD_MATRIX_ROW_SHIFT - row += TYPEHUD_MATRIX_ROW_SHIFT; -#endif -#ifdef TYPEHUD_MATRIX_COL_SHIFT - col += TYPEHUD_MATRIX_COL_SHIFT; -#endif - - // Scale position to key size - uint8_t size = _MATRIX_SIZE; - row *= size; - col *= size; - - // Render key in matrix - for (int i = 0; i < size; i++) { - for (int j = 0; j < size; j++) { -#if defined(TYPEHUD_MATRIX_ROTATE_90) - uint8_t key_x = x + width - 1 - size - row; - uint8_t key_y = y + 1 + col; -#elif defined(TYPEHUD_MATRIX_ROTATE_180) - uint8_t key_x = x + width - 1 - size - col; - uint8_t key_y = y + height - 1 - size - row; -#elif defined(TYPEHUD_MATRIX_ROTATE_270) - uint8_t key_x = x + 1 + row; - uint8_t key_y = y + height - 1 - size - col; -#else - uint8_t key_x = x + 1 + col; - uint8_t key_y = y + 1 + row; -#endif - oled_write_pixel(key_x + i, key_y + j, record->event.pressed); - } - } -} - -/* - * Renders the graph. - */ -static void render_graph(uint8_t wpm) { - uint8_t x = _GRAPH_X; - uint8_t y = _GRAPH_Y + _GRAPH_HEIGHT; - uint8_t width = _GRAPH_WIDTH; - uint8_t height = _GRAPH_HEIGHT; - - // Handle intial graph render - if (!is_initialized) { - for (uint8_t i = 0; i < width; i++) { - oled_write_pixel(x + i, y, true); - } - return; - } - - uint8_t i = 0; - - // Shift all graph points except last to the left and re-render - for (; i < width - 1; i++) { - int8_t point_delta = point_arr[i + 1] - point_arr[i]; - -#ifdef TYPEHUD_FILLGRAPH - if (point_delta < 0) { -#else - if (point_delta != 0) { -#endif - oled_write_pixel(x + i, y - point_arr[i], false); - } - - wpm_arr[i] = wpm_arr[i + 1]; - point_arr[i] = point_arr[i + 1]; - - if (point_delta != 0) { - oled_write_pixel(x + i, y - point_arr[i], true); - } - } - - // Clear last graph point - if (wpm > wpm_arr[i] && point_arr[i] + 1 <= height) { -#ifndef TYPEHUD_FILLGRAPH - oled_write_pixel(x + i, y - point_arr[i], false); -#endif - point_arr[i] = point_arr[i] + 1; - } else if ((wpm < wpm_arr[i] && point_arr[i] - 1 >= 0) || (wpm <= 0 && point_arr[i] > 0)) { - oled_write_pixel(x + i, y - point_arr[i], false); - point_arr[i] = point_arr[i] - 1; - } - - // Render last graph point - wpm_arr[i] = wpm; - - if (point_arr[i] != point_arr[i - 1]) { - oled_write_pixel(x + i, y - point_arr[i], true); - } -} - -/* - * Renders the caret. - */ -static void render_caret(void) { - uint8_t x = _GRAPH_X + _GRAPH_WIDTH + _GRAPH_RPAD + _CARET_WIDTH; - uint8_t y = 0; - uint8_t width = _CARET_WIDTH; - uint8_t height = _CARET_HEIGHT; - uint8_t g_width = _GRAPH_WIDTH; - uint8_t g_height = _GRAPH_HEIGHT; - - // Handle initial caret render - if (!is_initialized) { - y = g_height - point_arr[g_width - 1]; - - for (uint8_t i = 0; i < width; i++) { - for (uint8_t j = i; j < height - i; j++) { - oled_write_pixel(x - i, y - j, true); - } - } - return; - } - - // Handle caret updates and re-render - int8_t point_delta = point_arr[g_width - 1] - point_arr[g_width - 2]; - if (point_delta > 0) { - y = g_height - point_arr[g_width - 2]; - if (y - height + 1 > 0) { - for (uint8_t i = 0; i < width; i++) { - oled_write_pixel(x - i, y - i, false); - oled_write_pixel(x - i, y - height + i, true); - } - } - } else if (point_delta < 0) { - y = g_height - point_arr[g_width - 1]; - if (y - height + 1 > 0) { - for (uint8_t i = 0; i < width; i++) { - oled_write_pixel(x - i, y - height + i, false); - oled_write_pixel(x - i, y - i, true); - } - } - } -} - -/* - * Renders the axis. - */ -static void render_axis(void) { - uint8_t x = _AXIS_X; - uint8_t y = _AXIS_HEIGHT; - uint8_t width = _AXIS_WIDTH; - uint8_t height = _AXIS_HEIGHT; - uint8_t tick_width = _AXIS_TICK_WIDTH; - uint8_t subtick_width = _AXIS_SUBTICK_WIDTH; - uint8_t interval = _AXIS_INTERVAL; - uint8_t tick_interval = _AXIS_TICK_INTERVAL; - - for (uint8_t j = 0; j <= height; j += interval) { - uint8_t curr_tick_width = 0; - - // Determine tick width and draw extra point if at interval - if (j % tick_interval == 0) { - curr_tick_width = tick_width; - oled_write_pixel(x, y - j, true); - } else { - curr_tick_width = subtick_width; - } - - // Draw tick - for (uint8_t i = 0; i < curr_tick_width; i++) { - oled_write_pixel(x + width - i, y - j, true); - } - } -} - -/* - * Renders the input bar. - */ -static void render_bar(void) { - uint8_t x = _BAR_X; - uint8_t width = _BAR_WIDTH; - uint8_t height = _BAR_HEIGHT; - - // Increment bar height - bar_height = (bar_height + 1) % height; - - // When bar resets back to 0, clear bar pixels - if (bar_height % height == 0) { - for (uint8_t i = 0; i < width; i++) { - for (uint8_t j = 0; j < height; j++) { - oled_write_pixel(x + i, j, false); - } - } - } - - // Draw new bar pixels - for (uint8_t i = 0; i < width; i++) { - oled_write_pixel(x + i, height - bar_height, true); - } -} - -/* - * Renders the initial frame for all components. - */ -static void render_init(void) { - render_graph(0); - render_caret(); - render_matrix(NULL); - render_axis(); -} - -/* - * Initializes and resets the typehud. - */ -void typehud_init(void) { - // Reset variables - is_initialized = false; - timer = 0; - bar_height = -1; - - for (uint8_t i = 0; i < _GRAPH_WIDTH; i++) { - wpm_arr[i] = 0; - point_arr[i] = 0; - } - - // Draw the initial graph - for (uint8_t i = 0; i < _GRAPH_WIDTH; i++) { - oled_write_pixel(_GRAPH_X + i, _GRAPH_HEIGHT, true); - } -} - -/* - * Renders the typehud. - */ -void typehud_render(void) { - uint8_t wpm = get_current_wpm(); - - // Run initial rendering once - if (!is_initialized) { - render_init(); - is_initialized = true; - } - - // Render wpm - render_wpm(wpm); - - // Render next graph and caret frame when timer reaches refresh rate - if (timer_elapsed(timer) > _GRAPH_REFRESH) { - render_graph(wpm); - render_caret(); - timer = timer_read(); - } -} - -/* - * Handles keypresses for the typehud. - */ -void typehud_process_record(keyrecord_t *record) { - // For split keyboards, only draw on correct side -#ifdef SPLIT_KEYBOARD -# ifdef TYPEHUD_MASTER - if (!is_keyboard_master()) { -# else - if (is_keyboard_master()) { -# endif - return; - } -#endif - // Render/update matrix - render_matrix(record); - - // Render/update input bar on keypress - if (record->event.pressed) { - render_bar(); - } -} diff --git a/keyboards/nullbitsco/snap/keymaps/typehud/typehud.h b/keyboards/nullbitsco/snap/keymaps/typehud/typehud.h deleted file mode 100644 index c3ed876c422..00000000000 --- a/keyboards/nullbitsco/snap/keymaps/typehud/typehud.h +++ /dev/null @@ -1,87 +0,0 @@ -/* Copyright 2022 Chris Tanaka - * - * 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 -#define _OLED_WIDTH (OLED_DISPLAY_WIDTH - 1) -#define _OLED_HEIGHT (OLED_DISPLAY_HEIGHT - 1) - -#ifdef SPLIT_KEYBOARD -#define _PHYSICAL_PARTS 2 -#else -#define _PHYSICAL_PARTS 1 -#endif - -#ifdef TYPEHUD_MATRIX_ROWS -#define _NML_MATRIX_ROWS TYPEHUD_MATRIX_ROWS -#else -# ifdef SPLIT_KEYBOARD -#define _NML_MATRIX_ROWS (MATRIX_ROWS / 2) -# else -#define _NML_MATRIX_ROWS MATRIX_ROWS -# endif -#endif - -#ifdef TYPEHUD_MATRIX_COLS -#define _NML_MATRIX_COLS TYPEHUD_MATRIX_COLS -#else -#define _NML_MATRIX_COLS (MATRIX_COLS * _PHYSICAL_PARTS) -#endif - -#define _MATRIX_SIZE 2 -#if defined(TYPEHUD_MATRIX_ROTATE_90) || defined(TYPEHUD_MATRIX_ROTATE_270) -#define _MATRIX_WIDTH (_NML_MATRIX_ROWS * _MATRIX_SIZE + 2) -#define _MATRIX_HEIGHT (_NML_MATRIX_COLS * _MATRIX_SIZE + 2) -#else -#define _MATRIX_WIDTH (_NML_MATRIX_COLS * _MATRIX_SIZE + 2) -#define _MATRIX_HEIGHT (_NML_MATRIX_ROWS * _MATRIX_SIZE + 2) -#endif -#define _MATRIX_X 0 -#define _MATRIX_Y (_OLED_HEIGHT - _MATRIX_HEIGHT + 1) -#define _MATRIX_RPAD 2 -#define _MATRIX_PAD_WIDTH (_MATRIX_WIDTH + _MATRIX_RPAD) - -#define _BAR_WIDTH 3 -#define _BAR_HEIGHT _OLED_HEIGHT -#define _BAR_X (_OLED_WIDTH - _BAR_WIDTH) - -#define _AXIS_WIDTH 5 -#define _AXIS_HEIGHT _OLED_HEIGHT -#define _AXIS_TICK_WIDTH 3 -#define _AXIS_SUBTICK_WIDTH 2 -#define _AXIS_INTERVAL 3 -#define _AXIS_TICK_INTERVAL 15 -#define _AXIS_RPAD 2 -#define _AXIS_PAD_WIDTH (_AXIS_WIDTH + _AXIS_RPAD) -#define _AXIS_X (_OLED_WIDTH - _BAR_WIDTH - _AXIS_PAD_WIDTH) - -#define _CARET_WIDTH 3 -#define _CARET_HEIGHT 5 - -#define _GRAPH_RPAD 2 -#define _GRAPH_MAX_WIDTH (_OLED_WIDTH - _BAR_WIDTH - _AXIS_PAD_WIDTH - _CARET_WIDTH - _GRAPH_RPAD - _MATRIX_PAD_WIDTH) -#define _GRAPH_WIDTH (_GRAPH_MAX_WIDTH - 4) -#define _GRAPH_HEIGHT 31 -#define _GRAPH_REFRESH 300 -#define _GRAPH_X (_MATRIX_WIDTH + _MATRIX_RPAD) -#define _GRAPH_Y 0 -// clang-format on - -void - typehud_init(void), - typehud_render(void), - typehud_process_record(keyrecord_t *record); diff --git a/keyboards/wuque/ikki68_aurora/keymaps/ewersp/README.md b/keyboards/wuque/ikki68_aurora/keymaps/ewersp/README.md deleted file mode 100644 index 3e84b4ee607..00000000000 --- a/keyboards/wuque/ikki68_aurora/keymaps/ewersp/README.md +++ /dev/null @@ -1,40 +0,0 @@ -## Greetings, Traveler! - -This layout is for the [Wuque ikki68 Aurora](https://shop.wuquestudio.com/pages/ikki68-aurora) and is primarily meant for Windows. - -The keymap is similar to the default keymap for the Aurora, but it overloads the left alt key to behave like an additional 'Fn' key while keeping the standard functionality of the alt key intact. - -### For Example -``` -LeftAlt + 1...N -> F1...FN -LeftAlt + L/R Arrows -> Home/End -LeftAlt + Home -> End -LeftAlt + Backspace -> Delete -LeftAlt + Esc -> Backtick (`) -LeftAlt + Shift + Esc -> Tilde (~) -LeftAlt + LeftShift + 4 -> Alt+F4 -``` - -The novel part of this keymap is that it **preserves the default functionality** of the left alt key, so ```'alt + tab', 'ctrl + alt + del', 'alt + f4'```, etc. all work as expected without having to use timers. - -Everything also works with other modifier keys, so ```'alt + L/R' and 'alt + shift + L/R'``` work great for text manipulation to select lines. - -This **super alt** keymap will feel very familiar for anyone **coming from macOS** since the Windows alt key is in the same position as CMD on macOS keyboards. - -And finally, the original alt key functionality can be toggled at any time by pressing ```'Fn + period'``` so for example if a game requires use of the left alt, you can easily turn it off. - -### Toggle LED Modes -You can also cycle though multiple LED modes (underglow, logo, all, none) by pressing ```'Fn + x'``` (the default ikki68 Aurora keymap only supports all or none). The last value set is persisted in EEPROM. - -### Compiling/Flashing -1) After installing QMK MSYS, open the QMK MSYS terminal -2) Type ```qmk compile -kb wuque/ikki68_aurora -km ewersp``` to test compilation -3) Type ```qmk flash -kb wuque/ikki68_aurora -km ewersp``` to start flashing -4) Press ```Fn+Page Up``` to put your keyboard into bootloader mode - - Note: After installing the keymap, to enter bootloader mode again press and hold ```Fn+B``` for half a second -5) Wait for the ```Validating... Success``` message to appear and you're done! - - Note: If it gets stuck on ```Bootloader not found. Trying again every 0.5s...``` you may need to run QMK Toolbox to install/update drivers - -If you have any questions, feel free to reach out to me at: ewersp [at] gmail [dot] com. - -Enjoy! **<3** diff --git a/keyboards/wuque/ikki68_aurora/keymaps/ewersp/config.h b/keyboards/wuque/ikki68_aurora/keymaps/ewersp/config.h deleted file mode 100644 index 1282334dce2..00000000000 --- a/keyboards/wuque/ikki68_aurora/keymaps/ewersp/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright 2021 Paul Ewers - * - * 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/wuque/ikki68_aurora/keymaps/ewersp/keymap.c b/keyboards/wuque/ikki68_aurora/keymaps/ewersp/keymap.c deleted file mode 100644 index ac47e5888c3..00000000000 --- a/keyboards/wuque/ikki68_aurora/keymaps/ewersp/keymap.c +++ /dev/null @@ -1,215 +0,0 @@ -/* Copyright 2021 Paul Ewers - * - * 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 alt_keycodes { - ALT_DEL = SAFE_RANGE, // Map left alt + backspace to delete - LED_TOG // Toggle LED modes -}; - -// Friendly layer names -enum alt_layers { - DEF = 0, - ALT, - MAC, - FUNC, - SUPR -}; - -// EEPROM storage mode -enum alt_led_mode { - LED_MODE_ALL = 0, - LED_MODE_LOGO, - LED_MODE_UNDERGLOW, - LED_MODE_OFF, - LED_MODE_TOTAL -}; - -// EEPROM storage type -typedef union { - uint32_t raw; - struct { - uint8_t led_mode: 8; - }; -} user_config_t; - -user_config_t user_config; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [DEF] = 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_BSPC, 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_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_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, MO(SUPR), KC_SPC, KC_SPC, KC_SPC, KC_RALT, MO(FUNC),KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - [ALT] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, KC_LALT, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - [MAC] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_LALT, KC_LGUI, _______, _______, _______, KC_RGUI, _______, KC_RALT, _______, _______, _______ - ), - [FUNC] = 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_END, KC_VOLU, - _______, RGB_HUD, RGB_VAI, RGB_HUI, RGB_SAI, RGB_M_P, _______, _______, _______, KC_BRIU, KC_PAUS, KC_PSCR, _______, _______, KC_MUTE, KC_VOLD, - _______, RGB_RMOD,RGB_VAD, RGB_MOD, RGB_SAD, RGB_M_B, _______, _______, _______, KC_BRID, _______, _______, _______, - _______, _______, RGB_TOG, LED_TOG, _______, EE_CLR, QK_BOOT, _______, _______, TG(MAC), TG(ALT), _______, _______, _______, KC_PGUP, - _______, _______, KC_LALT, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END - ), - [SUPR] = 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, ALT_DEL, ALT_DEL, KC_END, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, _______, KC_END - ) -}; - -// If the super alt layer is the active layer -bool super_alt_layer_active = false; - -// If we need to unregister alt when leaving the super alt layer -bool need_to_unregister_alt = false; - -// This runs code every time that the layers get changed -layer_state_t layer_state_set_user(layer_state_t state) { - switch (get_highest_layer(state)) { - case DEF: - // When returning to the default layer, check if we need to unregister the left alt key - if (super_alt_layer_active && need_to_unregister_alt) { - unregister_code(KC_LALT); - } - super_alt_layer_active = false; - need_to_unregister_alt = false; - break; - case SUPR: - super_alt_layer_active = true; - break; - } - return state; -} - -// There is a total of 20 LEDs on the board; the 4 logo LEDs have indices 16, 17, 18, 19 -void update_led_mode(void) { - rgblight_setrgb(0, 0, 0); - switch (user_config.led_mode) { - case LED_MODE_ALL: - rgblight_set_effect_range(0, RGBLED_NUM); - rgblight_enable_noeeprom(); - break; - case LED_MODE_LOGO: - rgblight_set_effect_range(16, 4); - rgblight_enable_noeeprom(); - break; - case LED_MODE_UNDERGLOW: - rgblight_set_effect_range(0, 16); - rgblight_enable_noeeprom(); - break; - case LED_MODE_OFF: - rgblight_disable_noeeprom(); - break; - } -} - -void keyboard_post_init_user(void) { - user_config.raw = eeconfig_read_user(); - update_led_mode(); -} - -void eeconfig_init_user(void) { - user_config.raw = 0; - user_config.led_mode = LED_MODE_ALL; - eeconfig_update_user(user_config.raw); - rgblight_enable(); -} - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - static uint32_t key_timer; - - switch (keycode) { - // These are the keys we want to 'fall though' and behave as usual when pressed with the alt modifier - case KC_A ... KC_Z: - case KC_TAB: - case KC_DEL: - case KC_UP: - case KC_DOWN: - case KC_ENT: - case KC_SPC: - case MO(FUNC): - if (super_alt_layer_active && record->event.pressed) { - // Only activate the alt modifier for the first key press - if ((get_mods() & MOD_BIT(KC_LALT)) == false) { - register_code(KC_LALT); - need_to_unregister_alt = true; - } - } - // We still want to process the keycode normally - return true; - case KC_F4: - // Map alt+shift+4 to alt+f4 - if (super_alt_layer_active && (get_mods() & MOD_BIT(KC_LSFT))) { - if (record->event.pressed) { - register_code(KC_LALT); - } else { - unregister_code(KC_LALT); - } - } - return true; - case ALT_DEL: - if (record->event.pressed) { - register_code(KC_DEL); - } else { - unregister_code(KC_DEL); - } - return false; - case LED_TOG: - if (record->event.pressed) { - user_config.led_mode = (user_config.led_mode + 1) % LED_MODE_TOTAL; - update_led_mode(); - eeconfig_update_user(user_config.raw); - } - return false; - case QK_BOOT: - if (record->event.pressed) { - key_timer = timer_read32(); - } else { - if (timer_elapsed32(key_timer) >= 500) { - reset_keyboard(); - } - } - return false; - case QK_CLEAR_EEPROM: - if (record->event.pressed) { - key_timer = timer_read32(); - } else { - if (timer_elapsed32(key_timer) >= 500) { - eeconfig_init(); - } - } - return false; - default: - return true; // Process all other keycodes normally - } -} diff --git a/keyboards/wuque/ikki68_aurora/keymaps/ewersp/rules.mk b/keyboards/wuque/ikki68_aurora/keymaps/ewersp/rules.mk deleted file mode 100644 index 4da205a168c..00000000000 --- a/keyboards/wuque/ikki68_aurora/keymaps/ewersp/rules.mk +++ /dev/null @@ -1 +0,0 @@ -LTO_ENABLE = yes