summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-11 00:39:56 +1100
committerGitHub <noreply@github.com>2023-03-11 00:39:56 +1100
commitcaa8c81086a806ea048c91ba142d424dc6a49f50 (patch)
tree824de64449d9cfaeba176288d379a282c733ae1a
parentace372d90de13dafc815df5d8049497cb351b69b (diff)
Move matrix config to info.json, part 7 (#20020)
-rw-r--r--keyboards/m10a/config.h8
-rw-r--r--keyboards/m10a/info.json5
-rw-r--r--keyboards/machine_industries/m4_a/config.h17
-rw-r--r--keyboards/machine_industries/m4_a/info.json5
-rw-r--r--keyboards/machkeyboards/mach3/config.h25
-rw-r--r--keyboards/machkeyboards/mach3/info.json5
-rw-r--r--keyboards/macro1/config.h8
-rw-r--r--keyboards/macro1/info.json5
-rw-r--r--keyboards/majistic/config.h9
-rw-r--r--keyboards/majistic/info.json13
-rw-r--r--keyboards/makrosu/config.h7
-rw-r--r--keyboards/makrosu/info.json5
-rw-r--r--keyboards/malevolti/lyra/rev1/config.h6
-rw-r--r--keyboards/malevolti/lyra/rev1/info.json5
-rw-r--r--keyboards/malevolti/superlyra/rev1/config.h6
-rw-r--r--keyboards/malevolti/superlyra/rev1/info.json5
-rw-r--r--keyboards/manta60/config.h17
-rw-r--r--keyboards/manta60/info.json5
-rw-r--r--keyboards/manyboard/macro/config.h7
-rw-r--r--keyboards/manyboard/macro/info.json5
-rw-r--r--keyboards/maple_computing/6ball/config.h8
-rw-r--r--keyboards/maple_computing/6ball/info.json5
-rwxr-xr-xkeyboards/maple_computing/c39/config.h41
-rwxr-xr-xkeyboards/maple_computing/c39/info.json5
-rw-r--r--keyboards/maple_computing/christmas_tree/config.h8
-rw-r--r--keyboards/maple_computing/christmas_tree/info.json5
-rw-r--r--keyboards/maple_computing/ivy/rev1/config.h24
-rw-r--r--keyboards/maple_computing/ivy/rev1/info.json5
-rw-r--r--keyboards/maple_computing/jnao/config.h7
-rw-r--r--keyboards/maple_computing/jnao/info.json5
-rw-r--r--keyboards/maple_computing/launchpad/rev1/config.h8
-rw-r--r--keyboards/maple_computing/launchpad/rev1/info.json5
-rw-r--r--keyboards/maple_computing/lets_split_eh/eh/config.h7
-rw-r--r--keyboards/maple_computing/lets_split_eh/eh/info.json5
-rw-r--r--keyboards/maple_computing/minidox/config.h4
-rw-r--r--keyboards/maple_computing/minidox/rev1/config.h24
-rw-r--r--keyboards/maple_computing/minidox/rev1/info.json5
-rw-r--r--keyboards/maple_computing/the_ruler/config.h17
-rw-r--r--keyboards/maple_computing/the_ruler/info.json5
-rw-r--r--keyboards/marksard/leftover30/config.h16
-rw-r--r--keyboards/marksard/leftover30/info.json5
-rw-r--r--keyboards/marksard/rhymestone/rev1/config.h17
-rw-r--r--keyboards/marksard/rhymestone/rev1/info.json5
-rw-r--r--keyboards/marksard/treadstone32/lite/config.h16
-rw-r--r--keyboards/marksard/treadstone32/lite/info.json5
-rw-r--r--keyboards/marksard/treadstone32/rev1/config.h17
-rw-r--r--keyboards/marksard/treadstone32/rev1/info.json5
-rw-r--r--keyboards/marksard/treadstone48/rev1/config.h17
-rw-r--r--keyboards/marksard/treadstone48/rev1/info.json5
-rw-r--r--keyboards/marksard/treadstone48/rev2/config.h17
-rw-r--r--keyboards/marksard/treadstone48/rev2/info.json5
-rw-r--r--keyboards/massdrop/alt/config.h6
-rw-r--r--keyboards/massdrop/alt/info.json5
-rw-r--r--keyboards/massdrop/ctrl/config.h6
-rw-r--r--keyboards/massdrop/ctrl/info.json5
-rw-r--r--keyboards/massdrop/thekey/config.h9
-rw-r--r--keyboards/massdrop/thekey/info.json5
-rw-r--r--keyboards/massdrop/thekey_v2/config.h9
-rw-r--r--keyboards/massdrop/thekey_v2/info.json5
-rw-r--r--keyboards/masterworks/classy_tkl/rev_a/config.h19
-rw-r--r--keyboards/masterworks/classy_tkl/rev_a/info.json5
-rw-r--r--keyboards/matchstickworks/southpad/config.h51
-rw-r--r--keyboards/matchstickworks/southpad/info.json5
-rw-r--r--keyboards/matrix/cain_re/config.h8
-rw-r--r--keyboards/matrix/cain_re/info.json5
-rw-r--r--keyboards/matrix/falcon/config.h6
-rw-r--r--keyboards/matrix/falcon/info.json5
-rw-r--r--keyboards/matrix/m12og/rev2/config.h8
-rw-r--r--keyboards/matrix/m12og/rev2/info.json5
-rw-r--r--keyboards/matrix/me/config.h5
-rw-r--r--keyboards/matrix/me/info.json5
-rw-r--r--keyboards/matrix/noah/config.h5
-rw-r--r--keyboards/matthewdias/m3n3van/config.h42
-rw-r--r--keyboards/matthewdias/m3n3van/info.json5
-rw-r--r--keyboards/matthewdias/minim/config.h42
-rw-r--r--keyboards/matthewdias/minim/info.json5
-rw-r--r--keyboards/matthewdias/model_v/config.h42
-rw-r--r--keyboards/matthewdias/model_v/info.json5
-rw-r--r--keyboards/matthewdias/txuu/config.h42
-rw-r--r--keyboards/matthewdias/txuu/info.json5
-rw-r--r--keyboards/maxipad/promicro/config.h33
-rw-r--r--keyboards/maxipad/promicro/info.json5
-rw-r--r--keyboards/maxipad/teensy2/config.h33
-rw-r--r--keyboards/maxipad/teensy2/info.json5
-rw-r--r--keyboards/maxr1998/pulse4k/config.h8
-rw-r--r--keyboards/maxr1998/pulse4k/info.json5
-rw-r--r--keyboards/mb44/config.h35
-rw-r--r--keyboards/mb44/info.json5
-rw-r--r--keyboards/mc_76k/config.h17
-rw-r--r--keyboards/mc_76k/info.json5
-rw-r--r--keyboards/mechanickeys/miniashen40/config.h34
-rw-r--r--keyboards/mechanickeys/miniashen40/info.json5
-rw-r--r--keyboards/mechanickeys/undead60m/config.h17
-rw-r--r--keyboards/mechanickeys/undead60m/info.json5
-rw-r--r--keyboards/mechbrewery/mb65h/config.h25
-rw-r--r--keyboards/mechbrewery/mb65h/info.json5
-rw-r--r--keyboards/mechbrewery/mb65s/config.h7
-rw-r--r--keyboards/mechbrewery/mb65s/info.json5
-rw-r--r--keyboards/mechkeys/acr60/config.h8
-rw-r--r--keyboards/mechkeys/acr60/info.json5
-rwxr-xr-xkeyboards/mechkeys/alu84/config.h17
-rw-r--r--keyboards/mechkeys/alu84/info.json5
-rwxr-xr-xkeyboards/mechkeys/espectro/config.h8
-rw-r--r--keyboards/mechkeys/espectro/info.json5
-rw-r--r--keyboards/mechkeys/mechmini/v1/config.h5
-rw-r--r--keyboards/mechkeys/mechmini/v1/info.json5
-rwxr-xr-xkeyboards/mechkeys/mechmini/v2/config.h8
-rw-r--r--keyboards/mechkeys/mechmini/v2/info.json5
-rw-r--r--keyboards/mechkeys/mk60/config.h17
-rw-r--r--keyboards/mechkeys/mk60/info.json5
-rw-r--r--keyboards/mechllama/g35/config.h3
-rw-r--r--keyboards/mechllama/g35/v1/config.h3
-rw-r--r--keyboards/mechllama/g35/v1/info.json7
-rw-r--r--keyboards/mechllama/g35/v2/config.h3
-rw-r--r--keyboards/mechllama/g35/v2/info.json7
-rw-r--r--keyboards/mechlovin/adelais/rgb_led/config.h21
-rw-r--r--keyboards/mechlovin/adelais/rgb_led/rev1/config.h3
-rw-r--r--keyboards/mechlovin/adelais/rgb_led/rev1/info.json5
-rw-r--r--keyboards/mechlovin/adelais/rgb_led/rev2/config.h3
-rw-r--r--keyboards/mechlovin/adelais/rgb_led/rev2/info.json5
-rw-r--r--keyboards/mechlovin/adelais/rgb_led/rev3/config.h3
-rw-r--r--keyboards/mechlovin/adelais/rgb_led/rev3/info.json5
-rw-r--r--keyboards/mechlovin/adelais/standard_led/arm/config.h6
-rw-r--r--keyboards/mechlovin/adelais/standard_led/arm/info.json5
-rw-r--r--keyboards/mechlovin/delphine/config.h34
-rw-r--r--keyboards/mechlovin/delphine/info.json5
-rw-r--r--keyboards/mechlovin/foundation/config.h18
-rw-r--r--keyboards/mechlovin/foundation/info.json5
-rw-r--r--keyboards/mechlovin/hannah60rgb/config.h34
-rw-r--r--keyboards/mechlovin/hannah60rgb/rev1/info.json5
-rw-r--r--keyboards/mechlovin/hannah60rgb/rev2/info.json5
-rw-r--r--keyboards/mechlovin/hannah65/config.h16
-rw-r--r--keyboards/mechlovin/hannah65/info.json5
-rw-r--r--keyboards/mechlovin/hannah910/config.h17
-rw-r--r--keyboards/mechlovin/hannah910/rev1/info.json5
-rw-r--r--keyboards/mechlovin/hannah910/rev2/info.json5
-rw-r--r--keyboards/mechlovin/hannah910/rev3/info.json5
-rw-r--r--keyboards/mechlovin/hex4b/config.h33
-rw-r--r--keyboards/mechlovin/hex4b/rev1/config.h33
-rw-r--r--keyboards/mechlovin/hex4b/rev1/info.json5
-rw-r--r--keyboards/mechlovin/hex4b/rev2/config.h15
-rw-r--r--keyboards/mechlovin/hex4b/rev2/info.json5
-rw-r--r--keyboards/mechlovin/hex6c/config.h17
-rw-r--r--keyboards/mechlovin/hex6c/info.json5
-rw-r--r--keyboards/mechlovin/infinity87/rev1/config.h5
-rw-r--r--keyboards/mechlovin/infinity87/rev1/info.json5
-rw-r--r--keyboards/mechlovin/infinity87/rgb_rev1/config.h6
-rw-r--r--keyboards/mechlovin/infinity87/rgb_rev1/info.json5
-rw-r--r--keyboards/mechlovin/infinity88/config.h16
-rw-r--r--keyboards/mechlovin/infinity88/info.json5
-rw-r--r--keyboards/mechlovin/infinityce/config.h7
-rw-r--r--keyboards/mechlovin/infinityce/info.json5
-rw-r--r--keyboards/mechlovin/jay60/config.h17
-rw-r--r--keyboards/mechlovin/jay60/info.json5
-rw-r--r--keyboards/mechlovin/kanu/config.h17
-rw-r--r--keyboards/mechlovin/kanu/info.json5
-rw-r--r--keyboards/mechlovin/kay60/config.h17
-rw-r--r--keyboards/mechlovin/kay60/info.json5
-rw-r--r--keyboards/mechlovin/kay65/config.h17
-rw-r--r--keyboards/mechlovin/kay65/info.json5
-rw-r--r--keyboards/mechlovin/mechlovin9/config.h21
-rw-r--r--keyboards/mechlovin/mechlovin9/rev1/config.h13
-rw-r--r--keyboards/mechlovin/mechlovin9/rev1/info.json5
-rw-r--r--keyboards/mechlovin/mechlovin9/rev2/config.h31
-rw-r--r--keyboards/mechlovin/mechlovin9/rev2/info.json5
-rw-r--r--keyboards/mechlovin/olly/octagon/config.h8
-rw-r--r--keyboards/mechlovin/olly/octagon/info.json5
-rw-r--r--keyboards/mechlovin/olly/orion/config.h17
-rw-r--r--keyboards/mechlovin/olly/orion/info.json5
-rw-r--r--keyboards/mechlovin/pisces/config.h16
-rw-r--r--keyboards/mechlovin/pisces/info.json5
-rw-r--r--keyboards/mechlovin/th1800/config.h35
-rw-r--r--keyboards/mechlovin/th1800/info.json5
-rw-r--r--keyboards/mechlovin/tmkl/config.h16
-rw-r--r--keyboards/mechlovin/tmkl/info.json5
-rw-r--r--keyboards/mechlovin/zed60/config.h17
-rw-r--r--keyboards/mechlovin/zed60/info.json5
-rw-r--r--keyboards/mechlovin/zed65/config.h48
-rw-r--r--keyboards/mechlovin/zed65/mono_led/config.h5
-rw-r--r--keyboards/mechlovin/zed65/mono_led/info.json5
-rw-r--r--keyboards/mechlovin/zed65/no_backlight/cor65/config.h22
-rw-r--r--keyboards/mechlovin/zed65/no_backlight/cor65/info.json5
-rw-r--r--keyboards/mechlovin/zed65/no_backlight/retro66/config.h4
-rw-r--r--keyboards/mechlovin/zed65/no_backlight/retro66/info.json5
-rw-r--r--keyboards/mechlovin/zed65/no_backlight/wearhaus66/config.h5
-rw-r--r--keyboards/mechlovin/zed65/no_backlight/wearhaus66/info.json5
-rw-r--r--keyboards/mechstudio/dawn/config.h26
-rw-r--r--keyboards/mechstudio/dawn/info.json5
-rw-r--r--keyboards/mechstudio/ud_40_ortho/config.h9
-rw-r--r--keyboards/mechstudio/ud_40_ortho/info.json5
-rw-r--r--keyboards/mechwild/bbs/config.h16
-rw-r--r--keyboards/mechwild/bbs/info.json5
-rwxr-xr-xkeyboards/mechwild/mercutio/config.h8
-rw-r--r--keyboards/mechwild/mercutio/info.json5
-rw-r--r--keyboards/mechwild/mokulua/mirrored/config.h8
-rw-r--r--keyboards/mechwild/mokulua/mirrored/info.json5
-rw-r--r--keyboards/mechwild/mokulua/standard/config.h8
-rw-r--r--keyboards/mechwild/mokulua/standard/info.json5
-rw-r--r--keyboards/mechwild/murphpad/config.h8
-rw-r--r--keyboards/mechwild/murphpad/info.json5
-rw-r--r--keyboards/mechwild/obe/config.h17
-rw-r--r--keyboards/mechwild/obe/info.json5
-rw-r--r--keyboards/mechwild/puckbuddy/config.h16
-rw-r--r--keyboards/mechwild/puckbuddy/info.json5
-rw-r--r--keyboards/mechwild/waka60/config.h17
-rw-r--r--keyboards/mechwild/waka60/info.json5
-rw-r--r--keyboards/mehkee96/config.h5
-rw-r--r--keyboards/mehkee96/info.json5
-rw-r--r--keyboards/meletrix/zoom65/config.h6
-rw-r--r--keyboards/meletrix/zoom65/info.json5
-rw-r--r--keyboards/meletrix/zoom65_lite/config.h6
-rw-r--r--keyboards/meletrix/zoom65_lite/info.json5
-rw-r--r--keyboards/meletrix/zoom87/config.h6
-rw-r--r--keyboards/meletrix/zoom87/info.json5
-rwxr-xr-xkeyboards/melgeek/mach80/rev1/config.h17
-rw-r--r--keyboards/melgeek/mach80/rev1/info.json7
-rwxr-xr-xkeyboards/melgeek/mach80/rev2/config.h17
-rw-r--r--keyboards/melgeek/mach80/rev2/info.json7
-rw-r--r--keyboards/melgeek/mj61/rev1/config.h17
-rw-r--r--keyboards/melgeek/mj61/rev1/info.json7
-rw-r--r--keyboards/melgeek/mj61/rev2/config.h17
-rw-r--r--keyboards/melgeek/mj61/rev2/info.json7
-rw-r--r--keyboards/melgeek/mj63/rev1/config.h17
-rw-r--r--keyboards/melgeek/mj63/rev1/info.json7
-rw-r--r--keyboards/melgeek/mj63/rev2/config.h17
-rw-r--r--keyboards/melgeek/mj63/rev2/info.json7
-rw-r--r--keyboards/melgeek/mj64/rev1/config.h17
-rw-r--r--keyboards/melgeek/mj64/rev1/info.json7
-rw-r--r--keyboards/melgeek/mj64/rev2/config.h17
-rw-r--r--keyboards/melgeek/mj64/rev2/info.json7
-rw-r--r--keyboards/melgeek/mj64/rev3/config.h17
-rw-r--r--keyboards/melgeek/mj64/rev3/info.json7
-rw-r--r--keyboards/melgeek/mj65/info.json5
-rw-r--r--keyboards/melgeek/mj65/rev3/config.h17
-rwxr-xr-xkeyboards/melgeek/mj6xy/rev3/config.h6
-rw-r--r--keyboards/melgeek/mj6xy/rev3/info.json5
-rwxr-xr-xkeyboards/melgeek/mojo68/info.json5
-rwxr-xr-xkeyboards/melgeek/mojo68/rev1/config.h17
-rw-r--r--keyboards/melgeek/mojo75/info.json5
-rw-r--r--keyboards/melgeek/mojo75/rev1/config.h17
-rw-r--r--keyboards/melgeek/tegic/info.json5
-rwxr-xr-xkeyboards/melgeek/tegic/rev1/config.h17
-rw-r--r--keyboards/melgeek/z70ultra/config.h4
-rw-r--r--keyboards/melgeek/z70ultra/info.json5
-rw-r--r--keyboards/melgeek/z70ultra/rev1/config.h32
-rw-r--r--keyboards/meme/config.h17
-rw-r--r--keyboards/meme/info.json5
-rw-r--r--keyboards/meow48/config.h17
-rw-r--r--keyboards/meow48/info.json7
-rw-r--r--keyboards/meow65/config.h17
-rw-r--r--keyboards/meow65/info.json5
-rw-r--r--keyboards/merge/iso_macro/config.h24
-rw-r--r--keyboards/merge/iso_macro/info.json5
-rw-r--r--keyboards/merge/uc1/config.h6
-rw-r--r--keyboards/merge/uc1/info.json5
-rw-r--r--keyboards/merge/um70/config.h6
-rw-r--r--keyboards/merge/um70/info.json5
-rw-r--r--keyboards/merge/um80/config.h6
-rw-r--r--keyboards/merge/um80/info.json5
-rw-r--r--keyboards/merge/uma/config.h6
-rw-r--r--keyboards/merge/uma/info.json5
-rw-r--r--keyboards/mesa/mesa_tkl/config.h17
-rw-r--r--keyboards/mesa/mesa_tkl/info.json5
-rw-r--r--keyboards/meson/config.h7
-rw-r--r--keyboards/meson/info.json5
-rw-r--r--keyboards/metamechs/timberwolf/config.h51
-rw-r--r--keyboards/metamechs/timberwolf/info.json5
-rw-r--r--keyboards/mikeneko65/config.h17
-rw-r--r--keyboards/mikeneko65/info.json5
-rw-r--r--keyboards/miller/gm862/config.h16
-rw-r--r--keyboards/miller/gm862/info.json5
-rw-r--r--keyboards/millipad/config.h17
-rw-r--r--keyboards/millipad/info.json5
-rw-r--r--keyboards/mini_elixivy/config.h17
-rw-r--r--keyboards/mini_elixivy/info.json5
-rw-r--r--keyboards/mini_ten_key_plus/config.h17
-rw-r--r--keyboards/mini_ten_key_plus/info.json5
-rw-r--r--keyboards/minimon/index_tab/config.h9
-rw-r--r--keyboards/minimon/index_tab/info.json5
-rw-r--r--keyboards/mino/hotswap/config.h17
-rw-r--r--keyboards/mino/hotswap/info.json5
-rw-r--r--keyboards/mint60/config.h17
-rw-r--r--keyboards/mint60/info.json5
-rw-r--r--keyboards/misonoworks/chocolatebar/config.h8
-rw-r--r--keyboards/misonoworks/chocolatebar/info.json5
-rw-r--r--keyboards/misonoworks/karina/config.h8
-rw-r--r--keyboards/misonoworks/karina/info.json5
-rw-r--r--keyboards/misterknife/knife66/config.h5
-rw-r--r--keyboards/misterknife/knife66/info.json5
-rw-r--r--keyboards/misterknife/knife66_iso/config.h5
-rw-r--r--keyboards/misterknife/knife66_iso/info.json5
-rw-r--r--keyboards/miuni32/config.h17
-rw-r--r--keyboards/miuni32/info.json5
-rw-r--r--keyboards/ml/gas75/config.h8
-rw-r--r--keyboards/ml/gas75/info.json5
-rw-r--r--keyboards/mlego/m48/config.h3
-rw-r--r--keyboards/mlego/m48/rev1/config.h6
-rw-r--r--keyboards/mlego/m48/rev1/info.json5
-rw-r--r--keyboards/mlego/m60/config.h4
-rw-r--r--keyboards/mlego/m60/rev1/config.h5
-rw-r--r--keyboards/mlego/m60/rev1/info.json5
-rw-r--r--keyboards/mlego/m60_split/config.h3
-rw-r--r--keyboards/mlego/m60_split/rev1/config.h12
-rw-r--r--keyboards/mlego/m60_split/rev1/info.json11
-rw-r--r--keyboards/mlego/m60_split/rev2/config.h12
-rw-r--r--keyboards/mlego/m60_split/rev2/info.json11
-rw-r--r--keyboards/mlego/m65/config.h3
-rw-r--r--keyboards/mlego/m65/rev1/config.h7
-rw-r--r--keyboards/mlego/m65/rev1/info.json5
-rw-r--r--keyboards/mlego/m65/rev2/config.h7
-rw-r--r--keyboards/mlego/m65/rev2/info.json5
-rw-r--r--keyboards/mlego/m65/rev3/config.h7
-rw-r--r--keyboards/mlego/m65/rev3/info.json5
-rw-r--r--keyboards/mlego/m65/rev4/config.h7
-rw-r--r--keyboards/mlego/m65/rev4/info.json5
-rw-r--r--keyboards/mmkzoo65/config.h8
-rw-r--r--keyboards/mmkzoo65/info.json5
-rwxr-xr-xkeyboards/mnk1800s/config.h7
-rwxr-xr-xkeyboards/mnk1800s/info.json5
-rwxr-xr-xkeyboards/mnk50/config.h7
-rwxr-xr-xkeyboards/mnk50/info.json5
-rwxr-xr-xkeyboards/mnk75/config.h7
-rwxr-xr-xkeyboards/mnk75/info.json5
-rw-r--r--keyboards/mntre/config.h17
-rw-r--r--keyboards/mntre/info.json5
-rw-r--r--keyboards/mode/m65ha_alpha/config.h4
-rw-r--r--keyboards/mode/m65ha_alpha/info.json5
-rw-r--r--keyboards/mode/m65hi_alpha/config.h4
-rw-r--r--keyboards/mode/m65hi_alpha/info.json5
-rw-r--r--keyboards/mode/m65s/config.h4
-rw-r--r--keyboards/mode/m65s/info.json5
-rw-r--r--keyboards/mode/m75h/config.h6
-rw-r--r--keyboards/mode/m75h/info.json5
-rw-r--r--keyboards/mode/m75s/config.h6
-rw-r--r--keyboards/mode/m75s/info.json5
-rw-r--r--keyboards/mode/m80v1/config.h17
-rw-r--r--keyboards/mode/m80v1/m80h/info.json5
-rw-r--r--keyboards/mode/m80v1/m80s/info.json5
-rw-r--r--keyboards/mode/m80v2/config.h5
-rw-r--r--keyboards/mode/m80v2/m80v2h/info.json5
-rw-r--r--keyboards/mode/m80v2/m80v2s/info.json5
-rw-r--r--keyboards/mokey/ginkgo65hot/config.h19
-rw-r--r--keyboards/mokey/ginkgo65hot/info.json5
-rw-r--r--keyboards/mokey/ibis80/config.h22
-rw-r--r--keyboards/mokey/ibis80/info.json5
-rw-r--r--keyboards/mokey/mokey63/config.h22
-rw-r--r--keyboards/mokey/mokey63/info.json5
-rw-r--r--keyboards/mokey/mokey64/config.h22
-rw-r--r--keyboards/mokey/mokey64/info.json5
-rw-r--r--keyboards/mokey/xox70/config.h20
-rw-r--r--keyboards/mokey/xox70/info.json5
-rw-r--r--keyboards/mokey/xox70hot/config.h20
-rw-r--r--keyboards/mokey/xox70hot/info.json5
-rwxr-xr-xkeyboards/molecule/config.h17
-rwxr-xr-xkeyboards/molecule/info.json5
-rw-r--r--keyboards/momoka_ergo/config.h6
-rw-r--r--keyboards/momoka_ergo/info.json5
-rw-r--r--keyboards/momokai/tap_duo/config.h7
-rw-r--r--keyboards/momokai/tap_duo/info.json5
-rw-r--r--keyboards/momokai/tap_trio/config.h7
-rw-r--r--keyboards/momokai/tap_trio/info.json5
-rw-r--r--keyboards/monarch/config.h4
-rw-r--r--keyboards/monarch/info.json5
-rw-r--r--keyboards/monoflex60/config.h26
-rw-r--r--keyboards/monoflex60/info.json5
-rw-r--r--keyboards/monstargear/xo87/rgb/config.h3
-rw-r--r--keyboards/monstargear/xo87/rgb/info.json5
-rw-r--r--keyboards/monstargear/xo87/solderable/config.h4
-rw-r--r--keyboards/monstargear/xo87/solderable/info.json5
-rw-r--r--keyboards/montsinger/rebound/rev1/config.h19
-rw-r--r--keyboards/montsinger/rebound/rev1/info.json5
-rw-r--r--keyboards/montsinger/rebound/rev2/config.h19
-rw-r--r--keyboards/montsinger/rebound/rev2/info.json5
-rw-r--r--keyboards/montsinger/rebound/rev3/config.h19
-rw-r--r--keyboards/montsinger/rebound/rev3/info.json5
-rw-r--r--keyboards/montsinger/rebound/rev4/config.h19
-rw-r--r--keyboards/montsinger/rebound/rev4/info.json5
-rw-r--r--keyboards/montsinger/rewind/config.h19
-rw-r--r--keyboards/montsinger/rewind/info.json5
-rw-r--r--keyboards/morizon/config.h6
-rw-r--r--keyboards/morizon/info.json5
-rw-r--r--keyboards/mountainblocks/mb17/config.h17
-rw-r--r--keyboards/mountainblocks/mb17/info.json5
-rw-r--r--keyboards/mss_studio/m63_rgb/config.h8
-rw-r--r--keyboards/mss_studio/m63_rgb/info.json5
-rw-r--r--keyboards/mss_studio/m64_rgb/config.h8
-rw-r--r--keyboards/mss_studio/m64_rgb/info.json5
-rw-r--r--keyboards/mt/blocked65/config.h9
-rw-r--r--keyboards/mt/blocked65/info.json5
-rw-r--r--keyboards/mt/mt40/config.h21
-rw-r--r--keyboards/mt/mt40/info.json5
-rw-r--r--keyboards/mt/mt64rgb/config.h17
-rw-r--r--keyboards/mt/mt64rgb/info.json5
-rw-r--r--keyboards/mt/mt84/config.h17
-rw-r--r--keyboards/mt/mt84/info.json5
-rw-r--r--keyboards/mt/mt980/config.h8
-rw-r--r--keyboards/mt/mt980/info.json5
-rw-r--r--keyboards/mt/ncr80/hotswap/config.h15
-rw-r--r--keyboards/mt/ncr80/hotswap/info.json5
-rw-r--r--keyboards/mt/ncr80/solder/config.h33
-rw-r--r--keyboards/mt/ncr80/solder/info.json5
-rw-r--r--keyboards/mtbkeys/mtb60/hotswap/config.h8
-rw-r--r--keyboards/mtbkeys/mtb60/hotswap/info.json5
-rw-r--r--keyboards/mtbkeys/mtb60/solder/config.h8
-rw-r--r--keyboards/mtbkeys/mtb60/solder/info.json5
-rw-r--r--keyboards/murcielago/info.json11
-rw-r--r--keyboards/murcielago/rev1/config.h18
-rw-r--r--keyboards/mwstudio/alicekk/config.h8
-rw-r--r--keyboards/mwstudio/alicekk/info.json5
-rw-r--r--keyboards/mwstudio/mw65_black/config.h8
-rw-r--r--keyboards/mwstudio/mw65_black/info.json5
-rw-r--r--keyboards/mwstudio/mw65_rgb/config.h8
-rw-r--r--keyboards/mwstudio/mw65_rgb/info.json5
-rw-r--r--keyboards/mwstudio/mw75/config.h8
-rw-r--r--keyboards/mwstudio/mw75/info.json5
-rw-r--r--keyboards/mwstudio/mw75r2/config.h8
-rw-r--r--keyboards/mwstudio/mw75r2/info.json5
-rw-r--r--keyboards/mxss/config.h8
-rw-r--r--keyboards/mxss/info.json5
-rw-r--r--keyboards/mysticworks/wyvern/config.h8
-rw-r--r--keyboards/mysticworks/wyvern/info.json5
421 files changed, 1081 insertions, 3038 deletions
diff --git a/keyboards/m10a/config.h b/keyboards/m10a/config.h
index dac3f44a3e..6c9b63c5ee 100644
--- a/keyboards/m10a/config.h
+++ b/keyboards/m10a/config.h
@@ -18,14 +18,6 @@
18 18
19#pragma once 19#pragma once
20 20
21
22/* Planck PCB default pin-out */
23#define MATRIX_ROW_PINS { B6, F7, F6, D6 }
24#define MATRIX_COL_PINS { F5, F1, F0 }
25
26/* COL2ROW or ROW2COL */
27#define DIODE_DIRECTION ROW2COL
28
29/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 21/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
30#define LOCKING_SUPPORT_ENABLE 22#define LOCKING_SUPPORT_ENABLE
31/* Locking resynchronize hack */ 23/* Locking resynchronize hack */
diff --git a/keyboards/m10a/info.json b/keyboards/m10a/info.json
index f517d49087..de50593b9d 100644
--- a/keyboards/m10a/info.json
+++ b/keyboards/m10a/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x00AA", 8 "pid": "0x00AA",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F5", "F1", "F0"],
13 "rows": ["B6", "F7", "F6", "D6"]
14 },
15 "diode_direction": "ROW2COL",
11 "backlight": { 16 "backlight": {
12 "pin": "B7", 17 "pin": "B7",
13 "levels": 6 18 "levels": 6
diff --git a/keyboards/machine_industries/m4_a/config.h b/keyboards/machine_industries/m4_a/config.h
index 0e71c0e8c1..da001ee1da 100644
--- a/keyboards/machine_industries/m4_a/config.h
+++ b/keyboards/machine_industries/m4_a/config.h
@@ -3,23 +3,6 @@
3 3
4#pragma once 4#pragma once
5 5
6
7/*
8 * Keyboard Matrix Assignments
9 *
10 * Change this to how you wired your keyboard
11 * COLS: AVR pins used for columns, left to right
12 * ROWS: AVR pins used for rows, top to bottom
13 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
14 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
15 *
16 */
17#define MATRIX_ROW_PINS { C7, C6 }
18#define MATRIX_COL_PINS { F6, F7 }
19
20/* COL2ROW, ROW2COL */
21#define DIODE_DIRECTION ROW2COL
22
23/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 6/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
24#define LOCKING_SUPPORT_ENABLE 7#define LOCKING_SUPPORT_ENABLE
25/* Locking resynchronize hack */ 8/* Locking resynchronize hack */
diff --git a/keyboards/machine_industries/m4_a/info.json b/keyboards/machine_industries/m4_a/info.json
index 05c2a57234..f6532a6409 100644
--- a/keyboards/machine_industries/m4_a/info.json
+++ b/keyboards/machine_industries/m4_a/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x004A", 8 "pid": "0x004A",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F6", "F7"],
13 "rows": ["C7", "C6"]
14 },
15 "diode_direction": "ROW2COL",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/machkeyboards/mach3/config.h b/keyboards/machkeyboards/mach3/config.h
deleted file mode 100644
index ba1628e954..0000000000
--- a/keyboards/machkeyboards/mach3/config.h
+++ /dev/null
@@ -1,25 +0,0 @@
1/* Copyright 2021 Mach Keyboards
2
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7
8This program is distributed in the hope that it will be useful,
9but WITHOUT ANY WARRANTY; without even the implied warranty of
10MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11GNU General Public License for more details.
12
13You should have received a copy of the GNU General Public License
14along with this program. If not, see <http://www.gnu.org/licenses/>.
15*/
16
17#pragma once
18
19
20/* key pins */
21#define MATRIX_ROW_PINS { D1, D0, D4 }
22#define MATRIX_COL_PINS { E6, B4, B5 }
23
24/* COL2ROW, ROW2COL*/
25#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/machkeyboards/mach3/info.json b/keyboards/machkeyboards/mach3/info.json
index 767beb2026..3af4e154c1 100644
--- a/keyboards/machkeyboards/mach3/info.json
+++ b/keyboards/machkeyboards/mach3/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x4D33", 8 "pid": "0x4D33",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["E6", "B4", "B5"],
13 "rows": ["D1", "D0", "D4"]
14 },
15 "diode_direction": "COL2ROW",
11 "backlight": { 16 "backlight": {
12 "pin": "B6", 17 "pin": "B6",
13 "levels": 5, 18 "levels": 5,
diff --git a/keyboards/macro1/config.h b/keyboards/macro1/config.h
index a03f212f37..30b3906f0d 100644
--- a/keyboards/macro1/config.h
+++ b/keyboards/macro1/config.h
@@ -16,14 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19
20/* key matrix pins */
21#define MATRIX_ROW_PINS { E6, B7, D0, D1, D2, B3 }
22#define MATRIX_COL_PINS { D3, D4, D6, D7 }
23
24/* COL2ROW or ROW2COL */
25#define DIODE_DIRECTION COL2ROW
26
27/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 19/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
28#define LOCKING_SUPPORT_ENABLE 20#define LOCKING_SUPPORT_ENABLE
29 21
diff --git a/keyboards/macro1/info.json b/keyboards/macro1/info.json
index ae4de40310..5fb86fecb7 100644
--- a/keyboards/macro1/info.json
+++ b/keyboards/macro1/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x9999", 8 "pid": "0x9999",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D3", "D4", "D6", "D7"],
13 "rows": ["E6", "B7", "D0", "D1", "D2", "B3"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "F0", "pin_b": "F1"} 18 {"pin_a": "F0", "pin_b": "F1"}
diff --git a/keyboards/majistic/config.h b/keyboards/majistic/config.h
index 2ff78e2bed..c896b12478 100644
--- a/keyboards/majistic/config.h
+++ b/keyboards/majistic/config.h
@@ -18,15 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
18 18
19#pragma once 19#pragma once
20 20
21
22#define MATRIX_ROW_PINS { F6, F7, B1, B3, B2 }
23#define MATRIX_COL_PINS { D4, C6, D7, E6, B4, B5, F4, F5 } // F4, F5 is dummy
24#define MATRIX_ROW_PINS_RIGHT { D4, C6, D7, E6, B4 }
25#define MATRIX_COL_PINS_RIGHT { B6, B2, B3, B1, F7, F6, F5, F4 }
26
27/* COL2ROW, ROW2COL*/
28#define DIODE_DIRECTION COL2ROW
29
30/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 21/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
31#define LOCKING_SUPPORT_ENABLE 22#define LOCKING_SUPPORT_ENABLE
32/* Locking resynchronize hack */ 23/* Locking resynchronize hack */
diff --git a/keyboards/majistic/info.json b/keyboards/majistic/info.json
index be3a1cafdd..7c475660c7 100644
--- a/keyboards/majistic/info.json
+++ b/keyboards/majistic/info.json
@@ -8,8 +8,19 @@
8 "pid": "0x6E55", 8 "pid": "0x6E55",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D4", "C6", "D7", "E6", "B4", "B5", "F4", "F5"],
13 "rows": ["F6", "F7", "B1", "B3", "B2"]
14 },
15 "diode_direction": "COL2ROW",
11 "split": { 16 "split": {
12 "soft_serial_pin": "D2" 17 "soft_serial_pin": "D2",
18 "matrix_pins": {
19 "right": {
20 "cols": ["B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"],
21 "rows": ["D4", "C6", "D7", "E6", "B4"]
22 }
23 },
13 }, 24 },
14 "processor": "atmega32u4", 25 "processor": "atmega32u4",
15 "bootloader": "atmel-dfu", 26 "bootloader": "atmel-dfu",
diff --git a/keyboards/makrosu/config.h b/keyboards/makrosu/config.h
index c00353db89..98108cce78 100644
--- a/keyboards/makrosu/config.h
+++ b/keyboards/makrosu/config.h
@@ -16,14 +16,7 @@
16 16
17#pragma once 17#pragma once
18 18
19
20/* key matrix pins */
21#define MATRIX_ROW_PINS { B6 }
22#define MATRIX_COL_PINS { B2, B3, B1, F7, F6, F5}
23
24#define TAP_CODE_DELAY 10 19#define TAP_CODE_DELAY 10
25/* COL2ROW or ROW2COL */
26#define DIODE_DIRECTION COL2ROW
27 20
28/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 21/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
29#define LOCKING_SUPPORT_ENABLE 22#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/makrosu/info.json b/keyboards/makrosu/info.json
index 77974305e5..9abafac946 100644
--- a/keyboards/makrosu/info.json
+++ b/keyboards/makrosu/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x8585", 8 "pid": "0x8585",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B2", "B3", "B1", "F7", "F6", "F5"],
13 "rows": ["B6"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "E6", "pin_b": "D1"} 18 {"pin_a": "E6", "pin_b": "D1"}
diff --git a/keyboards/malevolti/lyra/rev1/config.h b/keyboards/malevolti/lyra/rev1/config.h
index 113174ff1e..38a1a09cd3 100644
--- a/keyboards/malevolti/lyra/rev1/config.h
+++ b/keyboards/malevolti/lyra/rev1/config.h
@@ -15,10 +15,4 @@
15 */ 15 */
16#pragma once 16#pragma once
17 17
18// wiring of each half
19#define MATRIX_ROW_PINS { D4, C6, D7, E6, B4 }
20#define MATRIX_COL_PINS { B2, B3, B1, F7, F6, F5, F4 }
21
22#define DIODE_DIRECTION COL2ROW
23
24#define TAPPING_TERM 100 18#define TAPPING_TERM 100
diff --git a/keyboards/malevolti/lyra/rev1/info.json b/keyboards/malevolti/lyra/rev1/info.json
index 572e5c118d..2cc916c7cf 100644
--- a/keyboards/malevolti/lyra/rev1/info.json
+++ b/keyboards/malevolti/lyra/rev1/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x4C43", 8 "pid": "0x4C43",
9 "device_version": "30.3.1" 9 "device_version": "30.3.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B2", "B3", "B1", "F7", "F6", "F5", "F4"],
13 "rows": ["D4", "C6", "D7", "E6", "B4"]
14 },
15 "diode_direction": "COL2ROW",
11 "split": { 16 "split": {
12 "soft_serial_pin": "D2" 17 "soft_serial_pin": "D2"
13 }, 18 },
diff --git a/keyboards/malevolti/superlyra/rev1/config.h b/keyboards/malevolti/superlyra/rev1/config.h
index 4a56b96808..cffc2e9ff2 100644
--- a/keyboards/malevolti/superlyra/rev1/config.h
+++ b/keyboards/malevolti/superlyra/rev1/config.h
@@ -15,10 +15,4 @@
15 */ 15 */
16#pragma once 16#pragma once
17 17
18// wiring of each half
19#define MATRIX_ROW_PINS { B7, B3, B2, B1, B0 }
20#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7, F7, F6, F5, F4, F1 }
21
22#define DIODE_DIRECTION COL2ROW
23
24#define TAPPING_TERM 100 18#define TAPPING_TERM 100
diff --git a/keyboards/malevolti/superlyra/rev1/info.json b/keyboards/malevolti/superlyra/rev1/info.json
index c45b496c54..1c0e9c72bc 100644
--- a/keyboards/malevolti/superlyra/rev1/info.json
+++ b/keyboards/malevolti/superlyra/rev1/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x4C53", 8 "pid": "0x4C53",
9 "device_version": "30.3.1" 9 "device_version": "30.3.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1"],
13 "rows": ["B7", "B3", "B2", "B1", "B0"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "caterina", 17 "bootloader": "caterina",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/manta60/config.h b/keyboards/manta60/config.h
index 8c8e3f4ccb..9051dd7f4e 100644
--- a/keyboards/manta60/config.h
+++ b/keyboards/manta60/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { D4, C6, D7, E6 ,B4}
32#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2 }
33
34/* COL2ROW, ROW2COL */
35#define DIODE_DIRECTION COL2ROW
36
37#define SELECT_SOFT_SERIAL_SPEED 1 20#define SELECT_SOFT_SERIAL_SPEED 1
38 21
39#define RGB_DI_PIN D3 22#define RGB_DI_PIN D3
diff --git a/keyboards/manta60/info.json b/keyboards/manta60/info.json
index e81c4e4580..15594fe13c 100644
--- a/keyboards/manta60/info.json
+++ b/keyboards/manta60/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x991D", 8 "pid": "0x991D",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2"],
13 "rows": ["D4", "C6", "D7", "E6", "B4"]
14 },
15 "diode_direction": "COL2ROW",
11 "split": { 16 "split": {
12 "soft_serial_pin": "D2" 17 "soft_serial_pin": "D2"
13 }, 18 },
diff --git a/keyboards/manyboard/macro/config.h b/keyboards/manyboard/macro/config.h
index 1839a1091d..dab95cea0e 100644
--- a/keyboards/manyboard/macro/config.h
+++ b/keyboards/manyboard/macro/config.h
@@ -17,13 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20/* key matrix pins */
21#define MATRIX_ROW_PINS { D0, D1, D2, D3 }
22#define MATRIX_COL_PINS { D4, D5, D6, D7 }
23
24/* COL2ROW, ROW2COL */
25#define DIODE_DIRECTION ROW2COL
26
27/* RGB Pins */ 20/* RGB Pins */
28#define RGB_DI_PIN B6 21#define RGB_DI_PIN B6
29#define RGBLED_NUM 2 22#define RGBLED_NUM 2
diff --git a/keyboards/manyboard/macro/info.json b/keyboards/manyboard/macro/info.json
index cdf40f6801..6d82466ac8 100644
--- a/keyboards/manyboard/macro/info.json
+++ b/keyboards/manyboard/macro/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0015", 8 "pid": "0x0015",
9 "device_version": "1.0.3" 9 "device_version": "1.0.3"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D4", "D5", "D6", "D7"],
13 "rows": ["D0", "D1", "D2", "D3"]
14 },
15 "diode_direction": "ROW2COL",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "C6", "pin_b": "C7"} 18 {"pin_a": "C6", "pin_b": "C7"}
diff --git a/keyboards/maple_computing/6ball/config.h b/keyboards/maple_computing/6ball/config.h
index 4eaec15ad2..6f4decad61 100644
--- a/keyboards/maple_computing/6ball/config.h
+++ b/keyboards/maple_computing/6ball/config.h
@@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/* pin-out */
22#define MATRIX_ROW_PINS { F5 }
23#define MATRIX_COL_PINS { F4, D4, B5, B6, B2, F6 }
24
25/* ws2812 RGB LED */ 20/* ws2812 RGB LED */
26#define RGB_DI_PIN F7 21#define RGB_DI_PIN F7
27 22
@@ -37,7 +32,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
37#define RGBLIGHT_EFFECT_TWINKLE 32#define RGBLIGHT_EFFECT_TWINKLE
38#define RGBLED_NUM 6 // Number of LEDs 33#define RGBLED_NUM 6 // Number of LEDs
39 34
40/* COL2ROW or ROW2COL */
41#define DIODE_DIRECTION COL2ROW
42
43#define TAPPING_TERM 200 35#define TAPPING_TERM 200
diff --git a/keyboards/maple_computing/6ball/info.json b/keyboards/maple_computing/6ball/info.json
index 21df7d9dda..38f127cffc 100644
--- a/keyboards/maple_computing/6ball/info.json
+++ b/keyboards/maple_computing/6ball/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0007", 8 "pid": "0x0007",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F4", "D4", "B5", "B6", "B2", "F6"],
13 "rows": ["F5"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "caterina", 17 "bootloader": "caterina",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/maple_computing/c39/config.h b/keyboards/maple_computing/c39/config.h
deleted file mode 100755
index 1b11bc5ce9..0000000000
--- a/keyboards/maple_computing/c39/config.h
+++ /dev/null
@@ -1,41 +0,0 @@
1/*
2Copyright 2012 Jun Wako <wakojun@gmail.com>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20
21#define MATRIX_ROW_PINS { D1, B4, B5 }
22#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6, D7, E6, C6, D2, D3 }
23
24/* COL2ROW or ROW2COL */
25#define DIODE_DIRECTION COL2ROW
26
27/*
28 * Feature disable options
29 * These options are also useful to firmware size reduction.
30 */
31
32/* disable debug print */
33//#define NO_DEBUG
34
35/* disable print */
36//#define NO_PRINT
37
38/* disable action features */
39//#define NO_ACTION_LAYER
40//#define NO_ACTION_TAPPING
41//#define NO_ACTION_ONESHOT
diff --git a/keyboards/maple_computing/c39/info.json b/keyboards/maple_computing/c39/info.json
index 370f21ad09..7cb73383a7 100755
--- a/keyboards/maple_computing/c39/info.json
+++ b/keyboards/maple_computing/c39/info.json
@@ -8,6 +8,11 @@
8 "pid": "0xCA39", 8 "pid": "0xCA39",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6", "D7", "E6", "C6", "D2", "D3"],
13 "rows": ["D1", "B4", "B5"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "caterina", 17 "bootloader": "caterina",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/maple_computing/christmas_tree/config.h b/keyboards/maple_computing/christmas_tree/config.h
index 40c2ce1f48..5070f05156 100644
--- a/keyboards/maple_computing/christmas_tree/config.h
+++ b/keyboards/maple_computing/christmas_tree/config.h
@@ -17,14 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/* Planck PCB default pin-out */
22#define MATRIX_ROW_PINS { D3, F4, D0, F6, F5, D4 }
23#define MATRIX_COL_PINS { D1 }
24
25/* COL2ROW or ROW2COL */
26#define DIODE_DIRECTION COL2ROW
27
28/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
29#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
30/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/maple_computing/christmas_tree/info.json b/keyboards/maple_computing/christmas_tree/info.json
index d60dabe1df..3ef81f9fd3 100644
--- a/keyboards/maple_computing/christmas_tree/info.json
+++ b/keyboards/maple_computing/christmas_tree/info.json
@@ -7,6 +7,11 @@
7 "vid": "0xFEED", 7 "vid": "0xFEED",
8 "pid": "0x3070" 8 "pid": "0x3070"
9 }, 9 },
10 "matrix_pins": {
11 "cols": ["D1"],
12 "rows": ["D3", "F4", "D0", "F6", "F5", "D4"]
13 },
14 "diode_direction": "COL2ROW",
10 "backlight": { 15 "backlight": {
11 "pin": "D2" 16 "pin": "D2"
12 }, 17 },
diff --git a/keyboards/maple_computing/ivy/rev1/config.h b/keyboards/maple_computing/ivy/rev1/config.h
deleted file mode 100644
index 902f807051..0000000000
--- a/keyboards/maple_computing/ivy/rev1/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
1/*
2Copyright 2012 Jun Wako <wakojun@gmail.com>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20/* Let's Macro V2 pin-out */
21#define MATRIX_ROW_PINS { F1, B2, D3 }
22#define MATRIX_COL_PINS { F5, B3, D5 }
23
24#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/maple_computing/ivy/rev1/info.json b/keyboards/maple_computing/ivy/rev1/info.json
index 19109ca73f..e9cf604e19 100644
--- a/keyboards/maple_computing/ivy/rev1/info.json
+++ b/keyboards/maple_computing/ivy/rev1/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6012", 8 "pid": "0x6012",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F5", "B3", "D5"],
13 "rows": ["F1", "B2", "D3"]
14 },
15 "diode_direction": "COL2ROW",
11 "backlight": { 16 "backlight": {
12 "pin": "D2" 17 "pin": "D2"
13 }, 18 },
diff --git a/keyboards/maple_computing/jnao/config.h b/keyboards/maple_computing/jnao/config.h
index 24942e7a51..c2949ab3a7 100644
--- a/keyboards/maple_computing/jnao/config.h
+++ b/keyboards/maple_computing/jnao/config.h
@@ -17,13 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21#define MATRIX_ROW_PINS { E6, F0, F5, F6, F7 }
22#define MATRIX_COL_PINS { F1, F4, B1, B2, B3, B7, D1, D2, D4, D6, D7, B4 }
23
24/* COL2ROW or ROW2COL */
25#define DIODE_DIRECTION COL2ROW
26
27/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
28#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
29/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/maple_computing/jnao/info.json b/keyboards/maple_computing/jnao/info.json
index afa5a8674e..cfc198c02e 100644
--- a/keyboards/maple_computing/jnao/info.json
+++ b/keyboards/maple_computing/jnao/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6017", 8 "pid": "0x6017",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F1", "F4", "B1", "B2", "B3", "B7", "D1", "D2", "D4", "D6", "D7", "B4"],
13 "rows": ["E6", "F0", "F5", "F6", "F7"]
14 },
15 "diode_direction": "COL2ROW",
11 "backlight": { 16 "backlight": {
12 "pin": "D0" 17 "pin": "D0"
13 }, 18 },
diff --git a/keyboards/maple_computing/launchpad/rev1/config.h b/keyboards/maple_computing/launchpad/rev1/config.h
index cd0ea962c2..aecb3f02bd 100644
--- a/keyboards/maple_computing/launchpad/rev1/config.h
+++ b/keyboards/maple_computing/launchpad/rev1/config.h
@@ -17,14 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20#include "../config.h"
21
22/* Let's Macro V2 pin-out */
23#define MATRIX_ROW_PINS { C6, B1, B3, D7 }
24#define MATRIX_COL_PINS { D2, F7 }
25
26#define DIODE_DIRECTION COL2ROW
27
28#define RGBLED_NUM 10 20#define RGBLED_NUM 10
29#define RGB_DI_PIN F6 21#define RGB_DI_PIN F6
30#define RGBLIGHT_EFFECT_BREATHING 22#define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/maple_computing/launchpad/rev1/info.json b/keyboards/maple_computing/launchpad/rev1/info.json
index 8ae1835b69..49f4c16bc9 100644
--- a/keyboards/maple_computing/launchpad/rev1/info.json
+++ b/keyboards/maple_computing/launchpad/rev1/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6007", 8 "pid": "0x6007",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D2", "F7"],
13 "rows": ["C6", "B1", "B3", "D7"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "caterina", 17 "bootloader": "caterina",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/maple_computing/lets_split_eh/eh/config.h b/keyboards/maple_computing/lets_split_eh/eh/config.h
index 55d2428db0..0a12b77265 100644
--- a/keyboards/maple_computing/lets_split_eh/eh/config.h
+++ b/keyboards/maple_computing/lets_split_eh/eh/config.h
@@ -18,13 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
18 18
19#pragma once 19#pragma once
20 20
21
22/* Let's Split EH? pin-out */
23#define MATRIX_ROW_PINS { B1, B3, D7, B4 }
24#define MATRIX_COL_PINS { F4, F5, C6, B6, B5, D5 }
25
26#define DIODE_DIRECTION COL2ROW
27
28/* ws2812 RGB LED */ 21/* ws2812 RGB LED */
29#define RGB_DI_PIN B2 22#define RGB_DI_PIN B2
30#define RGBLED_NUM 12 // Number of LEDs (each hand) 23#define RGBLED_NUM 12 // Number of LEDs (each hand)
diff --git a/keyboards/maple_computing/lets_split_eh/eh/info.json b/keyboards/maple_computing/lets_split_eh/eh/info.json
index 4574b10b64..4d2ee20c0b 100644
--- a/keyboards/maple_computing/lets_split_eh/eh/info.json
+++ b/keyboards/maple_computing/lets_split_eh/eh/info.json
@@ -8,6 +8,11 @@
8 "pid": "0xE401", 8 "pid": "0xE401",
9 "device_version": "1.0.0" 9 "device_version": "1.0.0"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F4", "F5", "C6", "B6", "B5", "D5"],
13 "rows": ["B1", "B3", "D7", "B4"]
14 },
15 "diode_direction": "COL2ROW",
11 "backlight": { 16 "backlight": {
12 "pin": "B7" 17 "pin": "B7"
13 }, 18 },
diff --git a/keyboards/maple_computing/minidox/config.h b/keyboards/maple_computing/minidox/config.h
index cc2f0c8379..c59b7d33b1 100644
--- a/keyboards/maple_computing/minidox/config.h
+++ b/keyboards/maple_computing/minidox/config.h
@@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/* COL2ROW or ROW2COL */
22#define DIODE_DIRECTION COL2ROW
23
24/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
25#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
26/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/maple_computing/minidox/rev1/config.h b/keyboards/maple_computing/minidox/rev1/config.h
deleted file mode 100644
index 26979e4edc..0000000000
--- a/keyboards/maple_computing/minidox/rev1/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
1/*
2Copyright 2012 Jun Wako <wakojun@gmail.com>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20// wiring of each half
21#define MATRIX_ROW_PINS { B2, B6, B4, B5 }
22#define MATRIX_COL_PINS { F4, D3, D2, D1, D4 }
23
24//#define EE_HANDS
diff --git a/keyboards/maple_computing/minidox/rev1/info.json b/keyboards/maple_computing/minidox/rev1/info.json
index 83794bb116..9d1e2b806f 100644
--- a/keyboards/maple_computing/minidox/rev1/info.json
+++ b/keyboards/maple_computing/minidox/rev1/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x3060", 8 "pid": "0x3060",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F4", "D3", "D2", "D1", "D4"],
13 "rows": ["B2", "B6", "B4", "B5"]
14 },
15 "diode_direction": "COL2ROW",
11 "split": { 16 "split": {
12 "soft_serial_pin": "D0" 17 "soft_serial_pin": "D0"
13 }, 18 },
diff --git a/keyboards/maple_computing/the_ruler/config.h b/keyboards/maple_computing/the_ruler/config.h
index 53e7bfe55f..d6c805d7c5 100644
--- a/keyboards/maple_computing/the_ruler/config.h
+++ b/keyboards/maple_computing/the_ruler/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30*/
31#define MATRIX_ROW_PINS { C7 }
32#define MATRIX_COL_PINS { D6, D7, B4, B5, B6, C6}
33
34/* COL2ROW or ROW2COL */
35#define DIODE_DIRECTION COL2ROW
36
37/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
38#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
39/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/maple_computing/the_ruler/info.json b/keyboards/maple_computing/the_ruler/info.json
index 69347412ce..fd4de0bcbf 100644
--- a/keyboards/maple_computing/the_ruler/info.json
+++ b/keyboards/maple_computing/the_ruler/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6007", 8 "pid": "0x6007",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D6", "D7", "B4", "B5", "B6", "C6"],
13 "rows": ["C7"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/marksard/leftover30/config.h b/keyboards/marksard/leftover30/config.h
index bf7aa7f198..9a15aa3826 100644
--- a/keyboards/marksard/leftover30/config.h
+++ b/keyboards/marksard/leftover30/config.h
@@ -17,22 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20/*
21 * Keyboard Matrix Assignments
22 *
23 * Change this to how you wired your keyboard
24 * COLS: AVR pins used for columns, left to right
25 * ROWS: AVR pins used for rows, top to bottom
26 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
27 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
28 *
29 */
30#define MATRIX_ROW_PINS { B6, B2, F7, F6, B3, B1, D4, D0 }
31#define MATRIX_COL_PINS { B5, B4, E6, D7, C6 }
32
33/* COL2ROW, ROW2COL*/
34#define DIODE_DIRECTION COL2ROW
35
36#define RGB_DI_PIN D3 20#define RGB_DI_PIN D3
37#ifdef RGB_DI_PIN 21#ifdef RGB_DI_PIN
38 #define RGBLED_NUM 6 22 #define RGBLED_NUM 6
diff --git a/keyboards/marksard/leftover30/info.json b/keyboards/marksard/leftover30/info.json
index 39de1d6bda..7aca7e75df 100644
--- a/keyboards/marksard/leftover30/info.json
+++ b/keyboards/marksard/leftover30/info.json
@@ -8,6 +8,11 @@
8 "pid": "0xDFA8", 8 "pid": "0xDFA8",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B5", "B4", "E6", "D7", "C6"],
13 "rows": ["B6", "B2", "F7", "F6", "B3", "B1", "D4", "D0"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "F4", "pin_b": "F5"} 18 {"pin_a": "F4", "pin_b": "F5"}
diff --git a/keyboards/marksard/rhymestone/rev1/config.h b/keyboards/marksard/rhymestone/rev1/config.h
index 9cc003be13..b832cd5ce3 100644
--- a/keyboards/marksard/rhymestone/rev1/config.h
+++ b/keyboards/marksard/rhymestone/rev1/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { F4, F5, F6, F7 }
32#define MATRIX_COL_PINS { D4, C6, D7, E6, B4 }
33
34/* COL2ROW, ROW2COL*/
35#define DIODE_DIRECTION COL2ROW
36
37#define RGB_DI_PIN D3 20#define RGB_DI_PIN D3
38 21
39#ifdef RGBLIGHT_ENABLE 22#ifdef RGBLIGHT_ENABLE
diff --git a/keyboards/marksard/rhymestone/rev1/info.json b/keyboards/marksard/rhymestone/rev1/info.json
index 6d68519512..376101c642 100644
--- a/keyboards/marksard/rhymestone/rev1/info.json
+++ b/keyboards/marksard/rhymestone/rev1/info.json
@@ -8,6 +8,11 @@
8 "pid": "0xDFA1", 8 "pid": "0xDFA1",
9 "device_version": "0.2.0" 9 "device_version": "0.2.0"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D4", "C6", "D7", "E6", "B4"],
13 "rows": ["F4", "F5", "F6", "F7"]
14 },
15 "diode_direction": "COL2ROW",
11 "split": { 16 "split": {
12 "soft_serial_pin": "D2" 17 "soft_serial_pin": "D2"
13 }, 18 },
diff --git a/keyboards/marksard/treadstone32/lite/config.h b/keyboards/marksard/treadstone32/lite/config.h
index a460abd0ef..1da59006d4 100644
--- a/keyboards/marksard/treadstone32/lite/config.h
+++ b/keyboards/marksard/treadstone32/lite/config.h
@@ -17,22 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30*/
31#define MATRIX_ROW_PINS { B6, B2, F7, F6, B3, B1, F4, F5 }
32#define MATRIX_COL_PINS { B5, B4, E6, D7, C6 }
33
34/* COL2ROW, ROW2COL, or CUSTOM_MATRIX */
35#define DIODE_DIRECTION COL2ROW
36#define RGB_DI_PIN D3 20#define RGB_DI_PIN D3
37#ifdef RGB_DI_PIN 21#ifdef RGB_DI_PIN
38 #define RGBLED_NUM 6 22 #define RGBLED_NUM 6
diff --git a/keyboards/marksard/treadstone32/lite/info.json b/keyboards/marksard/treadstone32/lite/info.json
index 040083b968..a66783b8c9 100644
--- a/keyboards/marksard/treadstone32/lite/info.json
+++ b/keyboards/marksard/treadstone32/lite/info.json
@@ -3,6 +3,11 @@
3 "usb": { 3 "usb": {
4 "device_version": "0.1.5" 4 "device_version": "0.1.5"
5 }, 5 },
6 "matrix_pins": {
7 "cols": ["B5", "B4", "E6", "D7", "C6"],
8 "rows": ["B6", "B2", "F7", "F6", "B3", "B1", "F4", "F5"]
9 },
10 "diode_direction": "COL2ROW",
6 "processor": "atmega32u4", 11 "processor": "atmega32u4",
7 "bootloader": "caterina" 12 "bootloader": "caterina"
8} 13}
diff --git a/keyboards/marksard/treadstone32/rev1/config.h b/keyboards/marksard/treadstone32/rev1/config.h
index db39ee477c..573427ff75 100644
--- a/keyboards/marksard/treadstone32/rev1/config.h
+++ b/keyboards/marksard/treadstone32/rev1/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30*/
31#define MATRIX_ROW_PINS { F1, F0, E6, B2, B4, D7, D6, D4 }
32#define MATRIX_COL_PINS { F4, F5, F6, F7, C7 }
33
34/* COL2ROW, ROW2COL */
35#define DIODE_DIRECTION COL2ROW
36
37#define RGB_DI_PIN D3 20#define RGB_DI_PIN D3
38#ifdef RGB_DI_PIN 21#ifdef RGB_DI_PIN
39 #define RGBLED_NUM 6 22 #define RGBLED_NUM 6
diff --git a/keyboards/marksard/treadstone32/rev1/info.json b/keyboards/marksard/treadstone32/rev1/info.json
index 51b46b22d2..f7b19c63fa 100644
--- a/keyboards/marksard/treadstone32/rev1/info.json
+++ b/keyboards/marksard/treadstone32/rev1/info.json
@@ -3,6 +3,11 @@
3 "usb": { 3 "usb": {
4 "device_version": "0.1.0" 4 "device_version": "0.1.0"
5 }, 5 },
6 "matrix_pins": {
7 "cols": ["F4", "F5", "F6", "F7", "C7"],
8 "rows": ["F1", "F0", "E6", "B2", "B4", "D7", "D6", "D4"]
9 },
10 "diode_direction": "COL2ROW",
6 "processor": "atmega32u4", 11 "processor": "atmega32u4",
7 "bootloader": "atmel-dfu" 12 "bootloader": "atmel-dfu"
8} 13}
diff --git a/keyboards/marksard/treadstone48/rev1/config.h b/keyboards/marksard/treadstone48/rev1/config.h
index 505548a75d..a9fd1ad829 100644
--- a/keyboards/marksard/treadstone48/rev1/config.h
+++ b/keyboards/marksard/treadstone48/rev1/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { F4, F5, F6, F7, B1, B3, B2, B6 }
32#define MATRIX_COL_PINS { D4, C6, D7, E6, B4, B5 }
33
34/* COL2ROW, ROW2COL*/
35#define DIODE_DIRECTION COL2ROW
36
37#define RGB_DI_PIN D3 20#define RGB_DI_PIN D3
38#ifdef RGB_DI_PIN 21#ifdef RGB_DI_PIN
39 #ifndef RS_EXTRA_LED 22 #ifndef RS_EXTRA_LED
diff --git a/keyboards/marksard/treadstone48/rev1/info.json b/keyboards/marksard/treadstone48/rev1/info.json
index 2c589cac51..7d36463643 100644
--- a/keyboards/marksard/treadstone48/rev1/info.json
+++ b/keyboards/marksard/treadstone48/rev1/info.json
@@ -8,6 +8,11 @@
8 "pid": "0xDFA3", 8 "pid": "0xDFA3",
9 "device_version": "0.1.0" 9 "device_version": "0.1.0"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D4", "C6", "D7", "E6", "B4", "B5"],
13 "rows": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"]
14 },
15 "diode_direction": "COL2ROW",
11 "split": { 16 "split": {
12 "soft_serial_pin": "D2" 17 "soft_serial_pin": "D2"
13 }, 18 },
diff --git a/keyboards/marksard/treadstone48/rev2/config.h b/keyboards/marksard/treadstone48/rev2/config.h
index 02b08d3bf1..87136e222f 100644
--- a/keyboards/marksard/treadstone48/rev2/config.h
+++ b/keyboards/marksard/treadstone48/rev2/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { F4, F5, F6, F7, B1, B3, B2, B6 }
32#define MATRIX_COL_PINS { D4, C6, D7, E6, B4, B5 }
33
34/* COL2ROW, ROW2COL*/
35#define DIODE_DIRECTION COL2ROW
36
37#define RGB_DI_PIN D3 20#define RGB_DI_PIN D3
38#ifdef RGB_DI_PIN 21#ifdef RGB_DI_PIN
39 #define RGBLED_NUM 12 22 #define RGBLED_NUM 12
diff --git a/keyboards/marksard/treadstone48/rev2/info.json b/keyboards/marksard/treadstone48/rev2/info.json
index 34f44f1aba..403cd17ebe 100644
--- a/keyboards/marksard/treadstone48/rev2/info.json
+++ b/keyboards/marksard/treadstone48/rev2/info.json
@@ -8,6 +8,11 @@
8 "pid": "0xDFA3", 8 "pid": "0xDFA3",
9 "device_version": "0.2.0" 9 "device_version": "0.2.0"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D4", "C6", "D7", "E6", "B4", "B5"],
13 "rows": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "caterina", 17 "bootloader": "caterina",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/massdrop/alt/config.h b/keyboards/massdrop/alt/config.h
index fe2db0a478..33991d4c8f 100644
--- a/keyboards/massdrop/alt/config.h
+++ b/keyboards/massdrop/alt/config.h
@@ -21,12 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
21/* USB Device descriptor parameter */ 21/* USB Device descriptor parameter */
22#define SERIAL_NUM "Unavailable" 22#define SERIAL_NUM "Unavailable"
23 23
24#define MATRIX_ROW_PINS { A00, A01, A02, A03, A04 }
25#define MATRIX_COL_PINS { B04, B05, B06, B07, B08, B09, B10, B11, B12, B13, A05, A06, A07, A10, A11 }
26
27/* COL2ROW, ROW2COL */
28#define DIODE_DIRECTION COL2ROW
29
30/* Temporary solution for matrix delay */ 24/* Temporary solution for matrix delay */
31#define IGNORE_ATOMIC_BLOCK 25#define IGNORE_ATOMIC_BLOCK
32 26
diff --git a/keyboards/massdrop/alt/info.json b/keyboards/massdrop/alt/info.json
index 128a990b46..8306bcdab3 100644
--- a/keyboards/massdrop/alt/info.json
+++ b/keyboards/massdrop/alt/info.json
@@ -8,6 +8,11 @@
8 "pid": "0xEED3", 8 "pid": "0xEED3",
9 "device_version": "1.0.1" 9 "device_version": "1.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B04", "B05", "B06", "B07", "B08", "B09", "B10", "B11", "B12", "B13", "A05", "A06", "A07", "A10", "A11"],
13 "rows": ["A00", "A01", "A02", "A03", "A04"]
14 },
15 "diode_direction": "COL2ROW",
11 "community_layouts": ["65_ansi_blocker"], 16 "community_layouts": ["65_ansi_blocker"],
12 "layouts": { 17 "layouts": {
13 "LAYOUT_65_ansi_blocker": { 18 "LAYOUT_65_ansi_blocker": {
diff --git a/keyboards/massdrop/ctrl/config.h b/keyboards/massdrop/ctrl/config.h
index aadc0a915b..33991d4c8f 100644
--- a/keyboards/massdrop/ctrl/config.h
+++ b/keyboards/massdrop/ctrl/config.h
@@ -21,12 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
21/* USB Device descriptor parameter */ 21/* USB Device descriptor parameter */
22#define SERIAL_NUM "Unavailable" 22#define SERIAL_NUM "Unavailable"
23 23
24#define MATRIX_ROW_PINS { B04, B05, B06, B07, B08, B09, A10, A11, B10, B11, B12 }
25#define MATRIX_COL_PINS { A00, A01, A02, A03, A04, A05, A06, A07 }
26
27/* COL2ROW, ROW2COL */
28#define DIODE_DIRECTION COL2ROW
29
30/* Temporary solution for matrix delay */ 24/* Temporary solution for matrix delay */
31#define IGNORE_ATOMIC_BLOCK 25#define IGNORE_ATOMIC_BLOCK
32 26
diff --git a/keyboards/massdrop/ctrl/info.json b/keyboards/massdrop/ctrl/info.json
index 34c60ca088..1e21627f28 100644
--- a/keyboards/massdrop/ctrl/info.json
+++ b/keyboards/massdrop/ctrl/info.json
@@ -8,6 +8,11 @@
8 "pid": "0xEED2", 8 "pid": "0xEED2",
9 "device_version": "1.0.1" 9 "device_version": "1.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["A00", "A01", "A02", "A03", "A04", "A05", "A06", "A07"],
13 "rows": ["B04", "B05", "B06", "B07", "B08", "B09", "A10", "A11", "B10", "B11", "B12"]
14 },
15 "diode_direction": "COL2ROW",
11 "layouts": { 16 "layouts": {
12 "LAYOUT": { 17 "LAYOUT": {
13 "layout": [ 18 "layout": [
diff --git a/keyboards/massdrop/thekey/config.h b/keyboards/massdrop/thekey/config.h
index 0869e77a7a..d5aefdcdd3 100644
--- a/keyboards/massdrop/thekey/config.h
+++ b/keyboards/massdrop/thekey/config.h
@@ -16,15 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19
20/*
21 * Keyboard Matrix Assignments
22 */
23#define MATRIX_ROW_PINS { D4 }
24#define MATRIX_COL_PINS { D2, D1, D0 }
25
26#define DIODE_DIRECTION ROW2COL
27
28#define RGB_DI_PIN B1 19#define RGB_DI_PIN B1
29#define RGBLED_NUM 2 20#define RGBLED_NUM 2
30#define RGBLIGHT_HUE_STEP 8 21#define RGBLIGHT_HUE_STEP 8
diff --git a/keyboards/massdrop/thekey/info.json b/keyboards/massdrop/thekey/info.json
index 56fe74729c..71fac9f31b 100644
--- a/keyboards/massdrop/thekey/info.json
+++ b/keyboards/massdrop/thekey/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0000", 8 "pid": "0x0000",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D2", "D1", "D0"],
13 "rows": ["D4"]
14 },
15 "diode_direction": "ROW2COL",
11 "backlight": { 16 "backlight": {
12 "pin": "B6" 17 "pin": "B6"
13 }, 18 },
diff --git a/keyboards/massdrop/thekey_v2/config.h b/keyboards/massdrop/thekey_v2/config.h
index 3f7dc30ac1..d26d586264 100644
--- a/keyboards/massdrop/thekey_v2/config.h
+++ b/keyboards/massdrop/thekey_v2/config.h
@@ -16,15 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19
20/*
21 * Keyboard Matrix Assignments
22 */
23#define MATRIX_ROW_PINS { D4 }
24#define MATRIX_COL_PINS { D2, D1, D0 }
25
26#define DIODE_DIRECTION ROW2COL
27
28#define RGB_DI_PIN B1 19#define RGB_DI_PIN B1
29#define RGBLED_NUM 5 20#define RGBLED_NUM 5
30#define RGBLIGHT_LED_MAP {4, 0, 1, 2, 3} 21#define RGBLIGHT_LED_MAP {4, 0, 1, 2, 3}
diff --git a/keyboards/massdrop/thekey_v2/info.json b/keyboards/massdrop/thekey_v2/info.json
index 19ae416b6e..01604e6f2e 100644
--- a/keyboards/massdrop/thekey_v2/info.json
+++ b/keyboards/massdrop/thekey_v2/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0000", 8 "pid": "0x0000",
9 "device_version": "0.0.2" 9 "device_version": "0.0.2"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D2", "D1", "D0"],
13 "rows": ["D4"]
14 },
15 "diode_direction": "ROW2COL",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/masterworks/classy_tkl/rev_a/config.h b/keyboards/masterworks/classy_tkl/rev_a/config.h
index e8920b5b85..5f1fd650f1 100644
--- a/keyboards/masterworks/classy_tkl/rev_a/config.h
+++ b/keyboards/masterworks/classy_tkl/rev_a/config.h
@@ -17,25 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS \
32 { C7, F0, F1, F4, F5, F6 }
33#define MATRIX_COL_PINS \
34 { B4, D7, D6, D4, C6, D5, D3, D2, D1, D0, B7, B3, B2, B1, B0, E6, F7 }
35
36/* COL2ROW, ROW2COL*/
37#define DIODE_DIRECTION COL2ROW
38
39/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
40#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
41/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/masterworks/classy_tkl/rev_a/info.json b/keyboards/masterworks/classy_tkl/rev_a/info.json
index 89f227fbf7..ecbdd0f0ba 100644
--- a/keyboards/masterworks/classy_tkl/rev_a/info.json
+++ b/keyboards/masterworks/classy_tkl/rev_a/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0001", 8 "pid": "0x0001",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B4", "D7", "D6", "D4", "C6", "D5", "D3", "D2", "D1", "D0", "B7", "B3", "B2", "B1", "B0", "E6", "F7"],
13 "rows": ["C7", "F0", "F1", "F4", "F5", "F6"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/matchstickworks/southpad/config.h b/keyboards/matchstickworks/southpad/config.h
deleted file mode 100644
index 93f155fa3e..0000000000
--- a/keyboards/matchstickworks/southpad/config.h
+++ /dev/null
@@ -1,51 +0,0 @@
1/*
2Copyright 2021 Logan Butler
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30*/
31#define MATRIX_ROW_PINS { B3, B5, B6, B7, C7, C6 }
32#define MATRIX_COL_PINS { B0, B1, B2, B4 }
33
34/* COL2ROW, ROW2COL */
35#define DIODE_DIRECTION COL2ROW
36
37/*
38 * Feature disable options
39 * These options are also useful to firmware size reduction.
40 */
41
42/* disable debug print */
43//#define NO_DEBUG
44
45/* disable print */
46//#define NO_PRINT
47
48/* disable action features */
49//#define NO_ACTION_LAYER
50//#define NO_ACTION_TAPPING
51//#define NO_ACTION_ONESHOT
diff --git a/keyboards/matchstickworks/southpad/info.json b/keyboards/matchstickworks/southpad/info.json
index 3c88dc453c..6715c441a0 100644
--- a/keyboards/matchstickworks/southpad/info.json
+++ b/keyboards/matchstickworks/southpad/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6060", 8 "pid": "0x6060",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B0", "B1", "B2", "B4"],
13 "rows": ["B3", "B5", "B6", "B7", "C7", "C6"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u2", 16 "processor": "atmega32u2",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/matrix/cain_re/config.h b/keyboards/matrix/cain_re/config.h
index ff49f9aac5..77077bad34 100644
--- a/keyboards/matrix/cain_re/config.h
+++ b/keyboards/matrix/cain_re/config.h
@@ -19,14 +19,6 @@
19 19
20#pragma once 20#pragma once
21 21
22
23/* key matrix pins */
24#define MATRIX_ROW_PINS { F0, C7, C6, D5, D2, D4, D7, B7, D1 }
25#define MATRIX_COL_PINS { F1, F4, F5, F6, B5, B6, B3, B2, B1, D0, B4, D6}
26
27/* COL2ROW or ROW2COL */
28#define DIODE_DIRECTION COL2ROW
29
30#define RGB_DI_PIN E6 22#define RGB_DI_PIN E6
31 23
32#ifdef RGB_DI_PIN 24#ifdef RGB_DI_PIN
diff --git a/keyboards/matrix/cain_re/info.json b/keyboards/matrix/cain_re/info.json
index 84b8dc38eb..b5020cb3db 100644
--- a/keyboards/matrix/cain_re/info.json
+++ b/keyboards/matrix/cain_re/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0106", 8 "pid": "0x0106",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F1", "F4", "F5", "F6", "B5", "B6", "B3", "B2", "B1", "D0", "B4", "D6"],
13 "rows": ["F0", "C7", "C6", "D5", "D2", "D4", "D7", "B7", "D1"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/matrix/falcon/config.h b/keyboards/matrix/falcon/config.h
index ea2e015af4..21177855ec 100644
--- a/keyboards/matrix/falcon/config.h
+++ b/keyboards/matrix/falcon/config.h
@@ -15,12 +15,6 @@
15 */ 15 */
16#pragma once 16#pragma once
17 17
18
19#define MATRIX_ROW_PINS { F1, B7, F7, F5, F4}
20#define MATRIX_COL_PINS { F6, B3, B2, B1, B0, C7, C6, B6, B5, B4, D7, D6, D4}
21
22#define DIODE_DIRECTION ROW2COL
23
24/* 18/*
25 * Feature disable options 19 * Feature disable options
26 * These options are also useful to firmware size reduction. 20 * These options are also useful to firmware size reduction.
diff --git a/keyboards/matrix/falcon/info.json b/keyboards/matrix/falcon/info.json
index e52ffa1c74..c692e1c4ee 100644
--- a/keyboards/matrix/falcon/info.json
+++ b/keyboards/matrix/falcon/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x474E", 8 "pid": "0x474E",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F6", "B3", "B2", "B1", "B0", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"],
13 "rows": ["F1", "B7", "F7", "F5", "F4"]
14 },
15 "diode_direction": "ROW2COL",
11 "indicators": { 16 "indicators": {
12 "caps_lock": "E2" 17 "caps_lock": "E2"
13 }, 18 },
diff --git a/keyboards/matrix/m12og/rev2/config.h b/keyboards/matrix/m12og/rev2/config.h
index 9df2a43d50..415ab3dbdd 100644
--- a/keyboards/matrix/m12og/rev2/config.h
+++ b/keyboards/matrix/m12og/rev2/config.h
@@ -4,14 +4,6 @@
4 4
5#pragma once 5#pragma once
6 6
7
8/* key matrix pins */
9#define MATRIX_ROW_PINS { E6, F0, B7, C7, D3, B0, D1 }
10#define MATRIX_COL_PINS { F1, F4, F5, F6, F7, B6, B5, B4, D7, D0, D2, D6, D4, D5 }
11
12/* COL2ROW or ROW2COL */
13#define DIODE_DIRECTION COL2ROW
14
15#define RGB_DI_PIN B3 7#define RGB_DI_PIN B3
16 8
17#ifdef RGB_DI_PIN 9#ifdef RGB_DI_PIN
diff --git a/keyboards/matrix/m12og/rev2/info.json b/keyboards/matrix/m12og/rev2/info.json
index af7e96d719..1036980434 100644
--- a/keyboards/matrix/m12og/rev2/info.json
+++ b/keyboards/matrix/m12og/rev2/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x8712", 8 "pid": "0x8712",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F1", "F4", "F5", "F6", "F7", "B6", "B5", "B4", "D7", "D0", "D2", "D6", "D4", "D5"],
13 "rows": ["E6", "F0", "B7", "C7", "D3", "B0", "D1"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/matrix/me/config.h b/keyboards/matrix/me/config.h
index 69b54b5bd0..487bdb7dea 100644
--- a/keyboards/matrix/me/config.h
+++ b/keyboards/matrix/me/config.h
@@ -15,11 +15,6 @@
15 */ 15 */
16#pragma once 16#pragma once
17 17
18
19#define MATRIX_ROW_PINS {D3, D5, D4, D6, B5, B4}
20#define MATRIX_COL_PINS {B7, B3, B2, B1, B0, F0, F1, F4, F5, F6, F7, C7, C6, B6, D7}
21#define DIODE_DIRECTION COL2ROW
22
23/* 18/*
24 * Feature disable options 19 * Feature disable options
25 * These options are also useful to firmware size reduction. 20 * These options are also useful to firmware size reduction.
diff --git a/keyboards/matrix/me/info.json b/keyboards/matrix/me/info.json
index cfe0ad22d4..ecf1640811 100644
--- a/keyboards/matrix/me/info.json
+++ b/keyboards/matrix/me/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x454D", 8 "pid": "0x454D",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B7", "B3", "B2", "B1", "B0", "F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "D7"],
13 "rows": ["D3", "D5", "D4", "D6", "B5", "B4"]
14 },
15 "diode_direction": "COL2ROW",
11 "indicators": { 16 "indicators": {
12 "caps_lock": "E6", 17 "caps_lock": "E6",
13 "scroll_lock": "D2" 18 "scroll_lock": "D2"
diff --git a/keyboards/matrix/noah/config.h b/keyboards/matrix/noah/config.h
index a5688556f2..d5e609918f 100644
--- a/keyboards/matrix/noah/config.h
+++ b/keyboards/matrix/noah/config.h
@@ -11,11 +11,6 @@
11#define MATRIX_ROWS 5 11#define MATRIX_ROWS 5
12#define MATRIX_COLS 15 12#define MATRIX_COLS 15
13 13
14#define MATRIX_ROW_PINS { B0, A1, C14, C13, A0}
15#define MATRIX_COL_PINS { C15, B10, B7, B6, B5, B4, A15, A10, A9, A8, B15, B14, B13, B12, B2}
16
17#define DIODE_DIRECTION COL2ROW
18
19// i2c setting 14// i2c setting
20#define I2C1_SCL_PIN B8 15#define I2C1_SCL_PIN B8
21#define I2C1_SDA_PIN B9 16#define I2C1_SDA_PIN B9
diff --git a/keyboards/matthewdias/m3n3van/config.h b/keyboards/matthewdias/m3n3van/config.h
deleted file mode 100644
index 81acfef553..0000000000
--- a/keyboards/matthewdias/m3n3van/config.h
+++ /dev/null
@@ -1,42 +0,0 @@
1/*
2Copyright 2021 Matthew Dias <matthewdias@me.com>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20
21/* m3n3van PCB default pin-out */
22#define MATRIX_ROW_PINS { B5, B6, C6, C7 }
23#define MATRIX_COL_PINS { F4, F5, F6, F1, F7, F0, E6, D3, D0, D1, D2, D4, D6 }
24
25/* COL2ROW or ROW2COL */
26#define DIODE_DIRECTION COL2ROW
27
28/*
29 * Feature disable options
30 * These options are also useful to firmware size reduction.
31 */
32
33/* disable debug print */
34//#define NO_DEBUG
35
36/* disable print */
37//#define NO_PRINT
38
39/* disable action features */
40//#define NO_ACTION_LAYER
41//#define NO_ACTION_TAPPING
42//#define NO_ACTION_ONESHOT
diff --git a/keyboards/matthewdias/m3n3van/info.json b/keyboards/matthewdias/m3n3van/info.json
index ffe44159a0..5b7cafa2da 100644
--- a/keyboards/matthewdias/m3n3van/info.json
+++ b/keyboards/matthewdias/m3n3van/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x2323", 8 "pid": "0x2323",
9 "device_version": "0.0.2" 9 "device_version": "0.0.2"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F4", "F5", "F6", "F1", "F7", "F0", "E6", "D3", "D0", "D1", "D2", "D4", "D6"],
13 "rows": ["B5", "B6", "C6", "C7"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "B4", "pin_b": "D7"} 18 {"pin_a": "B4", "pin_b": "D7"}
diff --git a/keyboards/matthewdias/minim/config.h b/keyboards/matthewdias/minim/config.h
deleted file mode 100644
index b39f67e82a..0000000000
--- a/keyboards/matthewdias/minim/config.h
+++ /dev/null
@@ -1,42 +0,0 @@
1/*
2Copyright 2020 Matthew Dias <matthewdias@me.com>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20
21/* minim PCB default pin-out */
22#define MATRIX_ROW_PINS { D6, D7, B4, B5 }
23#define MATRIX_COL_PINS { F4, F5, F6, F1, F7, F0, B0, D1, B1, D2, B2, D3, D5, B3 }
24
25/* COL2ROW or ROW2COL */
26#define DIODE_DIRECTION COL2ROW
27
28/*
29 * Feature disable options
30 * These options are also useful to firmware size reduction.
31 */
32
33/* disable debug print */
34//#define NO_DEBUG
35
36/* disable print */
37//#define NO_PRINT
38
39/* disable action features */
40//#define NO_ACTION_LAYER
41//#define NO_ACTION_TAPPING
42//#define NO_ACTION_ONESHOT
diff --git a/keyboards/matthewdias/minim/info.json b/keyboards/matthewdias/minim/info.json
index d6b12a0975..f0aa07e6e9 100644
--- a/keyboards/matthewdias/minim/info.json
+++ b/keyboards/matthewdias/minim/info.json
@@ -8,6 +8,11 @@
8 "pid": "0xAAAA", 8 "pid": "0xAAAA",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F4", "F5", "F6", "F1", "F7", "F0", "B0", "D1", "B1", "D2", "B2", "D3", "D5", "B3"],
13 "rows": ["D6", "D7", "B4", "B5"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/matthewdias/model_v/config.h b/keyboards/matthewdias/model_v/config.h
deleted file mode 100644
index 1821ec0b06..0000000000
--- a/keyboards/matthewdias/model_v/config.h
+++ /dev/null
@@ -1,42 +0,0 @@
1/*
2Copyright 2021 Matthew Dias <matthewdias@me.com>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20
21/* model-v PCB default pin-out */
22#define MATRIX_ROW_PINS { D3, D5, D6, D4 }
23#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, C7, C6, B6, B5, B4, D7 }
24
25/* COL2ROW or ROW2COL */
26#define DIODE_DIRECTION COL2ROW
27
28/*
29 * Feature disable options
30 * These options are also useful to firmware size reduction.
31 */
32
33/* disable debug print */
34//#define NO_DEBUG
35
36/* disable print */
37//#define NO_PRINT
38
39/* disable action features */
40//#define NO_ACTION_LAYER
41//#define NO_ACTION_TAPPING
42//#define NO_ACTION_ONESHOT
diff --git a/keyboards/matthewdias/model_v/info.json b/keyboards/matthewdias/model_v/info.json
index 7c9f24c892..eee9c69b3d 100644
--- a/keyboards/matthewdias/model_v/info.json
+++ b/keyboards/matthewdias/model_v/info.json
@@ -7,6 +7,11 @@
7 "pid": "0x6D76", 7 "pid": "0x6D76",
8 "device_version": "0.0.1" 8 "device_version": "0.0.1"
9 }, 9 },
10 "matrix_pins": {
11 "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7"],
12 "rows": ["D3", "D5", "D6", "D4"]
13 },
14 "diode_direction": "COL2ROW",
10 "processor": "atmega32u4", 15 "processor": "atmega32u4",
11 "bootloader": "atmel-dfu", 16 "bootloader": "atmel-dfu",
12 "layouts": { 17 "layouts": {
diff --git a/keyboards/matthewdias/txuu/config.h b/keyboards/matthewdias/txuu/config.h
deleted file mode 100644
index 88b02f4b55..0000000000
--- a/keyboards/matthewdias/txuu/config.h
+++ /dev/null
@@ -1,42 +0,0 @@
1/*
2Copyright 2021 Matthew Dias <matthewdias@me.com>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20
21/* m3n3van PCB default pin-out */
22#define MATRIX_ROW_PINS { B1, B0, F7, F4, F1 }
23#define MATRIX_COL_PINS { F0, F5, F6, D0, D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7 }
24
25/* COL2ROW or ROW2COL */
26#define DIODE_DIRECTION COL2ROW
27
28/*
29 * Feature disable options
30 * These options are also useful to firmware size reduction.
31 */
32
33/* disable debug print */
34//#define NO_DEBUG
35
36/* disable print */
37//#define NO_PRINT
38
39/* disable action features */
40//#define NO_ACTION_LAYER
41//#define NO_ACTION_TAPPING
42//#define NO_ACTION_ONESHOT
diff --git a/keyboards/matthewdias/txuu/info.json b/keyboards/matthewdias/txuu/info.json
index f71b1ed80b..c01871e836 100644
--- a/keyboards/matthewdias/txuu/info.json
+++ b/keyboards/matthewdias/txuu/info.json
@@ -7,6 +7,11 @@
7 "pid": "0x2809", 7 "pid": "0x2809",
8 "device_version": "0.0.1" 8 "device_version": "0.0.1"
9 }, 9 },
10 "matrix_pins": {
11 "cols": ["F0", "F5", "F6", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7"],
12 "rows": ["B1", "B0", "F7", "F4", "F1"]
13 },
14 "diode_direction": "COL2ROW",
10 "processor": "atmega32u4", 15 "processor": "atmega32u4",
11 "bootloader": "atmel-dfu", 16 "bootloader": "atmel-dfu",
12 "layout_aliases": { 17 "layout_aliases": {
diff --git a/keyboards/maxipad/promicro/config.h b/keyboards/maxipad/promicro/config.h
deleted file mode 100644
index fba2d442ea..0000000000
--- a/keyboards/maxipad/promicro/config.h
+++ /dev/null
@@ -1,33 +0,0 @@
1/* Copyright 2019
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18
19/*
20 * Keyboard Matrix Assignments
21 *
22 * Change this to how you wired your keyboard
23 * COLS: AVR pins used for columns, left to right
24 * ROWS: AVR pins used for rows, top to bottom
25 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
26 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
27 *
28*/
29#define MATRIX_ROW_PINS { B6, B2, B3, B1, F7 }
30#define MATRIX_COL_PINS { F4, C6, D7, F5, B4, B5 }
31
32/* COL2ROW, ROW2COL*/
33#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/maxipad/promicro/info.json b/keyboards/maxipad/promicro/info.json
index 4369a04103..1499162155 100644
--- a/keyboards/maxipad/promicro/info.json
+++ b/keyboards/maxipad/promicro/info.json
@@ -1,4 +1,9 @@
1{ 1{
2 "matrix_pins": {
3 "cols": ["F4", "C6", "D7", "F5", "B4", "B5"],
4 "rows": ["B6", "B2", "B3", "B1", "F7"]
5 },
6 "diode_direction": "COL2ROW",
2 "processor": "atmega32u4", 7 "processor": "atmega32u4",
3 "bootloader": "caterina" 8 "bootloader": "caterina"
4} 9}
diff --git a/keyboards/maxipad/teensy2/config.h b/keyboards/maxipad/teensy2/config.h
deleted file mode 100644
index a222115a0c..0000000000
--- a/keyboards/maxipad/teensy2/config.h
+++ /dev/null
@@ -1,33 +0,0 @@
1/* Copyright 2019
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18
19/*
20 * Keyboard Matrix Assignments
21 *
22 * Change this to how you wired your keyboard
23 * COLS: AVR pins used for columns, left to right
24 * ROWS: AVR pins used for rows, top to bottom
25 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
26 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
27 *
28*/
29#define MATRIX_ROW_PINS { B6, F7, B2, B3, B1 }
30#define MATRIX_COL_PINS { F6, C6, D7, F5, B4, B5 }
31
32/* COL2ROW, ROW2COL*/
33#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/maxipad/teensy2/info.json b/keyboards/maxipad/teensy2/info.json
index 0b2db81c11..d7f78b4175 100644
--- a/keyboards/maxipad/teensy2/info.json
+++ b/keyboards/maxipad/teensy2/info.json
@@ -1,4 +1,9 @@
1{ 1{
2 "matrix_pins": {
3 "cols": ["F6", "C6", "D7", "F5", "B4", "B5"],
4 "rows": ["B6", "F7", "B2", "B3", "B1"]
5 },
6 "diode_direction": "COL2ROW",
2 "processor": "atmega32u4", 7 "processor": "atmega32u4",
3 "bootloader": "halfkay" 8 "bootloader": "halfkay"
4} 9}
diff --git a/keyboards/maxr1998/pulse4k/config.h b/keyboards/maxr1998/pulse4k/config.h
index 3756899498..3bc544746e 100644
--- a/keyboards/maxr1998/pulse4k/config.h
+++ b/keyboards/maxr1998/pulse4k/config.h
@@ -17,14 +17,6 @@
17 17
18#pragma once 18#pragma once
19 19
20
21/* Matrix pins */
22#define MATRIX_ROW_PINS { B4, E6 }
23#define MATRIX_COL_PINS { B7, B3, F0 }
24
25/* COL2ROW or ROW2COL */
26#define DIODE_DIRECTION COL2ROW
27
28/* Combo setup */ 20/* Combo setup */
29#define COMBO_COUNT 1 21#define COMBO_COUNT 1
30#define COMBO_TERM 150 22#define COMBO_TERM 150
diff --git a/keyboards/maxr1998/pulse4k/info.json b/keyboards/maxr1998/pulse4k/info.json
index 93827a1a64..bfea52ad4d 100644
--- a/keyboards/maxr1998/pulse4k/info.json
+++ b/keyboards/maxr1998/pulse4k/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6060", 8 "pid": "0x6060",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B7", "B3", "F0"],
13 "rows": ["B4", "E6"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "D2", "pin_b": "D3"}, 18 {"pin_a": "D2", "pin_b": "D3"},
diff --git a/keyboards/mb44/config.h b/keyboards/mb44/config.h
deleted file mode 100644
index 365fed7340..0000000000
--- a/keyboards/mb44/config.h
+++ /dev/null
@@ -1,35 +0,0 @@
1/*
2Copyright 2021 melonbred
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { D1, D6, D5, D4 }
32#define MATRIX_COL_PINS { C4, C5, C6, C7, B7, B6, B5, B4, B3, B2, B1, B0 }
33
34/* COL2ROW, ROW2COL*/
35#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/mb44/info.json b/keyboards/mb44/info.json
index 865f05674f..e12e2dfc94 100644
--- a/keyboards/mb44/info.json
+++ b/keyboards/mb44/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6D62", 8 "pid": "0x6D62",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["C4", "C5", "C6", "C7", "B7", "B6", "B5", "B4", "B3", "B2", "B1", "B0"],
13 "rows": ["D1", "D6", "D5", "D4"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "D3", "pin_b": "D2"} 18 {"pin_a": "D3", "pin_b": "D2"}
diff --git a/keyboards/mc_76k/config.h b/keyboards/mc_76k/config.h
index 6b70bdd6b8..3616da4ede 100644
--- a/keyboards/mc_76k/config.h
+++ b/keyboards/mc_76k/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { C7, C6, B6, B0, D1, D0 }
32#define MATRIX_COL_PINS { D5, D3, D4, B1, D6, D7, B4, B5, F7, F6, F5, F4, F1, F0 }
33
34/* COL2ROW, ROW2COL*/
35#define DIODE_DIRECTION COL2ROW
36
37/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
38#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
39/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/mc_76k/info.json b/keyboards/mc_76k/info.json
index 791d798ff9..419ed2edf3 100644
--- a/keyboards/mc_76k/info.json
+++ b/keyboards/mc_76k/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x4D43", 8 "pid": "0x4D43",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D5", "D3", "D4", "B1", "D6", "D7", "B4", "B5", "F7", "F6", "F5", "F4", "F1", "F0"],
13 "rows": ["C7", "C6", "B6", "B0", "D1", "D0"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/mechanickeys/miniashen40/config.h b/keyboards/mechanickeys/miniashen40/config.h
deleted file mode 100644
index 012ca89fae..0000000000
--- a/keyboards/mechanickeys/miniashen40/config.h
+++ /dev/null
@@ -1,34 +0,0 @@
1/* Copyright 2021 jfescobar18
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15*/
16
17#pragma once
18
19
20/*
21 * Keyboard Matrix Assignments
22 *
23 * Change this to how you wired your keyboard
24 * COLS: AVR pins used for columns, left to right
25 * ROWS: AVR pins used for rows, top to bottom
26 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
27 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
28 *
29*/
30#define MATRIX_ROW_PINS { B1, B2, B3, B4 }
31#define MATRIX_COL_PINS { C5, C4, C3, D0, C2, D1, C1, C0, D4, B0, D7, D6, B5 }
32
33/* COL2ROW or ROW2COL */
34#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/mechanickeys/miniashen40/info.json b/keyboards/mechanickeys/miniashen40/info.json
index 30e2ecab36..73d6b3aa1a 100644
--- a/keyboards/mechanickeys/miniashen40/info.json
+++ b/keyboards/mechanickeys/miniashen40/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6D6E", 8 "pid": "0x6D6E",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["C5", "C4", "C3", "D0", "C2", "D1", "C1", "C0", "D4", "B0", "D7", "D6", "B5"],
13 "rows": ["B1", "B2", "B3", "B4"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega328p", 16 "processor": "atmega328p",
12 "bootloader": "usbasploader", 17 "bootloader": "usbasploader",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/mechanickeys/undead60m/config.h b/keyboards/mechanickeys/undead60m/config.h
index c86a3af0f1..9611e47e2b 100644
--- a/keyboards/mechanickeys/undead60m/config.h
+++ b/keyboards/mechanickeys/undead60m/config.h
@@ -16,23 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19
20/*
21 * Keyboard Matrix Assignments
22 *
23 * Change this to how you wired your keyboard
24 * COLS: AVR pins used for columns, left to right
25 * ROWS: AVR pins used for rows, top to bottom
26 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
27 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
28 *
29*/
30#define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
31#define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B0, B7, B5, B4, D7, D6, B3, B2 }
32
33/* COL2ROW or ROW2COL */
34#define DIODE_DIRECTION COL2ROW
35
36/* RGB Underglow */ 19/* RGB Underglow */
37#define RGB_DI_PIN F7 20#define RGB_DI_PIN F7
38#ifdef RGB_DI_PIN 21#ifdef RGB_DI_PIN
diff --git a/keyboards/mechanickeys/undead60m/info.json b/keyboards/mechanickeys/undead60m/info.json
index 9bee50289c..92593c3bfc 100644
--- a/keyboards/mechanickeys/undead60m/info.json
+++ b/keyboards/mechanickeys/undead60m/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x3C4D", 8 "pid": "0x3C4D",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B0", "B7", "B5", "B4", "D7", "D6", "B3", "B2"],
13 "rows": ["D0", "D1", "D2", "D3", "D5"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "F6", "pin_b": "F5"} 18 {"pin_a": "F6", "pin_b": "F5"}
diff --git a/keyboards/mechbrewery/mb65h/config.h b/keyboards/mechbrewery/mb65h/config.h
deleted file mode 100644
index e27625de97..0000000000
--- a/keyboards/mechbrewery/mb65h/config.h
+++ /dev/null
@@ -1,25 +0,0 @@
1/* Copyright 2022 MechBrewery
2 * Author: tuananhnguyen204 (https://github.com/AnthonyNguyen168) (tuananhnguyen204@gmail.com)
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#pragma once
19
20
21#define MATRIX_ROW_PINS { B7, D0, F0, F1, F4 }
22#define MATRIX_COL_PINS { B0, B1, B2, B3, D1, D2, D3, D6, D7, B4, B6, C6, C7, F7, F6, F5 }
23
24/* COL2ROW or ROW2COL */
25#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/mechbrewery/mb65h/info.json b/keyboards/mechbrewery/mb65h/info.json
index e96a92660d..ffdcf08edd 100644
--- a/keyboards/mechbrewery/mb65h/info.json
+++ b/keyboards/mechbrewery/mb65h/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0002", 8 "pid": "0x0002",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B0", "B1", "B2", "B3", "D1", "D2", "D3", "D6", "D7", "B4", "B6", "C6", "C7", "F7", "F6", "F5"],
13 "rows": ["B7", "D0", "F0", "F1", "F4"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "community_layouts": ["65_ansi_blocker"], 18 "community_layouts": ["65_ansi_blocker"],
diff --git a/keyboards/mechbrewery/mb65s/config.h b/keyboards/mechbrewery/mb65s/config.h
index 7023e30ced..a9375a9833 100644
--- a/keyboards/mechbrewery/mb65s/config.h
+++ b/keyboards/mechbrewery/mb65s/config.h
@@ -17,13 +17,6 @@
17 17
18#pragma once 18#pragma once
19 19
20
21#define MATRIX_ROW_PINS { B7, D0, F0, F1, F4 }
22#define MATRIX_COL_PINS { B0, B1, B2, B3, D1, D2, D3, D6, D7, B4, B6, C6, C7, F7, F6, F5 }
23
24/* COL2ROW or ROW2COL */
25#define DIODE_DIRECTION COL2ROW
26
27#define RGB_DI_PIN E2 20#define RGB_DI_PIN E2
28#ifdef RGB_DI_PIN 21#ifdef RGB_DI_PIN
29#define RGBLIGHT_EFFECT_BREATHING 22#define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/mechbrewery/mb65s/info.json b/keyboards/mechbrewery/mb65s/info.json
index 7692ac996c..1890c71def 100644
--- a/keyboards/mechbrewery/mb65s/info.json
+++ b/keyboards/mechbrewery/mb65s/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x3635", 8 "pid": "0x3635",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B0", "B1", "B2", "B3", "D1", "D2", "D3", "D6", "D7", "B4", "B6", "C6", "C7", "F7", "F6", "F5"],
13 "rows": ["B7", "D0", "F0", "F1", "F4"]
14 },
15 "diode_direction": "COL2ROW",
11 "indicators": { 16 "indicators": {
12 "caps_lock": "D4", 17 "caps_lock": "D4",
13 "on_state": 0 18 "on_state": 0
diff --git a/keyboards/mechkeys/acr60/config.h b/keyboards/mechkeys/acr60/config.h
index 493f54b3f7..71131d32ac 100644
--- a/keyboards/mechkeys/acr60/config.h
+++ b/keyboards/mechkeys/acr60/config.h
@@ -16,14 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19
20/* key matrix pins */
21#define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
22#define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B7, D4, B1, B0, B5, B4, D7, D6, B3, F4 }
23
24/* COL2ROW or ROW2COL */
25#define DIODE_DIRECTION COL2ROW
26
27/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 19/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
28#define LOCKING_SUPPORT_ENABLE 20#define LOCKING_SUPPORT_ENABLE
29 21
diff --git a/keyboards/mechkeys/acr60/info.json b/keyboards/mechkeys/acr60/info.json
index 816e74a2bb..71287af893 100644
--- a/keyboards/mechkeys/acr60/info.json
+++ b/keyboards/mechkeys/acr60/info.json
@@ -8,6 +8,11 @@
8 "pid": "0xCA60", 8 "pid": "0xCA60",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F0", "F1", "E6", "C7", "C6", "B7", "D4", "B1", "B0", "B5", "B4", "D7", "D6", "B3", "F4"],
13 "rows": ["D0", "D1", "D2", "D3", "D5"]
14 },
15 "diode_direction": "COL2ROW",
11 "backlight": { 16 "backlight": {
12 "pin": "B6", 17 "pin": "B6",
13 "levels": 5 18 "levels": 5
diff --git a/keyboards/mechkeys/alu84/config.h b/keyboards/mechkeys/alu84/config.h
index bb3b38500c..9908ffa03e 100755
--- a/keyboards/mechkeys/alu84/config.h
+++ b/keyboards/mechkeys/alu84/config.h
@@ -16,23 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19
20/*
21 * Keyboard Matrix Assignments
22 *
23 * Change this to how you wired your keyboard
24 * COLS: AVR pins used for columns, left to right
25 * ROWS: AVR pins used for rows, top to bottom
26 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
27 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
28 *
29 */
30#define MATRIX_ROW_PINS { D0, D1, D2, D3, D5, B7 }
31#define MATRIX_COL_PINS { F0, F1, E6, C7, C6, F5, D4, B1, B0, B5, B4, D7, D6, B3, F4, F6 }
32
33/* COL2ROW, ROW2COL */
34#define DIODE_DIRECTION COL2ROW
35
36#define RGB_DI_PIN E2 19#define RGB_DI_PIN E2
37#if defined(RGBLIGHT_ENABLE) 20#if defined(RGBLIGHT_ENABLE)
38# define RGBLED_NUM 16 21# define RGBLED_NUM 16
diff --git a/keyboards/mechkeys/alu84/info.json b/keyboards/mechkeys/alu84/info.json
index aaf9cc7ac1..ba3272e4cf 100644
--- a/keyboards/mechkeys/alu84/info.json
+++ b/keyboards/mechkeys/alu84/info.json
@@ -8,6 +8,11 @@
8 "pid": "0xCA75", 8 "pid": "0xCA75",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F0", "F1", "E6", "C7", "C6", "F5", "D4", "B1", "B0", "B5", "B4", "D7", "D6", "B3", "F4", "F6"],
13 "rows": ["D0", "D1", "D2", "D3", "D5", "B7"]
14 },
15 "diode_direction": "COL2ROW",
11 "backlight": { 16 "backlight": {
12 "pin": "B6", 17 "pin": "B6",
13 "breathing": true 18 "breathing": true
diff --git a/keyboards/mechkeys/espectro/config.h b/keyboards/mechkeys/espectro/config.h
index b345f44269..644ebeda46 100755
--- a/keyboards/mechkeys/espectro/config.h
+++ b/keyboards/mechkeys/espectro/config.h
@@ -16,14 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19
20/* key matrix pins */
21#define MATRIX_ROW_PINS { B7, B3, E6, F0, D5, D4, D6, C7 }
22#define MATRIX_COL_PINS { C6, F1, F4, F5, F6, F7, D7, B4, B5, D0, D1, D2, D3}
23
24/* COL2ROW or ROW2COL */
25#define DIODE_DIRECTION COL2ROW
26
27/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 19/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
28#define LOCKING_SUPPORT_ENABLE 20#define LOCKING_SUPPORT_ENABLE
29 21
diff --git a/keyboards/mechkeys/espectro/info.json b/keyboards/mechkeys/espectro/info.json
index 1361065e75..b12beb60ff 100644
--- a/keyboards/mechkeys/espectro/info.json
+++ b/keyboards/mechkeys/espectro/info.json
@@ -8,6 +8,11 @@
8 "pid": "0xCA96", 8 "pid": "0xCA96",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["C6", "F1", "F4", "F5", "F6", "F7", "D7", "B4", "B5", "D0", "D1", "D2", "D3"],
13 "rows": ["B7", "B3", "E6", "F0", "D5", "D4", "D6", "C7"]
14 },
15 "diode_direction": "COL2ROW",
11 "backlight": { 16 "backlight": {
12 "pin": "B6", 17 "pin": "B6",
13 "levels": 5 18 "levels": 5
diff --git a/keyboards/mechkeys/mechmini/v1/config.h b/keyboards/mechkeys/mechmini/v1/config.h
index 3da5747d2b..7d6fc121ce 100644
--- a/keyboards/mechkeys/mechmini/v1/config.h
+++ b/keyboards/mechkeys/mechmini/v1/config.h
@@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21#define MATRIX_ROW_PINS { B0, B1, B2, B3 }
22#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4 }
23#define DIODE_DIRECTION COL2ROW
24
25/* RGB underglow */ 20/* RGB underglow */
26// The RGB_DI_PIN value seems to be shared between all PS2AVRGB boards. 21// The RGB_DI_PIN value seems to be shared between all PS2AVRGB boards.
27// The same pin is used on the JJ40, at least. 22// The same pin is used on the JJ40, at least.
diff --git a/keyboards/mechkeys/mechmini/v1/info.json b/keyboards/mechkeys/mechmini/v1/info.json
index 751be56e38..84c13147af 100644
--- a/keyboards/mechkeys/mechmini/v1/info.json
+++ b/keyboards/mechkeys/mechmini/v1/info.json
@@ -8,6 +8,11 @@
8 "pid": "0xCA40", 8 "pid": "0xCA40",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4"],
13 "rows": ["B0", "B1", "B2", "B3"]
14 },
15 "diode_direction": "COL2ROW",
11 "backlight": { 16 "backlight": {
12 "pin": "D4" 17 "pin": "D4"
13 }, 18 },
diff --git a/keyboards/mechkeys/mechmini/v2/config.h b/keyboards/mechkeys/mechmini/v2/config.h
index c318669851..35421a3b29 100755
--- a/keyboards/mechkeys/mechmini/v2/config.h
+++ b/keyboards/mechkeys/mechmini/v2/config.h
@@ -15,14 +15,6 @@
15 15
16#pragma once 16#pragma once
17 17
18
19/* key matrix pins */
20#define MATRIX_ROW_PINS { D0, D1, D2, D3 }
21#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, B3, B1, B0, D5, B7, C7 }
22
23/* COL2ROW or ROW2COL */
24#define DIODE_DIRECTION COL2ROW
25
26/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 18/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
27#define LOCKING_SUPPORT_ENABLE 19#define LOCKING_SUPPORT_ENABLE
28 20
diff --git a/keyboards/mechkeys/mechmini/v2/info.json b/keyboards/mechkeys/mechmini/v2/info.json
index 58ad7525db..d5f75aedce 100644
--- a/keyboards/mechkeys/mechmini/v2/info.json
+++ b/keyboards/mechkeys/mechmini/v2/info.json
@@ -8,6 +8,11 @@
8 "pid": "0xCA40", 8 "pid": "0xCA40",
9 "device_version": "0.0.2" 9 "device_version": "0.0.2"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "B3", "B1", "B0", "D5", "B7", "C7"],
13 "rows": ["D0", "D1", "D2", "D3"]
14 },
15 "diode_direction": "COL2ROW",
11 "backlight": { 16 "backlight": {
12 "pin": "B6" 17 "pin": "B6"
13 }, 18 },
diff --git a/keyboards/mechkeys/mk60/config.h b/keyboards/mechkeys/mk60/config.h
index 065c3006c6..7b63a204c3 100644
--- a/keyboards/mechkeys/mk60/config.h
+++ b/keyboards/mechkeys/mk60/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30*/
31#define MATRIX_ROW_PINS { B0, B1, B2, B3, B4 }
32#define MATRIX_COL_PINS { B5, D0, D1, D2, D3, D4, D5, D6, D7, C6, C7, F4, F5, F6, F7 }
33
34/* COL2ROW, ROW2COL*/
35#define DIODE_DIRECTION COL2ROW
36
37#define RGB_DI_PIN E6 20#define RGB_DI_PIN E6
38#ifdef RGB_DI_PIN 21#ifdef RGB_DI_PIN
39 #define RGBLED_NUM 12 22 #define RGBLED_NUM 12
diff --git a/keyboards/mechkeys/mk60/info.json b/keyboards/mechkeys/mk60/info.json
index 42d9c3bd24..07eb87850c 100644
--- a/keyboards/mechkeys/mk60/info.json
+++ b/keyboards/mechkeys/mk60/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0000", 8 "pid": "0x0000",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B5", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "C6", "C7", "F4", "F5", "F6", "F7"],
13 "rows": ["B0", "B1", "B2", "B3", "B4"]
14 },
15 "diode_direction": "COL2ROW",
11 "backlight": { 16 "backlight": {
12 "pin": "B6", 17 "pin": "B6",
13 "levels": 6, 18 "levels": 6,
diff --git a/keyboards/mechllama/g35/config.h b/keyboards/mechllama/g35/config.h
index e7f24e3985..4eeeb96c19 100644
--- a/keyboards/mechllama/g35/config.h
+++ b/keyboards/mechllama/g35/config.h
@@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21#define DIODE_DIRECTION COL2ROW
22
23#define RGB_DI_PIN F7 20#define RGB_DI_PIN F7
24 21
25#define FORCE_NKRO 22#define FORCE_NKRO
diff --git a/keyboards/mechllama/g35/v1/config.h b/keyboards/mechllama/g35/v1/config.h
index fbda4b7db2..1aee08380c 100644
--- a/keyboards/mechllama/g35/v1/config.h
+++ b/keyboards/mechllama/g35/v1/config.h
@@ -17,7 +17,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20#define MATRIX_ROW_PINS { F5, F6, F4, F1, D4 }
21#define MATRIX_COL_PINS { D6, D7, B4, B5, B6, F0, D5 }
22
23#define RGBLED_NUM 41 20#define RGBLED_NUM 41
diff --git a/keyboards/mechllama/g35/v1/info.json b/keyboards/mechllama/g35/v1/info.json
index 90ac25f360..c5d4c69e7b 100644
--- a/keyboards/mechllama/g35/v1/info.json
+++ b/keyboards/mechllama/g35/v1/info.json
@@ -1,5 +1,10 @@
1{ 1{
2 "usb": { 2 "usb": {
3 "device_version": "0.0.1" 3 "device_version": "0.0.1"
4 } 4 },
5 "matrix_pins": {
6 "cols": ["D6", "D7", "B4", "B5", "B6", "F0", "D5"],
7 "rows": ["F5", "F6", "F4", "F1", "D4"]
8 },
9 "diode_direction": "COL2ROW"
5} 10}
diff --git a/keyboards/mechllama/g35/v2/config.h b/keyboards/mechllama/g35/v2/config.h
index cd4d6e991c..7c15560a1a 100644
--- a/keyboards/mechllama/g35/v2/config.h
+++ b/keyboards/mechllama/g35/v2/config.h
@@ -17,7 +17,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20#define MATRIX_ROW_PINS { F5, F4, F1, F0, D4 }
21#define MATRIX_COL_PINS { D6, D7, B4, B5, B6, F6, D5 }
22
23#define RGBLED_NUM 6 20#define RGBLED_NUM 6
diff --git a/keyboards/mechllama/g35/v2/info.json b/keyboards/mechllama/g35/v2/info.json
index e557e4d307..563625f428 100644
--- a/keyboards/mechllama/g35/v2/info.json
+++ b/keyboards/mechllama/g35/v2/info.json
@@ -1,5 +1,10 @@
1{ 1{
2 "usb": { 2 "usb": {
3 "device_version": "0.0.2" 3 "device_version": "0.0.2"
4 } 4 },
5 "matrix_pins": {
6 "cols": ["D6", "D7", "B4", "B5", "B6", "F6", "D5"],
7 "rows": ["F5", "F4", "F1", "F0", "D4"]
8 },
9 "diode_direction": "COL2ROW"
5} 10}
diff --git a/keyboards/mechlovin/adelais/rgb_led/config.h b/keyboards/mechlovin/adelais/rgb_led/config.h
deleted file mode 100644
index 2ec0afd47b..0000000000
--- a/keyboards/mechlovin/adelais/rgb_led/config.h
+++ /dev/null
@@ -1,21 +0,0 @@
1/*
2Copyright 2020 Team Mechlovin'
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20/* COL2ROW, ROW2COL*/
21#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/mechlovin/adelais/rgb_led/rev1/config.h b/keyboards/mechlovin/adelais/rgb_led/rev1/config.h
index f668bd88ed..658e29ccf3 100644
--- a/keyboards/mechlovin/adelais/rgb_led/rev1/config.h
+++ b/keyboards/mechlovin/adelais/rgb_led/rev1/config.h
@@ -1,8 +1,5 @@
1#pragma once 1#pragma once
2 2
3#define MATRIX_ROW_PINS { B1, A0, C13, A1, A2}
4#define MATRIX_COL_PINS { A10, A9, A8, B15, B14, B13, B12, B11, B10, B8, B4, B5, B3, C14, A15 }
5
6#define RGB_DI_PIN A7 3#define RGB_DI_PIN A7
7#define RGB_MATRIX_LED_COUNT 91 4#define RGB_MATRIX_LED_COUNT 91
8#define RGB_MATRIX_KEYPRESSES // reacts to keypresses 5#define RGB_MATRIX_KEYPRESSES // reacts to keypresses
diff --git a/keyboards/mechlovin/adelais/rgb_led/rev1/info.json b/keyboards/mechlovin/adelais/rgb_led/rev1/info.json
index f098bdbf95..81adcf57e4 100644
--- a/keyboards/mechlovin/adelais/rgb_led/rev1/info.json
+++ b/keyboards/mechlovin/adelais/rgb_led/rev1/info.json
@@ -3,6 +3,11 @@
3 "usb": { 3 "usb": {
4 "pid": "0xAEC1" 4 "pid": "0xAEC1"
5 }, 5 },
6 "matrix_pins": {
7 "cols": ["A10", "A9", "A8", "B15", "B14", "B13", "B12", "B11", "B10", "B8", "B4", "B5", "B3", "C14", "A15"],
8 "rows": ["B1", "A0", "C13", "A1", "A2"]
9 },
10 "diode_direction": "COL2ROW",
6 "processor": "STM32F303", 11 "processor": "STM32F303",
7 "board": "QMK_PROTON_C", 12 "board": "QMK_PROTON_C",
8 "bootloader": "stm32-dfu", 13 "bootloader": "stm32-dfu",
diff --git a/keyboards/mechlovin/adelais/rgb_led/rev2/config.h b/keyboards/mechlovin/adelais/rgb_led/rev2/config.h
index d9d75a4b9e..ac91d0f950 100644
--- a/keyboards/mechlovin/adelais/rgb_led/rev2/config.h
+++ b/keyboards/mechlovin/adelais/rgb_led/rev2/config.h
@@ -1,8 +1,5 @@
1#pragma once 1#pragma once
2 2
3#define MATRIX_ROW_PINS { B1, A0, C13, A1, A2}
4#define MATRIX_COL_PINS { A10, A9, A8, B15, B14, B13, B12, B11, B10, B8, B4, B5, B3, C14, A7 }
5
6#define RGB_DI_PIN A15 3#define RGB_DI_PIN A15
7#define RGBLED_NUM 23 4#define RGBLED_NUM 23
8#define RGBLIGHT_EFFECT_BREATHING 5#define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/mechlovin/adelais/rgb_led/rev2/info.json b/keyboards/mechlovin/adelais/rgb_led/rev2/info.json
index 7dcd0f1765..afb0b3d017 100644
--- a/keyboards/mechlovin/adelais/rgb_led/rev2/info.json
+++ b/keyboards/mechlovin/adelais/rgb_led/rev2/info.json
@@ -3,6 +3,11 @@
3 "usb": { 3 "usb": {
4 "pid": "0xAEC2" 4 "pid": "0xAEC2"
5 }, 5 },
6 "matrix_pins": {
7 "cols": ["A10", "A9", "A8", "B15", "B14", "B13", "B12", "B11", "B10", "B8", "B4", "B5", "B3", "C14", "A7"],
8 "rows": ["B1", "A0", "C13", "A1", "A2"]
9 },
10 "diode_direction": "COL2ROW",
6 "encoder": { 11 "encoder": {
7 "rotary": [ 12 "rotary": [
8 {"pin_a": "A4", "pin_b": "A3"} 13 {"pin_a": "A4", "pin_b": "A3"}
diff --git a/keyboards/mechlovin/adelais/rgb_led/rev3/config.h b/keyboards/mechlovin/adelais/rgb_led/rev3/config.h
index 7457fd50a7..d3e4fc6ba1 100644
--- a/keyboards/mechlovin/adelais/rgb_led/rev3/config.h
+++ b/keyboards/mechlovin/adelais/rgb_led/rev3/config.h
@@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20#define MATRIX_ROW_PINS { A4, A3, C13, A1, A2}
21#define MATRIX_COL_PINS { B10, B11, B2, B1, B0, A6, A5, A10, A9, A15, B3, B4, B5, B8, B9 }
22
23#ifdef RGBLIGHT_ENABLE 20#ifdef RGBLIGHT_ENABLE
24#define RGB_DI_PIN A7 21#define RGB_DI_PIN A7
25#define WS2812_SPI SPID1 // default: SPID1 22#define WS2812_SPI SPID1 // default: SPID1
diff --git a/keyboards/mechlovin/adelais/rgb_led/rev3/info.json b/keyboards/mechlovin/adelais/rgb_led/rev3/info.json
index 3f83750e3a..d44e6b2371 100644
--- a/keyboards/mechlovin/adelais/rgb_led/rev3/info.json
+++ b/keyboards/mechlovin/adelais/rgb_led/rev3/info.json
@@ -3,6 +3,11 @@
3 "usb": { 3 "usb": {
4 "pid": "0xAEC3" 4 "pid": "0xAEC3"
5 }, 5 },
6 "matrix_pins": {
7 "cols": ["B10", "B11", "B2", "B1", "B0", "A6", "A5", "A10", "A9", "A15", "B3", "B4", "B5", "B8", "B9"],
8 "rows": ["A4", "A3", "C13", "A1", "A2"]
9 },
10 "diode_direction": "COL2ROW",
6 "encoder": { 11 "encoder": {
7 "rotary": [ 12 "rotary": [
8 {"pin_a": "B12", "pin_b": "B13"} 13 {"pin_a": "B12", "pin_b": "B13"}
diff --git a/keyboards/mechlovin/adelais/standard_led/arm/config.h b/keyboards/mechlovin/adelais/standard_led/arm/config.h
index e1081a9560..fc7e2ad9b6 100644
--- a/keyboards/mechlovin/adelais/standard_led/arm/config.h
+++ b/keyboards/mechlovin/adelais/standard_led/arm/config.h
@@ -17,12 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20#define MATRIX_ROW_PINS { B1, A0, C13, A1, A2}
21#define MATRIX_COL_PINS { A10, A9, A8, B15, B14, B13, B12, B11, B10, B8, B4, B5, B3, C14, A15 }
22
23/* COL2ROW, ROW2COL*/
24#define DIODE_DIRECTION COL2ROW
25
26#define BACKLIGHT_PWM_DRIVER PWMD3 20#define BACKLIGHT_PWM_DRIVER PWMD3
27#define BACKLIGHT_PWM_CHANNEL 3 21#define BACKLIGHT_PWM_CHANNEL 3
28 22
diff --git a/keyboards/mechlovin/adelais/standard_led/arm/info.json b/keyboards/mechlovin/adelais/standard_led/arm/info.json
index a5f20190d1..2c4386a862 100644
--- a/keyboards/mechlovin/adelais/standard_led/arm/info.json
+++ b/keyboards/mechlovin/adelais/standard_led/arm/info.json
@@ -1,5 +1,10 @@
1{ 1{
2 "keyboard_name": "Adelais", 2 "keyboard_name": "Adelais",
3 "matrix_pins": {
4 "cols": ["A10", "A9", "A8", "B15", "B14", "B13", "B12", "B11", "B10", "B8", "B4", "B5", "B3", "C14", "A15"],
5 "rows": ["B1", "A0", "C13", "A1", "A2"]
6 },
7 "diode_direction": "COL2ROW",
3 "backlight": { 8 "backlight": {
4 "pin": "B0", 9 "pin": "B0",
5 "breathing": true 10 "breathing": true
diff --git a/keyboards/mechlovin/delphine/config.h b/keyboards/mechlovin/delphine/config.h
deleted file mode 100644
index 768ea4744f..0000000000
--- a/keyboards/mechlovin/delphine/config.h
+++ /dev/null
@@ -1,34 +0,0 @@
1/*
2Copyright 2020 Team Mechlovin'
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { F0, F1, F4, F5, F6, D3 }
32#define MATRIX_COL_PINS { F7, D7, D6, D2 }
33
34#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/mechlovin/delphine/info.json b/keyboards/mechlovin/delphine/info.json
index 4495943544..7e53ebf464 100644
--- a/keyboards/mechlovin/delphine/info.json
+++ b/keyboards/mechlovin/delphine/info.json
@@ -6,6 +6,11 @@
6 "usb": { 6 "usb": {
7 "vid": "0x4D4C" 7 "vid": "0x4D4C"
8 }, 8 },
9 "matrix_pins": {
10 "cols": ["F7", "D7", "D6", "D2"],
11 "rows": ["F0", "F1", "F4", "F5", "F6", "D3"]
12 },
13 "diode_direction": "COL2ROW",
9 "indicators": { 14 "indicators": {
10 "num_lock": "B5" 15 "num_lock": "B5"
11 }, 16 },
diff --git a/keyboards/mechlovin/foundation/config.h b/keyboards/mechlovin/foundation/config.h
index 951eab595b..0cf3af4a8a 100644
--- a/keyboards/mechlovin/foundation/config.h
+++ b/keyboards/mechlovin/foundation/config.h
@@ -17,24 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21#define MATRIX_ROW_PINS { B12, B13, B14, A8, A2 }
22#define MATRIX_COL_PINS { B11, B10, B2, B1, B0, A7, A6, A5, A4, A3, A15, B9, B8, B7, B6, B5, B4, B3}
23
24/*
25 * Keyboard Matrix Assignments
26 *
27 * Change this to how you wired your keyboard
28 * COLS: AVR pins used for columns, left to right
29 * ROWS: AVR pins used for rows, top to bottom
30 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
31 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
32 *
33 */
34
35/* COL2ROW, ROW2COL */
36#define DIODE_DIRECTION COL2ROW
37
38#define RGB_DI_PIN B15 20#define RGB_DI_PIN B15
39#ifdef RGB_DI_PIN 21#ifdef RGB_DI_PIN
40# define RGBLED_NUM 22 22# define RGBLED_NUM 22
diff --git a/keyboards/mechlovin/foundation/info.json b/keyboards/mechlovin/foundation/info.json
index bb7491ff19..5fac5b9aa6 100644
--- a/keyboards/mechlovin/foundation/info.json
+++ b/keyboards/mechlovin/foundation/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0180", 8 "pid": "0x0180",
9 "device_version": "0.0.2" 9 "device_version": "0.0.2"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A15", "B9", "B8", "B7", "B6", "B5", "B4", "B3"],
13 "rows": ["B12", "B13", "B14", "A8", "A2"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "C13", "pin_b": "C14"} 18 {"pin_a": "C13", "pin_b": "C14"}
diff --git a/keyboards/mechlovin/hannah60rgb/config.h b/keyboards/mechlovin/hannah60rgb/config.h
deleted file mode 100644
index b10cdfb013..0000000000
--- a/keyboards/mechlovin/hannah60rgb/config.h
+++ /dev/null
@@ -1,34 +0,0 @@
1/*
2Copyright 2020 Mechlovin'
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { A4, A5, A3, A2, A1 }
32#define MATRIX_COL_PINS { B11, B10, B2, B1, B0, A7, A6, A0, C15, B4, B5, B3, C13, C14 }
33
34#define DIODE_DIRECTION COL2ROW \ No newline at end of file
diff --git a/keyboards/mechlovin/hannah60rgb/rev1/info.json b/keyboards/mechlovin/hannah60rgb/rev1/info.json
index 2ed43a3fc2..f0e2f9a41a 100644
--- a/keyboards/mechlovin/hannah60rgb/rev1/info.json
+++ b/keyboards/mechlovin/hannah60rgb/rev1/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6001", 8 "pid": "0x6001",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B11", "B10", "B2", "B1", "B0", "A7", "A6", "A0", "C15", "B4", "B5", "B3", "C13", "C14"],
13 "rows": ["A4", "A5", "A3", "A2", "A1"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "STM32F303", 16 "processor": "STM32F303",
12 "bootloader": "stm32-dfu", 17 "bootloader": "stm32-dfu",
13 "board": "QMK_PROTON_C", 18 "board": "QMK_PROTON_C",
diff --git a/keyboards/mechlovin/hannah60rgb/rev2/info.json b/keyboards/mechlovin/hannah60rgb/rev2/info.json
index 798e67ee78..f66b378aae 100644
--- a/keyboards/mechlovin/hannah60rgb/rev2/info.json
+++ b/keyboards/mechlovin/hannah60rgb/rev2/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6002", 8 "pid": "0x6002",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B11", "B10", "B2", "B1", "B0", "A7", "A6", "A0", "C15", "B4", "B5", "B3", "C13", "C14"],
13 "rows": ["A4", "A5", "A3", "A2", "A1"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "STM32F303", 16 "processor": "STM32F303",
12 "bootloader": "stm32-dfu", 17 "bootloader": "stm32-dfu",
13 "board": "QMK_PROTON_C", 18 "board": "QMK_PROTON_C",
diff --git a/keyboards/mechlovin/hannah65/config.h b/keyboards/mechlovin/hannah65/config.h
index e96bc8bc85..1686c861fb 100644
--- a/keyboards/mechlovin/hannah65/config.h
+++ b/keyboards/mechlovin/hannah65/config.h
@@ -17,21 +17,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { A4, A5, A3, A2, A1 }
32#define MATRIX_COL_PINS { B11, B10, B2, B1, B0, A7, A6, A0, C15, B4, B5, B3, C13, C14, A13 }
33
34#define DIODE_DIRECTION COL2ROW
35
36#define BACKLIGHT_PWM_DRIVER PWMD4 20#define BACKLIGHT_PWM_DRIVER PWMD4
37#define BACKLIGHT_PWM_CHANNEL 3 21#define BACKLIGHT_PWM_CHANNEL 3
diff --git a/keyboards/mechlovin/hannah65/info.json b/keyboards/mechlovin/hannah65/info.json
index 74ae965fb7..88a3f39719 100644
--- a/keyboards/mechlovin/hannah65/info.json
+++ b/keyboards/mechlovin/hannah65/info.json
@@ -3,6 +3,11 @@
3 "pin": "B8", 3 "pin": "B8",
4 "breathing": true 4 "breathing": true
5 }, 5 },
6 "matrix_pins": {
7 "cols": ["B11", "B10", "B2", "B1", "B0", "A7", "A6", "A0", "C15", "B4", "B5", "B3", "C13", "C14", "A13"],
8 "rows": ["A4", "A5", "A3", "A2", "A1"]
9 },
10 "diode_direction": "COL2ROW",
6 "indicators": { 11 "indicators": {
7 "caps_lock": "B9", 12 "caps_lock": "B9",
8 "on_state": 0 13 "on_state": 0
diff --git a/keyboards/mechlovin/hannah910/config.h b/keyboards/mechlovin/hannah910/config.h
index be1d769e67..0b9d78276a 100644
--- a/keyboards/mechlovin/hannah910/config.h
+++ b/keyboards/mechlovin/hannah910/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { B5, B6, D3, C6, C7 }
32#define MATRIX_COL_PINS { E6, B1, B3, F0, F1, F4, F5, F6, F7, D5, D4, B4, D6, D7, B0 }
33
34/* COL2ROW, ROW2COL*/
35#define DIODE_DIRECTION COL2ROW
36
37#define RGB_DI_PIN E2 20#define RGB_DI_PIN E2
38#define RGBLIGHT_LIMIT_VAL 255 21#define RGBLIGHT_LIMIT_VAL 255
39#define RGBLIGHT_EFFECT_BREATHING 22#define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/mechlovin/hannah910/rev1/info.json b/keyboards/mechlovin/hannah910/rev1/info.json
index ae5f966622..3ddc706922 100644
--- a/keyboards/mechlovin/hannah910/rev1/info.json
+++ b/keyboards/mechlovin/hannah910/rev1/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x9101", 8 "pid": "0x9101",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["E6", "B1", "B3", "F0", "F1", "F4", "F5", "F6", "F7", "D5", "D4", "B4", "D6", "D7", "B0"],
13 "rows": ["B5", "B6", "D3", "C6", "C7"]
14 },
15 "diode_direction": "COL2ROW",
11 "backlight": { 16 "backlight": {
12 "pin": "B7", 17 "pin": "B7",
13 "breathing": true 18 "breathing": true
diff --git a/keyboards/mechlovin/hannah910/rev2/info.json b/keyboards/mechlovin/hannah910/rev2/info.json
index cfb43e786c..dc59167ddb 100644
--- a/keyboards/mechlovin/hannah910/rev2/info.json
+++ b/keyboards/mechlovin/hannah910/rev2/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x9102", 8 "pid": "0x9102",
9 "device_version": "0.0.2" 9 "device_version": "0.0.2"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["E6", "B1", "B3", "F0", "F1", "F4", "F5", "F6", "F7", "D5", "D4", "B4", "D6", "D7", "B0"],
13 "rows": ["B5", "B6", "D3", "C6", "C7"]
14 },
15 "diode_direction": "COL2ROW",
11 "backlight": { 16 "backlight": {
12 "pin": "B7", 17 "pin": "B7",
13 "breathing": true 18 "breathing": true
diff --git a/keyboards/mechlovin/hannah910/rev3/info.json b/keyboards/mechlovin/hannah910/rev3/info.json
index 14219cb9b6..ccb9088232 100644
--- a/keyboards/mechlovin/hannah910/rev3/info.json
+++ b/keyboards/mechlovin/hannah910/rev3/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x9103", 8 "pid": "0x9103",
9 "device_version": "0.0.2" 9 "device_version": "0.0.2"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["E6", "B1", "B3", "F0", "F1", "F4", "F5", "F6", "F7", "D5", "D4", "B4", "D6", "D7", "B0"],
13 "rows": ["B5", "B6", "D3", "C6", "C7"]
14 },
15 "diode_direction": "COL2ROW",
11 "backlight": { 16 "backlight": {
12 "pin": "B7", 17 "pin": "B7",
13 "breathing": true 18 "breathing": true
diff --git a/keyboards/mechlovin/hex4b/config.h b/keyboards/mechlovin/hex4b/config.h
deleted file mode 100644
index 028be1fb52..0000000000
--- a/keyboards/mechlovin/hex4b/config.h
+++ /dev/null
@@ -1,33 +0,0 @@
1/*
2Copyright 2020 Team Mechlovin
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31
32/* COL2ROW, ROW2COL */
33#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/mechlovin/hex4b/rev1/config.h b/keyboards/mechlovin/hex4b/rev1/config.h
deleted file mode 100644
index 1baf1aa2ea..0000000000
--- a/keyboards/mechlovin/hex4b/rev1/config.h
+++ /dev/null
@@ -1,33 +0,0 @@
1/*
2Copyright 2020 Team Mechlovin
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31
32#define MATRIX_ROW_PINS { B7, A2, A1, A3, A4, A5 }
33#define MATRIX_COL_PINS { B6, B5, B3, B2, B1, B0, A0, A6, A7, C7, C6, C5, C4, D1, D0 }
diff --git a/keyboards/mechlovin/hex4b/rev1/info.json b/keyboards/mechlovin/hex4b/rev1/info.json
index cec380a91f..1e9a7d5776 100644
--- a/keyboards/mechlovin/hex4b/rev1/info.json
+++ b/keyboards/mechlovin/hex4b/rev1/info.json
@@ -3,6 +3,11 @@
3 "usb": { 3 "usb": {
4 "device_version": "0.0.1" 4 "device_version": "0.0.1"
5 }, 5 },
6 "matrix_pins": {
7 "cols": ["B6", "B5", "B3", "B2", "B1", "B0", "A0", "A6", "A7", "C7", "C6", "C5", "C4", "D1", "D0"],
8 "rows": ["B7", "A2", "A1", "A3", "A4", "A5"]
9 },
10 "diode_direction": "COL2ROW",
6 "backlight": { 11 "backlight": {
7 "pin": "D4", 12 "pin": "D4",
8 "levels": 5, 13 "levels": 5,
diff --git a/keyboards/mechlovin/hex4b/rev2/config.h b/keyboards/mechlovin/hex4b/rev2/config.h
index c0486dd0b7..14dfffbed3 100644
--- a/keyboards/mechlovin/hex4b/rev2/config.h
+++ b/keyboards/mechlovin/hex4b/rev2/config.h
@@ -17,19 +17,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31
32#define MATRIX_ROW_PINS { A4, B12, B13, B14, B15, A1 }
33#define MATRIX_COL_PINS { B11, B10, B2, B1, B0, A7, A6, A5, A3, C13, B7, B6, B5, B4, B3 }
34
35#define BACKLIGHT_PWM_DRIVER PWMD4 20#define BACKLIGHT_PWM_DRIVER PWMD4
diff --git a/keyboards/mechlovin/hex4b/rev2/info.json b/keyboards/mechlovin/hex4b/rev2/info.json
index 7d9a2cb40a..8609be01c3 100644
--- a/keyboards/mechlovin/hex4b/rev2/info.json
+++ b/keyboards/mechlovin/hex4b/rev2/info.json
@@ -3,6 +3,11 @@
3 "usb": { 3 "usb": {
4 "device_version": "0.0.2" 4 "device_version": "0.0.2"
5 }, 5 },
6 "matrix_pins": {
7 "cols": ["B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A3", "C13", "B7", "B6", "B5", "B4", "B3"],
8 "rows": ["A4", "B12", "B13", "B14", "B15", "A1"]
9 },
10 "diode_direction": "COL2ROW",
6 "backlight": { 11 "backlight": {
7 "pin": "B8", 12 "pin": "B8",
8 "levels": 5, 13 "levels": 5,
diff --git a/keyboards/mechlovin/hex6c/config.h b/keyboards/mechlovin/hex6c/config.h
index b0791490a2..a22137acf7 100644
--- a/keyboards/mechlovin/hex6c/config.h
+++ b/keyboards/mechlovin/hex6c/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { A10, B13, B12, B11, C14, C15 }
32#define MATRIX_COL_PINS { A13, A14, A1, A0, C13, B9, B4, B7, B8, B5, B6, A9, A5, A6, A7, B1, B2, B10, B3, B14, B15 }
33
34/* COL2ROW, ROW2COL */
35#define DIODE_DIRECTION COL2ROW
36
37#define BACKLIGHT_PWM_DRIVER PWMD3 20#define BACKLIGHT_PWM_DRIVER PWMD3
38#define BACKLIGHT_PWM_CHANNEL 3 21#define BACKLIGHT_PWM_CHANNEL 3
39 22
diff --git a/keyboards/mechlovin/hex6c/info.json b/keyboards/mechlovin/hex6c/info.json
index 387043bde6..2e82a83785 100644
--- a/keyboards/mechlovin/hex6c/info.json
+++ b/keyboards/mechlovin/hex6c/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6C01", 8 "pid": "0x6C01",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["A13", "A14", "A1", "A0", "C13", "B9", "B4", "B7", "B8", "B5", "B6", "A9", "A5", "A6", "A7", "B1", "B2", "B10", "B3", "B14", "B15"],
13 "rows": ["A10", "B13", "B12", "B11", "C14", "C15"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "A15", "pin_b": "A2"} 18 {"pin_a": "A15", "pin_b": "A2"}
diff --git a/keyboards/mechlovin/infinity87/rev1/config.h b/keyboards/mechlovin/infinity87/rev1/config.h
index e03ee6dded..2265fff2d1 100644
--- a/keyboards/mechlovin/infinity87/rev1/config.h
+++ b/keyboards/mechlovin/infinity87/rev1/config.h
@@ -16,10 +16,5 @@
16 16
17#pragma once 17#pragma once
18 18
19#define MATRIX_ROW_PINS { A10, B13, B12, B11, C14, C15 }
20#define MATRIX_COL_PINS { C13, B9, B4, B7, B8, B5, B6, A9, A5, A6, A7, B1, B2, B10, B3, B14, B15 }
21
22#define BACKLIGHT_PWM_DRIVER PWMD3 19#define BACKLIGHT_PWM_DRIVER PWMD3
23#define BACKLIGHT_PWM_CHANNEL 3 20#define BACKLIGHT_PWM_CHANNEL 3
24
25#define DIODE_DIRECTION COL2ROW \ No newline at end of file
diff --git a/keyboards/mechlovin/infinity87/rev1/info.json b/keyboards/mechlovin/infinity87/rev1/info.json
index be094e09ae..dbe7cb83f9 100644
--- a/keyboards/mechlovin/infinity87/rev1/info.json
+++ b/keyboards/mechlovin/infinity87/rev1/info.json
@@ -1,4 +1,9 @@
1{ 1{
2 "matrix_pins": {
3 "cols": ["C13", "B9", "B4", "B7", "B8", "B5", "B6", "A9", "A5", "A6", "A7", "B1", "B2", "B10", "B3", "B14", "B15"],
4 "rows": ["A10", "B13", "B12", "B11", "C14", "C15"]
5 },
6 "diode_direction": "COL2ROW",
2 "backlight": { 7 "backlight": {
3 "pin": "B0", 8 "pin": "B0",
4 "breathing": true 9 "breathing": true
diff --git a/keyboards/mechlovin/infinity87/rgb_rev1/config.h b/keyboards/mechlovin/infinity87/rgb_rev1/config.h
index a609587210..10fc42f830 100644
--- a/keyboards/mechlovin/infinity87/rgb_rev1/config.h
+++ b/keyboards/mechlovin/infinity87/rgb_rev1/config.h
@@ -16,12 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19#define MATRIX_ROW_PINS { A10, A13, A14, C13, A4, A3 }
20#define MATRIX_COL_PINS { B12, B13, B14, B15, A8, A9, B11, B10, B2, B1, B0, A7, A6, A5, A2, A1, A0 }
21
22
23#define DIODE_DIRECTION COL2ROW
24
25//rgb matrix setting 19//rgb matrix setting
26// This is a 7-bit address, that gets left-shifted and bit 0 20// This is a 7-bit address, that gets left-shifted and bit 0
27// set to 0 for write, 1 for read (as per I2C protocol) 21// set to 0 for write, 1 for read (as per I2C protocol)
diff --git a/keyboards/mechlovin/infinity87/rgb_rev1/info.json b/keyboards/mechlovin/infinity87/rgb_rev1/info.json
index 604fa512ed..332606561c 100644
--- a/keyboards/mechlovin/infinity87/rgb_rev1/info.json
+++ b/keyboards/mechlovin/infinity87/rgb_rev1/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x8710", 8 "pid": "0x8710",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B12", "B13", "B14", "B15", "A8", "A9", "B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A2", "A1", "A0"],
13 "rows": ["A10", "A13", "A14", "C13", "A4", "A3"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "STM32F303", 16 "processor": "STM32F303",
12 "bootloader": "stm32-dfu", 17 "bootloader": "stm32-dfu",
13 "board": "QMK_PROTON_C", 18 "board": "QMK_PROTON_C",
diff --git a/keyboards/mechlovin/infinity88/config.h b/keyboards/mechlovin/infinity88/config.h
index 11ae35100b..1fda2d3097 100644
--- a/keyboards/mechlovin/infinity88/config.h
+++ b/keyboards/mechlovin/infinity88/config.h
@@ -17,22 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { A10, B13, B12, B11, C14, C15 }
32#define MATRIX_COL_PINS { C13, B9, B4, B7, B8, B5, B6, A9, A5, A6, A7,B1, B2, B10, B3, B14, B15 }
33
34#define DIODE_DIRECTION COL2ROW
35
36#define BACKLIGHT_PWM_DRIVER PWMD3 20#define BACKLIGHT_PWM_DRIVER PWMD3
37#define BACKLIGHT_PWM_CHANNEL 3 21#define BACKLIGHT_PWM_CHANNEL 3
38 22
diff --git a/keyboards/mechlovin/infinity88/info.json b/keyboards/mechlovin/infinity88/info.json
index 37ccd27537..e9b25efaa9 100644
--- a/keyboards/mechlovin/infinity88/info.json
+++ b/keyboards/mechlovin/infinity88/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x8802", 8 "pid": "0x8802",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["C13", "B9", "B4", "B7", "B8", "B5", "B6", "A9", "A5", "A6", "A7", "B1", "B2", "B10", "B3", "B14", "B15"],
13 "rows": ["A10", "B13", "B12", "B11", "C14", "C15"]
14 },
15 "diode_direction": "COL2ROW",
11 "backlight": { 16 "backlight": {
12 "pin": "B0", 17 "pin": "B0",
13 "breathing": true 18 "breathing": true
diff --git a/keyboards/mechlovin/infinityce/config.h b/keyboards/mechlovin/infinityce/config.h
index e0900333cd..a8a1936209 100644
--- a/keyboards/mechlovin/infinityce/config.h
+++ b/keyboards/mechlovin/infinityce/config.h
@@ -17,13 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21#define MATRIX_ROW_PINS { D7, D6, B6, B1, C6, C7 }
22#define MATRIX_COL_PINS { B5, B4, B0, D5, D4, D1, D0, E6, F7, F6, F5, F4, F1, F0, B2, D3, D2}
23
24/* COL2ROW, ROW2COL*/
25#define DIODE_DIRECTION COL2ROW
26
27#define RGB_DI_PIN E2 20#define RGB_DI_PIN E2
28#define RGBLED_NUM 31 21#define RGBLED_NUM 31
29#define RGBLIGHT_LIMIT_VAL 255 22#define RGBLIGHT_LIMIT_VAL 255
diff --git a/keyboards/mechlovin/infinityce/info.json b/keyboards/mechlovin/infinityce/info.json
index 1ab5cad305..332be74aff 100644
--- a/keyboards/mechlovin/infinityce/info.json
+++ b/keyboards/mechlovin/infinityce/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x8801", 8 "pid": "0x8801",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B5", "B4", "B0", "D5", "D4", "D1", "D0", "E6", "F7", "F6", "F5", "F4", "F1", "F0", "B2", "D3", "D2"],
13 "rows": ["D7", "D6", "B6", "B1", "C6", "C7"]
14 },
15 "diode_direction": "COL2ROW",
11 "backlight": { 16 "backlight": {
12 "pin": "B7", 17 "pin": "B7",
13 "breathing": true 18 "breathing": true
diff --git a/keyboards/mechlovin/jay60/config.h b/keyboards/mechlovin/jay60/config.h
index afc0a4af7d..d685b92631 100644
--- a/keyboards/mechlovin/jay60/config.h
+++ b/keyboards/mechlovin/jay60/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { C2, C1, C0, D7, A1 }
32#define MATRIX_COL_PINS { B6, B5, B3, B2, B1, B0, A0, A6, A7, C7, C6, C5, C4, C3 }
33
34/* COL2ROW, ROW2COL */
35#define DIODE_DIRECTION COL2ROW
36
37/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
38#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
39/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/mechlovin/jay60/info.json b/keyboards/mechlovin/jay60/info.json
index f64b25c9e7..f06f4b2fea 100644
--- a/keyboards/mechlovin/jay60/info.json
+++ b/keyboards/mechlovin/jay60/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0600", 8 "pid": "0x0600",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B6", "B5", "B3", "B2", "B1", "B0", "A0", "A6", "A7", "C7", "C6", "C5", "C4", "C3"],
13 "rows": ["C2", "C1", "C0", "D7", "A1"]
14 },
15 "diode_direction": "COL2ROW",
11 "indicators": { 16 "indicators": {
12 "caps_lock": "D4" 17 "caps_lock": "D4"
13 }, 18 },
diff --git a/keyboards/mechlovin/kanu/config.h b/keyboards/mechlovin/kanu/config.h
index 6a6dc97744..bb94525e06 100644
--- a/keyboards/mechlovin/kanu/config.h
+++ b/keyboards/mechlovin/kanu/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { B5, B6, D3, C6, C7 }
32#define MATRIX_COL_PINS { E6, B1, B3, F0, F1, F4, F5, F6, F7, D5, D4, B4, D6, D7, B0 }
33
34/* COL2ROW, ROW2COL*/
35#define DIODE_DIRECTION COL2ROW
36
37#define RGB_DI_PIN E2 20#define RGB_DI_PIN E2
38#define RGBLED_NUM 6 21#define RGBLED_NUM 6
39#define RGBLIGHT_EFFECT_BREATHING 22#define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/mechlovin/kanu/info.json b/keyboards/mechlovin/kanu/info.json
index 628a78e1a5..ac86aaa269 100644
--- a/keyboards/mechlovin/kanu/info.json
+++ b/keyboards/mechlovin/kanu/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x4B4E", 8 "pid": "0x4B4E",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["E6", "B1", "B3", "F0", "F1", "F4", "F5", "F6", "F7", "D5", "D4", "B4", "D6", "D7", "B0"],
13 "rows": ["B5", "B6", "D3", "C6", "C7"]
14 },
15 "diode_direction": "COL2ROW",
11 "backlight": { 16 "backlight": {
12 "pin": "B7", 17 "pin": "B7",
13 "breathing": true 18 "breathing": true
diff --git a/keyboards/mechlovin/kay60/config.h b/keyboards/mechlovin/kay60/config.h
index b05cc594e4..aadc6fcaaa 100644
--- a/keyboards/mechlovin/kay60/config.h
+++ b/keyboards/mechlovin/kay60/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { D5, D3, D2, B1, B5}
32#define MATRIX_COL_PINS { E6, F0, F1, F4, F5, F6, F7, B2, B3, B7, B4, D7, D6, D4 }
33
34/* COL2ROW, ROW2COL */
35#define DIODE_DIRECTION COL2ROW
36
37#define RGB_DI_PIN E2 20#define RGB_DI_PIN E2
38#ifdef RGB_DI_PIN 21#ifdef RGB_DI_PIN
39# define RGBLED_NUM 22 22# define RGBLED_NUM 22
diff --git a/keyboards/mechlovin/kay60/info.json b/keyboards/mechlovin/kay60/info.json
index a12cb83719..39c7083afd 100644
--- a/keyboards/mechlovin/kay60/info.json
+++ b/keyboards/mechlovin/kay60/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0601", 8 "pid": "0x0601",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["E6", "F0", "F1", "F4", "F5", "F6", "F7", "B2", "B3", "B7", "B4", "D7", "D6", "D4"],
13 "rows": ["D5", "D3", "D2", "B1", "B5"]
14 },
15 "diode_direction": "COL2ROW",
11 "indicators": { 16 "indicators": {
12 "caps_lock": "B0" 17 "caps_lock": "B0"
13 }, 18 },
diff --git a/keyboards/mechlovin/kay65/config.h b/keyboards/mechlovin/kay65/config.h
index d3cacf757a..c6168d930f 100644
--- a/keyboards/mechlovin/kay65/config.h
+++ b/keyboards/mechlovin/kay65/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { B7, D3, D5, D4, C6 }
32#define MATRIX_COL_PINS { F7, F6, F5, F4, F1, F0, C7, E6, B0, D2, D1, D0, B3, B2, B1 }
33
34/* COL2ROW, ROW2COL */
35#define DIODE_DIRECTION COL2ROW
36
37#define RGB_DI_PIN E2 20#define RGB_DI_PIN E2
38#ifdef RGB_DI_PIN 21#ifdef RGB_DI_PIN
39# define RGBLED_NUM 24 22# define RGBLED_NUM 24
diff --git a/keyboards/mechlovin/kay65/info.json b/keyboards/mechlovin/kay65/info.json
index 3bfc5c66e5..f827f435ed 100644
--- a/keyboards/mechlovin/kay65/info.json
+++ b/keyboards/mechlovin/kay65/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6502", 8 "pid": "0x6502",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F7", "F6", "F5", "F4", "F1", "F0", "C7", "E6", "B0", "D2", "D1", "D0", "B3", "B2", "B1"],
13 "rows": ["B7", "D3", "D5", "D4", "C6"]
14 },
15 "diode_direction": "COL2ROW",
11 "indicators": { 16 "indicators": {
12 "caps_lock": "D6", 17 "caps_lock": "D6",
13 "on_state": 0 18 "on_state": 0
diff --git a/keyboards/mechlovin/mechlovin9/config.h b/keyboards/mechlovin/mechlovin9/config.h
deleted file mode 100644
index 94a281c2f8..0000000000
--- a/keyboards/mechlovin/mechlovin9/config.h
+++ /dev/null
@@ -1,21 +0,0 @@
1
2/*
3Copyright 2021 Mechlovin' Studio
4
5This program is free software: you can redistribute it and/or modify
6it under the terms of the GNU General Public License as published by
7the Free Software Foundation, either version 2 of the License, or
8(at your option) any later version.
9
10This program is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with this program. If not, see <http://www.gnu.org/licenses/>.
17*/
18#pragma once
19
20
21#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/mechlovin/mechlovin9/rev1/config.h b/keyboards/mechlovin/mechlovin9/rev1/config.h
index c5e997d425..3686536dfb 100644
--- a/keyboards/mechlovin/mechlovin9/rev1/config.h
+++ b/keyboards/mechlovin/mechlovin9/rev1/config.h
@@ -17,18 +17,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20/*
21 * Keyboard Matrix Assignments
22 *
23 * Change this to how you wired your keyboard
24 * COLS: AVR pins used for columns, left to right
25 * ROWS: AVR pins used for rows, top to bottom
26 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
27 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
28 *
29 */
30#define MATRIX_ROW_PINS { A4, A5, A3, A2, A1 }
31#define MATRIX_COL_PINS { B11, B10, B2, B1, B0, A7, A6, A0, C15, B4, B5, B3, C13, C14, A13 }
32
33#define BACKLIGHT_PWM_DRIVER PWMD3 20#define BACKLIGHT_PWM_DRIVER PWMD3
34#define BACKLIGHT_PWM_CHANNEL 3 21#define BACKLIGHT_PWM_CHANNEL 3
diff --git a/keyboards/mechlovin/mechlovin9/rev1/info.json b/keyboards/mechlovin/mechlovin9/rev1/info.json
index 66b4a3c2ed..14fd177986 100644
--- a/keyboards/mechlovin/mechlovin9/rev1/info.json
+++ b/keyboards/mechlovin/mechlovin9/rev1/info.json
@@ -4,6 +4,11 @@
4 "pid": "0x6509", 4 "pid": "0x6509",
5 "device_version": "0.0.1" 5 "device_version": "0.0.1"
6 }, 6 },
7 "matrix_pins": {
8 "cols": ["B11", "B10", "B2", "B1", "B0", "A7", "A6", "A0", "C15", "B4", "B5", "B3", "C13", "C14", "A13"],
9 "rows": ["A4", "A5", "A3", "A2", "A1"]
10 },
11 "diode_direction": "COL2ROW",
7 "backlight": { 12 "backlight": {
8 "pin": "B8", 13 "pin": "B8",
9 "breathing": true 14 "breathing": true
diff --git a/keyboards/mechlovin/mechlovin9/rev2/config.h b/keyboards/mechlovin/mechlovin9/rev2/config.h
deleted file mode 100644
index f550a2e39a..0000000000
--- a/keyboards/mechlovin/mechlovin9/rev2/config.h
+++ /dev/null
@@ -1,31 +0,0 @@
1/*
2Copyright 2020 Team Mechlovin'
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20/*
21 * Keyboard Matrix Assignments
22 *
23 * Change this to how you wired your keyboard
24 * COLS: AVR pins used for columns, left to right
25 * ROWS: AVR pins used for rows, top to bottom
26 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
27 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
28 *
29 */
30#define MATRIX_ROW_PINS { A0, A1, A2, A3, A4 }
31#define MATRIX_COL_PINS { B2, B1, B0, B3, B4, B5, D0, D1, D5, D6, D7, C0, C3, C2, C1 }
diff --git a/keyboards/mechlovin/mechlovin9/rev2/info.json b/keyboards/mechlovin/mechlovin9/rev2/info.json
index c0e94e7638..52ac4d0c29 100644
--- a/keyboards/mechlovin/mechlovin9/rev2/info.json
+++ b/keyboards/mechlovin/mechlovin9/rev2/info.json
@@ -4,6 +4,11 @@
4 "pid": "0x6509", 4 "pid": "0x6509",
5 "device_version": "0.0.2" 5 "device_version": "0.0.2"
6 }, 6 },
7 "matrix_pins": {
8 "cols": ["B2", "B1", "B0", "B3", "B4", "B5", "D0", "D1", "D5", "D6", "D7", "C0", "C3", "C2", "C1"],
9 "rows": ["A0", "A1", "A2", "A3", "A4"]
10 },
11 "diode_direction": "COL2ROW",
7 "backlight": { 12 "backlight": {
8 "pin": "D4", 13 "pin": "D4",
9 "breathing": true 14 "breathing": true
diff --git a/keyboards/mechlovin/olly/octagon/config.h b/keyboards/mechlovin/olly/octagon/config.h
index 89e8a32d4f..a193206552 100644
--- a/keyboards/mechlovin/olly/octagon/config.h
+++ b/keyboards/mechlovin/olly/octagon/config.h
@@ -17,14 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21
22/* COL2ROW, ROW2COL */
23#define DIODE_DIRECTION COL2ROW
24
25#define MATRIX_ROW_PINS { B0, B12, A6, A5, A4, A3 }
26#define MATRIX_COL_PINS { A10, A9, A8, B15, B14, B13, B2, B1, A15, B3, B9, B8, B7, B6, B5, B4 }
27
28#ifdef RGBLIGHT_ENABLE 20#ifdef RGBLIGHT_ENABLE
29#define RGB_DI_PIN A7 21#define RGB_DI_PIN A7
30#define RGBLED_NUM 26 22#define RGBLED_NUM 26
diff --git a/keyboards/mechlovin/olly/octagon/info.json b/keyboards/mechlovin/olly/octagon/info.json
index 9adec5281c..117239c476 100644
--- a/keyboards/mechlovin/olly/octagon/info.json
+++ b/keyboards/mechlovin/olly/octagon/info.json
@@ -8,6 +8,11 @@
8 "pid": "0xD750", 8 "pid": "0xD750",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["A10", "A9", "A8", "B15", "B14", "B13", "B2", "B1", "A15", "B3", "B9", "B8", "B7", "B6", "B5", "B4"],
13 "rows": ["B0", "B12", "A6", "A5", "A4", "A3"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "STM32F103", 16 "processor": "STM32F103",
12 "bootloader": "stm32duino", 17 "bootloader": "stm32duino",
13 "layout_aliases": { 18 "layout_aliases": {
diff --git a/keyboards/mechlovin/olly/orion/config.h b/keyboards/mechlovin/olly/orion/config.h
index 225795d3c0..44e13fa7f2 100644
--- a/keyboards/mechlovin/olly/orion/config.h
+++ b/keyboards/mechlovin/olly/orion/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { A8, A9, A10, B11, C13, C14 }
32#define MATRIX_COL_PINS { B14, B13, B12, B2, B1, B0, A7, A6, A5, A4, A3, A2, A1, A0, A15, B3, B4 }
33
34/* COL2ROW, ROW2COL*/
35#define DIODE_DIRECTION ROW2COL
36
37#ifdef RGBLIGHT_ENABLE 20#ifdef RGBLIGHT_ENABLE
38# define RGB_DI_PIN B15 21# define RGB_DI_PIN B15
39# define RGBLED_NUM 24 22# define RGBLED_NUM 24
diff --git a/keyboards/mechlovin/olly/orion/info.json b/keyboards/mechlovin/olly/orion/info.json
index 89433dfd1b..de4ed5e986 100644
--- a/keyboards/mechlovin/olly/orion/info.json
+++ b/keyboards/mechlovin/olly/orion/info.json
@@ -8,6 +8,11 @@
8 "pid": "0xD870", 8 "pid": "0xD870",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B14", "B13", "B12", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A2", "A1", "A0", "A15", "B3", "B4"],
13 "rows": ["A8", "A9", "A10", "B11", "C13", "C14"]
14 },
15 "diode_direction": "ROW2COL",
11 "indicators": { 16 "indicators": {
12 "caps_lock": "B10", 17 "caps_lock": "B10",
13 "num_lock": "A13", 18 "num_lock": "A13",
diff --git a/keyboards/mechlovin/pisces/config.h b/keyboards/mechlovin/pisces/config.h
index 1540505bad..75887406ac 100644
--- a/keyboards/mechlovin/pisces/config.h
+++ b/keyboards/mechlovin/pisces/config.h
@@ -17,22 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { B0, F0, F5, F6, F7 }
32#define MATRIX_COL_PINS { E6, B1, B3, D0, D1, D2, D3, D5, F4, F1, D4, D6, D7, B4, B5 }
33
34#define DIODE_DIRECTION COL2ROW
35
36#define RGB_DI_PIN E2 20#define RGB_DI_PIN E2
37#ifdef RGB_DI_PIN 21#ifdef RGB_DI_PIN
38 #define RGBLED_NUM 12 22 #define RGBLED_NUM 12
diff --git a/keyboards/mechlovin/pisces/info.json b/keyboards/mechlovin/pisces/info.json
index 19246528e7..133bbbea7a 100644
--- a/keyboards/mechlovin/pisces/info.json
+++ b/keyboards/mechlovin/pisces/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6501", 8 "pid": "0x6501",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["E6", "B1", "B3", "D0", "D1", "D2", "D3", "D5", "F4", "F1", "D4", "D6", "D7", "B4", "B5"],
13 "rows": ["B0", "F0", "F5", "F6", "F7"]
14 },
15 "diode_direction": "COL2ROW",
11 "backlight": { 16 "backlight": {
12 "pin": "B7" 17 "pin": "B7"
13 }, 18 },
diff --git a/keyboards/mechlovin/th1800/config.h b/keyboards/mechlovin/th1800/config.h
deleted file mode 100644
index 0dca95dfee..0000000000
--- a/keyboards/mechlovin/th1800/config.h
+++ /dev/null
@@ -1,35 +0,0 @@
1/*
2Copyright 2020 Team Mechlovin
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { B6, B7, D0, D1, D5, D6 }
32#define MATRIX_COL_PINS { A3, D7, C0, C1, C2, C3, C4, C5, C6, C7, A7, A6, A5, A4, B3, B2, B0, B1 }
33
34/* COL2ROW, ROW2COL */
35#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/mechlovin/th1800/info.json b/keyboards/mechlovin/th1800/info.json
index 02efb8dc03..d42f6dbef6 100644
--- a/keyboards/mechlovin/th1800/info.json
+++ b/keyboards/mechlovin/th1800/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x1800", 8 "pid": "0x1800",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["A3", "D7", "C0", "C1", "C2", "C3", "C4", "C5", "C6", "C7", "A7", "A6", "A5", "A4", "B3", "B2", "B0", "B1"],
13 "rows": ["B6", "B7", "D0", "D1", "D5", "D6"]
14 },
15 "diode_direction": "COL2ROW",
11 "indicators": { 16 "indicators": {
12 "caps_lock": "A0", 17 "caps_lock": "A0",
13 "num_lock": "A2", 18 "num_lock": "A2",
diff --git a/keyboards/mechlovin/tmkl/config.h b/keyboards/mechlovin/tmkl/config.h
index 54cd52de76..e604c6bcfa 100644
--- a/keyboards/mechlovin/tmkl/config.h
+++ b/keyboards/mechlovin/tmkl/config.h
@@ -17,22 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { A8, A4, A5, A3, A2, A1 }
32#define MATRIX_COL_PINS { B11, B10, B2, B1, B0, A7, A6, A0, C15, B4, B5, B3, C13, C14 }
33
34#define DIODE_DIRECTION COL2ROW
35
36#define BACKLIGHT_PWM_DRIVER PWMD3 20#define BACKLIGHT_PWM_DRIVER PWMD3
37#define BACKLIGHT_PWM_CHANNEL 3 21#define BACKLIGHT_PWM_CHANNEL 3
38 22
diff --git a/keyboards/mechlovin/tmkl/info.json b/keyboards/mechlovin/tmkl/info.json
index 5cdd06aa12..d6be668d13 100644
--- a/keyboards/mechlovin/tmkl/info.json
+++ b/keyboards/mechlovin/tmkl/info.json
@@ -7,6 +7,11 @@
7 "pid": "0xC601", 7 "pid": "0xC601",
8 "device_version": "0.0.1" 8 "device_version": "0.0.1"
9 }, 9 },
10 "matrix_pins": {
11 "cols": ["B11", "B10", "B2", "B1", "B0", "A7", "A6", "A0", "C15", "B4", "B5", "B3", "C13", "C14"],
12 "rows": ["A8", "A4", "A5", "A3", "A2", "A1"]
13 },
14 "diode_direction": "COL2ROW",
10 "backlight": { 15 "backlight": {
11 "pin": "B8", 16 "pin": "B8",
12 "breathing": true 17 "breathing": true
diff --git a/keyboards/mechlovin/zed60/config.h b/keyboards/mechlovin/zed60/config.h
index 17467fd9fe..ff9aea4a02 100644
--- a/keyboards/mechlovin/zed60/config.h
+++ b/keyboards/mechlovin/zed60/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { B10, B2, B1, B0, A2 }
32#define MATRIX_COL_PINS { A10, A3, A9, A8, B15, B14, B13, B12, B5, B4, B3, A15, B7, B6 }
33
34/* COL2ROW, ROW2COL */
35#define DIODE_DIRECTION COL2ROW
36
37#ifdef RGBLIGHT_ENABLE 20#ifdef RGBLIGHT_ENABLE
38#define RGB_DI_PIN A7 21#define RGB_DI_PIN A7
39#define RGBLED_NUM 22 22#define RGBLED_NUM 22
diff --git a/keyboards/mechlovin/zed60/info.json b/keyboards/mechlovin/zed60/info.json
index 3c0c450c69..fd1c52d07d 100644
--- a/keyboards/mechlovin/zed60/info.json
+++ b/keyboards/mechlovin/zed60/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0602", 8 "pid": "0x0602",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["A10", "A3", "A9", "A8", "B15", "B14", "B13", "B12", "B5", "B4", "B3", "A15", "B7", "B6"],
13 "rows": ["B10", "B2", "B1", "B0", "A2"]
14 },
15 "diode_direction": "COL2ROW",
11 "indicators": { 16 "indicators": {
12 "caps_lock": "A4" 17 "caps_lock": "A4"
13 }, 18 },
diff --git a/keyboards/mechlovin/zed65/config.h b/keyboards/mechlovin/zed65/config.h
deleted file mode 100644
index 40392b609a..0000000000
--- a/keyboards/mechlovin/zed65/config.h
+++ /dev/null
@@ -1,48 +0,0 @@
1/*
2Copyright 2022 Mechlovin'
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31/* COL2ROW, ROW2COL */
32#define DIODE_DIRECTION COL2ROW
33
34/*
35 * Feature disable options
36 * These options are also useful to firmware size reduction.
37 */
38
39/* disable debug print */
40//#define NO_DEBUG
41
42/* disable print */
43//#define NO_PRINT
44
45/* disable action features */
46//#define NO_ACTION_LAYER
47//#define NO_ACTION_TAPPING
48//#define NO_ACTION_ONESHOT
diff --git a/keyboards/mechlovin/zed65/mono_led/config.h b/keyboards/mechlovin/zed65/mono_led/config.h
index 233d2b8fd0..9f8d4f46f5 100644
--- a/keyboards/mechlovin/zed65/mono_led/config.h
+++ b/keyboards/mechlovin/zed65/mono_led/config.h
@@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21#define MATRIX_ROW_PINS { B12, A6, A5, A4, A3 }
22#define MATRIX_COL_PINS { A10, A9, A8, B15, B14, B13, B2, B1, A15, B3, B9, B8, B7, B6, B5, B4 }
23
24
25#ifdef LED_MATRIX_ENABLE 20#ifdef LED_MATRIX_ENABLE
26// This is a 7-bit address, that gets left-shifted and bit 0 21// This is a 7-bit address, that gets left-shifted and bit 0
27// set to 0 for write, 1 for read (as per I2C protocol) 22// set to 0 for write, 1 for read (as per I2C protocol)
diff --git a/keyboards/mechlovin/zed65/mono_led/info.json b/keyboards/mechlovin/zed65/mono_led/info.json
index 75fcb44ae3..e27910459c 100644
--- a/keyboards/mechlovin/zed65/mono_led/info.json
+++ b/keyboards/mechlovin/zed65/mono_led/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6503", 8 "pid": "0x6503",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["A10", "A9", "A8", "B15", "B14", "B13", "B2", "B1", "A15", "B3", "B9", "B8", "B7", "B6", "B5", "B4"],
13 "rows": ["B12", "A6", "A5", "A4", "A3"]
14 },
15 "diode_direction": "COL2ROW",
11 "layouts": { 16 "layouts": {
12 "LAYOUT_all": { 17 "LAYOUT_all": {
13 "layout": [{"label":"0,0", "x":0, "y":0}, {"label":"0,1", "x":1, "y":0}, {"label":"0,2", "x":2, "y":0}, {"label":"0,3", "x":3, "y":0}, {"label":"0,4", "x":4, "y":0}, {"label":"0,5", "x":5, "y":0}, {"label":"0,6", "x":6, "y":0}, {"label":"0,7", "x":7, "y":0}, {"label":"0,8", "x":8, "y":0}, {"label":"0,9", "x":9, "y":0}, {"label":"0,10", "x":10, "y":0}, {"label":"0,11", "x":11, "y":0}, {"label":"0,12", "x":12, "y":0}, {"label":"0,13", "x":13, "y":0}, {"label":"0,14", "x":14, "y":0}, {"label":"0,15", "x":15, "y":0}, {"label":"1,0", "x":0, "y":1, "w":1.5}, {"label":"1,1", "x":1.5, "y":1}, {"label":"1,2", "x":2.5, "y":1}, {"label":"1,3", "x":3.5, "y":1}, {"label":"1,4", "x":4.5, "y":1}, {"label":"1,5", "x":5.5, "y":1}, {"label":"1,6", "x":6.5, "y":1}, {"label":"1,7", "x":7.5, "y":1}, {"label":"1,8", "x":8.5, "y":1}, {"label":"1,9", "x":9.5, "y":1}, {"label":"1,10", "x":10.5, "y":1}, {"label":"1,11", "x":11.5, "y":1}, {"label":"1,12", "x":12.5, "y":1}, {"label":"1,14", "x":13.5, "y":1, "w":1.5}, {"label":"1,15", "x":15, "y":1}, {"label":"2,0", "x":0, "y":2, "w":1.75}, {"label":"2,1", "x":1.75, "y":2}, {"label":"2,2", "x":2.75, "y":2}, {"label":"2,3", "x":3.75, "y":2}, {"label":"2,4", "x":4.75, "y":2}, {"label":"2,5", "x":5.75, "y":2}, {"label":"2,6", "x":6.75, "y":2}, {"label":"2,7", "x":7.75, "y":2}, {"label":"2,8", "x":8.75, "y":2}, {"label":"2,9", "x":9.75, "y":2}, {"label":"2,10", "x":10.75, "y":2}, {"label":"2,11", "x":11.75, "y":2}, {"label":"2,12", "x":12.75, "y":2}, {"label":"2,13", "x":13.75, "y":2, "w":1.25}, {"label":"2,15", "x":15, "y":2}, {"label":"3,0", "x":0, "y":3, "w":1.25}, {"label":"3,1", "x":1.25, "y":3}, {"label":"3,2", "x":2.25, "y":3}, {"label":"3,3", "x":3.25, "y":3}, {"label":"3,4", "x":4.25, "y":3}, {"label":"3,5", "x":5.25, "y":3}, {"label":"3,6", "x":6.25, "y":3}, {"label":"3,7", "x":7.25, "y":3}, {"label":"3,8", "x":8.25, "y":3}, {"label":"3,9", "x":9.25, "y":3}, {"label":"3,10", "x":10.25, "y":3}, {"label":"3,11", "x":11.25, "y":3}, {"label":"3,12", "x":12.25, "y":3, "w":1.75}, {"label":"3,14", "x":14, "y":3}, {"label":"3,15", "x":15, "y":3}, {"label":"4,0", "x":0, "y":4, "w":1.25}, {"label":"4,1", "x":1.25, "y":4, "w":1.25}, {"label":"4,2", "x":2.5, "y":4, "w":1.25}, {"label":"4,6", "x":3.75, "y":4, "w":6.25}, {"label":"4,10", "x":10, "y":4, "w":1.25}, {"label":"4,11", "x":11.25, "y":4, "w":1.25}, {"label":"4,13", "x":13, "y":4}, {"label":"4,14", "x":14, "y":4}, {"label":"4,15", "x":15, "y":4}] 18 "layout": [{"label":"0,0", "x":0, "y":0}, {"label":"0,1", "x":1, "y":0}, {"label":"0,2", "x":2, "y":0}, {"label":"0,3", "x":3, "y":0}, {"label":"0,4", "x":4, "y":0}, {"label":"0,5", "x":5, "y":0}, {"label":"0,6", "x":6, "y":0}, {"label":"0,7", "x":7, "y":0}, {"label":"0,8", "x":8, "y":0}, {"label":"0,9", "x":9, "y":0}, {"label":"0,10", "x":10, "y":0}, {"label":"0,11", "x":11, "y":0}, {"label":"0,12", "x":12, "y":0}, {"label":"0,13", "x":13, "y":0}, {"label":"0,14", "x":14, "y":0}, {"label":"0,15", "x":15, "y":0}, {"label":"1,0", "x":0, "y":1, "w":1.5}, {"label":"1,1", "x":1.5, "y":1}, {"label":"1,2", "x":2.5, "y":1}, {"label":"1,3", "x":3.5, "y":1}, {"label":"1,4", "x":4.5, "y":1}, {"label":"1,5", "x":5.5, "y":1}, {"label":"1,6", "x":6.5, "y":1}, {"label":"1,7", "x":7.5, "y":1}, {"label":"1,8", "x":8.5, "y":1}, {"label":"1,9", "x":9.5, "y":1}, {"label":"1,10", "x":10.5, "y":1}, {"label":"1,11", "x":11.5, "y":1}, {"label":"1,12", "x":12.5, "y":1}, {"label":"1,14", "x":13.5, "y":1, "w":1.5}, {"label":"1,15", "x":15, "y":1}, {"label":"2,0", "x":0, "y":2, "w":1.75}, {"label":"2,1", "x":1.75, "y":2}, {"label":"2,2", "x":2.75, "y":2}, {"label":"2,3", "x":3.75, "y":2}, {"label":"2,4", "x":4.75, "y":2}, {"label":"2,5", "x":5.75, "y":2}, {"label":"2,6", "x":6.75, "y":2}, {"label":"2,7", "x":7.75, "y":2}, {"label":"2,8", "x":8.75, "y":2}, {"label":"2,9", "x":9.75, "y":2}, {"label":"2,10", "x":10.75, "y":2}, {"label":"2,11", "x":11.75, "y":2}, {"label":"2,12", "x":12.75, "y":2}, {"label":"2,13", "x":13.75, "y":2, "w":1.25}, {"label":"2,15", "x":15, "y":2}, {"label":"3,0", "x":0, "y":3, "w":1.25}, {"label":"3,1", "x":1.25, "y":3}, {"label":"3,2", "x":2.25, "y":3}, {"label":"3,3", "x":3.25, "y":3}, {"label":"3,4", "x":4.25, "y":3}, {"label":"3,5", "x":5.25, "y":3}, {"label":"3,6", "x":6.25, "y":3}, {"label":"3,7", "x":7.25, "y":3}, {"label":"3,8", "x":8.25, "y":3}, {"label":"3,9", "x":9.25, "y":3}, {"label":"3,10", "x":10.25, "y":3}, {"label":"3,11", "x":11.25, "y":3}, {"label":"3,12", "x":12.25, "y":3, "w":1.75}, {"label":"3,14", "x":14, "y":3}, {"label":"3,15", "x":15, "y":3}, {"label":"4,0", "x":0, "y":4, "w":1.25}, {"label":"4,1", "x":1.25, "y":4, "w":1.25}, {"label":"4,2", "x":2.5, "y":4, "w":1.25}, {"label":"4,6", "x":3.75, "y":4, "w":6.25}, {"label":"4,10", "x":10, "y":4, "w":1.25}, {"label":"4,11", "x":11.25, "y":4, "w":1.25}, {"label":"4,13", "x":13, "y":4}, {"label":"4,14", "x":14, "y":4}, {"label":"4,15", "x":15, "y":4}]
diff --git a/keyboards/mechlovin/zed65/no_backlight/cor65/config.h b/keyboards/mechlovin/zed65/no_backlight/cor65/config.h
deleted file mode 100644
index 890026c2fc..0000000000
--- a/keyboards/mechlovin/zed65/no_backlight/cor65/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
1/*
2Copyright 2022 Mechlovin'
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20
21#define MATRIX_ROW_PINS { B12, B13, B14, B15, A1 }
22#define MATRIX_COL_PINS { B11, B10, B2, B1, B0, A6, A5, A4, A3, A2, C13, B7, B6, B5, B4, B3 }
diff --git a/keyboards/mechlovin/zed65/no_backlight/cor65/info.json b/keyboards/mechlovin/zed65/no_backlight/cor65/info.json
index 2f0ea4817f..06777fa219 100644
--- a/keyboards/mechlovin/zed65/no_backlight/cor65/info.json
+++ b/keyboards/mechlovin/zed65/no_backlight/cor65/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6504", 8 "pid": "0x6504",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B11", "B10", "B2", "B1", "B0", "A6", "A5", "A4", "A3", "A2", "C13", "B7", "B6", "B5", "B4", "B3"],
13 "rows": ["B12", "B13", "B14", "B15", "A1"]
14 },
15 "diode_direction": "COL2ROW",
11 "indicators": { 16 "indicators": {
12 "caps_lock": "B9", 17 "caps_lock": "B9",
13 "on_state": 0 18 "on_state": 0
diff --git a/keyboards/mechlovin/zed65/no_backlight/retro66/config.h b/keyboards/mechlovin/zed65/no_backlight/retro66/config.h
index 4739a7c2b1..6786e3b953 100644
--- a/keyboards/mechlovin/zed65/no_backlight/retro66/config.h
+++ b/keyboards/mechlovin/zed65/no_backlight/retro66/config.h
@@ -17,8 +17,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21#define MATRIX_ROW_PINS { B13, B14, A8, A1, A0 }
22#define MATRIX_COL_PINS { B11, B12, B10, B2, B1, B0, A7, A6, A5, A4, A3, A2, B3, A15, B5 }
23
24#define TAP_CODE_DELAY 10 \ No newline at end of file 20#define TAP_CODE_DELAY 10 \ No newline at end of file
diff --git a/keyboards/mechlovin/zed65/no_backlight/retro66/info.json b/keyboards/mechlovin/zed65/no_backlight/retro66/info.json
index f14d88910b..a014cfb554 100644
--- a/keyboards/mechlovin/zed65/no_backlight/retro66/info.json
+++ b/keyboards/mechlovin/zed65/no_backlight/retro66/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6601", 8 "pid": "0x6601",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B11", "B12", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A2", "B3", "A15", "B5"],
13 "rows": ["B13", "B14", "A8", "A1", "A0"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "B4", "pin_b": "B8"}, 18 {"pin_a": "B4", "pin_b": "B8"},
diff --git a/keyboards/mechlovin/zed65/no_backlight/wearhaus66/config.h b/keyboards/mechlovin/zed65/no_backlight/wearhaus66/config.h
index 67c1ffb2d6..7c9062f319 100644
--- a/keyboards/mechlovin/zed65/no_backlight/wearhaus66/config.h
+++ b/keyboards/mechlovin/zed65/no_backlight/wearhaus66/config.h
@@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21#define MATRIX_ROW_PINS { B13, B14, A8, A1, A0 }
22#define MATRIX_COL_PINS { B11, B12, B10, B2, B1, B0, A7, A6, A5, A4, A3, A2, B3, A15, B5 }
23
24
25#ifdef RGBLIGHT_ENABLE 20#ifdef RGBLIGHT_ENABLE
26#define RGB_DI_PIN B15 21#define RGB_DI_PIN B15
27#define RGBLED_NUM 24 22#define RGBLED_NUM 24
diff --git a/keyboards/mechlovin/zed65/no_backlight/wearhaus66/info.json b/keyboards/mechlovin/zed65/no_backlight/wearhaus66/info.json
index e023f83396..518c781713 100644
--- a/keyboards/mechlovin/zed65/no_backlight/wearhaus66/info.json
+++ b/keyboards/mechlovin/zed65/no_backlight/wearhaus66/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6602", 8 "pid": "0x6602",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B11", "B12", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A2", "B3", "A15", "B5"],
13 "rows": ["B13", "B14", "A8", "A1", "A0"]
14 },
15 "diode_direction": "COL2ROW",
11 "indicators": { 16 "indicators": {
12 "caps_lock": "C14" 17 "caps_lock": "C14"
13 }, 18 },
diff --git a/keyboards/mechstudio/dawn/config.h b/keyboards/mechstudio/dawn/config.h
deleted file mode 100644
index 4270fca037..0000000000
--- a/keyboards/mechstudio/dawn/config.h
+++ /dev/null
@@ -1,26 +0,0 @@
1/* Copyright 2020 David Dejaeghere
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19
20// ROWS: Top to bottom, COLS: Left to right
21
22#define MATRIX_ROW_PINS {B1,B2,B3,D1,D6,D4}
23#define MATRIX_COL_PINS {F0,F1,F4,F5,F6,F7,C7,C6,B6,B5,B4,D7,D5,D3,D2}
24
25/* COL2ROW, ROW2COL*/
26#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/mechstudio/dawn/info.json b/keyboards/mechstudio/dawn/info.json
index 4b4d6c5c26..e8bbcbb1ae 100644
--- a/keyboards/mechstudio/dawn/info.json
+++ b/keyboards/mechstudio/dawn/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0004", 8 "pid": "0x0004",
9 "device_version": "0.0.4" 9 "device_version": "0.0.4"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D5", "D3", "D2"],
13 "rows": ["B1", "B2", "B3", "D1", "D6", "D4"]
14 },
15 "diode_direction": "COL2ROW",
11 "qmk_lufa_bootloader": { 16 "qmk_lufa_bootloader": {
12 "esc_input": "B1", 17 "esc_input": "B1",
13 "esc_output": "F0" 18 "esc_output": "F0"
diff --git a/keyboards/mechstudio/ud_40_ortho/config.h b/keyboards/mechstudio/ud_40_ortho/config.h
index 41a6be19a4..7c6f10131d 100644
--- a/keyboards/mechstudio/ud_40_ortho/config.h
+++ b/keyboards/mechstudio/ud_40_ortho/config.h
@@ -16,15 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19
20// ROWS: Top to bottom, COLS: Left to right
21
22#define MATRIX_ROW_PINS {C2,B4,B5,B6}
23#define MATRIX_COL_PINS {C5,D0,B3,B2,B1,B0,D6,D5,D4,D3,D2,D1}
24
25/* COL2ROW, ROW2COL*/
26#define DIODE_DIRECTION COL2ROW
27
28#define RGB_DI_PIN B7 19#define RGB_DI_PIN B7
29 #ifdef RGB_DI_PIN 20 #ifdef RGB_DI_PIN
30 #define RGBLED_NUM 10 21 #define RGBLED_NUM 10
diff --git a/keyboards/mechstudio/ud_40_ortho/info.json b/keyboards/mechstudio/ud_40_ortho/info.json
index a517137f96..e5f367653d 100644
--- a/keyboards/mechstudio/ud_40_ortho/info.json
+++ b/keyboards/mechstudio/ud_40_ortho/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0002", 8 "pid": "0x0002",
9 "device_version": "0.0.2" 9 "device_version": "0.0.2"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["C5", "D0", "B3", "B2", "B1", "B0", "D6", "D5", "D4", "D3", "D2", "D1"],
13 "rows": ["C2", "B4", "B5", "B6"]
14 },
15 "diode_direction": "COL2ROW",
11 "qmk_lufa_bootloader": { 16 "qmk_lufa_bootloader": {
12 "esc_input": "B7", 17 "esc_input": "B7",
13 "esc_output": "F0" 18 "esc_output": "F0"
diff --git a/keyboards/mechwild/bbs/config.h b/keyboards/mechwild/bbs/config.h
index 10bf4dd23e..a8c1b6243a 100644
--- a/keyboards/mechwild/bbs/config.h
+++ b/keyboards/mechwild/bbs/config.h
@@ -7,22 +7,6 @@
7/* allows the "key" button on the blackpill to toggle caps lock for user testing before soldering */ 7/* allows the "key" button on the blackpill to toggle caps lock for user testing before soldering */
8#define DIP_SWITCH_PINS { A0 } 8#define DIP_SWITCH_PINS { A0 }
9 9
10/*
11 * Keyboard Matrix Assignments
12 *
13 * Change this to how you wired your keyboard
14 * COLS: AVR pins used for columns, left to right
15 * ROWS: AVR pins used for rows, top to bottom
16 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
17 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
18 *
19 */
20#define MATRIX_ROW_PINS { B12, B10, B13, B1, B14 }
21#define MATRIX_COL_PINS { B0, A7, A6, A5, A4, A3 }
22
23/* COL2ROW, ROW2COL */
24#define DIODE_DIRECTION COL2ROW
25
26/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 10/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
27#define LOCKING_SUPPORT_ENABLE 11#define LOCKING_SUPPORT_ENABLE
28/* Locking resynchronize hack */ 12/* Locking resynchronize hack */
diff --git a/keyboards/mechwild/bbs/info.json b/keyboards/mechwild/bbs/info.json
index 0adaf90bf7..460df8c60a 100644
--- a/keyboards/mechwild/bbs/info.json
+++ b/keyboards/mechwild/bbs/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x170E", 8 "pid": "0x170E",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B0", "A7", "A6", "A5", "A4", "A3"],
13 "rows": ["B12", "B10", "B13", "B1", "B14"]
14 },
15 "diode_direction": "COL2ROW",
11 "indicators": { 16 "indicators": {
12 "caps_lock": "C13", 17 "caps_lock": "C13",
13 "on_state": 0 18 "on_state": 0
diff --git a/keyboards/mechwild/mercutio/config.h b/keyboards/mechwild/mercutio/config.h
index 070fe36eb7..f9f13d9ac0 100755
--- a/keyboards/mechwild/mercutio/config.h
+++ b/keyboards/mechwild/mercutio/config.h
@@ -17,16 +17,8 @@
17 17
18#pragma once 18#pragma once
19 19
20
21/* key matrix pins */
22#define MATRIX_ROW_PINS { D0, D1, D4, C3, C0, C1, C2}
23#define MATRIX_COL_PINS { B0, D7, D6, D5, B1, B2, B3}
24
25#define TAP_CODE_DELAY 10 20#define TAP_CODE_DELAY 10
26 21
27/* COL2ROW or ROW2COL */
28#define DIODE_DIRECTION COL2ROW
29
30/* Define custom font */ 22/* Define custom font */
31#define OLED_FONT_H "lib/mercutiofont.c" 23#define OLED_FONT_H "lib/mercutiofont.c"
32 24
diff --git a/keyboards/mechwild/mercutio/info.json b/keyboards/mechwild/mercutio/info.json
index 98c815c6a8..20207a6ef6 100644
--- a/keyboards/mechwild/mercutio/info.json
+++ b/keyboards/mechwild/mercutio/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x1703", 8 "pid": "0x1703",
9 "device_version": "1.0.0" 9 "device_version": "1.0.0"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B0", "D7", "D6", "D5", "B1", "B2", "B3"],
13 "rows": ["D0", "D1", "D4", "C3", "C0", "C1", "C2"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "B4", "pin_b": "B5"} 18 {"pin_a": "B4", "pin_b": "B5"}
diff --git a/keyboards/mechwild/mokulua/mirrored/config.h b/keyboards/mechwild/mokulua/mirrored/config.h
index 92a8dfa323..a91a4bf79c 100644
--- a/keyboards/mechwild/mokulua/mirrored/config.h
+++ b/keyboards/mechwild/mokulua/mirrored/config.h
@@ -3,16 +3,8 @@
3 3
4#pragma once 4#pragma once
5 5
6
7/* Key matrix pins */
8#define MATRIX_ROW_PINS { F4, F5, F6, F7, B1, B3 }
9#define MATRIX_COL_PINS { D4, C6, D7, E6, B4, B5 }
10
11#define TAP_CODE_DELAY 10 6#define TAP_CODE_DELAY 10
12 7
13/* COL2ROW, ROW2COL */
14#define DIODE_DIRECTION COL2ROW
15
16#define OLED_FONT_H "keyboards/mechwild/mokulua/glcdfont.c" 8#define OLED_FONT_H "keyboards/mechwild/mokulua/glcdfont.c"
17 9
18#define MASTER_LEFT 10#define MASTER_LEFT
diff --git a/keyboards/mechwild/mokulua/mirrored/info.json b/keyboards/mechwild/mokulua/mirrored/info.json
index 29d2497cc1..e3e7308a19 100644
--- a/keyboards/mechwild/mokulua/mirrored/info.json
+++ b/keyboards/mechwild/mokulua/mirrored/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x170C", 8 "pid": "0x170C",
9 "device_version": "1.0.3" 9 "device_version": "1.0.3"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D4", "C6", "D7", "E6", "B4", "B5"],
13 "rows": ["F4", "F5", "F6", "F7", "B1", "B3"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "D2", "pin_b": "B2"} 18 {"pin_a": "D2", "pin_b": "B2"}
diff --git a/keyboards/mechwild/mokulua/standard/config.h b/keyboards/mechwild/mokulua/standard/config.h
index b720c271b2..f33d6c5944 100644
--- a/keyboards/mechwild/mokulua/standard/config.h
+++ b/keyboards/mechwild/mokulua/standard/config.h
@@ -3,16 +3,8 @@
3 3
4#pragma once 4#pragma once
5 5
6
7/* Key matrix pins */
8#define MATRIX_ROW_PINS { F4, F5, F6, F7, B1, B3 }
9#define MATRIX_COL_PINS { D4, C6, D7, E6, B4, B5 }
10
11#define TAP_CODE_DELAY 10 6#define TAP_CODE_DELAY 10
12 7
13/* COL2ROW, ROW2COL */
14#define DIODE_DIRECTION COL2ROW
15
16#define OLED_FONT_H "keyboards/mechwild/mokulua/glcdfont.c" 8#define OLED_FONT_H "keyboards/mechwild/mokulua/glcdfont.c"
17 9
18#define MASTER_LEFT 10#define MASTER_LEFT
diff --git a/keyboards/mechwild/mokulua/standard/info.json b/keyboards/mechwild/mokulua/standard/info.json
index d3451698f6..c3b9ea2120 100644
--- a/keyboards/mechwild/mokulua/standard/info.json
+++ b/keyboards/mechwild/mokulua/standard/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x170B", 8 "pid": "0x170B",
9 "device_version": "1.0.3" 9 "device_version": "1.0.3"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D4", "C6", "D7", "E6", "B4", "B5"],
13 "rows": ["F4", "F5", "F6", "F7", "B1", "B3"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "D2", "pin_b": "B2"} 18 {"pin_a": "D2", "pin_b": "B2"}
diff --git a/keyboards/mechwild/murphpad/config.h b/keyboards/mechwild/murphpad/config.h
index d3158c3306..68217b33bf 100644
--- a/keyboards/mechwild/murphpad/config.h
+++ b/keyboards/mechwild/murphpad/config.h
@@ -17,16 +17,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/* Key matrix pins */
22#define MATRIX_ROW_PINS { F5, B2, B3, B1, F7, F6 }
23#define MATRIX_COL_PINS { B5, D7, C6, D4, B6 }
24
25#define TAP_CODE_DELAY 10 20#define TAP_CODE_DELAY 10
26 21
27/* COL2ROW, ROW2COL */
28#define DIODE_DIRECTION COL2ROW
29
30#define OLED_FONT_H "keyboards/mechwild/murphpad/lib/murphpadfont.c" 22#define OLED_FONT_H "keyboards/mechwild/murphpad/lib/murphpadfont.c"
31 23
32#define RGB_DI_PIN F4 24#define RGB_DI_PIN F4
diff --git a/keyboards/mechwild/murphpad/info.json b/keyboards/mechwild/murphpad/info.json
index 92af56f0dd..b396b4a6af 100644
--- a/keyboards/mechwild/murphpad/info.json
+++ b/keyboards/mechwild/murphpad/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x1705", 8 "pid": "0x1705",
9 "device_version": "3.0.1" 9 "device_version": "3.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B5", "D7", "C6", "D4", "B6"],
13 "rows": ["F5", "B2", "B3", "B1", "F7", "F6"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "E6", "pin_b": "B4"}, 18 {"pin_a": "E6", "pin_b": "B4"},
diff --git a/keyboards/mechwild/obe/config.h b/keyboards/mechwild/obe/config.h
index 72efdae1e2..a130b99d1e 100644
--- a/keyboards/mechwild/obe/config.h
+++ b/keyboards/mechwild/obe/config.h
@@ -17,25 +17,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { A8, B15, B14, B13, B12, A15, B3 }
32#define MATRIX_COL_PINS { B10, B1, B0, A7, A6, A5, A4, A3, A2, A1 }
33
34#define TAP_CODE_DELAY 10 20#define TAP_CODE_DELAY 10
35 21
36/* COL2ROW, ROW2COL */
37#define DIODE_DIRECTION COL2ROW
38
39/* RGB settings, uncomment this define to enable RGB */ 22/* RGB settings, uncomment this define to enable RGB */
40#define RGB_DI_PIN A0 23#define RGB_DI_PIN A0
41#ifdef RGB_DI_PIN 24#ifdef RGB_DI_PIN
diff --git a/keyboards/mechwild/obe/info.json b/keyboards/mechwild/obe/info.json
index cbe9f7cfa8..f6d6ed10d9 100644
--- a/keyboards/mechwild/obe/info.json
+++ b/keyboards/mechwild/obe/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x1707", 8 "pid": "0x1707",
9 "device_version": "2.0.1" 9 "device_version": "2.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B10", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A2", "A1"],
13 "rows": ["A8", "B15", "B14", "B13", "B12", "A15", "B3"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "B5", "pin_b": "B4"} 18 {"pin_a": "B5", "pin_b": "B4"}
diff --git a/keyboards/mechwild/puckbuddy/config.h b/keyboards/mechwild/puckbuddy/config.h
index bf2e1a0b58..13e8bbfed2 100644
--- a/keyboards/mechwild/puckbuddy/config.h
+++ b/keyboards/mechwild/puckbuddy/config.h
@@ -18,19 +18,6 @@
18 */ 18 */
19#define TAPPING_TERM 0 19#define TAPPING_TERM 0
20 20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { B12, B13, B14, B15 }
32#define MATRIX_COL_PINS { B10, A8, B4, B5 }
33
34/* spi config */ 21/* spi config */
35#define SPI_DRIVER SPID1 22#define SPI_DRIVER SPID1
36#define SPI_SCK_PIN A5 23#define SPI_SCK_PIN A5
@@ -44,9 +31,6 @@
44 31
45#define TAP_CODE_DELAY 10 32#define TAP_CODE_DELAY 10
46 33
47/* COL2ROW, ROW2COL */
48#define DIODE_DIRECTION COL2ROW
49
50/* RGB settings, uncomment this define to enable RGB */ 34/* RGB settings, uncomment this define to enable RGB */
51#define RGB_DI_PIN A3 35#define RGB_DI_PIN A3
52#ifdef RGB_DI_PIN 36#ifdef RGB_DI_PIN
diff --git a/keyboards/mechwild/puckbuddy/info.json b/keyboards/mechwild/puckbuddy/info.json
index 825def96a2..0d45c97d50 100644
--- a/keyboards/mechwild/puckbuddy/info.json
+++ b/keyboards/mechwild/puckbuddy/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x170F", 8 "pid": "0x170F",
9 "device_version": "1.0.0" 9 "device_version": "1.0.0"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B10", "A8", "B4", "B5"],
13 "rows": ["B12", "B13", "B14", "B15"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "B1", "pin_b": "B0"}, 18 {"pin_a": "B1", "pin_b": "B0"},
diff --git a/keyboards/mechwild/waka60/config.h b/keyboards/mechwild/waka60/config.h
index 88b160a980..b427adc33c 100644
--- a/keyboards/mechwild/waka60/config.h
+++ b/keyboards/mechwild/waka60/config.h
@@ -17,25 +17,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { B8, B4, B3, B9, A15, B12, B13, B14, B15, A8 }
32#define MATRIX_COL_PINS { B10, B1, B0, A7, A6, A5, A4 }
33
34#define TAP_CODE_DELAY 10 20#define TAP_CODE_DELAY 10
35 21
36/* COL2ROW, ROW2COL */
37#define DIODE_DIRECTION COL2ROW
38
39/* RGB settings, uncomment this define to enable RGB */ 22/* RGB settings, uncomment this define to enable RGB */
40#define RGB_DI_PIN A1 23#define RGB_DI_PIN A1
41#ifdef RGB_DI_PIN 24#ifdef RGB_DI_PIN
diff --git a/keyboards/mechwild/waka60/info.json b/keyboards/mechwild/waka60/info.json
index eb7d2d9f54..1bed5452b0 100644
--- a/keyboards/mechwild/waka60/info.json
+++ b/keyboards/mechwild/waka60/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x1709", 8 "pid": "0x1709",
9 "device_version": "1.0.1" 9 "device_version": "1.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B10", "B1", "B0", "A7", "A6", "A5", "A4"],
13 "rows": ["B8", "B4", "B3", "B9", "A15", "B12", "B13", "B14", "B15", "A8"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "A3", "pin_b": "A2"} 18 {"pin_a": "A3", "pin_b": "A2"}
diff --git a/keyboards/mehkee96/config.h b/keyboards/mehkee96/config.h
index 2066e16662..e5f456306d 100644
--- a/keyboards/mehkee96/config.h
+++ b/keyboards/mehkee96/config.h
@@ -1,10 +1,5 @@
1#pragma once 1#pragma once
2 2
3
4#define MATRIX_ROW_PINS { B0, B1, B2, B3, B4, B5, B6, B7 }
5#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
6#define DIODE_DIRECTION COL2ROW
7
8#define RGBLED_NUM 18 3#define RGBLED_NUM 18
9#define RGBLIGHT_EFFECT_BREATHING 4#define RGBLIGHT_EFFECT_BREATHING
10#define RGBLIGHT_EFFECT_RAINBOW_MOOD 5#define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/mehkee96/info.json b/keyboards/mehkee96/info.json
index 40f4cd71b4..4ccfe90762 100644
--- a/keyboards/mehkee96/info.json
+++ b/keyboards/mehkee96/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x422D", 8 "pid": "0x422D",
9 "device_version": "2.0.0" 9 "device_version": "2.0.0"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"],
13 "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7"]
14 },
15 "diode_direction": "COL2ROW",
11 "backlight": { 16 "backlight": {
12 "pin": "D4" 17 "pin": "D4"
13 }, 18 },
diff --git a/keyboards/meletrix/zoom65/config.h b/keyboards/meletrix/zoom65/config.h
index 4c05b1d83b..e5cc1f3e5b 100644
--- a/keyboards/meletrix/zoom65/config.h
+++ b/keyboards/meletrix/zoom65/config.h
@@ -16,12 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19
20#define MATRIX_ROW_PINS { F0, E6, D5, F1, F4 }
21#define MATRIX_COL_PINS { C7, D3, D2, D1, D0, B7, B3, B2, C6, B6, B5, B4, D7, D6, D4 }
22
23#define DIODE_DIRECTION COL2ROW
24
25// Note: array is { col, row ) 19// Note: array is { col, row )
26#define ENCODERS_CW_KEY { { 5, 4 } } 20#define ENCODERS_CW_KEY { { 5, 4 } }
27#define ENCODERS_CCW_KEY { { 3, 4 } } 21#define ENCODERS_CCW_KEY { { 3, 4 } }
diff --git a/keyboards/meletrix/zoom65/info.json b/keyboards/meletrix/zoom65/info.json
index 0968df4794..8c11abe429 100644
--- a/keyboards/meletrix/zoom65/info.json
+++ b/keyboards/meletrix/zoom65/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0004", 8 "pid": "0x0004",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["C7", "D3", "D2", "D1", "D0", "B7", "B3", "B2", "C6", "B6", "B5", "B4", "D7", "D6", "D4"],
13 "rows": ["F0", "E6", "D5", "F1", "F4"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "B1", "pin_b": "B0", "resolution": 2} 18 {"pin_a": "B1", "pin_b": "B0", "resolution": 2}
diff --git a/keyboards/meletrix/zoom65_lite/config.h b/keyboards/meletrix/zoom65_lite/config.h
index 4c05b1d83b..e5cc1f3e5b 100644
--- a/keyboards/meletrix/zoom65_lite/config.h
+++ b/keyboards/meletrix/zoom65_lite/config.h
@@ -16,12 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19
20#define MATRIX_ROW_PINS { F0, E6, D5, F1, F4 }
21#define MATRIX_COL_PINS { C7, D3, D2, D1, D0, B7, B3, B2, C6, B6, B5, B4, D7, D6, D4 }
22
23#define DIODE_DIRECTION COL2ROW
24
25// Note: array is { col, row ) 19// Note: array is { col, row )
26#define ENCODERS_CW_KEY { { 5, 4 } } 20#define ENCODERS_CW_KEY { { 5, 4 } }
27#define ENCODERS_CCW_KEY { { 3, 4 } } 21#define ENCODERS_CCW_KEY { { 3, 4 } }
diff --git a/keyboards/meletrix/zoom65_lite/info.json b/keyboards/meletrix/zoom65_lite/info.json
index d5dcd621ef..97598af127 100644
--- a/keyboards/meletrix/zoom65_lite/info.json
+++ b/keyboards/meletrix/zoom65_lite/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0005", 8 "pid": "0x0005",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["C7", "D3", "D2", "D1", "D0", "B7", "B3", "B2", "C6", "B6", "B5", "B4", "D7", "D6", "D4"],
13 "rows": ["F0", "E6", "D5", "F1", "F4"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "B1", "pin_b": "B0", "resolution": 2} 18 {"pin_a": "B1", "pin_b": "B0", "resolution": 2}
diff --git a/keyboards/meletrix/zoom87/config.h b/keyboards/meletrix/zoom87/config.h
index c016ab1f56..fd83302d27 100644
--- a/keyboards/meletrix/zoom87/config.h
+++ b/keyboards/meletrix/zoom87/config.h
@@ -16,12 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19
20#define MATRIX_ROW_PINS { B3, B7, B2, F0, D3, D0 }
21#define MATRIX_COL_PINS { D6, D7, D1, D5, F7, D4, F5, F4, F1, C7, C6, B6, B5, B4, E6, B1, B0 }
22
23#define DIODE_DIRECTION COL2ROW
24
25#define RGB_DI_PIN D2 19#define RGB_DI_PIN D2
26#ifdef RGB_DI_PIN 20#ifdef RGB_DI_PIN
27 #define RGBLED_NUM 20 21 #define RGBLED_NUM 20
diff --git a/keyboards/meletrix/zoom87/info.json b/keyboards/meletrix/zoom87/info.json
index c60f7f8799..d5824818f9 100644
--- a/keyboards/meletrix/zoom87/info.json
+++ b/keyboards/meletrix/zoom87/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0007", 8 "pid": "0x0007",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D6", "D7", "D1", "D5", "F7", "D4", "F5", "F4", "F1", "C7", "C6", "B6", "B5", "B4", "E6", "B1", "B0"],
13 "rows": ["B3", "B7", "B2", "F0", "D3", "D0"]
14 },
15 "diode_direction": "COL2ROW",
11 "indicators": { 16 "indicators": {
12 "caps_lock": "F6", 17 "caps_lock": "F6",
13 "on_state": 0 18 "on_state": 0
diff --git a/keyboards/melgeek/mach80/rev1/config.h b/keyboards/melgeek/mach80/rev1/config.h
index 62af5154e6..072419e163 100755
--- a/keyboards/melgeek/mach80/rev1/config.h
+++ b/keyboards/melgeek/mach80/rev1/config.h
@@ -16,23 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19/*
20 * Keyboard Matrix Assignments
21 *
22 * Change this to how you wired your keyboard
23 * COLS: AVR pins used for columns, left to right
24 * ROWS: AVR pins used for rows, top to bottom
25 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
26 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
27 *
28 */
29
30#define MATRIX_ROW_PINS { F0, F1, F4, F5, F6, E6 }
31#define MATRIX_COL_PINS { B0, B1, B2, B3, D2, D5, D4, D6, D7, B4, B5, B6, C6, C7, F7, D3 }
32
33/* COL2ROW, ROW2COL*/
34#define DIODE_DIRECTION ROW2COL
35
36#define RGB_MATRIX_LED_COUNT 97 19#define RGB_MATRIX_LED_COUNT 97
37#define DRIVER_INDICATOR_LED_TOTAL 3 20#define DRIVER_INDICATOR_LED_TOTAL 3
38 21
diff --git a/keyboards/melgeek/mach80/rev1/info.json b/keyboards/melgeek/mach80/rev1/info.json
new file mode 100644
index 0000000000..af9f7c2669
--- /dev/null
+++ b/keyboards/melgeek/mach80/rev1/info.json
@@ -0,0 +1,7 @@
1{
2 "matrix_pins": {
3 "cols": ["B0", "B1", "B2", "B3", "D2", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "D3"],
4 "rows": ["F0", "F1", "F4", "F5", "F6", "E6"]
5 },
6 "diode_direction": "ROW2COL"
7}
diff --git a/keyboards/melgeek/mach80/rev2/config.h b/keyboards/melgeek/mach80/rev2/config.h
index b42d96691a..10d3bde47a 100755
--- a/keyboards/melgeek/mach80/rev2/config.h
+++ b/keyboards/melgeek/mach80/rev2/config.h
@@ -16,23 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19/*
20 * Keyboard Matrix Assignments
21 *
22 * Change this to how you wired your keyboard
23 * COLS: AVR pins used for columns, left to right
24 * ROWS: AVR pins used for rows, top to bottom
25 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
26 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
27 *
28 */
29
30#define MATRIX_ROW_PINS { F0, F1, F4, F5, F6, E6 }
31#define MATRIX_COL_PINS { B0, B1, B2, B3, D2, D5, D4, D6, D7, B4, B5, B6, C6, C7, F7, D3 }
32
33/* COL2ROW, ROW2COL*/
34#define DIODE_DIRECTION ROW2COL
35
36#define RGB_MATRIX_LED_COUNT 94 19#define RGB_MATRIX_LED_COUNT 94
37#define DRIVER_INDICATOR_LED_TOTAL 3 20#define DRIVER_INDICATOR_LED_TOTAL 3
38 21
diff --git a/keyboards/melgeek/mach80/rev2/info.json b/keyboards/melgeek/mach80/rev2/info.json
new file mode 100644
index 0000000000..af9f7c2669
--- /dev/null
+++ b/keyboards/melgeek/mach80/rev2/info.json
@@ -0,0 +1,7 @@
1{
2 "matrix_pins": {
3 "cols": ["B0", "B1", "B2", "B3", "D2", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "D3"],
4 "rows": ["F0", "F1", "F4", "F5", "F6", "E6"]
5 },
6 "diode_direction": "ROW2COL"
7}
diff --git a/keyboards/melgeek/mj61/rev1/config.h b/keyboards/melgeek/mj61/rev1/config.h
index c3f72d006a..ea29d94b9b 100644
--- a/keyboards/melgeek/mj61/rev1/config.h
+++ b/keyboards/melgeek/mj61/rev1/config.h
@@ -16,22 +16,5 @@
16 16
17#pragma once 17#pragma once
18 18
19/*
20 * Keyboard Matrix Assignments
21 *
22 * Change this to how you wired your keyboard
23 * COLS: AVR pins used for columns, left to right
24 * ROWS: AVR pins used for rows, top to bottom
25 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
26 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
27 *
28 */
29
30#define MATRIX_ROW_PINS { B12, B11, B10, B1, A3 }
31#define MATRIX_COL_PINS { B15, A8, A10, A15, B3, B4, B5, B8, B9, C13, C14, C15, A0, A1 }
32
33/* COL2ROW, ROW2COL*/
34#define DIODE_DIRECTION COL2ROW
35
36#define RGB_MATRIX_LED_COUNT 63 19#define RGB_MATRIX_LED_COUNT 63
37#define DRIVER_INDICATOR_LED_TOTAL 0 20#define DRIVER_INDICATOR_LED_TOTAL 0
diff --git a/keyboards/melgeek/mj61/rev1/info.json b/keyboards/melgeek/mj61/rev1/info.json
new file mode 100644
index 0000000000..67a4a004d6
--- /dev/null
+++ b/keyboards/melgeek/mj61/rev1/info.json
@@ -0,0 +1,7 @@
1{
2 "matrix_pins": {
3 "cols": ["B15", "A8", "A10", "A15", "B3", "B4", "B5", "B8", "B9", "C13", "C14", "C15", "A0", "A1"],
4 "rows": ["B12", "B11", "B10", "B1", "A3"]
5 },
6 "diode_direction": "COL2ROW"
7}
diff --git a/keyboards/melgeek/mj61/rev2/config.h b/keyboards/melgeek/mj61/rev2/config.h
index 422d4847e4..0cd072eb4b 100644
--- a/keyboards/melgeek/mj61/rev2/config.h
+++ b/keyboards/melgeek/mj61/rev2/config.h
@@ -16,22 +16,5 @@
16 16
17#pragma once 17#pragma once
18 18
19/*
20 * Keyboard Matrix Assignments
21 *
22 * Change this to how you wired your keyboard
23 * COLS: AVR pins used for columns, left to right
24 * ROWS: AVR pins used for rows, top to bottom
25 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
26 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
27 *
28 */
29
30#define MATRIX_ROW_PINS { B12, B11, B10, B1, A3 }
31#define MATRIX_COL_PINS { B15, A8, B13, A15, B3, B4, B5, B8, B9, C13, C14, C15, A0, A1 }
32
33/* COL2ROW, ROW2COL*/
34#define DIODE_DIRECTION COL2ROW
35
36#define RGB_MATRIX_LED_COUNT 71 19#define RGB_MATRIX_LED_COUNT 71
37#define DRIVER_INDICATOR_LED_TOTAL 0 20#define DRIVER_INDICATOR_LED_TOTAL 0
diff --git a/keyboards/melgeek/mj61/rev2/info.json b/keyboards/melgeek/mj61/rev2/info.json
new file mode 100644
index 0000000000..62c5827117
--- /dev/null
+++ b/keyboards/melgeek/mj61/rev2/info.json
@@ -0,0 +1,7 @@
1{
2 "matrix_pins": {
3 "cols": ["B15", "A8", "B13", "A15", "B3", "B4", "B5", "B8", "B9", "C13", "C14", "C15", "A0", "A1"],
4 "rows": ["B12", "B11", "B10", "B1", "A3"]
5 },
6 "diode_direction": "COL2ROW"
7}
diff --git a/keyboards/melgeek/mj63/rev1/config.h b/keyboards/melgeek/mj63/rev1/config.h
index 31c4e0f148..8abf7f5595 100644
--- a/keyboards/melgeek/mj63/rev1/config.h
+++ b/keyboards/melgeek/mj63/rev1/config.h
@@ -16,22 +16,5 @@
16 16
17#pragma once 17#pragma once
18 18
19/*
20 * Keyboard Matrix Assignments
21 *
22 * Change this to how you wired your keyboard
23 * COLS: AVR pins used for columns, left to right
24 * ROWS: AVR pins used for rows, top to bottom
25 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
26 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
27 *
28 */
29
30#define MATRIX_ROW_PINS { B12, B11, B10, B1, A3 }
31#define MATRIX_COL_PINS { B15, A8, A10, A15, B3, B4, B5, B8, B9, C13, C14, C15, A0, A1 }
32
33/* COL2ROW, ROW2COL*/
34#define DIODE_DIRECTION COL2ROW
35
36#define RGB_MATRIX_LED_COUNT 65 19#define RGB_MATRIX_LED_COUNT 65
37#define DRIVER_INDICATOR_LED_TOTAL 0 20#define DRIVER_INDICATOR_LED_TOTAL 0
diff --git a/keyboards/melgeek/mj63/rev1/info.json b/keyboards/melgeek/mj63/rev1/info.json
new file mode 100644
index 0000000000..67a4a004d6
--- /dev/null
+++ b/keyboards/melgeek/mj63/rev1/info.json
@@ -0,0 +1,7 @@
1{
2 "matrix_pins": {
3 "cols": ["B15", "A8", "A10", "A15", "B3", "B4", "B5", "B8", "B9", "C13", "C14", "C15", "A0", "A1"],
4 "rows": ["B12", "B11", "B10", "B1", "A3"]
5 },
6 "diode_direction": "COL2ROW"
7}
diff --git a/keyboards/melgeek/mj63/rev2/config.h b/keyboards/melgeek/mj63/rev2/config.h
index 422d4847e4..0cd072eb4b 100644
--- a/keyboards/melgeek/mj63/rev2/config.h
+++ b/keyboards/melgeek/mj63/rev2/config.h
@@ -16,22 +16,5 @@
16 16
17#pragma once 17#pragma once
18 18
19/*
20 * Keyboard Matrix Assignments
21 *
22 * Change this to how you wired your keyboard
23 * COLS: AVR pins used for columns, left to right
24 * ROWS: AVR pins used for rows, top to bottom
25 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
26 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
27 *
28 */
29
30#define MATRIX_ROW_PINS { B12, B11, B10, B1, A3 }
31#define MATRIX_COL_PINS { B15, A8, B13, A15, B3, B4, B5, B8, B9, C13, C14, C15, A0, A1 }
32
33/* COL2ROW, ROW2COL*/
34#define DIODE_DIRECTION COL2ROW
35
36#define RGB_MATRIX_LED_COUNT 71 19#define RGB_MATRIX_LED_COUNT 71
37#define DRIVER_INDICATOR_LED_TOTAL 0 20#define DRIVER_INDICATOR_LED_TOTAL 0
diff --git a/keyboards/melgeek/mj63/rev2/info.json b/keyboards/melgeek/mj63/rev2/info.json
new file mode 100644
index 0000000000..62c5827117
--- /dev/null
+++ b/keyboards/melgeek/mj63/rev2/info.json
@@ -0,0 +1,7 @@
1{
2 "matrix_pins": {
3 "cols": ["B15", "A8", "B13", "A15", "B3", "B4", "B5", "B8", "B9", "C13", "C14", "C15", "A0", "A1"],
4 "rows": ["B12", "B11", "B10", "B1", "A3"]
5 },
6 "diode_direction": "COL2ROW"
7}
diff --git a/keyboards/melgeek/mj64/rev1/config.h b/keyboards/melgeek/mj64/rev1/config.h
index a0048f6912..ab8fcd6e09 100644
--- a/keyboards/melgeek/mj64/rev1/config.h
+++ b/keyboards/melgeek/mj64/rev1/config.h
@@ -16,22 +16,5 @@
16 16
17#pragma once 17#pragma once
18 18
19/*
20 * Keyboard Matrix Assignments
21 *
22 * Change this to how you wired your keyboard
23 * COLS: AVR pins used for columns, left to right
24 * ROWS: AVR pins used for rows, top to bottom
25 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
26 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
27 *
28 */
29
30#define MATRIX_ROW_PINS { B12, B11, B10, B1, A3 }
31#define MATRIX_COL_PINS { B15, A8, A10, A15, B3, B4, B5, B8, B9, C13, C14, C15, A0, A1 }
32
33/* COL2ROW, ROW2COL*/
34#define DIODE_DIRECTION COL2ROW
35
36#define RGB_MATRIX_LED_COUNT 66 19#define RGB_MATRIX_LED_COUNT 66
37#define DRIVER_INDICATOR_LED_TOTAL 0 20#define DRIVER_INDICATOR_LED_TOTAL 0
diff --git a/keyboards/melgeek/mj64/rev1/info.json b/keyboards/melgeek/mj64/rev1/info.json
new file mode 100644
index 0000000000..67a4a004d6
--- /dev/null
+++ b/keyboards/melgeek/mj64/rev1/info.json
@@ -0,0 +1,7 @@
1{
2 "matrix_pins": {
3 "cols": ["B15", "A8", "A10", "A15", "B3", "B4", "B5", "B8", "B9", "C13", "C14", "C15", "A0", "A1"],
4 "rows": ["B12", "B11", "B10", "B1", "A3"]
5 },
6 "diode_direction": "COL2ROW"
7}
diff --git a/keyboards/melgeek/mj64/rev2/config.h b/keyboards/melgeek/mj64/rev2/config.h
index a0048f6912..ab8fcd6e09 100644
--- a/keyboards/melgeek/mj64/rev2/config.h
+++ b/keyboards/melgeek/mj64/rev2/config.h
@@ -16,22 +16,5 @@
16 16
17#pragma once 17#pragma once
18 18
19/*
20 * Keyboard Matrix Assignments
21 *
22 * Change this to how you wired your keyboard
23 * COLS: AVR pins used for columns, left to right
24 * ROWS: AVR pins used for rows, top to bottom
25 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
26 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
27 *
28 */
29
30#define MATRIX_ROW_PINS { B12, B11, B10, B1, A3 }
31#define MATRIX_COL_PINS { B15, A8, A10, A15, B3, B4, B5, B8, B9, C13, C14, C15, A0, A1 }
32
33/* COL2ROW, ROW2COL*/
34#define DIODE_DIRECTION COL2ROW
35
36#define RGB_MATRIX_LED_COUNT 66 19#define RGB_MATRIX_LED_COUNT 66
37#define DRIVER_INDICATOR_LED_TOTAL 0 20#define DRIVER_INDICATOR_LED_TOTAL 0
diff --git a/keyboards/melgeek/mj64/rev2/info.json b/keyboards/melgeek/mj64/rev2/info.json
new file mode 100644
index 0000000000..67a4a004d6
--- /dev/null
+++ b/keyboards/melgeek/mj64/rev2/info.json
@@ -0,0 +1,7 @@
1{
2 "matrix_pins": {
3 "cols": ["B15", "A8", "A10", "A15", "B3", "B4", "B5", "B8", "B9", "C13", "C14", "C15", "A0", "A1"],
4 "rows": ["B12", "B11", "B10", "B1", "A3"]
5 },
6 "diode_direction": "COL2ROW"
7}
diff --git a/keyboards/melgeek/mj64/rev3/config.h b/keyboards/melgeek/mj64/rev3/config.h
index bcb2110b60..a5a1fbf3e0 100644
--- a/keyboards/melgeek/mj64/rev3/config.h
+++ b/keyboards/melgeek/mj64/rev3/config.h
@@ -16,22 +16,5 @@
16 16
17#pragma once 17#pragma once
18 18
19/*
20 * Keyboard Matrix Assignments
21 *
22 * Change this to how you wired your keyboard
23 * COLS: AVR pins used for columns, left to right
24 * ROWS: AVR pins used for rows, top to bottom
25 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
26 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
27 *
28 */
29
30#define MATRIX_ROW_PINS { B12, B11, B10, B1, A3 }
31#define MATRIX_COL_PINS { B15, A8, B13, A15, B3, B4, B5, B8, B9, C13, C14, C15, A0, A1 }
32
33/* COL2ROW, ROW2COL*/
34#define DIODE_DIRECTION COL2ROW
35
36#define RGB_MATRIX_LED_COUNT 72 19#define RGB_MATRIX_LED_COUNT 72
37#define DRIVER_INDICATOR_LED_TOTAL 0 20#define DRIVER_INDICATOR_LED_TOTAL 0
diff --git a/keyboards/melgeek/mj64/rev3/info.json b/keyboards/melgeek/mj64/rev3/info.json
new file mode 100644
index 0000000000..62c5827117
--- /dev/null
+++ b/keyboards/melgeek/mj64/rev3/info.json
@@ -0,0 +1,7 @@
1{
2 "matrix_pins": {
3 "cols": ["B15", "A8", "B13", "A15", "B3", "B4", "B5", "B8", "B9", "C13", "C14", "C15", "A0", "A1"],
4 "rows": ["B12", "B11", "B10", "B1", "A3"]
5 },
6 "diode_direction": "COL2ROW"
7}
diff --git a/keyboards/melgeek/mj65/info.json b/keyboards/melgeek/mj65/info.json
index f7a24f9a55..fc2a5923d0 100644
--- a/keyboards/melgeek/mj65/info.json
+++ b/keyboards/melgeek/mj65/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0065", 8 "pid": "0x0065",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B15", "A8", "B13", "A15", "B3", "B4", "B5", "B8", "B9", "C13", "C14", "C15", "A0", "A1", "B14"],
13 "rows": ["B12", "B11", "B10", "B1", "A3"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "STM32F303", 16 "processor": "STM32F303",
12 "bootloader": "stm32-dfu", 17 "bootloader": "stm32-dfu",
13 "board": "QMK_PROTON_C", 18 "board": "QMK_PROTON_C",
diff --git a/keyboards/melgeek/mj65/rev3/config.h b/keyboards/melgeek/mj65/rev3/config.h
index 24ed74f4b6..7fc5f0afd1 100644
--- a/keyboards/melgeek/mj65/rev3/config.h
+++ b/keyboards/melgeek/mj65/rev3/config.h
@@ -16,22 +16,5 @@
16 16
17#pragma once 17#pragma once
18 18
19/*
20 * Keyboard Matrix Assignments
21 *
22 * Change this to how you wired your keyboard
23 * COLS: AVR pins used for columns, left to right
24 * ROWS: AVR pins used for rows, top to bottom
25 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
26 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
27 *
28 */
29
30#define MATRIX_ROW_PINS { B12, B11, B10, B1, A3 }
31#define MATRIX_COL_PINS { B15, A8, B13, A15, B3, B4, B5, B8, B9, C13, C14, C15, A0, A1, B14 }
32
33/* COL2ROW, ROW2COL*/
34#define DIODE_DIRECTION COL2ROW
35
36#define RGB_MATRIX_LED_COUNT 76 19#define RGB_MATRIX_LED_COUNT 76
37#define DRIVER_INDICATOR_LED_TOTAL 0 20#define DRIVER_INDICATOR_LED_TOTAL 0
diff --git a/keyboards/melgeek/mj6xy/rev3/config.h b/keyboards/melgeek/mj6xy/rev3/config.h
index a093ab8d37..7150128436 100755
--- a/keyboards/melgeek/mj6xy/rev3/config.h
+++ b/keyboards/melgeek/mj6xy/rev3/config.h
@@ -16,12 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19#define MATRIX_ROW_PINS { F0, F1, F4, F5, F6 }
20#define MATRIX_COL_PINS { B0, B1, B2, B3, B6, B5, B4, D7, D6, D4, D5, F7, D2, D1, D0 }
21
22/* COL2ROW, ROW2COL*/
23#define DIODE_DIRECTION COL2ROW
24
25#define RGB_DI_PIN C6 19#define RGB_DI_PIN C6
26 20
27#ifdef RGB_DI_PIN 21#ifdef RGB_DI_PIN
diff --git a/keyboards/melgeek/mj6xy/rev3/info.json b/keyboards/melgeek/mj6xy/rev3/info.json
index ccd7165a72..1c36053897 100644
--- a/keyboards/melgeek/mj6xy/rev3/info.json
+++ b/keyboards/melgeek/mj6xy/rev3/info.json
@@ -1,4 +1,9 @@
1{ 1{
2 "matrix_pins": {
3 "cols": ["B0", "B1", "B2", "B3", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "F7", "D2", "D1", "D0"],
4 "rows": ["F0", "F1", "F4", "F5", "F6"]
5 },
6 "diode_direction": "COL2ROW",
2 "backlight": { 7 "backlight": {
3 "driver": "software", 8 "driver": "software",
4 "pin": "B7", 9 "pin": "B7",
diff --git a/keyboards/melgeek/mojo68/info.json b/keyboards/melgeek/mojo68/info.json
index a7930598f7..033da3766c 100755
--- a/keyboards/melgeek/mojo68/info.json
+++ b/keyboards/melgeek/mojo68/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0068", 8 "pid": "0x0068",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B0", "B1", "B2", "B3", "D2", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7"],
13 "rows": ["F0", "F1", "F4", "F5", "F6"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "debounce": 3, 18 "debounce": 3,
diff --git a/keyboards/melgeek/mojo68/rev1/config.h b/keyboards/melgeek/mojo68/rev1/config.h
index 7cb916e4fb..2a93a475cf 100755
--- a/keyboards/melgeek/mojo68/rev1/config.h
+++ b/keyboards/melgeek/mojo68/rev1/config.h
@@ -16,22 +16,5 @@
16 16
17#pragma once 17#pragma once
18 18
19/*
20 * Keyboard Matrix Assignments
21 *
22 * Change this to how you wired your keyboard
23 * COLS: AVR pins used for columns, left to right
24 * ROWS: AVR pins used for rows, top to bottom
25 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
26 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
27 *
28 */
29
30#define MATRIX_ROW_PINS { F0, F1, F4, F5, F6 }
31#define MATRIX_COL_PINS { B0 ,B1, B2, B3, D2, D5, D4, D6, D7, B4, B5, B6, C6, C7, F7 }
32
33/* COL2ROW, ROW2COL*/
34#define DIODE_DIRECTION COL2ROW
35
36#define RGB_MATRIX_LED_COUNT 68 19#define RGB_MATRIX_LED_COUNT 68
37#define DRIVER_INDICATOR_LED_TOTAL 3 20#define DRIVER_INDICATOR_LED_TOTAL 3
diff --git a/keyboards/melgeek/mojo75/info.json b/keyboards/melgeek/mojo75/info.json
index 185b3414fc..b03b0bd032 100644
--- a/keyboards/melgeek/mojo75/info.json
+++ b/keyboards/melgeek/mojo75/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x7075", 8 "pid": "0x7075",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B12", "B13", "B14", "B15", "A8", "A15", "B3", "B4", "B5", "B8", "B9", "C13", "C14", "C15", "A0", "A1"],
13 "rows": ["B11", "B10", "B1", "B0", "A7", "A6"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "STM32F303", 16 "processor": "STM32F303",
12 "bootloader": "stm32-dfu", 17 "bootloader": "stm32-dfu",
13 "board": "QMK_PROTON_C", 18 "board": "QMK_PROTON_C",
diff --git a/keyboards/melgeek/mojo75/rev1/config.h b/keyboards/melgeek/mojo75/rev1/config.h
index 6bbda5752a..44435f2220 100644
--- a/keyboards/melgeek/mojo75/rev1/config.h
+++ b/keyboards/melgeek/mojo75/rev1/config.h
@@ -16,23 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19/*
20 * Keyboard Matrix Assignments
21 *
22 * Change this to how you wired your keyboard
23 * COLS: AVR pins used for columns, left to right
24 * ROWS: AVR pins used for rows, top to bottom
25 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
26 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
27 *
28 */
29
30#define MATRIX_ROW_PINS { B11, B10, B1, B0, A7, A6 }
31#define MATRIX_COL_PINS { B12, B13, B14, B15, A8, A15, B3, B4, B5, B8, B9, C13, C14, C15, A0, A1 }
32
33/* COL2ROW, ROW2COL*/
34#define DIODE_DIRECTION COL2ROW
35
36#define RGB_MATRIX_LED_COUNT 92 19#define RGB_MATRIX_LED_COUNT 92
37#define DRIVER_INDICATOR_LED_TOTAL 0 20#define DRIVER_INDICATOR_LED_TOTAL 0
38 21
diff --git a/keyboards/melgeek/tegic/info.json b/keyboards/melgeek/tegic/info.json
index 9c33a5d3a2..b3792ca9b3 100644
--- a/keyboards/melgeek/tegic/info.json
+++ b/keyboards/melgeek/tegic/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0081", 8 "pid": "0x0081",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B0", "B1", "B2", "B3", "D2", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7"],
13 "rows": ["F0", "F1", "F4", "F5", "F6", "D3"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "debounce": 3, 18 "debounce": 3,
diff --git a/keyboards/melgeek/tegic/rev1/config.h b/keyboards/melgeek/tegic/rev1/config.h
index e1d22a6384..bba7c01f5f 100755
--- a/keyboards/melgeek/tegic/rev1/config.h
+++ b/keyboards/melgeek/tegic/rev1/config.h
@@ -16,23 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19/*
20 * Keyboard Matrix Assignments
21 *
22 * Change this to how you wired your keyboard
23 * COLS: AVR pins used for columns, left to right
24 * ROWS: AVR pins used for rows, top to bottom
25 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
26 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
27 *
28 */
29
30#define MATRIX_ROW_PINS { F0, F1, F4, F5, F6, D3 }
31#define MATRIX_COL_PINS { B0, B1, B2, B3, D2, D5, D4, D6, D7, B4, B5, B6, C6, C7, F7 }
32
33/* COL2ROW, ROW2COL*/
34#define DIODE_DIRECTION COL2ROW
35
36#define RGB_MATRIX_LED_COUNT 91 19#define RGB_MATRIX_LED_COUNT 91
37//#define DRIVER_INDICATOR_LED_TOTAL 3 20//#define DRIVER_INDICATOR_LED_TOTAL 3
38 21
diff --git a/keyboards/melgeek/z70ultra/config.h b/keyboards/melgeek/z70ultra/config.h
index 6824b665b4..3c19a6f93c 100644
--- a/keyboards/melgeek/z70ultra/config.h
+++ b/keyboards/melgeek/z70ultra/config.h
@@ -16,10 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19
20/* COL2ROW, ROW2COL*/
21#define DIODE_DIRECTION COL2ROW
22
23#define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended 19#define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
24#define RGB_MATRIX_KEYPRESSES 20#define RGB_MATRIX_KEYPRESSES
25#define RGB_MATRIX_LED_PROCESS_LIMIT 4 21#define RGB_MATRIX_LED_PROCESS_LIMIT 4
diff --git a/keyboards/melgeek/z70ultra/info.json b/keyboards/melgeek/z70ultra/info.json
index a7042fe04b..2eaccdae02 100644
--- a/keyboards/melgeek/z70ultra/info.json
+++ b/keyboards/melgeek/z70ultra/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6570", 8 "pid": "0x6570",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B11", "B10", "B1", "A10", "B5", "B4", "B3", "A15", "A2", "A1", "A0", "C15", "C14", "C13"],
13 "rows": ["B12", "B13", "B14", "B15", "A3", "B9"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "STM32F303", 16 "processor": "STM32F303",
12 "bootloader": "stm32-dfu", 17 "bootloader": "stm32-dfu",
13 "board": "QMK_PROTON_C", 18 "board": "QMK_PROTON_C",
diff --git a/keyboards/melgeek/z70ultra/rev1/config.h b/keyboards/melgeek/z70ultra/rev1/config.h
deleted file mode 100644
index 64dacfff18..0000000000
--- a/keyboards/melgeek/z70ultra/rev1/config.h
+++ /dev/null
@@ -1,32 +0,0 @@
1/* Copyright 2020 MelGeek <melgeek001365@gmail.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19/*
20 * Keyboard Matrix Assignments
21 *
22 * Change this to how you wired your keyboard
23 * COLS: AVR pins used for columns, left to right
24 * ROWS: AVR pins used for rows, top to bottom
25 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
26 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
27 *
28 */
29
30#define MATRIX_ROW_PINS { B12, B13, B14, B15, A3, B9 }
31#define MATRIX_COL_PINS { B11, B10, B1, A10, B5, B4, B3, A15, A2, A1, A0, C15, C14, C13 }
32
diff --git a/keyboards/meme/config.h b/keyboards/meme/config.h
index cf96f9f4de..d876570c80 100644
--- a/keyboards/meme/config.h
+++ b/keyboards/meme/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30*/
31#define MATRIX_ROW_PINS { C2, D0, D1, D4, D5, D6, B0, B1, B2, B3 }
32#define MATRIX_COL_PINS { D3, D2, B5, B6, C7, C6, C5, C4 }
33
34/* COL2ROW, ROW2COL*/
35#define DIODE_DIRECTION COL2ROW
36
37/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
38#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
39/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/meme/info.json b/keyboards/meme/info.json
index 500c76ebdf..f76f55e621 100644
--- a/keyboards/meme/info.json
+++ b/keyboards/meme/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0000", 8 "pid": "0x0000",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D3", "D2", "B5", "B6", "C7", "C6", "C5", "C4"],
13 "rows": ["C2", "D0", "D1", "D4", "D5", "D6", "B0", "B1", "B2", "B3"]
14 },
15 "diode_direction": "COL2ROW",
11 "backlight": { 16 "backlight": {
12 "pin": "B7", 17 "pin": "B7",
13 "breathing": true 18 "breathing": true
diff --git a/keyboards/meow48/config.h b/keyboards/meow48/config.h
index 7c1f14f2d2..fb0353c631 100644
--- a/keyboards/meow48/config.h
+++ b/keyboards/meow48/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { D4, C6, D7, E6, B4, B5, F4, F5 }
32#define MATRIX_COL_PINS { F6, F7, B1, B3, B2, B6 }
33
34/* COL2ROW, ROW2COL */
35#define DIODE_DIRECTION COL2ROW
36
37#define OLED_BRIGHTNESS 100 20#define OLED_BRIGHTNESS 100
38 21
39#define RGB_DI_PIN D3 22#define RGB_DI_PIN D3
diff --git a/keyboards/meow48/info.json b/keyboards/meow48/info.json
index ba3d696cb0..c219c14a1e 100644
--- a/keyboards/meow48/info.json
+++ b/keyboards/meow48/info.json
@@ -7,7 +7,12 @@
7 "device_version": "1.0.0", 7 "device_version": "1.0.0",
8 "pid": "0xF048", 8 "pid": "0xF048",
9 "vid": "0xF048" 9 "vid": "0xF048"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F6", "F7", "B1", "B3", "B2", "B6"],
13 "rows": ["D4", "C6", "D7", "E6", "B4", "B5", "F4", "F5"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "caterina", 17 "bootloader": "caterina",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/meow65/config.h b/keyboards/meow65/config.h
index 9518361db0..edaab9eb0d 100644
--- a/keyboards/meow65/config.h
+++ b/keyboards/meow65/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { C6, B6, B5, B7, F7 }
32#define MATRIX_COL_PINS { F5, F6, B0, F4, F1, D0, D1, D2, D3, D5, D4, D6, D7, B4, C7 }
33
34/* COL2ROW, ROW2COL */
35#define DIODE_DIRECTION COL2ROW
36
37/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
38#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
39/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/meow65/info.json b/keyboards/meow65/info.json
index 729fb3287c..7dc2b961f8 100644
--- a/keyboards/meow65/info.json
+++ b/keyboards/meow65/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x4D36", 8 "pid": "0x4D36",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F5", "F6", "B0", "F4", "F1", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "C7"],
13 "rows": ["C6", "B6", "B5", "B7", "F7"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "layout_aliases": { 18 "layout_aliases": {
diff --git a/keyboards/merge/iso_macro/config.h b/keyboards/merge/iso_macro/config.h
deleted file mode 100644
index 7bf2b1b33b..0000000000
--- a/keyboards/merge/iso_macro/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
1 /* Copyright 2021 duoshock
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19
20#define MATRIX_ROW_PINS { F4, F5, F6}
21#define MATRIX_COL_PINS { B4, B5, B6}
22
23/* COL2ROW or ROW2COL */
24#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/merge/iso_macro/info.json b/keyboards/merge/iso_macro/info.json
index bc4269755f..a5db1935cb 100644
--- a/keyboards/merge/iso_macro/info.json
+++ b/keyboards/merge/iso_macro/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x1200", 8 "pid": "0x1200",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B4", "B5", "B6"],
13 "rows": ["F4", "F5", "F6"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "F0", "pin_b": "F1"}, 18 {"pin_a": "F0", "pin_b": "F1"},
diff --git a/keyboards/merge/uc1/config.h b/keyboards/merge/uc1/config.h
index 9dcfb6e074..dec57f0dbd 100644
--- a/keyboards/merge/uc1/config.h
+++ b/keyboards/merge/uc1/config.h
@@ -16,9 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19#define MATRIX_ROW_PINS { B1, B2 }
20#define MATRIX_COL_PINS { B3, B4 }
21
22#define RGB_DI_PIN B5 19#define RGB_DI_PIN B5
23#define RGBLED_NUM 12 20#define RGBLED_NUM 12
24#define RGBLIGHT_EFFECT_BREATHING 21#define RGBLIGHT_EFFECT_BREATHING
@@ -36,6 +33,3 @@
36#define RGBLIGHT_VAL_STEP 10 33#define RGBLIGHT_VAL_STEP 10
37#define RGBLIGHT_LIMIT_VAL 255 34#define RGBLIGHT_LIMIT_VAL 255
38#define RGBLIGHT_SLEEP 35#define RGBLIGHT_SLEEP
39
40/* COL2ROW or ROW2COL */
41#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/merge/uc1/info.json b/keyboards/merge/uc1/info.json
index 55b68a4510..983d4e61fc 100644
--- a/keyboards/merge/uc1/info.json
+++ b/keyboards/merge/uc1/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x5543", 8 "pid": "0x5543",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B3", "B4"],
13 "rows": ["B1", "B2"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "F5", "pin_b": "F6"} 18 {"pin_a": "F5", "pin_b": "F6"}
diff --git a/keyboards/merge/um70/config.h b/keyboards/merge/um70/config.h
index c249a1816a..4ee40b4071 100644
--- a/keyboards/merge/um70/config.h
+++ b/keyboards/merge/um70/config.h
@@ -16,12 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19#define MATRIX_ROW_PINS { B0, B1, B2, B3, B7 }
20#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, D6, D4 }
21
22/* COL2ROW or ROW2COL */
23#define DIODE_DIRECTION COL2ROW
24
25#define SPLIT_USB_DETECT 19#define SPLIT_USB_DETECT
26#define MASTER_LEFT 20#define MASTER_LEFT
27#define SPLIT_MODS_ENABLE 21#define SPLIT_MODS_ENABLE
diff --git a/keyboards/merge/um70/info.json b/keyboards/merge/um70/info.json
index e548d63151..a8816d8dd0 100644
--- a/keyboards/merge/um70/info.json
+++ b/keyboards/merge/um70/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x3222", 8 "pid": "0x3222",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "D6", "D4"],
13 "rows": ["B0", "B1", "B2", "B3", "B7"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "B4", "pin_b": "B5"} 18 {"pin_a": "B4", "pin_b": "B5"}
diff --git a/keyboards/merge/um80/config.h b/keyboards/merge/um80/config.h
index 238e5f6d43..ed66f143c0 100644
--- a/keyboards/merge/um80/config.h
+++ b/keyboards/merge/um80/config.h
@@ -16,12 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19#define MATRIX_ROW_PINS { B0, B1, B2, B3, B7, C7 }
20#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, D6, D4 }
21
22/* COL2ROW or ROW2COL */
23#define DIODE_DIRECTION COL2ROW
24
25#define SPLIT_USB_DETECT 19#define SPLIT_USB_DETECT
26#define MASTER_LEFT 20#define MASTER_LEFT
27#define SPLIT_MODS_ENABLE 21#define SPLIT_MODS_ENABLE
diff --git a/keyboards/merge/um80/info.json b/keyboards/merge/um80/info.json
index e3e1359c92..f67817659b 100644
--- a/keyboards/merge/um80/info.json
+++ b/keyboards/merge/um80/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x3241", 8 "pid": "0x3241",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "D6", "D4"],
13 "rows": ["B0", "B1", "B2", "B3", "B7", "C7"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "B4", "pin_b": "B5"} 18 {"pin_a": "B4", "pin_b": "B5"}
diff --git a/keyboards/merge/uma/config.h b/keyboards/merge/uma/config.h
index 6d21adc774..b02c9578cd 100644
--- a/keyboards/merge/uma/config.h
+++ b/keyboards/merge/uma/config.h
@@ -16,11 +16,5 @@
16 16
17#pragma once 17#pragma once
18 18
19#define MATRIX_ROW_PINS { B0, B1, B2, B3, B7 }
20#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, D6, D4 }
21
22/* COL2ROW or ROW2COL */
23#define DIODE_DIRECTION COL2ROW
24
25#define SPLIT_USB_DETECT 19#define SPLIT_USB_DETECT
26#define SPLIT_MODS_ENABLE 20#define SPLIT_MODS_ENABLE
diff --git a/keyboards/merge/uma/info.json b/keyboards/merge/uma/info.json
index 1363705253..d6a07150f6 100644
--- a/keyboards/merge/uma/info.json
+++ b/keyboards/merge/uma/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x3232", 8 "pid": "0x3232",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "D6", "D4"],
13 "rows": ["B0", "B1", "B2", "B3", "B7"]
14 },
15 "diode_direction": "COL2ROW",
11 "backlight": { 16 "backlight": {
12 "pin": "C6" 17 "pin": "C6"
13 }, 18 },
diff --git a/keyboards/mesa/mesa_tkl/config.h b/keyboards/mesa/mesa_tkl/config.h
index 3db70ee092..5ebe5ccc58 100644
--- a/keyboards/mesa/mesa_tkl/config.h
+++ b/keyboards/mesa/mesa_tkl/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { D2, D1, D0, B0, C6, C7 }
32#define MATRIX_COL_PINS { D3, D5, D4, D6, D7, B4, B5, B6, F7, F6, F5, F4, F1, F0, B1, B2, B3 }
33
34/* COL2ROW, ROW2COL*/
35#define DIODE_DIRECTION COL2ROW
36
37/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
38#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
39/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/mesa/mesa_tkl/info.json b/keyboards/mesa/mesa_tkl/info.json
index b940ffb7f5..45fe5b49a5 100644
--- a/keyboards/mesa/mesa_tkl/info.json
+++ b/keyboards/mesa/mesa_tkl/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x8001", 8 "pid": "0x8001",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "F7", "F6", "F5", "F4", "F1", "F0", "B1", "B2", "B3"],
13 "rows": ["D2", "D1", "D0", "B0", "C6", "C7"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/meson/config.h b/keyboards/meson/config.h
index a0df182439..c5f295bfee 100644
--- a/keyboards/meson/config.h
+++ b/keyboards/meson/config.h
@@ -17,13 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21#define MATRIX_ROW_PINS { F7, C6, F6, F5 }
22#define MATRIX_COL_PINS { D4, D7, E6, B3, B2, B6, F4 }
23
24/* COL2ROW, ROW2COL*/
25#define DIODE_DIRECTION COL2ROW
26
27#define USE_I2C 20#define USE_I2C
28 21
29#define RGB_DI_PIN B5 22#define RGB_DI_PIN B5
diff --git a/keyboards/meson/info.json b/keyboards/meson/info.json
index 869a2ccb7a..7bcd3acbac 100644
--- a/keyboards/meson/info.json
+++ b/keyboards/meson/info.json
@@ -7,6 +7,11 @@
7 "pid": "0x0000", 7 "pid": "0x0000",
8 "device_version": "0.0.1" 8 "device_version": "0.0.1"
9 }, 9 },
10 "matrix_pins": {
11 "cols": ["D4", "D7", "E6", "B3", "B2", "B6", "F4"],
12 "rows": ["F7", "C6", "F6", "F5"]
13 },
14 "diode_direction": "COL2ROW",
10 "split": { 15 "split": {
11 "soft_serial_pin": "D0" 16 "soft_serial_pin": "D0"
12 }, 17 },
diff --git a/keyboards/metamechs/timberwolf/config.h b/keyboards/metamechs/timberwolf/config.h
deleted file mode 100644
index 916b315725..0000000000
--- a/keyboards/metamechs/timberwolf/config.h
+++ /dev/null
@@ -1,51 +0,0 @@
1/*
2Copyright 2020 Croktopus
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_COL_PINS { B2, D1, D2, C7, F5, F6, F7, F0, E6 }
32#define MATRIX_ROW_PINS { B6, B5, B4, D7, D6, D4, D5, D3, F4, F1, B1, B0 }
33
34/* COL2ROW, ROW2COL*/
35#define DIODE_DIRECTION COL2ROW
36
37/*
38 * Feature disable options
39 * These options are also useful to firmware size reduction.
40 */
41
42/* disable debug print */
43//#define NO_DEBUG
44
45/* disable print */
46//#define NO_PRINT
47
48/* disable action features */
49//#define NO_ACTION_LAYER
50//#define NO_ACTION_TAPPING
51//#define NO_ACTION_ONESHOT
diff --git a/keyboards/metamechs/timberwolf/info.json b/keyboards/metamechs/timberwolf/info.json
index ba389e31f1..cc5aca28d6 100644
--- a/keyboards/metamechs/timberwolf/info.json
+++ b/keyboards/metamechs/timberwolf/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x5754", 8 "pid": "0x5754",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B2", "D1", "D2", "C7", "F5", "F6", "F7", "F0", "E6"],
13 "rows": ["B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "F4", "F1", "B1", "B0"]
14 },
15 "diode_direction": "COL2ROW",
11 "backlight": { 16 "backlight": {
12 "pin": "C6", 17 "pin": "C6",
13 "levels": 16 18 "levels": 16
diff --git a/keyboards/mikeneko65/config.h b/keyboards/mikeneko65/config.h
index f3e7d79932..42ab44fce1 100644
--- a/keyboards/mikeneko65/config.h
+++ b/keyboards/mikeneko65/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { D0, D1, D2, D3, C7 }
32#define MATRIX_COL_PINS { F7, F6, F5, F4, F1, F0, E6, B0, B7, D4, D6, D7, B6, B5, B4 }
33
34/* COL2ROW, ROW2COL */
35#define DIODE_DIRECTION COL2ROW
36
37/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
38#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
39/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/mikeneko65/info.json b/keyboards/mikeneko65/info.json
index 0ae602b096..01f4b3354f 100644
--- a/keyboards/mikeneko65/info.json
+++ b/keyboards/mikeneko65/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6D54", 8 "pid": "0x6D54",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F7", "F6", "F5", "F4", "F1", "F0", "E6", "B0", "B7", "D4", "D6", "D7", "B6", "B5", "B4"],
13 "rows": ["D0", "D1", "D2", "D3", "C7"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "layout_aliases": { 18 "layout_aliases": {
diff --git a/keyboards/miller/gm862/config.h b/keyboards/miller/gm862/config.h
index b2aee68f70..4bd9748ab5 100644
--- a/keyboards/miller/gm862/config.h
+++ b/keyboards/miller/gm862/config.h
@@ -1,21 +1,5 @@
1#pragma once 1#pragma once
2 2
3
4/*
5 * Keyboard Matrix Assignments
6 *
7 * Change this to how you wired your keyboard
8 * COLS: AVR pins used for columns, left to right
9 * ROWS: AVR pins used for rows, top to bottom
10 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
11 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
12 *
13 */
14#define MATRIX_ROW_PINS {F0, F1, F4, F5, B4}
15#define MATRIX_COL_PINS {B5, B6, C6, C7, F7, F6, B0, B1, B2, B3, B7, D2, D3, D5 }
16/* COL2ROW, ROW2COL*/
17#define DIODE_DIRECTION COL2ROW
18
19#ifdef RGB_MATRIX_ENABLE 3#ifdef RGB_MATRIX_ENABLE
20# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended 4# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
21# define RGB_MATRIX_KEYPRESSES 5# define RGB_MATRIX_KEYPRESSES
diff --git a/keyboards/miller/gm862/info.json b/keyboards/miller/gm862/info.json
index 9f3d247305..eb74b083ef 100644
--- a/keyboards/miller/gm862/info.json
+++ b/keyboards/miller/gm862/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0223", 8 "pid": "0x0223",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B5", "B6", "C6", "C7", "F7", "F6", "B0", "B1", "B2", "B3", "B7", "D2", "D3", "D5"],
13 "rows": ["F0", "F1", "F4", "F5", "B4"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "debounce": 3, 18 "debounce": 3,
diff --git a/keyboards/millipad/config.h b/keyboards/millipad/config.h
index ab1d6e7c51..7d416ae8db 100644
--- a/keyboards/millipad/config.h
+++ b/keyboards/millipad/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { C6, C7 }
32#define MATRIX_COL_PINS { F0, F1, F4, D7, D6, D4 }
33
34/* COL2ROW, ROW2COL */
35#define DIODE_DIRECTION COL2ROW
36
37#define LOCKING_RESYNC_ENABLE 20#define LOCKING_RESYNC_ENABLE
38 21
39#define FORCE_NKRO 22#define FORCE_NKRO
diff --git a/keyboards/millipad/info.json b/keyboards/millipad/info.json
index 9469f2baba..02f10ea9a2 100644
--- a/keyboards/millipad/info.json
+++ b/keyboards/millipad/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x1A1B", 8 "pid": "0x1A1B",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F0", "F1", "F4", "D7", "D6", "D4"],
13 "rows": ["C6", "C7"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "D3", "pin_b": "D2"} 18 {"pin_a": "D3", "pin_b": "D2"}
diff --git a/keyboards/mini_elixivy/config.h b/keyboards/mini_elixivy/config.h
index fafc795574..d90fdba271 100644
--- a/keyboards/mini_elixivy/config.h
+++ b/keyboards/mini_elixivy/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { B5, B6, E6, F6, C7 }
32#define MATRIX_COL_PINS { F7, F5, F4, F1, F0, B7, D0, D1, D2, D3, D4, D6, D7, B4, C6 }
33
34/* COL2ROW, ROW2COL */
35#define DIODE_DIRECTION COL2ROW
36
37/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
38#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
39/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/mini_elixivy/info.json b/keyboards/mini_elixivy/info.json
index 3567b555ac..de5220f1c9 100644
--- a/keyboards/mini_elixivy/info.json
+++ b/keyboards/mini_elixivy/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0000", 8 "pid": "0x0000",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F7", "F5", "F4", "F1", "F0", "B7", "D0", "D1", "D2", "D3", "D4", "D6", "D7", "B4", "C6"],
13 "rows": ["B5", "B6", "E6", "F6", "C7"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "B0", "pin_b": "D5"} 18 {"pin_a": "B0", "pin_b": "D5"}
diff --git a/keyboards/mini_ten_key_plus/config.h b/keyboards/mini_ten_key_plus/config.h
index 1773beff05..d90fdba271 100644
--- a/keyboards/mini_ten_key_plus/config.h
+++ b/keyboards/mini_ten_key_plus/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { D4, B1, B5, B4, E6 }
32#define MATRIX_COL_PINS { F5, F4, B6, D7, C6 }
33
34/* COL2ROW, ROW2COL */
35#define DIODE_DIRECTION COL2ROW
36
37/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
38#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
39/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/mini_ten_key_plus/info.json b/keyboards/mini_ten_key_plus/info.json
index e69e49b06b..089668ec14 100644
--- a/keyboards/mini_ten_key_plus/info.json
+++ b/keyboards/mini_ten_key_plus/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0000", 8 "pid": "0x0000",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F5", "F4", "B6", "D7", "C6"],
13 "rows": ["D4", "B1", "B5", "B4", "E6"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "F7", "pin_b": "F6", "resolution": 2} 18 {"pin_a": "F7", "pin_b": "F6", "resolution": 2}
diff --git a/keyboards/minimon/index_tab/config.h b/keyboards/minimon/index_tab/config.h
index 4024ac6f45..49328d78ba 100644
--- a/keyboards/minimon/index_tab/config.h
+++ b/keyboards/minimon/index_tab/config.h
@@ -16,15 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/ 16*/
17#pragma once 17#pragma once
18 18
19
20/* key matrix pins */
21#define MATRIX_ROW_PINS { D3, B7, B3, B2, B1, B0 }
22#define MATRIX_COL_PINS { F7, C7, C6, B6, B5, B4, D7, D6, D4, D5, D2, F1, F0 }
23
24
25/* COL2ROW, ROW2COL*/
26#define DIODE_DIRECTION COL2ROW
27
28/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 19/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
29#define LOCKING_SUPPORT_ENABLE 20#define LOCKING_SUPPORT_ENABLE
30/* Locking resynchronize hack */ 21/* Locking resynchronize hack */
diff --git a/keyboards/minimon/index_tab/info.json b/keyboards/minimon/index_tab/info.json
index f3fd4717ec..8655546ea5 100644
--- a/keyboards/minimon/index_tab/info.json
+++ b/keyboards/minimon/index_tab/info.json
@@ -9,6 +9,11 @@
9 "pid": "0x1306", 9 "pid": "0x1306",
10 "device_version": "0.0.1" 10 "device_version": "0.0.1"
11 }, 11 },
12 "matrix_pins": {
13 "cols": ["F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D2", "F1", "F0"],
14 "rows": ["D3", "B7", "B3", "B2", "B1", "B0"]
15 },
16 "diode_direction": "COL2ROW",
12 "processor": "atmega32u4", 17 "processor": "atmega32u4",
13 "bootloader": "atmel-dfu", 18 "bootloader": "atmel-dfu",
14 "layouts": { 19 "layouts": {
diff --git a/keyboards/mino/hotswap/config.h b/keyboards/mino/hotswap/config.h
index 841abc16f5..45fec5af48 100644
--- a/keyboards/mino/hotswap/config.h
+++ b/keyboards/mino/hotswap/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { D3, C6, D4, D2}
32#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6, B5, B4, E6, D7}
33
34/* COL2ROW, ROW2COL */
35#define DIODE_DIRECTION COL2ROW
36
37/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
38#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
39/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/mino/hotswap/info.json b/keyboards/mino/hotswap/info.json
index 4e932f4939..be4f161ed6 100644
--- a/keyboards/mino/hotswap/info.json
+++ b/keyboards/mino/hotswap/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0002", 8 "pid": "0x0002",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6", "B5", "B4", "E6", "D7"],
13 "rows": ["D3", "C6", "D4", "D2"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "caterina", 17 "bootloader": "caterina",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/mint60/config.h b/keyboards/mint60/config.h
index 2839e63b1a..051193bd9f 100644
--- a/keyboards/mint60/config.h
+++ b/keyboards/mint60/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30*/
31#define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 }
32#define MATRIX_COL_PINS { D4, B3, B1, F7, B2, B6, F6, F5 }
33
34/* COL2ROW, ROW2COL*/
35#define DIODE_DIRECTION COL2ROW
36
37/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
38#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
39/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/mint60/info.json b/keyboards/mint60/info.json
index f8011a5920..b2b795b4a8 100644
--- a/keyboards/mint60/info.json
+++ b/keyboards/mint60/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0000", 8 "pid": "0x0000",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D4", "B3", "B1", "F7", "B2", "B6", "F6", "F5"],
13 "rows": ["C6", "D7", "E6", "B4", "B5"]
14 },
15 "diode_direction": "COL2ROW",
11 "split": { 16 "split": {
12 "soft_serial_pin": "D2" 17 "soft_serial_pin": "D2"
13 }, 18 },
diff --git a/keyboards/misonoworks/chocolatebar/config.h b/keyboards/misonoworks/chocolatebar/config.h
index e5768a480d..dd6c07768b 100644
--- a/keyboards/misonoworks/chocolatebar/config.h
+++ b/keyboards/misonoworks/chocolatebar/config.h
@@ -17,14 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/* key matrix pins */
22#define MATRIX_ROW_PINS { B0, B7, D2, D3 }
23#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, C7, C6, B6, B5, B4, D7, D6, D4, B3, B2 }
24
25/* COL2ROW or ROW2COL */
26#define DIODE_DIRECTION COL2ROW
27
28#define FORCE_NKRO 20#define FORCE_NKRO
29 21
30#define RGB_DI_PIN B1 22#define RGB_DI_PIN B1
diff --git a/keyboards/misonoworks/chocolatebar/info.json b/keyboards/misonoworks/chocolatebar/info.json
index bc577e22fe..fd64d9fa14 100644
--- a/keyboards/misonoworks/chocolatebar/info.json
+++ b/keyboards/misonoworks/chocolatebar/info.json
@@ -8,6 +8,11 @@
8 "pid": "0xC456", 8 "pid": "0xC456",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "B3", "B2"],
13 "rows": ["B0", "B7", "D2", "D3"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/misonoworks/karina/config.h b/keyboards/misonoworks/karina/config.h
index 2c71926b81..e38f18b40a 100644
--- a/keyboards/misonoworks/karina/config.h
+++ b/keyboards/misonoworks/karina/config.h
@@ -17,14 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21// pins
22#define MATRIX_ROW_PINS { D2, D3, D5, F0 }
23#define MATRIX_COL_PINS { B3, D4, D6, D7, B4, B5, B6, C6, C7, F7, F6}
24
25// diode mode
26#define DIODE_DIRECTION COL2ROW
27
28#define FORCE_NKRO 20#define FORCE_NKRO
29#define MK_3_SPEED 21#define MK_3_SPEED
30#define TERMINAL_HELP 22#define TERMINAL_HELP
diff --git a/keyboards/misonoworks/karina/info.json b/keyboards/misonoworks/karina/info.json
index 922e4117e6..c7cb97c0b3 100644
--- a/keyboards/misonoworks/karina/info.json
+++ b/keyboards/misonoworks/karina/info.json
@@ -8,6 +8,11 @@
8 "pid": "0xC456", 8 "pid": "0xC456",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B3", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6"],
13 "rows": ["D2", "D3", "D5", "F0"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "B2", "pin_b": "B1", "resolution": 3}, 18 {"pin_a": "B2", "pin_b": "B1", "resolution": 3},
diff --git a/keyboards/misterknife/knife66/config.h b/keyboards/misterknife/knife66/config.h
index 1021ddf951..4efe1466c6 100644
--- a/keyboards/misterknife/knife66/config.h
+++ b/keyboards/misterknife/knife66/config.h
@@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21#define MATRIX_COL_PINS { B2, B1, B0, A7, A6, A5, A4, B9, B8, B7, B6, B5, B4, B3, A15 }
22#define MATRIX_ROW_PINS { B15, A8, A3, A2, A1 }
23#define DIODE_DIRECTION COL2ROW
24
25#define RGB_DI_PIN A9 20#define RGB_DI_PIN A9
26 21
27#ifdef RGB_DI_PIN 22#ifdef RGB_DI_PIN
diff --git a/keyboards/misterknife/knife66/info.json b/keyboards/misterknife/knife66/info.json
index 4a7bc23c35..e019cf6ae8 100644
--- a/keyboards/misterknife/knife66/info.json
+++ b/keyboards/misterknife/knife66/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x4172", 8 "pid": "0x4172",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B2", "B1", "B0", "A7", "A6", "A5", "A4", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15"],
13 "rows": ["B15", "A8", "A3", "A2", "A1"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "STM32F072", 16 "processor": "STM32F072",
12 "bootloader": "stm32-dfu", 17 "bootloader": "stm32-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/misterknife/knife66_iso/config.h b/keyboards/misterknife/knife66_iso/config.h
index 4974254844..d13ee6a334 100644
--- a/keyboards/misterknife/knife66_iso/config.h
+++ b/keyboards/misterknife/knife66_iso/config.h
@@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21#define MATRIX_COL_PINS { B2, B1, B0, A7, A6, A5, A4, B9, B8, B7, B6, B5, B4, B3, A15 }
22#define MATRIX_ROW_PINS { B15, A8, A3, A2, A1 }
23#define DIODE_DIRECTION COL2ROW
24
25#define RGB_DI_PIN A9 20#define RGB_DI_PIN A9
26 21
27#ifdef RGB_DI_PIN 22#ifdef RGB_DI_PIN
diff --git a/keyboards/misterknife/knife66_iso/info.json b/keyboards/misterknife/knife66_iso/info.json
index b3c84a65bc..a1658c460b 100644
--- a/keyboards/misterknife/knife66_iso/info.json
+++ b/keyboards/misterknife/knife66_iso/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x4173", 8 "pid": "0x4173",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B2", "B1", "B0", "A7", "A6", "A5", "A4", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15"],
13 "rows": ["B15", "A8", "A3", "A2", "A1"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "STM32F072", 16 "processor": "STM32F072",
12 "bootloader": "stm32-dfu", 17 "bootloader": "stm32-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/miuni32/config.h b/keyboards/miuni32/config.h
index def4cc581c..1e01cae3a3 100644
--- a/keyboards/miuni32/config.h
+++ b/keyboards/miuni32/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30*/
31#define MATRIX_ROW_PINS { F0, F4, D7}
32#define MATRIX_COL_PINS { C6, C7, F7, F6, F1, E6, B7, B3, B2, B1, B0}
33
34/* COL2ROW or ROW2COL */
35#define DIODE_DIRECTION ROW2COL
36
37/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
38#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
39/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/miuni32/info.json b/keyboards/miuni32/info.json
index 7dd62adb5a..6b217f74ab 100644
--- a/keyboards/miuni32/info.json
+++ b/keyboards/miuni32/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6060", 8 "pid": "0x6060",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["C6", "C7", "F7", "F6", "F1", "E6", "B7", "B3", "B2", "B1", "B0"],
13 "rows": ["F0", "F4", "D7"]
14 },
15 "diode_direction": "ROW2COL",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/ml/gas75/config.h b/keyboards/ml/gas75/config.h
index bd9c4b6e4e..c95e4a5a95 100644
--- a/keyboards/ml/gas75/config.h
+++ b/keyboards/ml/gas75/config.h
@@ -16,14 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19
20/* key matrix pins */
21#define MATRIX_ROW_PINS { D3, D5, D4, D7, D6, B4 }
22#define MATRIX_COL_PINS { D1, D2, B5, B6, C6, C7, F7, F6, F5, F4, E6, B0, B1, B2, B3 }
23
24/* COL2ROW or ROW2COL */
25#define DIODE_DIRECTION COL2ROW
26
27/* Forcing to use NKRO instead 6KRO */ 19/* Forcing to use NKRO instead 6KRO */
28#define FORCE_NKRO 20#define FORCE_NKRO
29 21
diff --git a/keyboards/ml/gas75/info.json b/keyboards/ml/gas75/info.json
index 2687ada0d9..1b2255ae99 100644
--- a/keyboards/ml/gas75/info.json
+++ b/keyboards/ml/gas75/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6060", 8 "pid": "0x6060",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D1", "D2", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "E6", "B0", "B1", "B2", "B3"],
13 "rows": ["D3", "D5", "D4", "D7", "D6", "B4"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "F0", "pin_b": "F1"} 18 {"pin_a": "F0", "pin_b": "F1"}
diff --git a/keyboards/mlego/m48/config.h b/keyboards/mlego/m48/config.h
index 8daaa6e9f8..70e1beb43e 100644
--- a/keyboards/mlego/m48/config.h
+++ b/keyboards/mlego/m48/config.h
@@ -15,9 +15,6 @@
15 */ 15 */
16#pragma once 16#pragma once
17 17
18/* COL2ROW, ROW2COL*/
19#define DIODE_DIRECTION COL2ROW
20
21/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 18/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
22#define LOCKING_SUPPORT_ENABLE 19#define LOCKING_SUPPORT_ENABLE
23/* Locking resynchronize hack */ 20/* Locking resynchronize hack */
diff --git a/keyboards/mlego/m48/rev1/config.h b/keyboards/mlego/m48/rev1/config.h
index 04c1bb4509..b872354f60 100644
--- a/keyboards/mlego/m48/rev1/config.h
+++ b/keyboards/mlego/m48/rev1/config.h
@@ -15,12 +15,6 @@
15 */ 15 */
16#pragma once 16#pragma once
17 17
18
19#define MATRIX_ROW_PINS \
20 { A6, A7, B0, B10 }
21#define MATRIX_COL_PINS \
22 { A10, A15, B3, B4, B5, B7, B6, A1, A2, A3, A4, A5 }
23
24#ifdef RGBLIGHT_ENABLE 18#ifdef RGBLIGHT_ENABLE
25#define RGBLIGHT_LAYERS 19#define RGBLIGHT_LAYERS
26#define RGB_DI_PIN B15 20#define RGB_DI_PIN B15
diff --git a/keyboards/mlego/m48/rev1/info.json b/keyboards/mlego/m48/rev1/info.json
index ecfa4dc940..1e5a70aa92 100644
--- a/keyboards/mlego/m48/rev1/info.json
+++ b/keyboards/mlego/m48/rev1/info.json
@@ -3,6 +3,11 @@
3 "pid": "0x6261", 3 "pid": "0x6261",
4 "device_version": "0.0.1" 4 "device_version": "0.0.1"
5 }, 5 },
6 "matrix_pins": {
7 "cols": ["A10", "A15", "B3", "B4", "B5", "B7", "B6", "A1", "A2", "A3", "A4", "A5"],
8 "rows": ["A6", "A7", "B0", "B10"]
9 },
10 "diode_direction": "COL2ROW",
6 "encoder": { 11 "encoder": {
7 "rotary": [ 12 "rotary": [
8 {"pin_a": "A0", "pin_b": "B8"} 13 {"pin_a": "A0", "pin_b": "B8"}
diff --git a/keyboards/mlego/m60/config.h b/keyboards/mlego/m60/config.h
index 82e327451d..70e1beb43e 100644
--- a/keyboards/mlego/m60/config.h
+++ b/keyboards/mlego/m60/config.h
@@ -15,10 +15,6 @@
15 */ 15 */
16#pragma once 16#pragma once
17 17
18
19/* COL2ROW, ROW2COL*/
20#define DIODE_DIRECTION COL2ROW
21
22/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 18/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
23#define LOCKING_SUPPORT_ENABLE 19#define LOCKING_SUPPORT_ENABLE
24/* Locking resynchronize hack */ 20/* Locking resynchronize hack */
diff --git a/keyboards/mlego/m60/rev1/config.h b/keyboards/mlego/m60/rev1/config.h
index 7805e6e82b..426e65609d 100644
--- a/keyboards/mlego/m60/rev1/config.h
+++ b/keyboards/mlego/m60/rev1/config.h
@@ -15,11 +15,6 @@
15 */ 15 */
16#pragma once 16#pragma once
17 17
18#define MATRIX_ROW_PINS \
19 { A6, A7, B0, B1, B10 }
20#define MATRIX_COL_PINS \
21 { A10, A15, B3, B4, B5, B7, B6, A1, A2, A3, A4, A5 }
22
23#ifdef RGBLIGHT_ENABLE 18#ifdef RGBLIGHT_ENABLE
24 19
25#define RGB_DI_PIN B15 20#define RGB_DI_PIN B15
diff --git a/keyboards/mlego/m60/rev1/info.json b/keyboards/mlego/m60/rev1/info.json
index e9e03cb189..4af7c4b11d 100644
--- a/keyboards/mlego/m60/rev1/info.json
+++ b/keyboards/mlego/m60/rev1/info.json
@@ -3,6 +3,11 @@
3 "pid": "0x6161", 3 "pid": "0x6161",
4 "device_version": "0.0.1" 4 "device_version": "0.0.1"
5 }, 5 },
6 "matrix_pins": {
7 "cols": ["A10", "A15", "B3", "B4", "B5", "B7", "B6", "A1", "A2", "A3", "A4", "A5"],
8 "rows": ["A6", "A7", "B0", "B1", "B10"]
9 },
10 "diode_direction": "COL2ROW",
6 "encoder": { 11 "encoder": {
7 "rotary": [ 12 "rotary": [
8 {"pin_a": "A0", "pin_b": "B8"} 13 {"pin_a": "A0", "pin_b": "B8"}
diff --git a/keyboards/mlego/m60_split/config.h b/keyboards/mlego/m60_split/config.h
index 8daaa6e9f8..70e1beb43e 100644
--- a/keyboards/mlego/m60_split/config.h
+++ b/keyboards/mlego/m60_split/config.h
@@ -15,9 +15,6 @@
15 */ 15 */
16#pragma once 16#pragma once
17 17
18/* COL2ROW, ROW2COL*/
19#define DIODE_DIRECTION COL2ROW
20
21/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 18/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
22#define LOCKING_SUPPORT_ENABLE 19#define LOCKING_SUPPORT_ENABLE
23/* Locking resynchronize hack */ 20/* Locking resynchronize hack */
diff --git a/keyboards/mlego/m60_split/rev1/config.h b/keyboards/mlego/m60_split/rev1/config.h
index a835d8c4f3..3dc80b50ef 100644
--- a/keyboards/mlego/m60_split/rev1/config.h
+++ b/keyboards/mlego/m60_split/rev1/config.h
@@ -15,18 +15,6 @@
15 */ 15 */
16#pragma once 16#pragma once
17 17
18
19#define MATRIX_ROW_PINS \
20 { B0, A6, A7, B1, A5 }
21#define MATRIX_COL_PINS \
22 { B14, A10, A15, B3, B4, B5 }
23
24#define MATRIX_ROW_PINS_RIGHT \
25 { B1, A4, A5, A6, A7 }
26
27#define MATRIX_COL_PINS_RIGHT \
28 { B0, A3, A2, A1, B7, B5 } // cols are from right to left to match the layout
29
30#define SPLIT_LAYER_STATE_ENABLE 18#define SPLIT_LAYER_STATE_ENABLE
31#define SPLIT_LED_STATE_ENABLE 19#define SPLIT_LED_STATE_ENABLE
32 20
diff --git a/keyboards/mlego/m60_split/rev1/info.json b/keyboards/mlego/m60_split/rev1/info.json
index 237b933eb0..f33c5d04dd 100644
--- a/keyboards/mlego/m60_split/rev1/info.json
+++ b/keyboards/mlego/m60_split/rev1/info.json
@@ -3,6 +3,11 @@
3 "pid": "0x6361", 3 "pid": "0x6361",
4 "device_version": "0.0.1" 4 "device_version": "0.0.1"
5 }, 5 },
6 "matrix_pins": {
7 "cols": ["B14", "A10", "A15", "B3", "B4", "B5"],
8 "rows": ["B0", "A6", "A7", "B1", "A5"]
9 },
10 "diode_direction": "COL2ROW",
6 "encoder": { 11 "encoder": {
7 "rotary": [ 12 "rotary": [
8 {"pin_a": "A0", "pin_b": "B8"} 13 {"pin_a": "A0", "pin_b": "B8"}
@@ -16,6 +21,12 @@
16 "split": { 21 "split": {
17 "bootmagic": { 22 "bootmagic": {
18 "matrix": [5, 0] 23 "matrix": [5, 0]
24 },
25 "matrix_pins": {
26 "right": {
27 "cols": ["B0", "A3", "A2", "A1", "B7", "B5"],
28 "rows": ["B1", "A4", "A5", "A6", "A7"]
29 }
19 } 30 }
20 }, 31 },
21 "processor": "STM32F401", 32 "processor": "STM32F401",
diff --git a/keyboards/mlego/m60_split/rev2/config.h b/keyboards/mlego/m60_split/rev2/config.h
index 2bb9334497..9d5cd08e3e 100644
--- a/keyboards/mlego/m60_split/rev2/config.h
+++ b/keyboards/mlego/m60_split/rev2/config.h
@@ -15,18 +15,6 @@
15 */ 15 */
16#pragma once 16#pragma once
17 17
18
19#define MATRIX_ROW_PINS \
20 { B0, A6, A7, B1, A5 }
21#define MATRIX_COL_PINS \
22 { B14, A10, A15, B3, B4, B5 }
23
24#define MATRIX_ROW_PINS_RIGHT \
25 { B1, A4, A5, A6, A7 }
26
27#define MATRIX_COL_PINS_RIGHT \
28 { B0, A3, A2, A1, B7, B5 } // cols are from right to left to match the layout
29
30#define SPLIT_LAYER_STATE_ENABLE 18#define SPLIT_LAYER_STATE_ENABLE
31#define SPLIT_LED_STATE_ENABLE 19#define SPLIT_LED_STATE_ENABLE
32 20
diff --git a/keyboards/mlego/m60_split/rev2/info.json b/keyboards/mlego/m60_split/rev2/info.json
index 4e281733e1..5ab7696dbe 100644
--- a/keyboards/mlego/m60_split/rev2/info.json
+++ b/keyboards/mlego/m60_split/rev2/info.json
@@ -3,6 +3,11 @@
3 "pid": "0x6362", 3 "pid": "0x6362",
4 "device_version": "0.0.1" 4 "device_version": "0.0.1"
5 }, 5 },
6 "matrix_pins": {
7 "cols": ["B14", "A10", "A15", "B3", "B4", "B5"],
8 "rows": ["B0", "A6", "A7", "B1", "A5"]
9 },
10 "diode_direction": "COL2ROW",
6 "encoder": { 11 "encoder": {
7 "rotary": [ 12 "rotary": [
8 {"pin_a": "A0", "pin_b": "B8"} 13 {"pin_a": "A0", "pin_b": "B8"}
@@ -16,6 +21,12 @@
16 "split": { 21 "split": {
17 "bootmagic": { 22 "bootmagic": {
18 "matrix": [5, 0] 23 "matrix": [5, 0]
24 },
25 "matrix_pins": {
26 "right": {
27 "cols": ["B0", "A3", "A2", "A1", "B7", "B5"],
28 "rows": ["B1", "A4", "A5", "A6", "A7"]
29 }
19 } 30 }
20 }, 31 },
21 "processor": "STM32F411", 32 "processor": "STM32F411",
diff --git a/keyboards/mlego/m65/config.h b/keyboards/mlego/m65/config.h
index 3810f998d2..bdb0c16621 100644
--- a/keyboards/mlego/m65/config.h
+++ b/keyboards/mlego/m65/config.h
@@ -17,8 +17,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21#define DIODE_DIRECTION COL2ROW
22
23#define LOCKING_SUPPORT_ENABLE 20#define LOCKING_SUPPORT_ENABLE
24#define LOCKING_RESYNC_ENABLE 21#define LOCKING_RESYNC_ENABLE
diff --git a/keyboards/mlego/m65/rev1/config.h b/keyboards/mlego/m65/rev1/config.h
index d58ee7627f..83380e9aa4 100644
--- a/keyboards/mlego/m65/rev1/config.h
+++ b/keyboards/mlego/m65/rev1/config.h
@@ -17,13 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20// 0 1 2 3 4
21#define MATRIX_ROW_PINS \
22 { B11, B0, B1, A2, A3 }
23// 0 1 2 3 4 5 6 7 8 9 10 11 12
24#define MATRIX_COL_PINS \
25 { A10, A15, B3, B4, B5, B9, B8, B7, B6, C15, A0, A7, B10 }
26
27#define RGB_DI_PIN B15 20#define RGB_DI_PIN B15
28 21
29#define RGBLIGHT_LAYERS 22#define RGBLIGHT_LAYERS
diff --git a/keyboards/mlego/m65/rev1/info.json b/keyboards/mlego/m65/rev1/info.json
index f4d8ba7578..a638ec0b99 100644
--- a/keyboards/mlego/m65/rev1/info.json
+++ b/keyboards/mlego/m65/rev1/info.json
@@ -3,6 +3,11 @@
3 "pid": "0x6061", 3 "pid": "0x6061",
4 "device_version": "0.0.1" 4 "device_version": "0.0.1"
5 }, 5 },
6 "matrix_pins": {
7 "cols": ["A10", "A15", "B3", "B4", "B5", "B9", "B8", "B7", "B6", "C15", "A0", "A7", "B10"],
8 "rows": ["B11", "B0", "B1", "A2", "A3"]
9 },
10 "diode_direction": "COL2ROW",
6 "encoder": { 11 "encoder": {
7 "rotary": [ 12 "rotary": [
8 {"pin_a": "A8", "pin_b": "A9"} 13 {"pin_a": "A8", "pin_b": "A9"}
diff --git a/keyboards/mlego/m65/rev2/config.h b/keyboards/mlego/m65/rev2/config.h
index 8094879b1c..2d595fc4be 100644
--- a/keyboards/mlego/m65/rev2/config.h
+++ b/keyboards/mlego/m65/rev2/config.h
@@ -17,13 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20// 0 1 2 3 4
21#define MATRIX_ROW_PINS \
22 { B11, B0, B1, A2, A3 }
23// 0 1 2 3 4 5 6 7 8 9 10 11 12
24#define MATRIX_COL_PINS \
25 { A10, A15, B3, B4, B5, B9, B8, B7, B6, C15, A0, A7, B10 }
26
27#define RGB_DI_PIN B15 20#define RGB_DI_PIN B15
28 21
29#define RGBLIGHT_LAYERS 22#define RGBLIGHT_LAYERS
diff --git a/keyboards/mlego/m65/rev2/info.json b/keyboards/mlego/m65/rev2/info.json
index 7d265197ca..00263c47f5 100644
--- a/keyboards/mlego/m65/rev2/info.json
+++ b/keyboards/mlego/m65/rev2/info.json
@@ -3,6 +3,11 @@
3 "pid": "0x6061", 3 "pid": "0x6061",
4 "device_version": "0.0.2" 4 "device_version": "0.0.2"
5 }, 5 },
6 "matrix_pins": {
7 "cols": ["A10", "A15", "B3", "B4", "B5", "B9", "B8", "B7", "B6", "C15", "A0", "A7", "B10"],
8 "rows": ["B11", "B0", "B1", "A2", "A3"]
9 },
10 "diode_direction": "COL2ROW",
6 "encoder": { 11 "encoder": {
7 "rotary": [ 12 "rotary": [
8 {"pin_a": "A8", "pin_b": "A9"} 13 {"pin_a": "A8", "pin_b": "A9"}
diff --git a/keyboards/mlego/m65/rev3/config.h b/keyboards/mlego/m65/rev3/config.h
index 4a71449cb0..d535b8c229 100644
--- a/keyboards/mlego/m65/rev3/config.h
+++ b/keyboards/mlego/m65/rev3/config.h
@@ -17,13 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20// 0 1 2 3 4
21#define MATRIX_ROW_PINS \
22 { B10, A5, A6, A7, B0 }
23// 0 1 2 3 4 5 6 7 8 9 10 11 12
24#define MATRIX_COL_PINS \
25 { A10, A15, B3, B4, B5, B9, B8, B7, A1, A2, A3, A4, B1 }
26
27#ifdef RGBLIGHT_ENABLE 20#ifdef RGBLIGHT_ENABLE
28 21
29#define RGB_DI_PIN B15 22#define RGB_DI_PIN B15
diff --git a/keyboards/mlego/m65/rev3/info.json b/keyboards/mlego/m65/rev3/info.json
index 39c26191c6..7118b12af0 100644
--- a/keyboards/mlego/m65/rev3/info.json
+++ b/keyboards/mlego/m65/rev3/info.json
@@ -3,6 +3,11 @@
3 "pid": "0x6062", 3 "pid": "0x6062",
4 "device_version": "0.0.1" 4 "device_version": "0.0.1"
5 }, 5 },
6 "matrix_pins": {
7 "cols": ["A10", "A15", "B3", "B4", "B5", "B9", "B8", "B7", "A1", "A2", "A3", "A4", "B1"],
8 "rows": ["B10", "A5", "A6", "A7", "B0"]
9 },
10 "diode_direction": "COL2ROW",
6 "encoder": { 11 "encoder": {
7 "rotary": [ 12 "rotary": [
8 {"pin_a": "A0", "pin_b": "B6"} 13 {"pin_a": "A0", "pin_b": "B6"}
diff --git a/keyboards/mlego/m65/rev4/config.h b/keyboards/mlego/m65/rev4/config.h
index a8b9b596d5..69bdff7cdd 100644
--- a/keyboards/mlego/m65/rev4/config.h
+++ b/keyboards/mlego/m65/rev4/config.h
@@ -17,13 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20// 0 1 2 3 4
21#define MATRIX_ROW_PINS \
22 { B10, A5, A6, A7, B0 }
23// 0 1 2 3 4 5 6 7 8 9 10 11 12
24#define MATRIX_COL_PINS \
25 { B14, A8, A10, A15, B3, B4, B5, B7, A1, A2, A3, A4, B1 }
26
27#ifdef RGBLIGHT_ENABLE 20#ifdef RGBLIGHT_ENABLE
28 21
29#define RGB_DI_PIN B15 22#define RGB_DI_PIN B15
diff --git a/keyboards/mlego/m65/rev4/info.json b/keyboards/mlego/m65/rev4/info.json
index 91af43a6a1..1cfe298f8f 100644
--- a/keyboards/mlego/m65/rev4/info.json
+++ b/keyboards/mlego/m65/rev4/info.json
@@ -3,6 +3,11 @@
3 "pid": "0x6062", 3 "pid": "0x6062",
4 "device_version": "0.0.2" 4 "device_version": "0.0.2"
5 }, 5 },
6 "matrix_pins": {
7 "cols": ["B14", "A8", "A10", "A15", "B3", "B4", "B5", "B7", "A1", "A2", "A3", "A4", "B1"],
8 "rows": ["B10", "A5", "A6", "A7", "B0"]
9 },
10 "diode_direction": "COL2ROW",
6 "encoder": { 11 "encoder": {
7 "rotary": [ 12 "rotary": [
8 {"pin_a": "A0", "pin_b": "B6"} 13 {"pin_a": "A0", "pin_b": "B6"}
diff --git a/keyboards/mmkzoo65/config.h b/keyboards/mmkzoo65/config.h
index 2149df4a93..24b79416a8 100644
--- a/keyboards/mmkzoo65/config.h
+++ b/keyboards/mmkzoo65/config.h
@@ -16,14 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19
20/* key matrix pins */
21#define MATRIX_ROW_PINS { B2, B3, B7, E6, B0 }
22#define MATRIX_COL_PINS { B1, F0, F1, F4, F5, F6, F7, D4, D6, D7, B4, B5, B6, C6, C7 }
23
24/* COL2ROW or ROW2COL */
25#define DIODE_DIRECTION COL2ROW
26
27#define FORCE_NKRO 19#define FORCE_NKRO
28 20
29/* 将USB 轮询速率更改为 1000hz 并为精英游戏每次扫描使用更大的密钥*/ 21/* 将USB 轮询速率更改为 1000hz 并为精英游戏每次扫描使用更大的密钥*/
diff --git a/keyboards/mmkzoo65/info.json b/keyboards/mmkzoo65/info.json
index 5d613fee01..bd98fdbd35 100644
--- a/keyboards/mmkzoo65/info.json
+++ b/keyboards/mmkzoo65/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6505", 8 "pid": "0x6505",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B1", "F0", "F1", "F4", "F5", "F6", "F7", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7"],
13 "rows": ["B2", "B3", "B7", "E6", "B0"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/mnk1800s/config.h b/keyboards/mnk1800s/config.h
index 5c277a3f48..79fdc4275f 100755
--- a/keyboards/mnk1800s/config.h
+++ b/keyboards/mnk1800s/config.h
@@ -17,12 +17,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21#define MATRIX_ROW_PINS { B13, B12, A7, A6, A5 }
22#define MATRIX_COL_PINS { B10, B2, B1, B0, B14, B15, A8, A9, A10, B9, B8, B7, B6, B5, B4, B3, A15, A14 }
23
24/* COL2ROW, ROW2COL*/
25#define DIODE_DIRECTION COL2ROW
26
27/* Ensure we jump to bootloader if the QK_BOOT keycode was pressed */ 20/* Ensure we jump to bootloader if the QK_BOOT keycode was pressed */
28#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE 21#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
diff --git a/keyboards/mnk1800s/info.json b/keyboards/mnk1800s/info.json
index 26fab96ba9..619911f907 100755
--- a/keyboards/mnk1800s/info.json
+++ b/keyboards/mnk1800s/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x3138", 8 "pid": "0x3138",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B10", "B2", "B1", "B0", "B14", "B15", "A8", "A9", "A10", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15", "A14"],
13 "rows": ["B13", "B12", "A7", "A6", "A5"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "STM32F072", 16 "processor": "STM32F072",
12 "bootloader": "stm32-dfu", 17 "bootloader": "stm32-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/mnk50/config.h b/keyboards/mnk50/config.h
index d238bd0564..79fdc4275f 100755
--- a/keyboards/mnk50/config.h
+++ b/keyboards/mnk50/config.h
@@ -17,12 +17,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21#define MATRIX_ROW_PINS { B12, B13, A10, A6 }
22#define MATRIX_COL_PINS { B14, B15, A8, A9, A13, A14, A15, B3, B4, B5, B6, B7, B8, B9 }
23
24/* COL2ROW, ROW2COL*/
25#define DIODE_DIRECTION COL2ROW
26
27/* Ensure we jump to bootloader if the QK_BOOT keycode was pressed */ 20/* Ensure we jump to bootloader if the QK_BOOT keycode was pressed */
28#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE 21#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
diff --git a/keyboards/mnk50/info.json b/keyboards/mnk50/info.json
index 26b900d70a..882dfad7d3 100755
--- a/keyboards/mnk50/info.json
+++ b/keyboards/mnk50/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x4D35", 8 "pid": "0x4D35",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B14", "B15", "A8", "A9", "A13", "A14", "A15", "B3", "B4", "B5", "B6", "B7", "B8", "B9"],
13 "rows": ["B12", "B13", "A10", "A6"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "STM32F072", 16 "processor": "STM32F072",
12 "bootloader": "stm32-dfu", 17 "bootloader": "stm32-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/mnk75/config.h b/keyboards/mnk75/config.h
index f2c84192d4..79fdc4275f 100755
--- a/keyboards/mnk75/config.h
+++ b/keyboards/mnk75/config.h
@@ -17,12 +17,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21#define MATRIX_ROW_PINS { A2, A14, A15, B3, B4, B5 }
22#define MATRIX_COL_PINS { A1, B9, A3, A4, A5, A6, A7, B0, B1, B2, B10, B11, B12, B13, B14 }
23
24/* COL2ROW, ROW2COL*/
25#define DIODE_DIRECTION COL2ROW
26
27/* Ensure we jump to bootloader if the QK_BOOT keycode was pressed */ 20/* Ensure we jump to bootloader if the QK_BOOT keycode was pressed */
28#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE 21#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
diff --git a/keyboards/mnk75/info.json b/keyboards/mnk75/info.json
index 71ff32beb1..91a1c8f21e 100755
--- a/keyboards/mnk75/info.json
+++ b/keyboards/mnk75/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x4D37", 8 "pid": "0x4D37",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["A1", "B9", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14"],
13 "rows": ["A2", "A14", "A15", "B3", "B4", "B5"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "STM32F072", 16 "processor": "STM32F072",
12 "bootloader": "stm32-dfu", 17 "bootloader": "stm32-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/mntre/config.h b/keyboards/mntre/config.h
index 54a640366b..55a7a8457e 100644
--- a/keyboards/mntre/config.h
+++ b/keyboards/mntre/config.h
@@ -3,23 +3,6 @@
3 3
4#pragma once 4#pragma once
5 5
6
7/*
8 * Keyboard Matrix Assignments
9 *
10 * Change this to how you wired your keyboard
11 * COLS: AVR pins used for columns, left to right
12 * ROWS: AVR pins used for rows, top to bottom
13 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
14 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
15 *
16 */
17#define MATRIX_ROW_PINS { B6, B5, B4, D7, D6, D4 }
18#define MATRIX_COL_PINS { D5, F7, E6, C7, B3, B2, B1, B0, F0, F1, F4, F5, F6, C6 }
19
20/* COL2ROW, ROW2COL */
21#define DIODE_DIRECTION COL2ROW
22
23#define BACKLIGHT_CUSTOM_RESOLUTION 0x400 6#define BACKLIGHT_CUSTOM_RESOLUTION 0x400
24 7
25/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 8/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
diff --git a/keyboards/mntre/info.json b/keyboards/mntre/info.json
index 36426c3cc1..7fae38f4ad 100644
--- a/keyboards/mntre/info.json
+++ b/keyboards/mntre/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x1302", 8 "pid": "0x1302",
9 "device_version": "0.0.2" 9 "device_version": "0.0.2"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D5", "F7", "E6", "C7", "B3", "B2", "B1", "B0", "F0", "F1", "F4", "F5", "F6", "C6"],
13 "rows": ["B6", "B5", "B4", "D7", "D6", "D4"]
14 },
15 "diode_direction": "COL2ROW",
11 "backlight": { 16 "backlight": {
12 "pin": "B7", 17 "pin": "B7",
13 "max_brightness": 84 18 "max_brightness": 84
diff --git a/keyboards/mode/m65ha_alpha/config.h b/keyboards/mode/m65ha_alpha/config.h
index da995299e4..52f0c6784d 100644
--- a/keyboards/mode/m65ha_alpha/config.h
+++ b/keyboards/mode/m65ha_alpha/config.h
@@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20#define MATRIX_COL_PINS { B10, B12, C8 , C4 , C5 , B0 , C10, B13, B14, B15, A15, C6 , C7 , A8 , C9}
21#define MATRIX_ROW_PINS { A7 , A10, D2 , C12, B1 , C11 }
22#define DIODE_DIRECTION COL2ROW
23
24/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
25#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
26/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/mode/m65ha_alpha/info.json b/keyboards/mode/m65ha_alpha/info.json
index 4d27f46223..33e953ba25 100644
--- a/keyboards/mode/m65ha_alpha/info.json
+++ b/keyboards/mode/m65ha_alpha/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6566", 8 "pid": "0x6566",
9 "device_version": "0.6.5" 9 "device_version": "0.6.5"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B10", "B12", "C8", "C4", "C5", "B0", "C10", "B13", "B14", "B15", "A15", "C6", "C7", "A8", "C9"],
13 "rows": ["A7", "A10", "D2", "C12", "B1", "C11"]
14 },
15 "diode_direction": "COL2ROW",
11 "indicators": { 16 "indicators": {
12 "caps_lock": "A6" 17 "caps_lock": "A6"
13 }, 18 },
diff --git a/keyboards/mode/m65hi_alpha/config.h b/keyboards/mode/m65hi_alpha/config.h
index 62faefd168..52f0c6784d 100644
--- a/keyboards/mode/m65hi_alpha/config.h
+++ b/keyboards/mode/m65hi_alpha/config.h
@@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20#define MATRIX_COL_PINS { B10, B12, C8 , C4 , C5 , B0 , C10, B13, B14, B15, A15, C6 , C7 , A8 , C9 }
21#define MATRIX_ROW_PINS { A7 , A10, D2 , C12, B1 , C11 }
22#define DIODE_DIRECTION COL2ROW
23
24/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
25#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
26/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/mode/m65hi_alpha/info.json b/keyboards/mode/m65hi_alpha/info.json
index c6ea41bee0..ea042a2df6 100644
--- a/keyboards/mode/m65hi_alpha/info.json
+++ b/keyboards/mode/m65hi_alpha/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6574", 8 "pid": "0x6574",
9 "device_version": "0.6.5" 9 "device_version": "0.6.5"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B10", "B12", "C8", "C4", "C5", "B0", "C10", "B13", "B14", "B15", "A15", "C6", "C7", "A8", "C9"],
13 "rows": ["A7", "A10", "D2", "C12", "B1", "C11"]
14 },
15 "diode_direction": "COL2ROW",
11 "indicators": { 16 "indicators": {
12 "caps_lock": "A6" 17 "caps_lock": "A6"
13 }, 18 },
diff --git a/keyboards/mode/m65s/config.h b/keyboards/mode/m65s/config.h
index 173c679f1f..ed3faacae0 100644
--- a/keyboards/mode/m65s/config.h
+++ b/keyboards/mode/m65s/config.h
@@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20#define MATRIX_COL_PINS { C7 , A8 , A10, A4 , A5 , A6 , C10, A7, C4 , C5 , A15, B0 , B1 , B12, B10, B13 }
21#define MATRIX_ROW_PINS { A3 , B14, B15, C9 , C6 , C11 }
22#define DIODE_DIRECTION COL2ROW
23
24/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
25#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
26/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/mode/m65s/info.json b/keyboards/mode/m65s/info.json
index 53c7ccace4..c744b3512d 100644
--- a/keyboards/mode/m65s/info.json
+++ b/keyboards/mode/m65s/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6583", 8 "pid": "0x6583",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["C7", "A8", "A10", "A4", "A5", "A6", "C10", "A7", "C4", "C5", "A15", "B0", "B1", "B12", "B10", "B13"],
13 "rows": ["A3", "B14", "B15", "C9", "C6", "C11"]
14 },
15 "diode_direction": "COL2ROW",
11 "indicators": { 16 "indicators": {
12 "caps_lock": "C8" 17 "caps_lock": "C8"
13 }, 18 },
diff --git a/keyboards/mode/m75h/config.h b/keyboards/mode/m75h/config.h
index 2b0b122a6b..640cc43a5a 100644
--- a/keyboards/mode/m75h/config.h
+++ b/keyboards/mode/m75h/config.h
@@ -17,12 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20 //C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15
21#define MATRIX_COL_PINS { C8, C7, A10, B13, B12, B10, B1, C10, C11, D2, C12, B3, B4, B5, B8, B9 }
22 //R0, R1, R2, R3, R4, R5 , R6
23#define MATRIX_ROW_PINS { C5, B0, B14, B15, A8 , C9 , A15}
24#define DIODE_DIRECTION COL2ROW
25
26/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
27#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
28/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/mode/m75h/info.json b/keyboards/mode/m75h/info.json
index f7d265707e..e481cc09e7 100644
--- a/keyboards/mode/m75h/info.json
+++ b/keyboards/mode/m75h/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x7572", 8 "pid": "0x7572",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["C8", "C7", "A10", "B13", "B12", "B10", "B1", "C10", "C11", "D2", "C12", "B3", "B4", "B5", "B8", "B9"],
13 "rows": ["C5", "B0", "B14", "B15", "A8", "C9", "A15"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "STM32F401", 16 "processor": "STM32F401",
12 "bootloader": "stm32-dfu", 17 "bootloader": "stm32-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/mode/m75s/config.h b/keyboards/mode/m75s/config.h
index 6c90b66be5..b8307f4396 100644
--- a/keyboards/mode/m75s/config.h
+++ b/keyboards/mode/m75s/config.h
@@ -17,12 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20 // C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15
21#define MATRIX_COL_PINS { C8, A8, A10, B13, B12, B10, B1, C10, C11, D2, C12, B3, B4, B5, B8, B9 }
22 // R0, R1, R2, R3, R4, R5 , R6
23#define MATRIX_ROW_PINS { C5, B0, B14, B15, C7 , C9 , A15}
24#define DIODE_DIRECTION COL2ROW
25
26/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
27#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
28/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/mode/m75s/info.json b/keyboards/mode/m75s/info.json
index f046a8dffd..a3f2fd77ec 100644
--- a/keyboards/mode/m75s/info.json
+++ b/keyboards/mode/m75s/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x7583", 8 "pid": "0x7583",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["C8", "A8", "A10", "B13", "B12", "B10", "B1", "C10", "C11", "D2", "C12", "B3", "B4", "B5", "B8", "B9"],
13 "rows": ["C5", "B0", "B14", "B15", "C7", "C9", "A15"]
14 },
15 "diode_direction": "COL2ROW",
11 "backlight": { 16 "backlight": {
12 "pin": "C6", 17 "pin": "C6",
13 "levels": 20, 18 "levels": 20,
diff --git a/keyboards/mode/m80v1/config.h b/keyboards/mode/m80v1/config.h
index 6b59fc9872..72ad307905 100644
--- a/keyboards/mode/m80v1/config.h
+++ b/keyboards/mode/m80v1/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20/*
21 * Keyboard Matrix Assignments
22 *
23 * Change this to how you wired your keyboard
24 * COLS: AVR pins used for columns, left to right
25 * ROWS: AVR pins used for rows, top to bottom
26 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
27 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
28 *
29*/
30
31#define MATRIX_ROW_PINS { A10, A15, B3, B9, A3, A4 }
32#define MATRIX_COL_PINS { B8, B7, B6, B5, B4, A2, A1, A0, F1, F0, C15, C14, C13, A7, A6, A5 }
33
34/* COL2ROW, ROW2COL*/
35#define DIODE_DIRECTION COL2ROW
36
37/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
38#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
39/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/mode/m80v1/m80h/info.json b/keyboards/mode/m80v1/m80h/info.json
index e7558244ce..05fa106877 100644
--- a/keyboards/mode/m80v1/m80h/info.json
+++ b/keyboards/mode/m80v1/m80h/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0081", 8 "pid": "0x0081",
9 "device_version": "0.7.2" 9 "device_version": "0.7.2"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B8", "B7", "B6", "B5", "B4", "A2", "A1", "A0", "F1", "F0", "C15", "C14", "C13", "A7", "A6", "A5"],
13 "rows": ["A10", "A15", "B3", "B9", "A3", "A4"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "STM32F072", 16 "processor": "STM32F072",
12 "bootloader": "stm32-dfu", 17 "bootloader": "stm32-dfu",
13 "community_layouts": [ "tkl_ansi" ], 18 "community_layouts": [ "tkl_ansi" ],
diff --git a/keyboards/mode/m80v1/m80s/info.json b/keyboards/mode/m80v1/m80s/info.json
index a94585c926..48f5444fc2 100644
--- a/keyboards/mode/m80v1/m80s/info.json
+++ b/keyboards/mode/m80v1/m80s/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0080", 8 "pid": "0x0080",
9 "device_version": "0.8.3" 9 "device_version": "0.8.3"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B8", "B7", "B6", "B5", "B4", "A2", "A1", "A0", "F1", "F0", "C15", "C14", "C13", "A7", "A6", "A5"],
13 "rows": ["A10", "A15", "B3", "B9", "A3", "A4"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "STM32F072", 16 "processor": "STM32F072",
12 "bootloader": "stm32-dfu", 17 "bootloader": "stm32-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/mode/m80v2/config.h b/keyboards/mode/m80v2/config.h
index dcfd8d1614..d553d5d894 100644
--- a/keyboards/mode/m80v2/config.h
+++ b/keyboards/mode/m80v2/config.h
@@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20#define MATRIX_ROW_PINS { B12, B13, B14, B3, B4, B9 }
21#define MATRIX_COL_PINS { A1, A2, A3, A4, A5, A6, A7, B0, B1, B10, A8, A10, B15, A15, B5, B8, C13 }
22
23#define DIODE_DIRECTION COL2ROW
24
25/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
26#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
27/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/mode/m80v2/m80v2h/info.json b/keyboards/mode/m80v2/m80v2h/info.json
index 51788340ca..3c948f5eb4 100644
--- a/keyboards/mode/m80v2/m80v2h/info.json
+++ b/keyboards/mode/m80v2/m80v2h/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0083", 8 "pid": "0x0083",
9 "device_version": "0.0.2" 9 "device_version": "0.0.2"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "B10", "A8", "A10", "B15", "A15", "B5", "B8", "C13"],
13 "rows": ["B12", "B13", "B14", "B3", "B4", "B9"]
14 },
15 "diode_direction": "COL2ROW",
11 "indicators": { 16 "indicators": {
12 "caps_lock": "A0", 17 "caps_lock": "A0",
13 "on_state": 0 18 "on_state": 0
diff --git a/keyboards/mode/m80v2/m80v2s/info.json b/keyboards/mode/m80v2/m80v2s/info.json
index d7f5dd663b..5793fa00a7 100644
--- a/keyboards/mode/m80v2/m80v2s/info.json
+++ b/keyboards/mode/m80v2/m80v2s/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0082", 8 "pid": "0x0082",
9 "device_version": "0.0.2" 9 "device_version": "0.0.2"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "B10", "A8", "A10", "B15", "A15", "B5", "B8", "C13"],
13 "rows": ["B12", "B13", "B14", "B3", "B4", "B9"]
14 },
15 "diode_direction": "COL2ROW",
11 "indicators": { 16 "indicators": {
12 "caps_lock": "A0", 17 "caps_lock": "A0",
13 "on_state": 0 18 "on_state": 0
diff --git a/keyboards/mokey/ginkgo65hot/config.h b/keyboards/mokey/ginkgo65hot/config.h
deleted file mode 100644
index c3f836fd12..0000000000
--- a/keyboards/mokey/ginkgo65hot/config.h
+++ /dev/null
@@ -1,19 +0,0 @@
1/*
2Copyright 2021 Kyle McCreery
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14#pragma once
15
16
17#define MATRIX_ROW_PINS { B0, B1, B2, B3, F7 }
18#define MATRIX_COL_PINS { C7, F6, F5, F4, F1, E6, D0, D1, D2, D3, D5, D4, D6, D7, B4 }
19#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/mokey/ginkgo65hot/info.json b/keyboards/mokey/ginkgo65hot/info.json
index 31427c7cb3..347d4f840d 100644
--- a/keyboards/mokey/ginkgo65hot/info.json
+++ b/keyboards/mokey/ginkgo65hot/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x3366", 8 "pid": "0x3366",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["C7", "F6", "F5", "F4", "F1", "E6", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4"],
13 "rows": ["B0", "B1", "B2", "B3", "F7"]
14 },
15 "diode_direction": "COL2ROW",
11 "backlight": { 16 "backlight": {
12 "pin": "B6", 17 "pin": "B6",
13 "levels": 6, 18 "levels": 6,
diff --git a/keyboards/mokey/ibis80/config.h b/keyboards/mokey/ibis80/config.h
deleted file mode 100644
index 51dbcc0bf7..0000000000
--- a/keyboards/mokey/ibis80/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
1/*
2Copyright 2021 Kyle McCreery
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14
15#pragma once
16
17
18#define MATRIX_ROW_PINS { B0, B1, B2, E6, F0, F1 }
19#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7, F7, F6, F5, F4 }
20
21/* COL2ROW, ROW2COL*/
22#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/mokey/ibis80/info.json b/keyboards/mokey/ibis80/info.json
index df1771d5e8..73fa6c086f 100644
--- a/keyboards/mokey/ibis80/info.json
+++ b/keyboards/mokey/ibis80/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x3380", 8 "pid": "0x3380",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4"],
13 "rows": ["B0", "B1", "B2", "E6", "F0", "F1"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "layout_aliases": { 18 "layout_aliases": {
diff --git a/keyboards/mokey/mokey63/config.h b/keyboards/mokey/mokey63/config.h
deleted file mode 100644
index 4347c233c3..0000000000
--- a/keyboards/mokey/mokey63/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
1/*
2Copyright 2021 Kyle McCreery
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14
15#pragma once
16
17
18#define MATRIX_ROW_PINS { B5, B6, B2, B3, B1 }
19#define MATRIX_COL_PINS { C7, F6, F5, F4, F1, E6, D0, D1, D2, D3, D5, D4, D6, D7, B4 }
20
21/* COL2ROW, ROW2COL*/
22#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/mokey/mokey63/info.json b/keyboards/mokey/mokey63/info.json
index 0a29380114..6da3bc3133 100644
--- a/keyboards/mokey/mokey63/info.json
+++ b/keyboards/mokey/mokey63/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x063A", 8 "pid": "0x063A",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["C7", "F6", "F5", "F4", "F1", "E6", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4"],
13 "rows": ["B5", "B6", "B2", "B3", "B1"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/mokey/mokey64/config.h b/keyboards/mokey/mokey64/config.h
deleted file mode 100644
index 4946ac2a9b..0000000000
--- a/keyboards/mokey/mokey64/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
1/*
2Copyright 2021 Kyle McCreery
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14
15#pragma once
16
17
18#define MATRIX_ROW_PINS { B1, B2, B3, B4, B5 }
19#define MATRIX_COL_PINS { C7, F6, F5, F4, F1, E6, D0, D2, D1, D3, D5, D4, D6, D7, B6 }
20
21/* COL2ROW, ROW2COL*/
22#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/mokey/mokey64/info.json b/keyboards/mokey/mokey64/info.json
index b31ef95cfd..36126d9243 100644
--- a/keyboards/mokey/mokey64/info.json
+++ b/keyboards/mokey/mokey64/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x001A", 8 "pid": "0x001A",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["C7", "F6", "F5", "F4", "F1", "E6", "D0", "D2", "D1", "D3", "D5", "D4", "D6", "D7", "B6"],
13 "rows": ["B1", "B2", "B3", "B4", "B5"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/mokey/xox70/config.h b/keyboards/mokey/xox70/config.h
deleted file mode 100644
index 12780d9be9..0000000000
--- a/keyboards/mokey/xox70/config.h
+++ /dev/null
@@ -1,20 +0,0 @@
1/*
2Copyright 2021 Kyle McCreery
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14#pragma once
15
16
17#define MATRIX_ROW_PINS { F7, B7, F5, F1, B0 }
18#define MATRIX_COL_PINS { F6, C7, F4, F5, F1, B6, D0, D2, D3, D1, D7, D4, D5, D6, B4, B5, C6, B7 }
19
20#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/mokey/xox70/info.json b/keyboards/mokey/xox70/info.json
index f2dc99719a..021f719740 100644
--- a/keyboards/mokey/xox70/info.json
+++ b/keyboards/mokey/xox70/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x3370", 8 "pid": "0x3370",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F6", "C7", "F4", "F5", "F1", "B6", "D0", "D2", "D3", "D1", "D7", "D4", "D5", "D6", "B4", "B5", "C6", "B7"],
13 "rows": ["F7", "B7", "F5", "F1", "B0"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "community_layouts": ["tkl_nofrow_ansi", "tkl_nofrow_iso"], 18 "community_layouts": ["tkl_nofrow_ansi", "tkl_nofrow_iso"],
diff --git a/keyboards/mokey/xox70hot/config.h b/keyboards/mokey/xox70hot/config.h
deleted file mode 100644
index 12780d9be9..0000000000
--- a/keyboards/mokey/xox70hot/config.h
+++ /dev/null
@@ -1,20 +0,0 @@
1/*
2Copyright 2021 Kyle McCreery
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14#pragma once
15
16
17#define MATRIX_ROW_PINS { F7, B7, F5, F1, B0 }
18#define MATRIX_COL_PINS { F6, C7, F4, F5, F1, B6, D0, D2, D3, D1, D7, D4, D5, D6, B4, B5, C6, B7 }
19
20#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/mokey/xox70hot/info.json b/keyboards/mokey/xox70hot/info.json
index 132ade0c9d..d7dd16bb75 100644
--- a/keyboards/mokey/xox70hot/info.json
+++ b/keyboards/mokey/xox70hot/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x3371", 8 "pid": "0x3371",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F6", "C7", "F4", "F5", "F1", "B6", "D0", "D2", "D3", "D1", "D7", "D4", "D5", "D6", "B4", "B5", "C6", "B7"],
13 "rows": ["F7", "B7", "F5", "F1", "B0"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "layout_aliases": { 18 "layout_aliases": {
diff --git a/keyboards/molecule/config.h b/keyboards/molecule/config.h
index 9812cd5b83..1755979bbc 100755
--- a/keyboards/molecule/config.h
+++ b/keyboards/molecule/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { F4, F5, F6, B6 }
32#define MATRIX_COL_PINS { D3, D2, D1, D0, D4, C6, D7, E6, B4, B5 }
33
34/* COL2ROW, ROW2COL */
35#define DIODE_DIRECTION ROW2COL
36
37/* OLED */ 20/* OLED */
38#define OLED_TIMEOUT 0 21#define OLED_TIMEOUT 0
39 22
diff --git a/keyboards/molecule/info.json b/keyboards/molecule/info.json
index dd4a2773ca..aff7852107 100755
--- a/keyboards/molecule/info.json
+++ b/keyboards/molecule/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0000", 8 "pid": "0x0000",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"],
13 "rows": ["F4", "F5", "F6", "B6"]
14 },
15 "diode_direction": "ROW2COL",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/momoka_ergo/config.h b/keyboards/momoka_ergo/config.h
index 5425085bb6..a8482aaef1 100644
--- a/keyboards/momoka_ergo/config.h
+++ b/keyboards/momoka_ergo/config.h
@@ -17,12 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21#define MATRIX_ROW_PINS { C6, D7, E6, B4, B5, B6, B7 }
22#define MATRIX_COL_PINS { F7, F6, F5, F4, F1, F0 }
23
24/* COL2ROW, ROW2COL */
25#define DIODE_DIRECTION COL2ROW
26#define SELECT_SOFT_SERIAL_SPEED 5 20#define SELECT_SOFT_SERIAL_SPEED 5
27 21
28#define RGB_DI_PIN C7 22#define RGB_DI_PIN C7
diff --git a/keyboards/momoka_ergo/info.json b/keyboards/momoka_ergo/info.json
index 3c1eefd090..e362a3fa92 100644
--- a/keyboards/momoka_ergo/info.json
+++ b/keyboards/momoka_ergo/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0001", 8 "pid": "0x0001",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F7", "F6", "F5", "F4", "F1", "F0"],
13 "rows": ["C6", "D7", "E6", "B4", "B5", "B6", "B7"]
14 },
15 "diode_direction": "COL2ROW",
11 "split": { 16 "split": {
12 "soft_serial_pin": "D1" 17 "soft_serial_pin": "D1"
13 }, 18 },
diff --git a/keyboards/momokai/tap_duo/config.h b/keyboards/momokai/tap_duo/config.h
index ca447bf9c6..d366b2ec11 100644
--- a/keyboards/momokai/tap_duo/config.h
+++ b/keyboards/momokai/tap_duo/config.h
@@ -16,13 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19
20#define MATRIX_ROW_PINS { E0 }
21#define MATRIX_COL_PINS { E6, B2, D1, D2, D3 }
22
23#define DIODE_DIRECTION COL2ROW
24
25
26// Tweak how the mouse cursor moves. https://docs.qmk.fm/#/feature_mouse_keys 19// Tweak how the mouse cursor moves. https://docs.qmk.fm/#/feature_mouse_keys
27// Accelerated mode (default). 20// Accelerated mode (default).
28#define MOUSEKEY_DELAY 10 21#define MOUSEKEY_DELAY 10
diff --git a/keyboards/momokai/tap_duo/info.json b/keyboards/momokai/tap_duo/info.json
index b23740befa..968224c2c9 100644
--- a/keyboards/momokai/tap_duo/info.json
+++ b/keyboards/momokai/tap_duo/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0005", 8 "pid": "0x0005",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["E6", "B2", "D1", "D2", "D3"],
13 "rows": ["E0"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/momokai/tap_trio/config.h b/keyboards/momokai/tap_trio/config.h
index 7a38599d11..c3d1ebab68 100644
--- a/keyboards/momokai/tap_trio/config.h
+++ b/keyboards/momokai/tap_trio/config.h
@@ -16,13 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19
20#define MATRIX_ROW_PINS { E0 }
21#define MATRIX_COL_PINS { E6, B2, B7, D1, D2, D3 }
22
23#define DIODE_DIRECTION COL2ROW
24
25
26//TODO: implement RGB Matrix 19//TODO: implement RGB Matrix
27#define RGB_DI_PIN F0 20#define RGB_DI_PIN F0
28// #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL 21// #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
diff --git a/keyboards/momokai/tap_trio/info.json b/keyboards/momokai/tap_trio/info.json
index 63e6257ee8..c0406d73ce 100644
--- a/keyboards/momokai/tap_trio/info.json
+++ b/keyboards/momokai/tap_trio/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0006", 8 "pid": "0x0006",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["E6", "B2", "B7", "D1", "D2", "D3"],
13 "rows": ["E0"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/monarch/config.h b/keyboards/monarch/config.h
index 2d319c4fdf..30181978df 100644
--- a/keyboards/monarch/config.h
+++ b/keyboards/monarch/config.h
@@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20#define MATRIX_COL_PINS { A10, A9, A8, B15, B14, B13, B12, B10, B2, B1, B0, A5, A7, A4, A3, B6 }
21#define MATRIX_ROW_PINS { A15, B3, B11, A2, A1, B9 }
22#define DIODE_DIRECTION COL2ROW
23
24#define BACKLIGHT_PWM_DRIVER PWMD3 20#define BACKLIGHT_PWM_DRIVER PWMD3
25#define BACKLIGHT_PWM_CHANNEL 1 21#define BACKLIGHT_PWM_CHANNEL 1
26#define BACKLIGHT_PAL_MODE 1 22#define BACKLIGHT_PAL_MODE 1
diff --git a/keyboards/monarch/info.json b/keyboards/monarch/info.json
index 95fafb5eb4..14bfde3f3a 100644
--- a/keyboards/monarch/info.json
+++ b/keyboards/monarch/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x43C1", 8 "pid": "0x43C1",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["A10", "A9", "A8", "B15", "B14", "B13", "B12", "B10", "B2", "B1", "B0", "A5", "A7", "A4", "A3", "B6"],
13 "rows": ["A15", "B3", "B11", "A2", "A1", "B9"]
14 },
15 "diode_direction": "COL2ROW",
11 "backlight": { 16 "backlight": {
12 "pin": "A6", 17 "pin": "A6",
13 "levels": 24, 18 "levels": 24,
diff --git a/keyboards/monoflex60/config.h b/keyboards/monoflex60/config.h
deleted file mode 100644
index 6de9ac8ee6..0000000000
--- a/keyboards/monoflex60/config.h
+++ /dev/null
@@ -1,26 +0,0 @@
1/*
2Copyright 2022 Ivan Gromov (@key10iq)
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20
21/* key matrix pins */
22#define MATRIX_ROW_PINS { D1, D0, D3, D2, D5 }
23#define MATRIX_COL_PINS { B7, F1, F4, F5, F6, F7, C7, C6, B6, B5, B4, D7, D6, D4}
24
25/* COL2ROW or ROW2COL */
26#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/monoflex60/info.json b/keyboards/monoflex60/info.json
index 771c5aac66..b849109756 100644
--- a/keyboards/monoflex60/info.json
+++ b/keyboards/monoflex60/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x60EB", 8 "pid": "0x60EB",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B7", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"],
13 "rows": ["D1", "D0", "D3", "D2", "D5"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "community_layouts": [ 18 "community_layouts": [
diff --git a/keyboards/monstargear/xo87/rgb/config.h b/keyboards/monstargear/xo87/rgb/config.h
index d03610af38..4b4bad4056 100644
--- a/keyboards/monstargear/xo87/rgb/config.h
+++ b/keyboards/monstargear/xo87/rgb/config.h
@@ -16,9 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19#define MATRIX_ROW_PINS { E6,E7, E3, B0, B1 ,A2}
20#define MATRIX_COL_PINS { C5,C3,C1,E1,D6,D2,B7,B3,F6,F7,F3,A5,A1,E2,C7,A6 }
21#define DIODE_DIRECTION ROW2COL
22#define RGB_DI_PIN D7 19#define RGB_DI_PIN D7
23#define RGB_MATRIX_LED_COUNT 110 20#define RGB_MATRIX_LED_COUNT 110
24#define RGB_DISABLE_WHEN_USB_SUSPENDED 21#define RGB_DISABLE_WHEN_USB_SUSPENDED
diff --git a/keyboards/monstargear/xo87/rgb/info.json b/keyboards/monstargear/xo87/rgb/info.json
index 8176bac03f..73723f3141 100644
--- a/keyboards/monstargear/xo87/rgb/info.json
+++ b/keyboards/monstargear/xo87/rgb/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x584F", 8 "pid": "0x584F",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["C5", "C3", "C1", "E1", "D6", "D2", "B7", "B3", "F6", "F7", "F3", "A5", "A1", "E2", "C7", "A6"],
13 "rows": ["E6", "E7", "E3", "B0", "B1", "A2"]
14 },
15 "diode_direction": "ROW2COL",
11 "processor": "at90usb646", 16 "processor": "at90usb646",
12 "bootloader": "lufa-dfu", 17 "bootloader": "lufa-dfu",
13 "community_layouts": ["tkl_ansi"], 18 "community_layouts": ["tkl_ansi"],
diff --git a/keyboards/monstargear/xo87/solderable/config.h b/keyboards/monstargear/xo87/solderable/config.h
index 65c76647ab..347f14488f 100644
--- a/keyboards/monstargear/xo87/solderable/config.h
+++ b/keyboards/monstargear/xo87/solderable/config.h
@@ -19,15 +19,11 @@
19 19
20#define brightnessMax 8 20#define brightnessMax 8
21 21
22#define MATRIX_ROW_PINS { E6,E7,E3,B0,B1,A2}
23#define MATRIX_COL_PINS { C5,C3,C1,E1,D6,D2,B7,B3,F6,F7,F3,A5,A1,E2,C7,A6 }
24
25#define KEYLED_ROWS 6 22#define KEYLED_ROWS 6
26#define KEYLED_COLS 16 23#define KEYLED_COLS 16
27#define KEYLED_ROW_PINS { E5,B4,B5,F0,C6,D5 } 24#define KEYLED_ROW_PINS { E5,B4,B5,F0,C6,D5 }
28#define KEYLED_COL_PINS { C4,C2,C0,E0,D4,E4,B6,B2,F4,A0,F2,A4,F1,A7,D3,A3 } 25#define KEYLED_COL_PINS { C4,C2,C0,E0,D4,E4,B6,B2,F4,A0,F2,A4,F1,A7,D3,A3 }
29 26
30#define DIODE_DIRECTION ROW2COL
31#define RGB_DI_PIN D7 27#define RGB_DI_PIN D7
32#define RGB_MATRIX_LED_COUNT 21 28#define RGB_MATRIX_LED_COUNT 21
33#define DRIVER_COUNT 2 29#define DRIVER_COUNT 2
diff --git a/keyboards/monstargear/xo87/solderable/info.json b/keyboards/monstargear/xo87/solderable/info.json
index f3a8ca1657..669c8c1592 100644
--- a/keyboards/monstargear/xo87/solderable/info.json
+++ b/keyboards/monstargear/xo87/solderable/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x5344", 8 "pid": "0x5344",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["C5", "C3", "C1", "E1", "D6", "D2", "B7", "B3", "F6", "F7", "F3", "A5", "A1", "E2", "C7", "A6"],
13 "rows": ["E6", "E7", "E3", "B0", "B1", "A2"]
14 },
15 "diode_direction": "ROW2COL",
11 "backlight": { 16 "backlight": {
12 "driver": "custom", 17 "driver": "custom",
13 "pin": "F0" 18 "pin": "F0"
diff --git a/keyboards/montsinger/rebound/rev1/config.h b/keyboards/montsinger/rebound/rev1/config.h
index 6063a52f09..274c715a93 100644
--- a/keyboards/montsinger/rebound/rev1/config.h
+++ b/keyboards/montsinger/rebound/rev1/config.h
@@ -14,25 +14,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
14 14
15#pragma once 15#pragma once
16 16
17
18/*
19 * Keyboard Matrix Assignments
20 *
21 * Change this to how you wired your keyboard
22 * COLS: AVR pins used for columns, left to right
23 * ROWS: AVR pins used for rows, top to bottom
24 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on
25diode)
26 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
27 *
28 */
29
30#define MATRIX_ROW_PINS { D1, B5, B2, B6 }
31#define MATRIX_COL_PINS { D0, D4, C6, D7, E6, B4, B3, B1, F7, F6, F5, F4 }
32
33/* COL2ROW, ROW2COL*/
34#define DIODE_DIRECTION ROW2COL
35
36/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 17/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
37#define LOCKING_SUPPORT_ENABLE 18#define LOCKING_SUPPORT_ENABLE
38/* Locking resynchronize hack */ 19/* Locking resynchronize hack */
diff --git a/keyboards/montsinger/rebound/rev1/info.json b/keyboards/montsinger/rebound/rev1/info.json
index d7d6cf0d07..d65fb21767 100644
--- a/keyboards/montsinger/rebound/rev1/info.json
+++ b/keyboards/montsinger/rebound/rev1/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x552F", 8 "pid": "0x552F",
9 "device_version": "0.0.2" 9 "device_version": "0.0.2"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D0", "D4", "C6", "D7", "E6", "B4", "B3", "B1", "F7", "F6", "F5", "F4"],
13 "rows": ["D1", "B5", "B2", "B6"]
14 },
15 "diode_direction": "ROW2COL",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "community_layouts": ["ortho_4x12"], 18 "community_layouts": ["ortho_4x12"],
diff --git a/keyboards/montsinger/rebound/rev2/config.h b/keyboards/montsinger/rebound/rev2/config.h
index cbf4c9b8df..274c715a93 100644
--- a/keyboards/montsinger/rebound/rev2/config.h
+++ b/keyboards/montsinger/rebound/rev2/config.h
@@ -14,25 +14,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
14 14
15#pragma once 15#pragma once
16 16
17
18/*
19 * Keyboard Matrix Assignments
20 *
21 * Change this to how you wired your keyboard
22 * COLS: AVR pins used for columns, left to right
23 * ROWS: AVR pins used for rows, top to bottom
24 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on
25diode)
26 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
27 *
28 */
29
30#define MATRIX_ROW_PINS { D1, B5, B2, B6, B0 }
31#define MATRIX_COL_PINS { D0, D4, C6, D7, E6, B4, B3, B1, F7, F6, F5, F4 }
32
33/* COL2ROW, ROW2COL*/
34#define DIODE_DIRECTION ROW2COL
35
36/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 17/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
37#define LOCKING_SUPPORT_ENABLE 18#define LOCKING_SUPPORT_ENABLE
38/* Locking resynchronize hack */ 19/* Locking resynchronize hack */
diff --git a/keyboards/montsinger/rebound/rev2/info.json b/keyboards/montsinger/rebound/rev2/info.json
index 8c2aec4e4d..e463402970 100644
--- a/keyboards/montsinger/rebound/rev2/info.json
+++ b/keyboards/montsinger/rebound/rev2/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x552F", 8 "pid": "0x552F",
9 "device_version": "0.0.2" 9 "device_version": "0.0.2"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D0", "D4", "C6", "D7", "E6", "B4", "B3", "B1", "F7", "F6", "F5", "F4"],
13 "rows": ["D1", "B5", "B2", "B6", "B0"]
14 },
15 "diode_direction": "ROW2COL",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "D2", "pin_b": "D3"} 18 {"pin_a": "D2", "pin_b": "D3"}
diff --git a/keyboards/montsinger/rebound/rev3/config.h b/keyboards/montsinger/rebound/rev3/config.h
index 00506c85bc..274c715a93 100644
--- a/keyboards/montsinger/rebound/rev3/config.h
+++ b/keyboards/montsinger/rebound/rev3/config.h
@@ -14,25 +14,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
14 14
15#pragma once 15#pragma once
16 16
17
18/*
19 * Keyboard Matrix Assignments
20 *
21 * Change this to how you wired your keyboard
22 * COLS: AVR pins used for columns, left to right
23 * ROWS: AVR pins used for rows, top to bottom
24 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on
25diode)
26 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
27 *
28 */
29
30#define MATRIX_ROW_PINS { F4, F5, D1, D0, B0 }
31#define MATRIX_COL_PINS { D4, C6, D7, E6, B4, B5, B6, B2, B3, B1, F7, F6 }
32
33/* COL2ROW, ROW2COL*/
34#define DIODE_DIRECTION ROW2COL
35
36/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 17/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
37#define LOCKING_SUPPORT_ENABLE 18#define LOCKING_SUPPORT_ENABLE
38/* Locking resynchronize hack */ 19/* Locking resynchronize hack */
diff --git a/keyboards/montsinger/rebound/rev3/info.json b/keyboards/montsinger/rebound/rev3/info.json
index 2f9338afc3..496b2e9dc6 100644
--- a/keyboards/montsinger/rebound/rev3/info.json
+++ b/keyboards/montsinger/rebound/rev3/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x552F", 8 "pid": "0x552F",
9 "device_version": "0.0.2" 9 "device_version": "0.0.2"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D4", "C6", "D7", "E6", "B4", "B5", "B6", "B2", "B3", "B1", "F7", "F6"],
13 "rows": ["F4", "F5", "D1", "D0", "B0"]
14 },
15 "diode_direction": "ROW2COL",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "D3", "pin_b": "D2"} 18 {"pin_a": "D3", "pin_b": "D2"}
diff --git a/keyboards/montsinger/rebound/rev4/config.h b/keyboards/montsinger/rebound/rev4/config.h
index 58cf478e13..3caa3c9aca 100644
--- a/keyboards/montsinger/rebound/rev4/config.h
+++ b/keyboards/montsinger/rebound/rev4/config.h
@@ -14,25 +14,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
14 14
15#pragma once 15#pragma once
16 16
17
18/*
19 * Keyboard Matrix Assignments
20 *
21 * Change this to how you wired your keyboard
22 * COLS: AVR pins used for columns, left to right
23 * ROWS: AVR pins used for rows, top to bottom
24 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on
25diode)
26 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
27 *
28 */
29
30#define MATRIX_ROW_PINS { D1, D0, D4, C6, F7, F6, F5, F4 }
31#define MATRIX_COL_PINS { D7, E6, B4, B5, B2, B3, B1 }
32
33/* COL2ROW, ROW2COL*/
34#define DIODE_DIRECTION ROW2COL
35
36/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 17/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
37#define LOCKING_SUPPORT_ENABLE 18#define LOCKING_SUPPORT_ENABLE
38/* Locking resynchronize hack */ 19/* Locking resynchronize hack */
diff --git a/keyboards/montsinger/rebound/rev4/info.json b/keyboards/montsinger/rebound/rev4/info.json
index dd76ea25e9..dfd093eb84 100644
--- a/keyboards/montsinger/rebound/rev4/info.json
+++ b/keyboards/montsinger/rebound/rev4/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0001", 8 "pid": "0x0001",
9 "device_version": "0.0.2" 9 "device_version": "0.0.2"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D7", "E6", "B4", "B5", "B2", "B3", "B1"],
13 "rows": ["D1", "D0", "D4", "C6", "F7", "F6", "F5", "F4"]
14 },
15 "diode_direction": "ROW2COL",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "D2", "pin_b": "D3"} 18 {"pin_a": "D2", "pin_b": "D3"}
diff --git a/keyboards/montsinger/rewind/config.h b/keyboards/montsinger/rewind/config.h
index fb1d814501..274c715a93 100644
--- a/keyboards/montsinger/rewind/config.h
+++ b/keyboards/montsinger/rewind/config.h
@@ -14,25 +14,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
14 14
15#pragma once 15#pragma once
16 16
17
18/*
19 * Keyboard Matrix Assignments
20 *
21 * Change this to how you wired your keyboard
22 * COLS: AVR pins used for columns, left to right
23 * ROWS: AVR pins used for rows, top to bottom
24 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on
25diode)
26 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
27 *
28 */
29
30#define MATRIX_ROW_PINS { B5, B4, D2, D3, B2 }
31#define MATRIX_COL_PINS { F6, F7, B1, B3, E6, D7, C6, D4, D0, D1 }
32
33/* COL2ROW, ROW2COL*/
34#define DIODE_DIRECTION ROW2COL
35
36/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 17/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
37#define LOCKING_SUPPORT_ENABLE 18#define LOCKING_SUPPORT_ENABLE
38/* Locking resynchronize hack */ 19/* Locking resynchronize hack */
diff --git a/keyboards/montsinger/rewind/info.json b/keyboards/montsinger/rewind/info.json
index 6df88109e8..9878a204c7 100644
--- a/keyboards/montsinger/rewind/info.json
+++ b/keyboards/montsinger/rewind/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x552F", 8 "pid": "0x552F",
9 "device_version": "0.0.2" 9 "device_version": "0.0.2"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F6", "F7", "B1", "B3", "E6", "D7", "C6", "D4", "D0", "D1"],
13 "rows": ["B5", "B4", "D2", "D3", "B2"]
14 },
15 "diode_direction": "ROW2COL",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "caterina", 17 "bootloader": "caterina",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/morizon/config.h b/keyboards/morizon/config.h
index d19633a9ad..5b0945d4d4 100644
--- a/keyboards/morizon/config.h
+++ b/keyboards/morizon/config.h
@@ -17,12 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21#define MATRIX_ROW_PINS { D3, D2, D1, D0, D4, C6, D7, E6, B4, B5 }
22#define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6 }
23
24#define DIODE_DIRECTION COL2ROW
25
26/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
27#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
28/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/morizon/info.json b/keyboards/morizon/info.json
index b012a2ecc6..4d4e0aa69b 100644
--- a/keyboards/morizon/info.json
+++ b/keyboards/morizon/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0000", 8 "pid": "0x0000",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"],
13 "rows": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "caterina", 17 "bootloader": "caterina",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/mountainblocks/mb17/config.h b/keyboards/mountainblocks/mb17/config.h
index 992b89937c..2aca1d46b3 100644
--- a/keyboards/mountainblocks/mb17/config.h
+++ b/keyboards/mountainblocks/mb17/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 *
30 */
31#define MATRIX_ROW_PINS { F4, B1, B3, B2, B6 }
32#define MATRIX_COL_PINS { F7, E6, D7, C6 }
33
34/* COL2ROW, ROW2COL*/
35#define DIODE_DIRECTION COL2ROW
36
37/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
38#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
39/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/mountainblocks/mb17/info.json b/keyboards/mountainblocks/mb17/info.json
index 56cb02fa28..516d307d2d 100644
--- a/keyboards/mountainblocks/mb17/info.json
+++ b/keyboards/mountainblocks/mb17/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0017", 8 "pid": "0x0017",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["F7", "E6", "D7", "C6"],
13 "rows": ["F4", "B1", "B3", "B2", "B6"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "caterina", 17 "bootloader": "caterina",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/mss_studio/m63_rgb/config.h b/keyboards/mss_studio/m63_rgb/config.h
index fef54ac0e1..60a9555a78 100644
--- a/keyboards/mss_studio/m63_rgb/config.h
+++ b/keyboards/mss_studio/m63_rgb/config.h
@@ -17,14 +17,6 @@
17 17
18#pragma once 18#pragma once
19 19
20
21/* key matrix pins */
22#define MATRIX_ROW_PINS { B3, B4, A0, A2, A3 }
23#define MATRIX_COL_PINS { B0, B1, B2, B10, A7, A6, A5, A4, B5, B6, A1, B7, B8, B9 }
24
25/* COL2ROW or ROW2COL */
26#define DIODE_DIRECTION COL2ROW
27
28/* Forcing to use NKRO instead 6KRO */ 20/* Forcing to use NKRO instead 6KRO */
29#define FORCE_NKRO 21#define FORCE_NKRO
30 22
diff --git a/keyboards/mss_studio/m63_rgb/info.json b/keyboards/mss_studio/m63_rgb/info.json
index 45b0723102..388400c0e5 100644
--- a/keyboards/mss_studio/m63_rgb/info.json
+++ b/keyboards/mss_studio/m63_rgb/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6063", 8 "pid": "0x6063",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B0", "B1", "B2", "B10", "A7", "A6", "A5", "A4", "B5", "B6", "A1", "B7", "B8", "B9"],
13 "rows": ["B3", "B4", "A0", "A2", "A3"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "STM32F072", 16 "processor": "STM32F072",
12 "bootloader": "stm32-dfu", 17 "bootloader": "stm32-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/mss_studio/m64_rgb/config.h b/keyboards/mss_studio/m64_rgb/config.h
index 6f095b6aa4..4711bb62a6 100644
--- a/keyboards/mss_studio/m64_rgb/config.h
+++ b/keyboards/mss_studio/m64_rgb/config.h
@@ -17,14 +17,6 @@
17 17
18#pragma once 18#pragma once
19 19
20
21/* key matrix pins */
22#define MATRIX_ROW_PINS { B3, B4, A0, A2, A3 }
23#define MATRIX_COL_PINS { B0, B1, B2, B10, A7, A6, A5, A4, B5, B6, A1, B7, B8, B9 }
24
25/* COL2ROW or ROW2COL */
26#define DIODE_DIRECTION COL2ROW
27
28/* Forcing to use NKRO instead 6KRO */ 20/* Forcing to use NKRO instead 6KRO */
29#define FORCE_NKRO 21#define FORCE_NKRO
30 22
diff --git a/keyboards/mss_studio/m64_rgb/info.json b/keyboards/mss_studio/m64_rgb/info.json
index ec168e049b..7637456e0a 100644
--- a/keyboards/mss_studio/m64_rgb/info.json
+++ b/keyboards/mss_studio/m64_rgb/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6064", 8 "pid": "0x6064",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B0", "B1", "B2", "B10", "A7", "A6", "A5", "A4", "B5", "B6", "A1", "B7", "B8", "B9"],
13 "rows": ["B3", "B4", "A0", "A2", "A3"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "STM32F072", 16 "processor": "STM32F072",
12 "bootloader": "stm32-dfu", 17 "bootloader": "stm32-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/mt/blocked65/config.h b/keyboards/mt/blocked65/config.h
index bd4c880e3b..355454f9d4 100644
--- a/keyboards/mt/blocked65/config.h
+++ b/keyboards/mt/blocked65/config.h
@@ -17,15 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21// ROWS: Top to bottom, COLS: Left to right
22
23#define MATRIX_ROW_PINS { B0, B1, B2, B3, B7 }
24#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, F7, F6, F5, F4, F1, F0 }
25
26/* COL2ROW or ROW2COL */
27#define DIODE_DIRECTION ROW2COL
28
29/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
30#define LOCKING_SUPPORT_ENABLE 21#define LOCKING_SUPPORT_ENABLE
31/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
diff --git a/keyboards/mt/blocked65/info.json b/keyboards/mt/blocked65/info.json
index c16d04cd5b..f2b399b9b9 100644
--- a/keyboards/mt/blocked65/info.json
+++ b/keyboards/mt/blocked65/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0001", 8 "pid": "0x0001",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "F7", "F6", "F5", "F4", "F1", "F0"],
13 "rows": ["B0", "B1", "B2", "B3", "B7"]
14 },
15 "diode_direction": "ROW2COL",
11 "backlight": { 16 "backlight": {
12 "pin": "B6", 17 "pin": "B6",
13 "levels": 6 18 "levels": 6
diff --git a/keyboards/mt/mt40/config.h b/keyboards/mt/mt40/config.h
index 8a77b3dc7b..32a2dfb2d3 100644
--- a/keyboards/mt/mt40/config.h
+++ b/keyboards/mt/mt40/config.h
@@ -31,27 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
31#define RGBLIGHT_EFFECT_ALTERNATING 31#define RGBLIGHT_EFFECT_ALTERNATING
32#define RGBLIGHT_EFFECT_TWINKLE 32#define RGBLIGHT_EFFECT_TWINKLE
33 33
34
35/*
36 * Keyboard Matrix Assignments
37 *
38 * Change this to how you wired your keyboard
39 * COLS: AVR pins used for columns, left to right
40 * ROWS: AVR pins used for rows, top to bottom
41 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
42 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
43 *
44*/
45/* #define CC6 0x63 // C3 */
46/* #define CB6 0x37 // B7 */
47/* #define CC7 0x62 // C2 */
48
49#define MATRIX_ROW_PINS { B0, B1, B2, B3, B4, B6, B7 }
50#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
51
52/* COL2ROW, ROW2COL*/
53#define DIODE_DIRECTION COL2ROW
54
55/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 34/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
56/* #define LOCKING_SUPPORT_ENABLE */ 35/* #define LOCKING_SUPPORT_ENABLE */
57/* Locking resynchronize hack */ 36/* Locking resynchronize hack */
diff --git a/keyboards/mt/mt40/info.json b/keyboards/mt/mt40/info.json
index 730cdf6c24..d632160093 100644
--- a/keyboards/mt/mt40/info.json
+++ b/keyboards/mt/mt40/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x422D", 8 "pid": "0x422D",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"],
13 "rows": ["B0", "B1", "B2", "B3", "B4", "B6", "B7"]
14 },
15 "diode_direction": "COL2ROW",
11 "backlight": { 16 "backlight": {
12 "pin": "D2" 17 "pin": "D2"
13 }, 18 },
diff --git a/keyboards/mt/mt64rgb/config.h b/keyboards/mt/mt64rgb/config.h
index d989525a1b..e7c1302a0b 100644
--- a/keyboards/mt/mt64rgb/config.h
+++ b/keyboards/mt/mt64rgb/config.h
@@ -15,23 +15,6 @@
15 */ 15 */
16#pragma once 16#pragma once
17 17
18
19/*
20 * Keyboard Matrix Assignments
21 *
22 * Change this to how you wired your keyboard
23 * COLS: AVR pins used for columns, left to right
24 * ROWS: AVR pins used for rows, top to bottom
25 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
26 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
27 *
28 */
29#define MATRIX_ROW_PINS { D7, D6, D5, D3, D2 }
30#define MATRIX_COL_PINS {B5, B6, C6, C7, F7, F6,F5, F4, F1, F0, B1, B2, B3, B7 }
31
32/* COL2ROW, ROW2COL*/
33#define DIODE_DIRECTION COL2ROW
34
35#ifdef RGB_MATRIX_ENABLE 18#ifdef RGB_MATRIX_ENABLE
36#define RGB_MATRIX_KEYPRESSES 19#define RGB_MATRIX_KEYPRESSES
37#define RGB_MATRIX_FRAMEBUFFER_EFFECTS 20#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
diff --git a/keyboards/mt/mt64rgb/info.json b/keyboards/mt/mt64rgb/info.json
index 20acbceedb..1eb2212598 100644
--- a/keyboards/mt/mt64rgb/info.json
+++ b/keyboards/mt/mt64rgb/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0001", 8 "pid": "0x0001",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "B1", "B2", "B3", "B7"],
13 "rows": ["D7", "D6", "D5", "D3", "D2"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "community_layouts": ["64_ansi"], 18 "community_layouts": ["64_ansi"],
diff --git a/keyboards/mt/mt84/config.h b/keyboards/mt/mt84/config.h
index 0eba561a04..394193bcdd 100644
--- a/keyboards/mt/mt84/config.h
+++ b/keyboards/mt/mt84/config.h
@@ -15,23 +15,6 @@
15 */ 15 */
16#pragma once 16#pragma once
17 17
18
19/*
20 * Keyboard Matrix Assignments
21 *
22 * Change this to how you wired your keyboard
23 * COLS: AVR pins used for columns, left to right
24 * ROWS: AVR pins used for rows, top to bottom
25 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
26 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
27 *
28 */
29#define MATRIX_ROW_PINS { D7, D6, D5, D3, D2, D4 }
30#define MATRIX_COL_PINS {B5, B6, C6, C7, F7, F6,F5, F4, F1, F0, B1, B2, B3, B7, E6 }
31
32/* COL2ROW, ROW2COL*/
33#define DIODE_DIRECTION COL2ROW
34
35#ifdef RGB_MATRIX_ENABLE 18#ifdef RGB_MATRIX_ENABLE
36 #define RGB_MATRIX_KEYPRESSES 19 #define RGB_MATRIX_KEYPRESSES
37 #define RGB_MATRIX_FRAMEBUFFER_EFFECTS 20 #define RGB_MATRIX_FRAMEBUFFER_EFFECTS
diff --git a/keyboards/mt/mt84/info.json b/keyboards/mt/mt84/info.json
index ad101223aa..b35a609a8c 100644
--- a/keyboards/mt/mt84/info.json
+++ b/keyboards/mt/mt84/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0002", 8 "pid": "0x0002",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "B1", "B2", "B3", "B7", "E6"],
13 "rows": ["D7", "D6", "D5", "D3", "D2", "D4"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "community_layouts": ["75_ansi"], 18 "community_layouts": ["75_ansi"],
diff --git a/keyboards/mt/mt980/config.h b/keyboards/mt/mt980/config.h
index 8a5dbe68f8..d6697fc076 100644
--- a/keyboards/mt/mt980/config.h
+++ b/keyboards/mt/mt980/config.h
@@ -1,13 +1,5 @@
1#pragma once 1#pragma once
2 2
3
4/* key matrix pins */
5#define MATRIX_ROW_PINS { B7, B3, B2, B1, B0, E6, F0, F1, F4, F5, F6, F7 }
6#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4 }
7
8/* COL2ROW or ROW2COL */
9#define DIODE_DIRECTION ROW2COL
10
11/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 3/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
12#define LOCKING_SUPPORT_ENABLE 4#define LOCKING_SUPPORT_ENABLE
13 5
diff --git a/keyboards/mt/mt980/info.json b/keyboards/mt/mt980/info.json
index 59afd26650..3a99cc6cb7 100644
--- a/keyboards/mt/mt980/info.json
+++ b/keyboards/mt/mt980/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6060", 8 "pid": "0x6060",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4"],
13 "rows": ["B7", "B3", "B2", "B1", "B0", "E6", "F0", "F1", "F4", "F5", "F6", "F7"]
14 },
15 "diode_direction": "ROW2COL",
11 "backlight": { 16 "backlight": {
12 "pin": "B6" 17 "pin": "B6"
13 }, 18 },
diff --git a/keyboards/mt/ncr80/hotswap/config.h b/keyboards/mt/ncr80/hotswap/config.h
index 65ca63af7e..29eb3ae608 100644
--- a/keyboards/mt/ncr80/hotswap/config.h
+++ b/keyboards/mt/ncr80/hotswap/config.h
@@ -17,21 +17,6 @@
17 17
18#pragma once 18#pragma once
19 19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 */
30#define MATRIX_ROW_PINS { E6, B0, B1, B2, B3, B7, F7, F6, F5, F4, F1 }
31#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4 }
32
33#define DIODE_DIRECTION ROW2COL
34
35#define RGB_DI_PIN E2 20#define RGB_DI_PIN E2
36#ifdef RGB_DI_PIN 21#ifdef RGB_DI_PIN
37#define RGBLIGHT_EFFECT_BREATHING 22#define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/mt/ncr80/hotswap/info.json b/keyboards/mt/ncr80/hotswap/info.json
index ed288b9e8d..8eaa0519cf 100644
--- a/keyboards/mt/ncr80/hotswap/info.json
+++ b/keyboards/mt/ncr80/hotswap/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x2002", 8 "pid": "0x2002",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4"],
13 "rows": ["E6", "B0", "B1", "B2", "B3", "B7", "F7", "F6", "F5", "F4", "F1"]
14 },
15 "diode_direction": "ROW2COL",
11 "indicators": { 16 "indicators": {
12 "caps_lock": "C6", 17 "caps_lock": "C6",
13 "num_lock": "B5", 18 "num_lock": "B5",
diff --git a/keyboards/mt/ncr80/solder/config.h b/keyboards/mt/ncr80/solder/config.h
deleted file mode 100644
index c6828a9323..0000000000
--- a/keyboards/mt/ncr80/solder/config.h
+++ /dev/null
@@ -1,33 +0,0 @@
1/* Copyright 2022 Jordan Duabe
2 * Copyright 2022 peepeetee
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#pragma once
19
20
21/*
22 * Keyboard Matrix Assignments
23 *
24 * Change this to how you wired your keyboard
25 * COLS: AVR pins used for columns, left to right
26 * ROWS: AVR pins used for rows, top to bottom
27 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
28 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 */
30#define MATRIX_ROW_PINS { E6, B0, B1, B2, B3, B7, F7, F6, F5, F4, F1 }
31#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4 }
32
33#define DIODE_DIRECTION ROW2COL
diff --git a/keyboards/mt/ncr80/solder/info.json b/keyboards/mt/ncr80/solder/info.json
index 2005f45d48..aea6232991 100644
--- a/keyboards/mt/ncr80/solder/info.json
+++ b/keyboards/mt/ncr80/solder/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x2001", 8 "pid": "0x2001",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4"],
13 "rows": ["E6", "B0", "B1", "B2", "B3", "B7", "F7", "F6", "F5", "F4", "F1"]
14 },
15 "diode_direction": "ROW2COL",
11 "backlight": { 16 "backlight": {
12 "pin": "B6", 17 "pin": "B6",
13 "levels": 5 18 "levels": 5
diff --git a/keyboards/mtbkeys/mtb60/hotswap/config.h b/keyboards/mtbkeys/mtb60/hotswap/config.h
index a1b98373b4..114c8feab4 100644
--- a/keyboards/mtbkeys/mtb60/hotswap/config.h
+++ b/keyboards/mtbkeys/mtb60/hotswap/config.h
@@ -17,14 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/* key matrix pinout */
22#define MATRIX_ROW_PINS { D6, D7, B4, B5, D5 }
23#define MATRIX_COL_PINS { D0, D1, D2, D3, B7, B6, F7, C6, C7, F6, F4, F1, F0, F5, E6 }
24
25/* diode direction: COL2ROW or ROW2COL */
26#define DIODE_DIRECTION ROW2COL
27
28/* Pin WS2812 RGB LEDs are connected to */ 20/* Pin WS2812 RGB LEDs are connected to */
29#define RGB_DI_PIN D4 21#define RGB_DI_PIN D4
30 22
diff --git a/keyboards/mtbkeys/mtb60/hotswap/info.json b/keyboards/mtbkeys/mtb60/hotswap/info.json
index 6f5da086d0..d2ece9ff7f 100644
--- a/keyboards/mtbkeys/mtb60/hotswap/info.json
+++ b/keyboards/mtbkeys/mtb60/hotswap/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0001", 8 "pid": "0x0001",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D0", "D1", "D2", "D3", "B7", "B6", "F7", "C6", "C7", "F6", "F4", "F1", "F0", "F5", "E6"],
13 "rows": ["D6", "D7", "B4", "B5", "D5"]
14 },
15 "diode_direction": "ROW2COL",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "layout_aliases": { 18 "layout_aliases": {
diff --git a/keyboards/mtbkeys/mtb60/solder/config.h b/keyboards/mtbkeys/mtb60/solder/config.h
index 4d14b392f0..3ab3171076 100644
--- a/keyboards/mtbkeys/mtb60/solder/config.h
+++ b/keyboards/mtbkeys/mtb60/solder/config.h
@@ -17,14 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/* key matrix pinout */
22#define MATRIX_ROW_PINS { D0, D1, F4, F1, D2 }
23#define MATRIX_COL_PINS { E6, F0, F5, F6, F7, D5, D3, C7, C6, B6, B5, B4, D7, D6, D4 }
24
25/* diode direction: COL2ROW or ROW2COL */
26#define DIODE_DIRECTION ROW2COL
27
28/* Pin WS2812 RGB LEDs are connected to */ 20/* Pin WS2812 RGB LEDs are connected to */
29#define RGB_DI_PIN B0 21#define RGB_DI_PIN B0
30 22
diff --git a/keyboards/mtbkeys/mtb60/solder/info.json b/keyboards/mtbkeys/mtb60/solder/info.json
index 2f97a88913..552985d562 100644
--- a/keyboards/mtbkeys/mtb60/solder/info.json
+++ b/keyboards/mtbkeys/mtb60/solder/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0000", 8 "pid": "0x0000",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["E6", "F0", "F5", "F6", "F7", "D5", "D3", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"],
13 "rows": ["D0", "D1", "F4", "F1", "D2"]
14 },
15 "diode_direction": "ROW2COL",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "layout_aliases": { 18 "layout_aliases": {
diff --git a/keyboards/murcielago/info.json b/keyboards/murcielago/info.json
index b54258280b..4059817b74 100644
--- a/keyboards/murcielago/info.json
+++ b/keyboards/murcielago/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0001", 8 "pid": "0x0001",
9 "device_version": "0.0.2" 9 "device_version": "0.0.2"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["C6", "B6", "B5", "D7", "D6", "D4"],
13 "rows": ["B4", "D5", "B3", "B2", "B1", "B0"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "F0", "pin_b": "F1"} 18 {"pin_a": "F0", "pin_b": "F1"}
@@ -21,6 +26,12 @@
21 {"pin_a": "F6", "pin_b": "F7"} 26 {"pin_a": "F6", "pin_b": "F7"}
22 ] 27 ]
23 } 28 }
29 },
30 "matrix_pins": {
31 "right": {
32 "cols": ["D6", "D7", "D3", "B2", "B1", "B0"],
33 "rows": ["B3", "B7", "D4", "B6", "C6", "C7"]
34 }
24 } 35 }
25 }, 36 },
26 "processor": "atmega32u4", 37 "processor": "atmega32u4",
diff --git a/keyboards/murcielago/rev1/config.h b/keyboards/murcielago/rev1/config.h
index f334ebc63f..156f708632 100644
--- a/keyboards/murcielago/rev1/config.h
+++ b/keyboards/murcielago/rev1/config.h
@@ -21,24 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
21#define EE_HANDS 21#define EE_HANDS
22#define SPLIT_USB_DETECT 22#define SPLIT_USB_DETECT
23 23
24/*
25 * Keyboard Matrix Assignments
26 *
27 * Change this to how you wired your keyboard
28 * COLS: AVR pins used for columns, left to right
29 * ROWS: AVR pins used for rows, top to bottom
30 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
31 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
32 *
33 */
34#define MATRIX_ROW_PINS { B4, D5, B3, B2, B1, B0 }
35#define MATRIX_COL_PINS { C6, B6, B5, D7, D6, D4 }
36#define MATRIX_ROW_PINS_RIGHT { B3, B7, D4, B6, C6, C7 }
37#define MATRIX_COL_PINS_RIGHT { D6, D7, D3, B2, B1, B0 }
38
39/* COL2ROW, ROW2COL*/
40#define DIODE_DIRECTION COL2ROW
41
42/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 24/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
43#define LOCKING_SUPPORT_ENABLE 25#define LOCKING_SUPPORT_ENABLE
44/* Locking resynchronize hack */ 26/* Locking resynchronize hack */
diff --git a/keyboards/mwstudio/alicekk/config.h b/keyboards/mwstudio/alicekk/config.h
index 290871bde5..b4d733a212 100644
--- a/keyboards/mwstudio/alicekk/config.h
+++ b/keyboards/mwstudio/alicekk/config.h
@@ -16,14 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19
20/* key matrix pins */
21#define MATRIX_ROW_PINS { A3, A5, A6, A7, B0 }
22#define MATRIX_COL_PINS { A10, A9, A8, B15, B14, B13, B12, A4, A2, A1, B6, B5, B4, B3, A15 }
23
24/* COL2ROW or ROW2COL */
25#define DIODE_DIRECTION ROW2COL
26
27#define FORCE_NKRO 19#define FORCE_NKRO
28 20
29 21
diff --git a/keyboards/mwstudio/alicekk/info.json b/keyboards/mwstudio/alicekk/info.json
index ec0d58b07e..f33b5d2ccc 100644
--- a/keyboards/mwstudio/alicekk/info.json
+++ b/keyboards/mwstudio/alicekk/info.json
@@ -6,6 +6,11 @@
6 "pid": "0x3201", 6 "pid": "0x3201",
7 "device_version": "0.0.1" 7 "device_version": "0.0.1"
8 }, 8 },
9 "matrix_pins": {
10 "cols": ["A10", "A9", "A8", "B15", "B14", "B13", "B12", "A4", "A2", "A1", "B6", "B5", "B4", "B3", "A15"],
11 "rows": ["A3", "A5", "A6", "A7", "B0"]
12 },
13 "diode_direction": "ROW2COL",
9 "encoder": { 14 "encoder": {
10 "rotary": [ 15 "rotary": [
11 {"pin_a": "B11", "pin_b": "B10"} 16 {"pin_a": "B11", "pin_b": "B10"}
diff --git a/keyboards/mwstudio/mw65_black/config.h b/keyboards/mwstudio/mw65_black/config.h
index 79d1d5e1b2..6ed183cb4c 100644
--- a/keyboards/mwstudio/mw65_black/config.h
+++ b/keyboards/mwstudio/mw65_black/config.h
@@ -16,14 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19
20/* key matrix pins */
21#define MATRIX_ROW_PINS { D4, D7, B4, B3, B6 }
22#define MATRIX_COL_PINS { B0, B1, B2, D0, D1, D2, D3, D5, C6, F7, F4, F6, F5, F1, F0 }
23
24/* COL2ROW or ROW2COL */
25#define DIODE_DIRECTION COL2ROW
26
27#define RGB_DI_PIN C7 19#define RGB_DI_PIN C7
28#ifdef RGB_DI_PIN 20#ifdef RGB_DI_PIN
29 #define RGBLED_NUM 21 21 #define RGBLED_NUM 21
diff --git a/keyboards/mwstudio/mw65_black/info.json b/keyboards/mwstudio/mw65_black/info.json
index 23151df686..1a53a22195 100644
--- a/keyboards/mwstudio/mw65_black/info.json
+++ b/keyboards/mwstudio/mw65_black/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6500", 8 "pid": "0x6500",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["B0", "B1", "B2", "D0", "D1", "D2", "D3", "D5", "C6", "F7", "F4", "F6", "F5", "F1", "F0"],
13 "rows": ["D4", "D7", "B4", "B3", "B6"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "E6", "pin_b": "D6"} 18 {"pin_a": "E6", "pin_b": "D6"}
diff --git a/keyboards/mwstudio/mw65_rgb/config.h b/keyboards/mwstudio/mw65_rgb/config.h
index 2a90d77ee9..94388ff316 100644
--- a/keyboards/mwstudio/mw65_rgb/config.h
+++ b/keyboards/mwstudio/mw65_rgb/config.h
@@ -16,14 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19
20/* key matrix pins */
21#define MATRIX_ROW_PINS { D0, D1, D2, D3, B7 }
22#define MATRIX_COL_PINS { C6, B6, B5, B4, D7, D6, D4, C7, F7, F6, F5, F4, F1, F0, E6 }
23
24/* COL2ROW or ROW2COL */
25#define DIODE_DIRECTION COL2ROW
26
27/* RGB Matrix config */ 19/* RGB Matrix config */
28#define RGB_DI_PIN B3 20#define RGB_DI_PIN B3
29 21
diff --git a/keyboards/mwstudio/mw65_rgb/info.json b/keyboards/mwstudio/mw65_rgb/info.json
index ee00dd70c1..8cace68cce 100644
--- a/keyboards/mwstudio/mw65_rgb/info.json
+++ b/keyboards/mwstudio/mw65_rgb/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x6502", 8 "pid": "0x6502",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["C6", "B6", "B5", "B4", "D7", "D6", "D4", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "E6"],
13 "rows": ["D0", "D1", "D2", "D3", "B7"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "B1", "pin_b": "B2"} 18 {"pin_a": "B1", "pin_b": "B2"}
diff --git a/keyboards/mwstudio/mw75/config.h b/keyboards/mwstudio/mw75/config.h
index 4cb7a8a22c..cbfaa2221d 100644
--- a/keyboards/mwstudio/mw75/config.h
+++ b/keyboards/mwstudio/mw75/config.h
@@ -16,14 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19
20/* key matrix pins */
21#define MATRIX_ROW_PINS { B7, D0, D1, D2, D3, D5, B0}
22#define MATRIX_COL_PINS { D4, D6, D7, B4, B5, B6, C6, C7, F7, F6, F5, F4, F1, F0, E6 }
23
24/* COL2ROW or ROW2COL */
25#define DIODE_DIRECTION COL2ROW
26
27#define RGB_DI_PIN B3 19#define RGB_DI_PIN B3
28#define RGBLIGHT_SLEEP 20#define RGBLIGHT_SLEEP
29 21
diff --git a/keyboards/mwstudio/mw75/info.json b/keyboards/mwstudio/mw75/info.json
index 866f488a6e..f7497ec325 100644
--- a/keyboards/mwstudio/mw75/info.json
+++ b/keyboards/mwstudio/mw75/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x7501", 8 "pid": "0x7501",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7", "F7", "F6", "F5", "F4", "F1", "F0", "E6"],
13 "rows": ["B7", "D0", "D1", "D2", "D3", "D5", "B0"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "B1", "pin_b": "B2"} 18 {"pin_a": "B1", "pin_b": "B2"}
diff --git a/keyboards/mwstudio/mw75r2/config.h b/keyboards/mwstudio/mw75r2/config.h
index b5f4500d58..387015e937 100644
--- a/keyboards/mwstudio/mw75r2/config.h
+++ b/keyboards/mwstudio/mw75r2/config.h
@@ -16,14 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19
20/* key matrix pins */
21#define MATRIX_ROW_PINS { B7, D0, D1, D2, D3, D5}
22#define MATRIX_COL_PINS { C7, C6, B6, B5, B4, D7, D4, D6, F7, F6, E6, F0, F1, F4, F5 }
23
24/* COL2ROW or ROW2COL */
25#define DIODE_DIRECTION COL2ROW
26
27#define RGB_DI_PIN B3 19#define RGB_DI_PIN B3
28#define RGBLIGHT_SLEEP 20#define RGBLIGHT_SLEEP
29 21
diff --git a/keyboards/mwstudio/mw75r2/info.json b/keyboards/mwstudio/mw75r2/info.json
index 4d794246eb..e479c68c96 100644
--- a/keyboards/mwstudio/mw75r2/info.json
+++ b/keyboards/mwstudio/mw75r2/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x7502", 8 "pid": "0x7502",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["C7", "C6", "B6", "B5", "B4", "D7", "D4", "D6", "F7", "F6", "E6", "F0", "F1", "F4", "F5"],
13 "rows": ["B7", "D0", "D1", "D2", "D3", "D5"]
14 },
15 "diode_direction": "COL2ROW",
11 "encoder": { 16 "encoder": {
12 "rotary": [ 17 "rotary": [
13 {"pin_a": "B1", "pin_b": "B2"} 18 {"pin_a": "B1", "pin_b": "B2"}
diff --git a/keyboards/mxss/config.h b/keyboards/mxss/config.h
index 14ed456ecf..1a372c72f5 100644
--- a/keyboards/mxss/config.h
+++ b/keyboards/mxss/config.h
@@ -17,14 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21/* matrix pin configuration */
22#define MATRIX_ROW_PINS { F4, F1, F7, B1, B7 }
23#define MATRIX_COL_PINS { D7, D6, D4, D0, C6, B6, D1, B5, D2, B4, D3, D5, B0, B2, B3 }
24
25/* COL2ROW, ROW2COL*/
26#define DIODE_DIRECTION COL2ROW
27
28/* Basic RGB configuration */ 20/* Basic RGB configuration */
29#define RGB_DI_PIN C7 21#define RGB_DI_PIN C7
30#define RGBLIGHT_EFFECT_BREATHING 22#define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/mxss/info.json b/keyboards/mxss/info.json
index 8bc0277016..70bb5c5f76 100644
--- a/keyboards/mxss/info.json
+++ b/keyboards/mxss/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x5353", 8 "pid": "0x5353",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["D7", "D6", "D4", "D0", "C6", "B6", "D1", "B5", "D2", "B4", "D3", "D5", "B0", "B2", "B3"],
13 "rows": ["F4", "F1", "F7", "B1", "B7"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 17 "bootloader": "atmel-dfu",
13 "layouts": { 18 "layouts": {
diff --git a/keyboards/mysticworks/wyvern/config.h b/keyboards/mysticworks/wyvern/config.h
index 3d2aab65c7..d025a3d4de 100644
--- a/keyboards/mysticworks/wyvern/config.h
+++ b/keyboards/mysticworks/wyvern/config.h
@@ -16,14 +16,6 @@
16 16
17#pragma once 17#pragma once
18 18
19
20/* Keyboard Matrix Assignments */
21#define MATRIX_ROW_PINS {D0,D1,D5,D3,F7,F6,F5,F4,F1,F0}
22#define MATRIX_COL_PINS {E6,B0,D4,D6,D7,B4,B5,B6,C6,C7}
23
24/* COL2ROW, ROW2COL*/
25#define DIODE_DIRECTION COL2ROW
26
27/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 19/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
28#define LOCKING_SUPPORT_ENABLE 20#define LOCKING_SUPPORT_ENABLE
29/* Locking resynchronize hack */ 21/* Locking resynchronize hack */
diff --git a/keyboards/mysticworks/wyvern/info.json b/keyboards/mysticworks/wyvern/info.json
index f2307c1f03..2150a691a8 100644
--- a/keyboards/mysticworks/wyvern/info.json
+++ b/keyboards/mysticworks/wyvern/info.json
@@ -8,6 +8,11 @@
8 "pid": "0x0001", 8 "pid": "0x0001",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "matrix_pins": {
12 "cols": ["E6", "B0", "D4", "D6", "D7", "B4", "B5", "B6", "C6", "C7"],
13 "rows": ["D0", "D1", "D5", "D3", "F7", "F6", "F5", "F4", "F1", "F0"]
14 },
15 "diode_direction": "COL2ROW",
11 "processor": "atmega32u4", 16 "processor": "atmega32u4",
12 "bootloader": "qmk-dfu", 17 "bootloader": "qmk-dfu",
13 "layouts": { 18 "layouts": {