From 314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 26 Feb 2023 08:37:57 +1100 Subject: Move backlight config to data driven (#19910) --- data/mappings/info_config.hjson | 1 + data/mappings/info_rules.hjson | 1 + data/schemas/keyboard.jsonschema | 7 ++++++- keyboards/0xcb/1337/config.h | 4 ---- keyboards/0xcb/1337/info.json | 5 +++++ keyboards/1upkeyboards/1up60hse/config.h | 4 ---- keyboards/1upkeyboards/1up60hse/info.json | 5 +++++ keyboards/1upkeyboards/1up60hte/config.h | 2 -- keyboards/1upkeyboards/1up60hte/info.json | 3 +++ keyboards/1upkeyboards/1up60rgb/config.h | 5 ----- keyboards/1upkeyboards/1up60rgb/info.json | 4 ++++ keyboards/25keys/aleth42/rev1/config.h | 4 ---- keyboards/25keys/aleth42/rev1/info.json | 5 +++++ keyboards/40percentclub/gherkin/config.h | 2 -- keyboards/40percentclub/gherkin/info.json | 3 +++ keyboards/40percentclub/luddite/config.h | 5 ----- keyboards/40percentclub/luddite/info.json | 4 ++++ keyboards/40percentclub/mf68/config.h | 3 --- keyboards/40percentclub/mf68/info.json | 4 ++++ keyboards/40percentclub/nori/config.h | 2 -- keyboards/40percentclub/nori/info.json | 3 +++ keyboards/40percentclub/sixpack/config.h | 22 --------------------- keyboards/40percentclub/sixpack/info.json | 4 +++- keyboards/4pplet/eagle_viper_rep/rev_a/config.h | 4 ---- keyboards/4pplet/eagle_viper_rep/rev_a/info.json | 5 +++++ keyboards/4pplet/eagle_viper_rep/rev_a/rules.mk | 1 - keyboards/4pplet/eagle_viper_rep/rev_b/config.h | 4 ---- keyboards/4pplet/eagle_viper_rep/rev_b/info.json | 5 +++++ keyboards/8pack/config.h | 2 -- keyboards/8pack/info.json | 3 ++- keyboards/abstract/ellipse/rev1/config.h | 3 --- keyboards/abstract/ellipse/rev1/info.json | 4 ++++ keyboards/acekeyboard/titan60/config.h | 3 --- keyboards/acekeyboard/titan60/info.json | 4 ++++ keyboards/acheron/athena/alpha/config.h | 3 --- keyboards/acheron/athena/alpha/info.json | 5 ++++- keyboards/acheron/athena/alpha/rules.mk | 1 - keyboards/acheron/athena/beta/config.h | 3 --- keyboards/acheron/athena/beta/info.json | 5 +++++ keyboards/acheron/athena/beta/rules.mk | 1 - keyboards/acheron/austin/config.h | 3 --- keyboards/acheron/austin/info.json | 5 +++++ keyboards/acheron/elongate/delta/config.h | 4 ---- keyboards/acheron/elongate/delta/info.json | 3 +++ keyboards/acheron/shark/alpha/config.h | 1 - keyboards/acheron/shark/alpha/info.json | 3 +++ keyboards/acheron/shark/beta/config.h | 3 --- keyboards/acheron/shark/beta/info.json | 5 +++++ keyboards/acheron/shark/beta/rules.mk | 1 - keyboards/adelheid/config.h | 2 -- keyboards/adelheid/info.json | 3 +++ keyboards/aeboards/ext65/rev2/config.h | 4 ---- keyboards/aeboards/ext65/rev2/info.json | 5 +++++ keyboards/ai03/equinox/config.h | 4 ---- keyboards/ai03/equinox/rev0/config.h | 5 ----- keyboards/ai03/equinox/rev0/info.json | 5 +++++ keyboards/ai03/equinox/rev1/info.json | 5 +++++ keyboards/ai03/orbit/config.h | 2 -- keyboards/ai03/orbit/info.json | 3 +++ keyboards/ai03/polaris/config.h | 4 ---- keyboards/ai03/polaris/info.json | 5 +++++ keyboards/al1/config.h | 3 --- keyboards/al1/info.json | 4 ++++ keyboards/alf/dc60/config.h | 4 ---- keyboards/alf/dc60/info.json | 5 +++++ keyboards/alf/x11/config.h | 3 --- keyboards/alf/x11/info.json | 4 ++++ keyboards/alf/x2/config.h | 2 -- keyboards/alf/x2/info.json | 3 +++ keyboards/amjkeyboard/amj40/config.h | 6 ------ keyboards/amjkeyboard/amj40/info.json | 4 ++++ keyboards/amjkeyboard/amj60/config.h | 4 ---- keyboards/amjkeyboard/amj60/info.json | 5 +++++ keyboards/amjkeyboard/amj66/config.h | 3 --- keyboards/amjkeyboard/amj66/info.json | 4 ++++ keyboards/amjkeyboard/amj84/config.h | 3 --- keyboards/amjkeyboard/amj84/info.json | 4 ++++ keyboards/amjkeyboard/amjpad/config.h | 6 ------ keyboards/amjkeyboard/amjpad/info.json | 4 ++++ keyboards/anavi/macropad8/config.h | 2 -- keyboards/anavi/macropad8/info.json | 12 +++++++---- keyboards/ares/config.h | 2 -- keyboards/ares/info.json | 3 +++ keyboards/atomic/config.h | 2 -- keyboards/atomic/info.json | 3 +++ keyboards/atxkb/1894/config.h | 4 ---- keyboards/atxkb/1894/info.json | 5 +++++ keyboards/b_sides/rev41lp/config.h | 3 --- keyboards/b_sides/rev41lp/info.json | 2 ++ keyboards/baguette/config.h | 4 ---- keyboards/baguette/info.json | 5 +++++ keyboards/bear_face/config.h | 2 -- keyboards/bear_face/info.json | 3 +++ keyboards/bfake/config.h | 2 -- keyboards/bfake/info.json | 3 +++ keyboards/bioi/f60/config.h | 4 ---- keyboards/bioi/f60/info.json | 5 +++++ keyboards/bioi/g60/config.h | 4 ---- keyboards/bioi/g60/info.json | 4 ++++ keyboards/bioi/g60ble/config.h | 5 ----- keyboards/bioi/g60ble/info.json | 4 ++++ keyboards/bioi/morgan65/config.h | 4 ---- keyboards/bioi/morgan65/info.json | 4 ++++ keyboards/bioi/s65/config.h | 5 ----- keyboards/bioi/s65/info.json | 4 ++++ keyboards/boston/config.h | 3 --- keyboards/boston/info.json | 5 +++++ keyboards/bt66tech/bt66tech60/config.h | 3 --- keyboards/bt66tech/bt66tech60/info.json | 5 +++++ keyboards/cablecardesigns/cypher/rev6/config.h | 5 ----- keyboards/cablecardesigns/cypher/rev6/info.json | 5 +++++ keyboards/cannonkeys/an_c/config.h | 3 --- keyboards/cannonkeys/an_c/info.json | 5 +++++ keyboards/cannonkeys/chimera65/config.h | 3 --- keyboards/cannonkeys/chimera65/info.json | 5 +++++ keyboards/cannonkeys/cloudline/config.h | 3 --- keyboards/cannonkeys/cloudline/info.json | 5 +++++ keyboards/cannonkeys/crin/config.h | 3 --- keyboards/cannonkeys/crin/info.json | 5 +++++ keyboards/cannonkeys/db60/config.h | 3 --- keyboards/cannonkeys/db60/info.json | 5 +++++ keyboards/cannonkeys/devastatingtkl/config.h | 4 ---- keyboards/cannonkeys/devastatingtkl/info.json | 5 +++++ keyboards/cannonkeys/instant60/config.h | 3 --- keyboards/cannonkeys/instant60/info.json | 5 +++++ keyboards/cannonkeys/instant65/config.h | 3 --- keyboards/cannonkeys/instant65/info.json | 5 +++++ keyboards/cannonkeys/iron165/config.h | 3 --- keyboards/cannonkeys/iron165/info.json | 5 +++++ keyboards/cannonkeys/malicious_ergo/config.h | 3 --- keyboards/cannonkeys/malicious_ergo/info.json | 5 +++++ keyboards/cannonkeys/obliterated75/config.h | 3 --- keyboards/cannonkeys/obliterated75/info.json | 5 +++++ keyboards/cannonkeys/onyx/config.h | 4 ---- keyboards/cannonkeys/onyx/info.json | 5 +++++ keyboards/cannonkeys/ortho48/config.h | 3 --- keyboards/cannonkeys/ortho48/info.json | 5 +++++ keyboards/cannonkeys/ortho60/config.h | 3 --- keyboards/cannonkeys/ortho60/info.json | 5 +++++ keyboards/cannonkeys/ortho75/config.h | 3 --- keyboards/cannonkeys/ortho75/info.json | 5 +++++ keyboards/cannonkeys/practice60/config.h | 3 --- keyboards/cannonkeys/practice60/info.json | 5 +++++ keyboards/cannonkeys/practice65/config.h | 3 --- keyboards/cannonkeys/practice65/info.json | 5 +++++ keyboards/cannonkeys/rekt1800/config.h | 3 --- keyboards/cannonkeys/rekt1800/info.json | 5 +++++ keyboards/cannonkeys/sagittarius/config.h | 3 --- keyboards/cannonkeys/sagittarius/info.json | 5 +++++ keyboards/cannonkeys/satisfaction75/config.h | 4 ---- keyboards/cannonkeys/satisfaction75/info.json | 4 ++++ keyboards/cannonkeys/savage65/config.h | 3 --- keyboards/cannonkeys/savage65/info.json | 5 +++++ keyboards/cannonkeys/tmov2/config.h | 3 --- keyboards/cannonkeys/tmov2/info.json | 5 +++++ keyboards/cannonkeys/tsukuyomi/config.h | 3 --- keyboards/cannonkeys/tsukuyomi/info.json | 5 +++++ keyboards/cannonkeys/vicious40/config.h | 3 --- keyboards/cannonkeys/vicious40/info.json | 5 +++++ keyboards/capsunlocked/cu24/config.h | 5 ----- keyboards/capsunlocked/cu24/info.json | 5 +++++ keyboards/capsunlocked/cu75/config.h | 1 - keyboards/capsunlocked/cu75/info.json | 4 ++++ keyboards/capsunlocked/cu75/rules.mk | 5 ----- keyboards/cest73/tkm/config.h | 3 --- keyboards/cest73/tkm/info.json | 3 +++ keyboards/checkerboards/nop60/config.h | 4 ---- keyboards/checkerboards/nop60/info.json | 5 +++++ keyboards/checkerboards/quark_plus/config.h | 5 ----- keyboards/checkerboards/quark_plus/info.json | 5 +++++ keyboards/checkerboards/quark_plus/rules.mk | 1 - keyboards/checkerboards/snop60/config.h | 5 ----- keyboards/checkerboards/snop60/info.json | 5 +++++ keyboards/checkerboards/snop60/rules.mk | 1 - keyboards/cherrybstudio/cb87/config.h | 1 - keyboards/cherrybstudio/cb87/info.json | 3 +++ keyboards/cherrybstudio/cb87v2/config.h | 2 -- keyboards/cherrybstudio/cb87v2/info.json | 3 +++ keyboards/ck60i/config.h | 3 --- keyboards/ck60i/info.json | 5 +++++ keyboards/ck60i/rules.mk | 1 - keyboards/ckeys/obelus/config.h | 2 -- keyboards/ckeys/obelus/info.json | 3 +++ keyboards/ckeys/washington/config.h | 3 --- keyboards/ckeys/washington/info.json | 4 ++++ keyboards/clueboard/17/info.json | 3 +++ keyboards/clueboard/17/rules.mk | 2 -- keyboards/clueboard/60/config.h | 23 ---------------------- keyboards/clueboard/60/info.json | 3 +++ keyboards/clueboard/66/rev2/config.h | 5 ----- keyboards/clueboard/66/rev2/info.json | 4 ++++ keyboards/clueboard/66/rev2/rules.mk | 2 -- keyboards/clueboard/66/rev3/config.h | 5 ----- keyboards/clueboard/66/rev3/info.json | 4 ++++ keyboards/clueboard/66/rev3/rules.mk | 1 - keyboards/clueboard/66_hotswap/prototype/config.h | 4 ---- keyboards/clueboard/66_hotswap/prototype/info.json | 4 ++++ keyboards/clueboard/66_hotswap/prototype/rules.mk | 2 -- keyboards/clueboard/card/config.h | 3 --- keyboards/clueboard/card/info.json | 4 ++++ keyboards/clueboard/card/rules.mk | 2 -- keyboards/coarse/cordillera/config.h | 3 --- keyboards/coarse/cordillera/info.json | 5 +++++ keyboards/copenhagen_click/click_pad_v1/config.h | 3 --- keyboards/copenhagen_click/click_pad_v1/info.json | 4 ++++ keyboards/custommk/evo70/config.h | 4 ---- keyboards/custommk/evo70/info.json | 5 ++++- keyboards/cx60/config.h | 6 ------ keyboards/cx60/info.json | 4 ++++ keyboards/db/db63/config.h | 2 -- keyboards/db/db63/info.json | 3 +++ keyboards/deng/djam/config.h | 3 --- keyboards/deng/djam/info.json | 4 ++++ keyboards/deng/djam/rules.mk | 1 - keyboards/deng/thirty/config.h | 6 ------ keyboards/deng/thirty/info.json | 3 +++ keyboards/deng/thirty/rules.mk | 1 - keyboards/do60/config.h | 4 ---- keyboards/do60/info.json | 4 ++++ keyboards/donutcables/budget96/config.h | 2 -- keyboards/donutcables/budget96/info.json | 3 +++ keyboards/doro67/multi/config.h | 3 --- keyboards/doro67/multi/info.json | 4 ++++ keyboards/dtisaac/dtisaac01/config.h | 3 --- keyboards/dtisaac/dtisaac01/info.json | 4 ++++ keyboards/duck/eagle_viper/v2/info.json | 3 +++ keyboards/duck/eagle_viper/v2/rules.mk | 1 - keyboards/duck/jetfire/config.h | 2 -- keyboards/duck/jetfire/info.json | 4 ++++ keyboards/duck/jetfire/rules.mk | 1 - keyboards/duck/lightsaver/config.h | 2 -- keyboards/duck/lightsaver/info.json | 4 ++++ keyboards/duck/lightsaver/rules.mk | 1 - keyboards/duck/octagon/v1/config.h | 2 -- keyboards/duck/octagon/v1/info.json | 4 ++++ keyboards/duck/octagon/v1/rules.mk | 1 - keyboards/duck/octagon/v2/config.h | 2 -- keyboards/duck/octagon/v2/info.json | 4 ++++ keyboards/duck/octagon/v2/rules.mk | 1 - keyboards/duck/orion/v3/config.h | 2 -- keyboards/duck/orion/v3/info.json | 4 +++- keyboards/duck/orion/v3/rules.mk | 1 - keyboards/dz60/config.h | 3 --- keyboards/dz60/info.json | 4 ++++ keyboards/dztech/bocc/config.h | 3 --- keyboards/dztech/bocc/info.json | 4 ++++ keyboards/dztech/dz96/config.h | 3 --- keyboards/dztech/dz96/info.json | 4 ++++ keyboards/ebastler/isometria_75/rev1/config.h | 3 --- keyboards/ebastler/isometria_75/rev1/info.json | 5 +++++ keyboards/efreet/config.h | 3 --- keyboards/efreet/info.json | 4 ++++ keyboards/era/era65/rules.mk | 1 - keyboards/ergotravel/rev1/config.h | 3 --- keyboards/eve/meteor/config.h | 2 -- keyboards/eve/meteor/info.json | 3 +++ keyboards/evil80/config.h | 3 --- keyboards/evil80/info.json | 4 ++++ keyboards/evyd13/atom47/rev2/config.h | 6 ------ keyboards/evyd13/atom47/rev2/info.json | 5 +++++ keyboards/evyd13/atom47/rev3/config.h | 6 ------ keyboards/evyd13/atom47/rev3/info.json | 5 +++++ keyboards/evyd13/wasdat_code/config.h | 4 ---- keyboards/evyd13/wasdat_code/info.json | 5 +++++ keyboards/exclusive/e65/config.h | 5 ----- keyboards/exclusive/e65/info.json | 4 ++++ keyboards/exclusive/e6v2/le/config.h | 6 ------ keyboards/exclusive/e6v2/le/info.json | 3 +++ keyboards/exclusive/e6v2/le_bmc/config.h | 2 -- keyboards/exclusive/e6v2/le_bmc/info.json | 3 +++ keyboards/exclusive/e6v2/oe/config.h | 6 ------ keyboards/exclusive/e6v2/oe/info.json | 3 +++ keyboards/exclusive/e6v2/oe_bmc/config.h | 2 -- keyboards/exclusive/e6v2/oe_bmc/info.json | 3 +++ keyboards/exclusive/e7v1/config.h | 5 ----- keyboards/exclusive/e7v1/info.json | 4 ++++ keyboards/exclusive/e7v1se/config.h | 3 --- keyboards/exclusive/e7v1se/info.json | 4 ++++ keyboards/exclusive/e85/config.h | 4 ---- keyboards/exclusive/e85/hotswap/info.json | 5 +++++ keyboards/exclusive/e85/soldered/info.json | 5 +++++ keyboards/exent/config.h | 2 -- keyboards/exent/info.json | 3 +++ keyboards/eyeohdesigns/babyv/config.h | 2 -- keyboards/eyeohdesigns/babyv/info.json | 3 +++ keyboards/facew/config.h | 2 -- keyboards/facew/info.json | 3 +++ keyboards/flx/virgo/config.h | 3 --- keyboards/flx/virgo/info.json | 4 ++++ keyboards/fortitude60/rev1/config.h | 5 ----- keyboards/fortitude60/rev1/info.json | 4 ++++ keyboards/foxlab/key65/hotswap/config.h | 3 --- keyboards/foxlab/key65/hotswap/info.json | 4 ++++ keyboards/foxlab/key65/universal/config.h | 3 --- keyboards/foxlab/key65/universal/info.json | 4 ++++ keyboards/foxlab/leaf60/hotswap/config.h | 4 ---- keyboards/foxlab/leaf60/hotswap/info.json | 5 +++++ keyboards/foxlab/leaf60/universal/config.h | 3 --- keyboards/foxlab/leaf60/universal/info.json | 4 ++++ keyboards/foxlab/time80/config.h | 2 -- keyboards/foxlab/time80/info.json | 3 +++ keyboards/foxlab/time_re/hotswap/config.h | 2 -- keyboards/foxlab/time_re/hotswap/info.json | 3 +++ keyboards/foxlab/time_re/universal/config.h | 2 -- keyboards/foxlab/time_re/universal/info.json | 3 +++ keyboards/ft/mars65/config.h | 2 -- keyboards/ft/mars65/info.json | 3 +++ keyboards/ft/mars80/config.h | 2 -- keyboards/ft/mars80/info.json | 3 +++ keyboards/geonworks/frogmini/fms/config.h | 2 -- keyboards/geonworks/frogmini/fms/info.json | 4 ++++ keyboards/geonworks/frogmini/fms/rules.mk | 1 - keyboards/gh60/satan/config.h | 6 ------ keyboards/gh60/satan/info.json | 4 ++++ keyboards/gh60/v1p3/config.h | 3 --- keyboards/gh60/v1p3/info.json | 4 ++++ keyboards/gon/nerd60/config.h | 4 ---- keyboards/gon/nerd60/info.json | 3 +++ keyboards/gon/nerdtkl/config.h | 4 ---- keyboards/gon/nerdtkl/info.json | 3 +++ keyboards/gray_studio/cod67/config.h | 5 ----- keyboards/gray_studio/cod67/info.json | 1 + keyboards/gray_studio/hb85/config.h | 2 -- keyboards/gray_studio/hb85/info.json | 3 +++ keyboards/gray_studio/space65/config.h | 4 ---- keyboards/gray_studio/space65/info.json | 5 +++++ keyboards/handwired/aek64/config.h | 4 ---- keyboards/handwired/aek64/info.json | 5 +++++ keyboards/handwired/arrow_pad/config.h | 2 -- keyboards/handwired/arrow_pad/info.json | 3 +++ keyboards/handwired/bdn9_ble/config.h | 3 --- keyboards/handwired/bdn9_ble/info.json | 4 ++++ keyboards/handwired/chiron/config.h | 4 ---- keyboards/handwired/chiron/info.json | 4 ++++ keyboards/handwired/co60/rev1/config.h | 5 ----- keyboards/handwired/co60/rev1/info.json | 4 ++++ keyboards/handwired/co60/rev6/config.h | 6 ------ keyboards/handwired/co60/rev6/info.json | 4 ++++ keyboards/handwired/co60/rev7/config.h | 6 ------ keyboards/handwired/co60/rev7/info.json | 4 ++++ keyboards/handwired/hacked_motospeed/config.h | 2 -- keyboards/handwired/hacked_motospeed/info.json | 3 +++ keyboards/handwired/hnah108/config.h | 4 ---- keyboards/handwired/hnah108/info.json | 5 +++++ keyboards/handwired/jot50/config.h | 4 ---- keyboards/handwired/jot50/info.json | 4 ++++ keyboards/handwired/nozbe_macro/config.h | 2 -- keyboards/handwired/nozbe_macro/info.json | 3 +++ keyboards/handwired/pill60/config.h | 3 --- keyboards/handwired/pill60/info.json | 5 +++++ keyboards/handwired/pill60/rules.mk | 1 - keyboards/handwired/prime_exl/config.h | 3 --- keyboards/handwired/prime_exl/info.json | 4 ++++ keyboards/handwired/riblee_f401/config.h | 3 --- keyboards/handwired/riblee_f401/info.json | 5 +++++ keyboards/handwired/riblee_f401/rules.mk | 1 - keyboards/handwired/steamvan/rev1/config.h | 6 ------ keyboards/handwired/steamvan/rev1/info.json | 4 ++++ keyboards/handwired/tritium_numpad/config.h | 6 ------ keyboards/handwired/tritium_numpad/info.json | 4 ++++ keyboards/heliar/wm1_hotswap/config.h | 2 -- keyboards/heliar/wm1_hotswap/info.json | 3 +++ keyboards/hineybush/h10/config.h | 3 --- keyboards/hineybush/h10/info.json | 4 ++++ keyboards/hineybush/h60/config.h | 3 --- keyboards/hineybush/h60/info.json | 4 ++++ keyboards/hineybush/h65/config.h | 3 --- keyboards/hineybush/h65/info.json | 4 ++++ keyboards/hineybush/h65_hotswap/config.h | 3 --- keyboards/hineybush/h65_hotswap/info.json | 4 ++++ keyboards/hineybush/h660s/config.h | 3 --- keyboards/hineybush/h660s/info.json | 4 ++++ keyboards/hineybush/h75_singa/config.h | 4 ---- keyboards/hineybush/h75_singa/info.json | 4 ++++ keyboards/hineybush/h87a/config.h | 2 -- keyboards/hineybush/h87a/info.json | 3 +++ keyboards/hineybush/h88/config.h | 2 -- keyboards/hineybush/h88/info.json | 3 +++ keyboards/hineybush/hbcp/config.h | 3 --- keyboards/hineybush/hbcp/info.json | 4 ++++ keyboards/hineybush/physix/config.h | 3 --- keyboards/hineybush/physix/info.json | 4 ++++ keyboards/hnahkb/freyr/config.h | 3 --- keyboards/hnahkb/freyr/info.json | 4 ++++ keyboards/hnahkb/stella/config.h | 3 --- keyboards/hnahkb/stella/info.json | 4 ++++ keyboards/hnahkb/vn66/config.h | 4 ---- keyboards/hnahkb/vn66/info.json | 5 +++++ .../horrortroll/chinese_pcb/black_e65/config.h | 6 ------ .../horrortroll/chinese_pcb/black_e65/info.json | 4 ++++ keyboards/hotdox/config.h | 2 -- keyboards/hotdox/info.json | 3 +++ keyboards/idobao/id75/v1/config.h | 3 --- keyboards/idobao/id75/v1/info.json | 4 ++++ keyboards/idobao/id80/v2/config.h | 5 ----- keyboards/idobao/id80/v2/info.json | 4 ++++ keyboards/idobao/id87/v1/config.h | 2 -- keyboards/idobao/id87/v1/info.json | 3 +++ keyboards/idobao/id96/config.h | 6 ------ keyboards/idobao/id96/info.json | 5 +++++ keyboards/idobao/montex/v1/config.h | 2 -- keyboards/idobao/montex/v1/info.json | 3 +++ keyboards/illuminati/is0/config.h | 4 ---- keyboards/illuminati/is0/info.json | 5 +++++ keyboards/ilumkb/primus75/config.h | 5 ----- keyboards/ilumkb/primus75/info.json | 4 ++++ keyboards/ilumkb/volcano660/config.h | 3 --- keyboards/ilumkb/volcano660/info.json | 4 ++++ keyboards/iron180/config.h | 3 --- keyboards/iron180/info.json | 5 +++++ keyboards/iron180/rules.mk | 1 - keyboards/j80/config.h | 2 -- keyboards/j80/info.json | 3 +++ keyboards/jacky_studio/bear_65/config.h | 6 ------ keyboards/jacky_studio/bear_65/rev1/info.json | 3 +++ keyboards/jacky_studio/bear_65/rev2/info.json | 3 +++ keyboards/jacky_studio/s7_elephant/rev2/config.h | 3 --- keyboards/jacky_studio/s7_elephant/rev2/info.json | 4 ++++ keyboards/jae/j01/config.h | 4 ---- keyboards/jae/j01/info.json | 5 +++++ keyboards/jc65/v32a/config.h | 2 -- keyboards/jc65/v32a/info.json | 3 +++ keyboards/jc65/v32u4/config.h | 2 -- keyboards/jc65/v32u4/info.json | 3 +++ keyboards/jd45/config.h | 2 -- keyboards/jd45/info.json | 3 +++ keyboards/jian/nsrev2/config.h | 6 ------ keyboards/jian/nsrev2/info.json | 5 +++++ keyboards/jian/rev1/config.h | 5 ----- keyboards/jian/rev1/info.json | 4 ++++ keyboards/jian/rev2/config.h | 5 ----- keyboards/jian/rev2/info.json | 4 ++++ keyboards/jiran/rev1/config.h | 20 ------------------- keyboards/jiran/rev1/info.json | 6 ++++++ keyboards/kagizaraya/scythe/config.h | 2 -- keyboards/kagizaraya/scythe/info.json | 3 +++ keyboards/kb_elmo/twelvekey/config.h | 4 ---- keyboards/kb_elmo/twelvekey/info.json | 2 ++ keyboards/kbdfans/bella/soldered/config.h | 2 -- keyboards/kbdfans/bella/soldered/info.json | 3 +++ keyboards/kbdfans/kbd19x/config.h | 2 -- keyboards/kbdfans/kbd19x/info.json | 3 +++ keyboards/kbdfans/kbd4x/config.h | 5 +---- keyboards/kbdfans/kbd4x/info.json | 4 ++++ keyboards/kbdfans/kbd66/config.h | 4 ---- keyboards/kbdfans/kbd66/info.json | 4 ++++ keyboards/kbdfans/kbd67/hotswap/config.h | 4 ---- keyboards/kbdfans/kbd67/hotswap/info.json | 4 ++++ keyboards/kbdfans/kbd67/mkii_soldered/config.h | 5 ----- keyboards/kbdfans/kbd67/mkii_soldered/info.json | 4 ++++ keyboards/kbdfans/kbd67/rev1/config.h | 4 ---- keyboards/kbdfans/kbd67/rev1/info.json | 4 ++++ keyboards/kbdfans/kbd67/rev2/config.h | 2 -- keyboards/kbdfans/kbd67/rev2/info.json | 3 +++ keyboards/kbdfans/kbd6x/config.h | 4 ---- keyboards/kbdfans/kbd6x/info.json | 4 ++++ keyboards/kbdfans/kbd75/config.h | 5 ----- keyboards/kbdfans/kbd75/rev1/info.json | 4 ++++ keyboards/kbdfans/kbd75/rev2/info.json | 4 ++++ keyboards/kbdfans/kbd8x/config.h | 4 ---- keyboards/kbdfans/kbd8x/info.json | 4 ++++ keyboards/kbdfans/kbd8x_mk2/config.h | 4 ---- keyboards/kbdfans/kbd8x_mk2/info.json | 4 ++++ keyboards/kbdfans/kbdpad/mk1/config.h | 3 --- keyboards/kbdfans/kbdpad/mk1/info.json | 4 ++++ keyboards/kbdfans/kbdpad/mk2/config.h | 5 ----- keyboards/kbdfans/kbdpad/mk2/info.json | 5 +++++ keyboards/kbdfans/maja_soldered/config.h | 2 -- keyboards/kbdfans/maja_soldered/info.json | 3 +++ keyboards/kbdfans/niu_mini/config.h | 5 ----- keyboards/kbdfans/niu_mini/info.json | 4 ++++ keyboards/kc60/config.h | 4 ---- keyboards/kc60/info.json | 5 +++++ keyboards/kc60se/config.h | 3 --- keyboards/kc60se/info.json | 4 ++++ keyboards/keebio/bdn9/rev1/config.h | 3 --- keyboards/keebio/bdn9/rev1/info.json | 4 ++++ keyboards/keebio/chocopad/config.h | 3 --- keyboards/keebio/chocopad/info.json | 4 ++++ keyboards/keebio/dilly/config.h | 2 -- keyboards/keebio/dilly/info.json | 3 +++ keyboards/keebio/dsp40/rev1/config.h | 2 -- keyboards/keebio/dsp40/rev1/info.json | 4 ++++ keyboards/keebio/ergodicity/config.h | 4 ---- keyboards/keebio/ergodicity/info.json | 5 +++++ keyboards/keebio/foldkb/rev1/config.h | 2 -- keyboards/keebio/foldkb/rev1/info.json | 3 +++ keyboards/keebio/iris/rev1/config.h | 3 --- keyboards/keebio/iris/rev1/info.json | 4 ++++ keyboards/keebio/iris/rev1_led/config.h | 3 --- keyboards/keebio/iris/rev1_led/info.json | 4 ++++ keyboards/keebio/iris/rev2/config.h | 3 --- keyboards/keebio/iris/rev2/info.json | 4 ++++ keyboards/keebio/iris/rev3/config.h | 3 --- keyboards/keebio/iris/rev3/info.json | 4 ++++ keyboards/keebio/iris/rev4/config.h | 3 --- keyboards/keebio/iris/rev4/info.json | 4 ++++ keyboards/keebio/iris/rev5/config.h | 2 -- keyboards/keebio/iris/rev5/info.json | 4 ++++ keyboards/keebio/kbo5000/rev1/config.h | 1 - keyboards/keebio/kbo5000/rev1/info.json | 3 +++ keyboards/keebio/levinson/rev1/config.h | 4 ---- keyboards/keebio/levinson/rev1/info.json | 4 ++++ keyboards/keebio/levinson/rev2/config.h | 4 ---- keyboards/keebio/levinson/rev2/info.json | 4 ++++ keyboards/keebio/levinson/rev3/config.h | 4 ---- keyboards/keebio/levinson/rev3/info.json | 4 ++++ keyboards/keebio/nyquist/rev2/config.h | 4 ---- keyboards/keebio/nyquist/rev2/info.json | 4 ++++ keyboards/keebio/nyquist/rev3/config.h | 4 ---- keyboards/keebio/nyquist/rev3/info.json | 4 ++++ keyboards/keebio/quefrency/rev2/config.h | 1 - keyboards/keebio/quefrency/rev2/info.json | 3 +++ keyboards/keebio/quefrency/rev3/config.h | 1 - keyboards/keebio/quefrency/rev3/info.json | 3 +++ keyboards/keebio/rorschach/rev1/config.h | 3 --- keyboards/keebio/rorschach/rev1/info.json | 4 ++++ keyboards/keebio/tragicforce68/config.h | 4 ---- keyboards/keebio/tragicforce68/info.json | 5 +++++ keyboards/keebio/viterbi/rev2/config.h | 4 ---- keyboards/keebio/viterbi/rev2/info.json | 4 ++++ keyboards/keebio/wavelet/config.h | 4 ---- keyboards/keebio/wavelet/info.json | 4 ++++ keyboards/keebsforall/coarse60/config.h | 3 --- keyboards/keebsforall/coarse60/info.json | 5 +++++ keyboards/keebwerk/nano_slider/config.h | 3 --- keyboards/keebwerk/nano_slider/info.json | 4 ++++ keyboards/kegen/gboy/config.h | 5 ----- keyboards/kegen/gboy/info.json | 4 ++++ keyboards/kira75/config.h | 3 --- keyboards/kira75/info.json | 4 ++++ keyboards/kira80/config.h | 3 --- keyboards/kira80/info.json | 4 ++++ keyboards/kiwikey/wanderland/config.h | 3 --- keyboards/kiwikey/wanderland/info.json | 4 ++++ keyboards/kmac/info.json | 3 +++ keyboards/kmac/rules.mk | 1 - keyboards/kopibeng/xt65/config.h | 3 --- keyboards/kopibeng/xt65/info.json | 4 ++++ keyboards/kprepublic/bm43a/config.h | 3 --- keyboards/kprepublic/bm43a/info.json | 4 ++++ keyboards/kprepublic/cospad/config.h | 2 -- keyboards/kprepublic/cospad/info.json | 1 + keyboards/kprepublic/jj40/config.h | 4 ---- keyboards/kprepublic/jj40/info.json | 5 +++++ keyboards/kprepublic/jj4x4/config.h | 4 ---- keyboards/kprepublic/jj4x4/info.json | 5 +++++ keyboards/kprepublic/jj50/config.h | 4 ---- keyboards/kprepublic/jj50/info.json | 5 +++++ keyboards/ktec/daisy/config.h | 3 --- keyboards/ktec/daisy/info.json | 4 ++++ keyboards/ktec/staryu/config.h | 2 -- keyboards/ktec/staryu/info.json | 3 ++- .../lazydesigners/dimple/staggered/rev3/config.h | 19 ------------------ .../lazydesigners/dimple/staggered/rev3/info.json | 3 +++ keyboards/lazydesigners/dimpleplus/config.h | 2 -- keyboards/lazydesigners/dimpleplus/info.json | 3 +++ keyboards/lazydesigners/the30/config.h | 2 -- keyboards/lazydesigners/the30/info.json | 3 +++ keyboards/lazydesigners/the40/config.h | 3 --- keyboards/lazydesigners/the40/info.json | 4 ++++ keyboards/lazydesigners/the50/config.h | 5 ----- keyboards/lazydesigners/the50/info.json | 4 ++++ keyboards/lazydesigners/the60/rev1/config.h | 5 ----- keyboards/lazydesigners/the60/rev1/info.json | 4 ++++ keyboards/lazydesigners/the60/rev2/config.h | 4 ---- keyboards/lazydesigners/the60/rev2/info.json | 5 +++++ keyboards/lfkeyboards/lfk65_hs/config.h | 1 - keyboards/lfkeyboards/lfk65_hs/info.json | 3 +++ keyboards/lfkeyboards/lfk78/config.h | 1 - keyboards/lfkeyboards/lfk78/revb/info.json | 4 ++++ keyboards/lfkeyboards/lfk78/revc/info.json | 4 ++++ keyboards/lfkeyboards/lfk78/revj/info.json | 4 ++++ keyboards/lfkeyboards/lfk78/rules.mk | 1 - keyboards/lfkeyboards/lfk87/config.h | 1 - keyboards/lfkeyboards/lfk87/info.json | 4 ++++ keyboards/lfkeyboards/lfk87/rules.mk | 1 - keyboards/lfkeyboards/mini1800/config.h | 1 - keyboards/lfkeyboards/mini1800/info.json | 4 ++++ keyboards/lfkeyboards/mini1800/mini1800.c | 1 - keyboards/lfkeyboards/mini1800/reva/rules.mk | 1 - keyboards/lfkeyboards/mini1800/revc/rules.mk | 1 - keyboards/lfkeyboards/smk65/revb/config.h | 1 - keyboards/lfkeyboards/smk65/revb/info.json | 3 +++ keyboards/linworks/dolice/config.h | 4 ---- keyboards/linworks/dolice/info.json | 4 ++++ keyboards/linworks/fave104/config.h | 4 ---- keyboards/linworks/fave104/info.json | 5 +++++ keyboards/linworks/fave87/config.h | 4 ---- keyboards/linworks/fave87/info.json | 4 ++++ keyboards/linworks/whale75/config.h | 4 ---- keyboards/linworks/whale75/info.json | 5 +++++ keyboards/lz/erghost/config.h | 3 --- keyboards/lz/erghost/info.json | 4 ++++ keyboards/m10a/config.h | 4 ---- keyboards/m10a/info.json | 4 ++++ keyboards/machkeyboards/mach3/config.h | 5 ----- keyboards/machkeyboards/mach3/info.json | 5 +++++ keyboards/machkeyboards/mach3/rules.mk | 1 - keyboards/maple_computing/christmas_tree/config.h | 2 -- keyboards/maple_computing/christmas_tree/info.json | 3 +++ keyboards/maple_computing/ivy/config.h | 2 -- keyboards/maple_computing/ivy/rev1/info.json | 3 +++ keyboards/maple_computing/jnao/config.h | 2 -- keyboards/maple_computing/jnao/info.json | 3 +++ .../maple_computing/lets_split_eh/eh/config.h | 2 -- .../maple_computing/lets_split_eh/eh/info.json | 3 +++ keyboards/massdrop/thekey/config.h | 2 -- keyboards/massdrop/thekey/info.json | 3 +++ keyboards/mechbrewery/mb65s/config.h | 2 -- keyboards/mechkeys/acr60/config.h | 3 --- keyboards/mechkeys/acr60/info.json | 4 ++++ keyboards/mechkeys/alu84/config.h | 3 --- keyboards/mechkeys/alu84/info.json | 4 ++++ keyboards/mechkeys/espectro/config.h | 3 --- keyboards/mechkeys/espectro/info.json | 4 ++++ keyboards/mechkeys/mechmini/v1/config.h | 2 -- keyboards/mechkeys/mechmini/v1/info.json | 3 +++ keyboards/mechkeys/mechmini/v2/config.h | 2 -- keyboards/mechkeys/mechmini/v2/info.json | 3 +++ keyboards/mechkeys/mk60/config.h | 4 ---- keyboards/mechkeys/mk60/info.json | 5 +++++ .../mechlovin/adelais/standard_led/arm/config.h | 2 -- .../mechlovin/adelais/standard_led/arm/info.json | 4 ++++ .../adelais/standard_led/avr/rev1/config.h | 3 --- .../adelais/standard_led/avr/rev1/info.json | 4 ++++ keyboards/mechlovin/delphine/mono_led/config.h | 4 ---- keyboards/mechlovin/delphine/mono_led/info.json | 3 +++ keyboards/mechlovin/hannah65/config.h | 2 -- keyboards/mechlovin/hannah65/info.json | 4 ++++ keyboards/mechlovin/hannah910/config.h | 4 ---- keyboards/mechlovin/hannah910/rev1/info.json | 4 ++++ keyboards/mechlovin/hannah910/rev2/info.json | 4 ++++ keyboards/mechlovin/hannah910/rev3/info.json | 4 ++++ keyboards/mechlovin/hex4b/rev1/config.h | 4 ---- keyboards/mechlovin/hex4b/rev1/info.json | 5 +++++ keyboards/mechlovin/hex4b/rev2/config.h | 3 --- keyboards/mechlovin/hex4b/rev2/info.json | 5 +++++ keyboards/mechlovin/hex6c/config.h | 2 -- keyboards/mechlovin/hex6c/info.json | 4 ++++ keyboards/mechlovin/infinity87/rev1/config.h | 2 -- keyboards/mechlovin/infinity87/rev1/info.json | 4 ++++ keyboards/mechlovin/infinity87/rev2/config.h | 3 --- keyboards/mechlovin/infinity87/rev2/info.json | 4 ++++ keyboards/mechlovin/infinity88/config.h | 2 -- keyboards/mechlovin/infinity88/info.json | 4 ++++ keyboards/mechlovin/infinityce/config.h | 3 --- keyboards/mechlovin/infinityce/info.json | 4 ++++ keyboards/mechlovin/kanu/config.h | 4 ---- keyboards/mechlovin/kanu/info.json | 4 ++++ keyboards/mechlovin/mechlovin9/rev1/config.h | 4 +--- keyboards/mechlovin/mechlovin9/rev1/info.json | 4 ++++ keyboards/mechlovin/mechlovin9/rev2/config.h | 3 --- keyboards/mechlovin/mechlovin9/rev2/info.json | 4 ++++ keyboards/mechlovin/olly/bb/config.h | 3 --- keyboards/mechlovin/olly/bb/info.json | 4 ++++ keyboards/mechlovin/olly/jf/config.h | 3 --- keyboards/mechlovin/olly/jf/info.json | 4 ++++ keyboards/mechlovin/pisces/config.h | 2 -- keyboards/mechlovin/pisces/info.json | 3 +++ keyboards/mechlovin/serratus/config.h | 3 --- keyboards/mechlovin/serratus/info.json | 4 ++++ keyboards/mechlovin/tmkl/config.h | 2 -- keyboards/mechlovin/tmkl/info.json | 4 ++++ keyboards/mehkee96/config.h | 2 -- keyboards/mehkee96/info.json | 3 +++ keyboards/melgeek/mj6xy/rev3/config.h | 6 ------ keyboards/melgeek/mj6xy/rev3/info.json | 7 +++++++ keyboards/melgeek/mj6xy/rev3/rules.mk | 1 - keyboards/meme/config.h | 3 --- keyboards/meme/info.json | 4 ++++ keyboards/merge/iso_macro/config.h | 1 - keyboards/merge/iso_macro/info.json | 3 +++ keyboards/merge/uma/config.h | 2 -- keyboards/merge/uma/info.json | 3 +++ keyboards/metamechs/timberwolf/config.h | 4 ---- keyboards/metamechs/timberwolf/info.json | 4 ++++ keyboards/metamechs/timberwolf/rules.mk | 2 -- keyboards/mntre/config.h | 1 - keyboards/mntre/info.json | 1 + keyboards/mntre/rules.mk | 2 -- keyboards/mode/m75s/config.h | 3 --- keyboards/mode/m75s/info.json | 5 +++++ keyboards/mokey/ginkgo65/config.h | 5 ----- keyboards/mokey/ginkgo65/info.json | 3 ++- keyboards/mokey/ginkgo65hot/config.h | 5 ----- keyboards/mokey/ginkgo65hot/info.json | 6 ++++++ keyboards/monarch/config.h | 4 ---- keyboards/monarch/info.json | 5 +++++ keyboards/monarch/rules.mk | 2 -- keyboards/monstargear/xo87/solderable/config.h | 2 -- keyboards/monstargear/xo87/solderable/info.json | 4 ++++ keyboards/monstargear/xo87/solderable/rules.mk | 1 - keyboards/moon/config.h | 3 --- keyboards/moon/info.json | 3 +++ keyboards/mt/blocked65/config.h | 3 --- keyboards/mt/blocked65/info.json | 4 ++++ keyboards/mt/mt40/config.h | 2 -- keyboards/mt/mt40/info.json | 3 +++ keyboards/mt/mt980/config.h | 2 -- keyboards/mt/mt980/info.json | 3 +++ keyboards/mt/ncr80/solder/config.h | 4 ---- keyboards/mt/ncr80/solder/info.json | 4 ++++ keyboards/mt/split75/config.h | 2 -- keyboards/mt/split75/info.json | 3 +++ keyboards/ncc1701kb/config.h | 4 ---- keyboards/ncc1701kb/info.json | 4 ++++ keyboards/neito/config.h | 3 --- keyboards/neito/info.json | 2 ++ keyboards/neokeys/g67/soldered/config.h | 4 ---- keyboards/neokeys/g67/soldered/info.json | 5 +++++ keyboards/nix_studio/oxalys80/config.h | 2 -- keyboards/nix_studio/oxalys80/info.json | 3 +++ keyboards/nopunin10did/jabberwocky/v2/config.h | 2 -- keyboards/nopunin10did/jabberwocky/v2/info.json | 4 +++- keyboards/nopunin10did/jabberwocky/v2/rules.mk | 1 - keyboards/novelkeys/novelpad/config.h | 3 --- keyboards/novelkeys/novelpad/info.json | 4 ++++ keyboards/noxary/220/config.h | 3 --- keyboards/noxary/220/info.json | 4 ++++ keyboards/noxary/260/config.h | 3 --- keyboards/noxary/260/info.json | 4 ++++ keyboards/noxary/268/config.h | 2 -- keyboards/noxary/268/info.json | 3 +++ keyboards/noxary/268_2/config.h | 2 -- keyboards/noxary/268_2/info.json | 3 +++ keyboards/noxary/268_2_rgb/config.h | 2 -- keyboards/noxary/268_2_rgb/info.json | 3 +++ keyboards/noxary/280/config.h | 3 --- keyboards/noxary/280/info.json | 4 ++++ keyboards/noxary/x268/config.h | 2 -- keyboards/noxary/x268/info.json | 3 +++ keyboards/oddforge/vea/config.h | 2 -- keyboards/oddforge/vea/info.json | 3 +++ keyboards/ok60/config.h | 4 ---- keyboards/ok60/info.json | 4 ++++ keyboards/omkbd/ergodash/mini/config.h | 5 ----- keyboards/omkbd/ergodash/mini/info.json | 4 ++++ keyboards/omkbd/ergodash/rev1/config.h | 5 ----- keyboards/omkbd/ergodash/rev1/info.json | 4 ++++ keyboards/orange75/config.h | 2 -- keyboards/orange75/info.json | 3 +++ keyboards/org60/config.h | 4 ---- keyboards/org60/info.json | 4 ++++ keyboards/panc60/config.h | 2 -- keyboards/panc60/info.json | 3 +++ keyboards/pearl/config.h | 2 -- keyboards/pearl/info.json | 3 +++ keyboards/percent/booster/config.h | 2 -- keyboards/percent/booster/info.json | 3 +++ keyboards/percent/canoe/config.h | 2 -- keyboards/percent/canoe/info.json | 3 +++ keyboards/percent/skog/config.h | 3 --- keyboards/percent/skog/info.json | 4 ++++ keyboards/percent/skog_lite/config.h | 2 -- keyboards/percent/skog_lite/info.json | 3 +++ keyboards/planck/config.h | 2 -- keyboards/planck/light/config.h | 4 ---- keyboards/planck/light/info.json | 3 +++ keyboards/planck/rev1/info.json | 3 +++ keyboards/planck/rev2/info.json | 3 +++ keyboards/planck/rev3/info.json | 3 +++ keyboards/planck/rev4/info.json | 3 +++ keyboards/planck/rev5/info.json | 3 +++ keyboards/playkbtw/ca66/config.h | 2 -- keyboards/playkbtw/ca66/info.json | 3 +++ keyboards/playkbtw/helen80/config.h | 2 -- keyboards/playkbtw/pk60/config.h | 5 ----- keyboards/playkbtw/pk60/info.json | 4 ++++ keyboards/plut0nium/0x3e/config.h | 7 ------- keyboards/plut0nium/0x3e/info.json | 5 +++++ keyboards/poker87c/config.h | 2 -- keyboards/poker87c/info.json | 3 +++ keyboards/poker87d/config.h | 2 -- keyboards/poker87d/info.json | 3 +++ keyboards/polycarbdiet/s20/config.h | 3 --- keyboards/polycarbdiet/s20/info.json | 4 ++++ keyboards/pom_keyboards/tnln95/config.h | 4 ---- keyboards/pom_keyboards/tnln95/info.json | 5 +++++ keyboards/preonic/config.h | 2 -- keyboards/preonic/rev1/info.json | 3 +++ keyboards/preonic/rev2/info.json | 3 +++ keyboards/primekb/prime_e/std/config.h | 22 --------------------- keyboards/primekb/prime_e/std/info.json | 4 ++++ keyboards/primekb/prime_l/v1/config.h | 4 ---- keyboards/primekb/prime_l/v1/info.json | 4 ++++ keyboards/primekb/prime_m/config.h | 4 ---- keyboards/primekb/prime_m/info.json | 4 ++++ keyboards/primekb/prime_o/config.h | 4 ---- keyboards/primekb/prime_o/info.json | 4 ++++ keyboards/primekb/prime_r/config.h | 5 ----- keyboards/primekb/prime_r/info.json | 4 ++++ keyboards/projectkb/alice/info.json | 5 +++++ keyboards/projectkb/alice/rev1/config.h | 3 --- keyboards/projectkb/alice/rev2/config.h | 3 --- keyboards/prototypist/allison/config.h | 4 ---- keyboards/prototypist/allison/info.json | 5 +++++ keyboards/prototypist/allison_numpad/config.h | 4 ---- keyboards/prototypist/allison_numpad/info.json | 5 +++++ keyboards/prototypist/j01/config.h | 3 --- keyboards/prototypist/j01/info.json | 4 ++++ keyboards/quad_h/lb75/config.h | 3 --- keyboards/quad_h/lb75/info.json | 4 ++++ keyboards/redscarf_i/config.h | 3 --- keyboards/redscarf_i/info.json | 3 +++ keyboards/redscarf_iiplus/verb/config.h | 2 -- keyboards/redscarf_iiplus/verb/info.json | 3 +++ keyboards/redscarf_iiplus/verc/config.h | 2 -- keyboards/redscarf_iiplus/verc/info.json | 3 +++ keyboards/redscarf_iiplus/verd/config.h | 2 -- keyboards/redscarf_iiplus/verd/info.json | 3 +++ keyboards/rmi_kb/wete/v1/config.h | 4 ---- keyboards/rmi_kb/wete/v1/info.json | 5 +++++ keyboards/ryloo_studio/m0110/config.h | 5 ----- keyboards/ryloo_studio/m0110/info.json | 4 ++++ keyboards/sam/s80/config.h | 2 -- keyboards/sam/s80/info.json | 3 +++ keyboards/sandwich/keeb68/config.h | 4 ---- keyboards/sandwich/keeb68/info.json | 5 +++++ keyboards/sentraq/number_pad/config.h | 2 -- keyboards/sentraq/number_pad/info.json | 3 +++ keyboards/sentraq/s60_x/default/config.h | 5 ----- keyboards/sentraq/s60_x/default/info.json | 4 ++++ keyboards/sentraq/s60_x/rgb/config.h | 5 ----- keyboards/sentraq/s60_x/rgb/info.json | 4 ++++ keyboards/sentraq/s65_plus/config.h | 2 -- keyboards/sentraq/s65_plus/info.json | 3 +++ keyboards/sentraq/s65_x/config.h | 4 ---- keyboards/sentraq/s65_x/info.json | 5 +++++ keyboards/singa/config.h | 2 -- keyboards/singa/info.json | 3 +++ keyboards/skeletn87/hotswap/config.h | 4 ---- keyboards/skeletn87/hotswap/info.json | 5 +++++ keyboards/skeletn87/soldered/config.h | 4 ---- keyboards/skeletn87/soldered/info.json | 5 +++++ keyboards/smithrune/iron165r2/f072/config.h | 3 --- keyboards/smithrune/iron165r2/f072/info.json | 5 +++++ keyboards/smithrune/iron165r2/f072/rules.mk | 1 - keyboards/smithrune/iron165r2/f411/config.h | 3 --- keyboards/smithrune/iron165r2/f411/info.json | 5 +++++ keyboards/smithrune/iron165r2/f411/rules.mk | 1 - keyboards/smithrune/iron180/config.h | 3 --- keyboards/smithrune/iron180/info.json | 5 +++++ keyboards/sowbug/68keys/config.h | 5 ----- keyboards/sowbug/ansi_tkl/config.h | 6 ------ keyboards/specskeys/config.h | 3 --- keyboards/specskeys/info.json | 4 ++++ keyboards/spiderisland/split78/config.h | 3 --- keyboards/spiderisland/split78/info.json | 4 ++++ keyboards/subatomic/config.h | 2 -- keyboards/subatomic/info.json | 3 +++ keyboards/switchplate/southpaw_65/config.h | 3 --- keyboards/switchplate/southpaw_65/info.json | 4 ++++ keyboards/switchplate/southpaw_fullsize/config.h | 2 -- keyboards/switchplate/southpaw_fullsize/info.json | 3 +++ keyboards/switchplate/switchplate910/config.h | 2 -- keyboards/switchplate/switchplate910/info.json | 3 +++ keyboards/sx60/config.h | 2 -- keyboards/sx60/info.json | 3 +++ keyboards/tada68/config.h | 5 ----- keyboards/tada68/info.json | 5 +++++ keyboards/team0110/p1800fl/config.h | 4 ---- keyboards/team0110/p1800fl/info.json | 5 +++++ keyboards/tgr/910/config.h | 2 -- keyboards/tgr/910/info.json | 3 +++ keyboards/tgr/910ce/config.h | 2 -- keyboards/tgr/910ce/info.json | 3 +++ keyboards/tgr/alice/config.h | 2 -- keyboards/tgr/alice/info.json | 3 +++ keyboards/tgr/jane/v2/config.h | 2 -- keyboards/tgr/jane/v2/info.json | 3 +++ keyboards/tgr/jane/v2ce/config.h | 2 -- keyboards/tgr/jane/v2ce/info.json | 3 +++ keyboards/tgr/tris/config.h | 2 -- keyboards/tgr/tris/info.json | 3 +++ keyboards/thevankeyboards/bananasplit/config.h | 3 --- keyboards/thevankeyboards/bananasplit/info.json | 3 +++ keyboards/tkc/california/config.h | 5 ----- keyboards/tkc/california/info.json | 4 ++++ keyboards/tkc/m0lly/config.h | 4 ---- keyboards/tkc/m0lly/info.json | 4 ++++ keyboards/tkc/osav2/config.h | 3 --- keyboards/tkc/osav2/info.json | 4 ++++ keyboards/tkc/tkc1800/config.h | 3 --- keyboards/tkc/tkc1800/info.json | 4 ++++ keyboards/tkc/tkl_ab87/config.h | 4 ---- keyboards/tkc/tkl_ab87/info.json | 4 ++++ keyboards/tmo50/config.h | 3 --- keyboards/tmo50/info.json | 4 ++++ keyboards/tokyokeyboard/alix40/config.h | 6 ------ keyboards/tokyokeyboard/alix40/info.json | 5 +++++ keyboards/tokyokeyboard/tokyo60/config.h | 5 ----- keyboards/tokyokeyboard/tokyo60/info.json | 4 ++++ keyboards/tr60w/config.h | 2 -- keyboards/tr60w/info.json | 3 +++ keyboards/treasure/type9/config.h | 3 --- keyboards/treasure/type9/info.json | 4 ++++ keyboards/treasure/type9s2/config.h | 2 -- keyboards/treasure/type9s2/info.json | 3 +++ keyboards/tzarc/djinn/config.h | 1 - keyboards/tzarc/djinn/info.json | 3 ++- keyboards/tzarc/djinn/rules.mk | 2 -- keyboards/ubest/vn/config.h | 2 -- keyboards/ubest/vn/info.json | 3 +++ keyboards/uk78/config.h | 2 -- keyboards/uk78/info.json | 3 +++ keyboards/unikeyboard/diverge3/config.h | 4 ---- keyboards/unikeyboard/diverge3/info.json | 5 +++++ keyboards/unikeyboard/felix/config.h | 3 --- keyboards/unikeyboard/felix/info.json | 4 ++++ keyboards/unikorn/config.h | 2 -- keyboards/unikorn/info.json | 3 +++ keyboards/utd80/config.h | 3 --- keyboards/utd80/info.json | 4 ++++ keyboards/v60_type_r/config.h | 2 -- keyboards/v60_type_r/info.json | 1 + keyboards/waldo/config.h | 3 --- keyboards/waldo/info.json | 4 ++++ keyboards/walletburner/neuron/config.h | 2 -- keyboards/westfoxtrot/aanzee/config.h | 4 ---- keyboards/westfoxtrot/aanzee/info.json | 5 +++++ keyboards/westfoxtrot/cypher/rev1/config.h | 4 ---- keyboards/westfoxtrot/cypher/rev1/info.json | 5 +++++ keyboards/westfoxtrot/cypher/rev5/config.h | 8 -------- keyboards/westfoxtrot/cypher/rev5/info.json | 5 +++++ keyboards/wilba_tech/rama_works_m10_b/config.h | 2 -- keyboards/wilba_tech/rama_works_m10_b/info.json | 3 +++ keyboards/winkeyless/b87/config.h | 2 -- keyboards/winkeyless/b87/info.json | 3 +++ keyboards/winkeyless/bface/config.h | 2 -- keyboards/winkeyless/bface/info.json | 3 +++ keyboards/winkeyless/bmini/config.h | 2 -- keyboards/winkeyless/bmini/info.json | 3 +++ keyboards/winkeyless/bminiex/config.h | 3 --- keyboards/winkeyless/bminiex/info.json | 4 ++++ keyboards/wolf/sabre/config.h | 2 -- keyboards/wolf/sabre/info.json | 3 +++ keyboards/wolf/sabre/rules.mk | 1 - keyboards/wolf/ts60/config.h | 3 --- keyboards/wolf/ts60/info.json | 4 ++++ keyboards/woodkeys/meira/config.h | 3 --- keyboards/woodkeys/meira/info.json | 4 ++++ keyboards/woodkeys/meira/meira.c | 1 - keyboards/woodkeys/meira/rules.mk | 1 - keyboards/x16/config.h | 3 --- keyboards/x16/info.json | 4 ++++ keyboards/xiudi/xd004/info.json | 4 ++++ keyboards/xiudi/xd004/v1/config.h | 5 ----- keyboards/xiudi/xd60/rev2/config.h | 4 ---- keyboards/xiudi/xd60/rev2/info.json | 2 ++ keyboards/xiudi/xd60/rev3/config.h | 4 ---- keyboards/xiudi/xd60/rev3/info.json | 2 ++ keyboards/xiudi/xd68/config.h | 4 ---- keyboards/xiudi/xd68/info.json | 3 +++ keyboards/xiudi/xd75/config.h | 3 --- keyboards/xiudi/xd75/info.json | 2 ++ keyboards/xiudi/xd84/config.h | 3 --- keyboards/xiudi/xd84/info.json | 2 ++ keyboards/xiudi/xd84pro/config.h | 3 --- keyboards/xiudi/xd84pro/info.json | 2 ++ keyboards/xiudi/xd87/config.h | 2 -- keyboards/xiudi/xd87/info.json | 1 + keyboards/xiudi/xd96/config.h | 3 --- keyboards/xiudi/xd96/info.json | 4 ++++ keyboards/ydkb/chili/config.h | 3 --- keyboards/ydkb/chili/info.json | 4 ++++ keyboards/ydkb/grape/config.h | 3 --- keyboards/ydkb/grape/info.json | 4 ++++ keyboards/ymdk/bface/config.h | 3 --- keyboards/ymdk/bface/info.json | 4 ++++ keyboards/ymdk/melody96/config.h | 5 ----- keyboards/ymdk/melody96/info.json | 4 ++++ keyboards/ymdk/np21/config.h | 4 ---- keyboards/ymdk/np21/info.json | 5 +++++ keyboards/ymdk/np24/u4rgb6/config.h | 5 ----- keyboards/ymdk/np24/u4rgb6/info.json | 4 ++++ keyboards/ymdk/wings/config.h | 3 --- keyboards/ymdk/wings/info.json | 4 ++++ keyboards/ymdk/wingshs/config.h | 3 --- keyboards/ymdk/wingshs/info.json | 4 ++++ keyboards/ymdk/yd60mq/config.h | 5 ----- keyboards/ymdk/yd60mq/info.json | 4 ++++ keyboards/ymdk/ym68/config.h | 4 ---- keyboards/ymdk/ym68/info.json | 5 +++++ keyboards/ymdk/ymd21/v2/config.h | 3 --- keyboards/ymdk/ymd21/v2/info.json | 4 ++++ keyboards/ymdk/ymd40/v2/config.h | 3 --- keyboards/ymdk/ymd40/v2/info.json | 4 ++++ keyboards/ymdk/ymd67/config.h | 5 ----- keyboards/ymdk/ymd67/info.json | 4 ++++ keyboards/ymdk/ymd75/config.h | 3 --- keyboards/ymdk/ymd75/rev1/config.h | 1 - keyboards/ymdk/ymd75/rev1/info.json | 4 ++++ keyboards/ymdk/ymd75/rev2/config.h | 1 - keyboards/ymdk/ymd75/rev2/info.json | 4 ++++ keyboards/ymdk/ymd75/rev3/config.h | 1 - keyboards/ymdk/ymd75/rev3/info.json | 4 ++++ keyboards/ymdk/ymd96/config.h | 4 ---- keyboards/ymdk/ymd96/info.json | 5 +++++ keyboards/zj68/config.h | 5 ----- keyboards/zj68/info.json | 4 ++++ keyboards/zoo/wampus/config.h | 4 ---- keyboards/zoo/wampus/info.json | 4 ++++ 1003 files changed, 1873 insertions(+), 1684 deletions(-) delete mode 100644 keyboards/40percentclub/sixpack/config.h delete mode 100644 keyboards/clueboard/60/config.h delete mode 100644 keyboards/jiran/rev1/config.h create mode 100644 keyboards/jiran/rev1/info.json delete mode 100644 keyboards/lazydesigners/dimple/staggered/rev3/config.h create mode 100644 keyboards/melgeek/mj6xy/rev3/info.json delete mode 100644 keyboards/mokey/ginkgo65/config.h delete mode 100644 keyboards/primekb/prime_e/std/config.h diff --git a/data/mappings/info_config.hjson b/data/mappings/info_config.hjson index 7645598c77..46108e6fe6 100644 --- a/data/mappings/info_config.hjson +++ b/data/mappings/info_config.hjson @@ -13,6 +13,7 @@ "AUDIO_VOICES": {"info_key": "audio.voices", "value_type": "bool"}, "BACKLIGHT_BREATHING": {"info_key": "backlight.breathing", "value_type": "bool"}, "BREATHING_PERIOD": {"info_key": "backlight.breathing_period", "value_type": "int"}, + "BACKLIGHT_CAPS_LOCK": {"info_key": "backlight.as_caps_lock", "value_type": "bool"}, "BACKLIGHT_LEVELS": {"info_key": "backlight.levels", "value_type": "int"}, "BACKLIGHT_LIMIT_VAL": {"info_key": "backlight.max_brightness", "value_type": "int"}, "BACKLIGHT_ON_STATE": {"info_key": "backlight.on_state", "value_type": "int"}, diff --git a/data/mappings/info_rules.hjson b/data/mappings/info_rules.hjson index c409da04c6..7c3780504c 100644 --- a/data/mappings/info_rules.hjson +++ b/data/mappings/info_rules.hjson @@ -14,6 +14,7 @@ "BOOTLOADER": {"info_key": "bootloader", "warn_duplicate": false}, "BOOTMAGIC_ENABLE": {"info_key": "bootmagic.enabled", "value_type": "bool"}, "BLUETOOTH_DRIVER": {"info_key": "bluetooth.driver"}, + "BACKLIGHT_DRIVER": {"info_key": "backlight.driver"}, "CAPS_WORD_ENABLE": {"info_key": "caps_word.enabled", "value_type": "bool"}, "DEBOUNCE_TYPE": {"info_key": "build.debounce_type"}, "ENCODER_ENABLE": {"info_key": "encoder.enabled", "value_type": "bool"}, diff --git a/data/schemas/keyboard.jsonschema b/data/schemas/keyboard.jsonschema index 95387ba367..6f4f9c82ac 100644 --- a/data/schemas/keyboard.jsonschema +++ b/data/schemas/keyboard.jsonschema @@ -108,6 +108,10 @@ "type": "object", "additionalProperties": false, "properties": { + "driver": { + "type": "string", + "enum": ["pwm", "software", "timer", "custom"] + }, "breathing": {"type": "boolean"}, "breathing_period": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}, "levels": { @@ -118,7 +122,8 @@ "max_brightness": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}, "pin": {"$ref": "qmk.definitions.v1#/mcu_pin"}, "pins": {"$ref": "qmk.definitions.v1#/mcu_pin_array"}, - "on_state": {"$ref": "qmk.definitions.v1#/bit"} + "on_state": {"$ref": "qmk.definitions.v1#/bit"}, + "as_caps_lock": {"type": "boolean"} } }, "bluetooth": { diff --git a/keyboards/0xcb/1337/config.h b/keyboards/0xcb/1337/config.h index 5b576cc0c5..b7cbf3b757 100644 --- a/keyboards/0xcb/1337/config.h +++ b/keyboards/0xcb/1337/config.h @@ -23,10 +23,6 @@ along with this program. If not, see . #define ENCODERS_PAD_A { F6 } #define ENCODERS_PAD_B { F5 } -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 7 - #define RGB_DI_PIN D3 #ifdef RGB_DI_PIN #define RGBLED_NUM 4 diff --git a/keyboards/0xcb/1337/info.json b/keyboards/0xcb/1337/info.json index d37fc515f7..95170ee873 100644 --- a/keyboards/0xcb/1337/info.json +++ b/keyboards/0xcb/1337/info.json @@ -8,6 +8,11 @@ "pid": "0x1337", "device_version": "0.0.1" }, + "backlight": { + "pin": "B5", + "levels": 7, + "breathing": true + }, "qmk_lufa_bootloader": { "led": "B0" }, diff --git a/keyboards/1upkeyboards/1up60hse/config.h b/keyboards/1upkeyboards/1up60hse/config.h index 9baa65da42..b58eef1085 100644 --- a/keyboards/1upkeyboards/1up60hse/config.h +++ b/keyboards/1upkeyboards/1up60hse/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 5 - #define RGB_DI_PIN F0 #ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/1upkeyboards/1up60hse/info.json b/keyboards/1upkeyboards/1up60hse/info.json index 53df29c726..07f35c7340 100644 --- a/keyboards/1upkeyboards/1up60hse/info.json +++ b/keyboards/1upkeyboards/1up60hse/info.json @@ -8,6 +8,11 @@ "pid": "0x6873", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["60_ansi"], diff --git a/keyboards/1upkeyboards/1up60hte/config.h b/keyboards/1upkeyboards/1up60hte/config.h index e3b1dfd896..ff5f010cbe 100644 --- a/keyboards/1upkeyboards/1up60hte/config.h +++ b/keyboards/1upkeyboards/1up60hte/config.h @@ -26,8 +26,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/1upkeyboards/1up60hte/info.json b/keyboards/1upkeyboards/1up60hte/info.json index 3e2c34d259..98a9082989 100644 --- a/keyboards/1upkeyboards/1up60hte/info.json +++ b/keyboards/1upkeyboards/1up60hte/info.json @@ -8,6 +8,9 @@ "pid": "0x6874", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "indicators": { "caps_lock": "B6", "on_state": 0 diff --git a/keyboards/1upkeyboards/1up60rgb/config.h b/keyboards/1upkeyboards/1up60rgb/config.h index ded1ca7ccc..806f23075f 100644 --- a/keyboards/1upkeyboards/1up60rgb/config.h +++ b/keyboards/1upkeyboards/1up60rgb/config.h @@ -8,11 +8,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 5 -#endif - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/1upkeyboards/1up60rgb/info.json b/keyboards/1upkeyboards/1up60rgb/info.json index 64dc9e9cd3..57a0143544 100644 --- a/keyboards/1upkeyboards/1up60rgb/info.json +++ b/keyboards/1upkeyboards/1up60rgb/info.json @@ -8,6 +8,10 @@ "pid": "0x7267", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 5 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["60_ansi", "60_iso", "60_ansi_split_bs_rshift", "60_hhkb"], diff --git a/keyboards/25keys/aleth42/rev1/config.h b/keyboards/25keys/aleth42/rev1/config.h index fe28b50352..afce07dbc9 100644 --- a/keyboards/25keys/aleth42/rev1/config.h +++ b/keyboards/25keys/aleth42/rev1/config.h @@ -28,10 +28,6 @@ along with this program. If not, see . #define ENCODERS_PAD_A { B5, F5 } #define ENCODERS_PAD_B { B6, F6 } -#define BACKLIGHT_PIN C6 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 8 - #define RGB_DI_PIN B3 #ifdef RGB_DI_PIN #define RGBLED_NUM 8 diff --git a/keyboards/25keys/aleth42/rev1/info.json b/keyboards/25keys/aleth42/rev1/info.json index dab37baf04..7d3baad862 100644 --- a/keyboards/25keys/aleth42/rev1/info.json +++ b/keyboards/25keys/aleth42/rev1/info.json @@ -2,6 +2,11 @@ "usb": { "device_version": "0.0.1" }, + "backlight": { + "pin": "C6", + "levels": 8, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu" } diff --git a/keyboards/40percentclub/gherkin/config.h b/keyboards/40percentclub/gherkin/config.h index 18724c8966..3d6c38ec80 100644 --- a/keyboards/40percentclub/gherkin/config.h +++ b/keyboards/40percentclub/gherkin/config.h @@ -8,8 +8,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/40percentclub/gherkin/info.json b/keyboards/40percentclub/gherkin/info.json index c93e8734e8..ee85708f19 100644 --- a/keyboards/40percentclub/gherkin/info.json +++ b/keyboards/40percentclub/gherkin/info.json @@ -8,6 +8,9 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "pin": "B5" + }, "processor": "atmega32u4", "bootloader": "caterina", "community_layouts": ["ortho_3x10"], diff --git a/keyboards/40percentclub/luddite/config.h b/keyboards/40percentclub/luddite/config.h index 4028b0cf1a..2848c7a32c 100644 --- a/keyboards/40percentclub/luddite/config.h +++ b/keyboards/40percentclub/luddite/config.h @@ -7,11 +7,6 @@ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B5 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 4 -#endif - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/40percentclub/luddite/info.json b/keyboards/40percentclub/luddite/info.json index 704b30479b..948ef091bd 100644 --- a/keyboards/40percentclub/luddite/info.json +++ b/keyboards/40percentclub/luddite/info.json @@ -8,6 +8,10 @@ "pid": "0x4C55", "device_version": "10.0.1" }, + "backlight": { + "pin": "B5", + "levels": 4 + }, "processor": "atmega32u4", "bootloader": "caterina", "community_layouts": ["60_ansi"], diff --git a/keyboards/40percentclub/mf68/config.h b/keyboards/40percentclub/mf68/config.h index 0daccc09ab..0a07934e75 100644 --- a/keyboards/40percentclub/mf68/config.h +++ b/keyboards/40percentclub/mf68/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_BREATHING - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/40percentclub/mf68/info.json b/keyboards/40percentclub/mf68/info.json index 89df2e1958..2c8a4c92d6 100644 --- a/keyboards/40percentclub/mf68/info.json +++ b/keyboards/40percentclub/mf68/info.json @@ -8,6 +8,10 @@ "pid": "0x4D68", "device_version": "1.0.1" }, + "backlight": { + "pin": "B5", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "caterina", "community_layouts": ["68_ansi"], diff --git a/keyboards/40percentclub/nori/config.h b/keyboards/40percentclub/nori/config.h index 490dcf629a..6bdf5db350 100644 --- a/keyboards/40percentclub/nori/config.h +++ b/keyboards/40percentclub/nori/config.h @@ -33,8 +33,6 @@ /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B5 - // enable RGB underglow #define RGB_DI_PIN B4 #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/40percentclub/nori/info.json b/keyboards/40percentclub/nori/info.json index 5bb4a0bf08..fa12a8ef03 100644 --- a/keyboards/40percentclub/nori/info.json +++ b/keyboards/40percentclub/nori/info.json @@ -8,6 +8,9 @@ "pid": "0x0A0C", "device_version": "4.4.4" }, + "backlight": { + "pin": "B5" + }, "processor": "atmega32u4", "bootloader": "caterina", "community_layouts": ["ortho_4x4", "ortho_4x12"], diff --git a/keyboards/40percentclub/sixpack/config.h b/keyboards/40percentclub/sixpack/config.h deleted file mode 100644 index acf61f0017..0000000000 --- a/keyboards/40percentclub/sixpack/config.h +++ /dev/null @@ -1,22 +0,0 @@ -/* -Copyright 2020 - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - -/* Backlight */ -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 6 diff --git a/keyboards/40percentclub/sixpack/info.json b/keyboards/40percentclub/sixpack/info.json index 65f16021dd..f0ba7f1aff 100644 --- a/keyboards/40percentclub/sixpack/info.json +++ b/keyboards/40percentclub/sixpack/info.json @@ -9,7 +9,9 @@ "device_version": "10.0.1" }, "backlight": { - "pins": ["F4", "F5"] + "pins": ["F4", "F5"], + "levels": 6, + "breathing": true }, "indicators": { "caps_lock": "B0", diff --git a/keyboards/4pplet/eagle_viper_rep/rev_a/config.h b/keyboards/4pplet/eagle_viper_rep/rev_a/config.h index ac93743ec6..3d480a1e93 100644 --- a/keyboards/4pplet/eagle_viper_rep/rev_a/config.h +++ b/keyboards/4pplet/eagle_viper_rep/rev_a/config.h @@ -20,13 +20,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { A2, A1, B8, A10, C15, A15, B7, B6, C14, C13} #define DIODE_DIRECTION COL2ROW -/* In switch leds */ -#define BACKLIGHT_PIN A3 #define BACKLIGHT_PWM_DRIVER PWMD2 #define BACKLIGHT_PWM_CHANNEL 4 #define BACKLIGHT_PAL_MODE 2 -#define BACKLIGHT_LEVELS 10 -#define BACKLIGHT_BREATHING TRUE /* Underglow */ #define RGB_DI_PIN A7 diff --git a/keyboards/4pplet/eagle_viper_rep/rev_a/info.json b/keyboards/4pplet/eagle_viper_rep/rev_a/info.json index b896f02ad9..8748b32480 100644 --- a/keyboards/4pplet/eagle_viper_rep/rev_a/info.json +++ b/keyboards/4pplet/eagle_viper_rep/rev_a/info.json @@ -8,6 +8,11 @@ "pid": "0x0007", "device_version": "0.0.1" }, + "backlight": { + "pin": "A3", + "levels": 10, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/4pplet/eagle_viper_rep/rev_a/rules.mk b/keyboards/4pplet/eagle_viper_rep/rev_a/rules.mk index 70dd3e445a..8b5bef208b 100644 --- a/keyboards/4pplet/eagle_viper_rep/rev_a/rules.mk +++ b/keyboards/4pplet/eagle_viper_rep/rev_a/rules.mk @@ -8,7 +8,6 @@ CONSOLE_ENABLE = yes # Console for debug COMMAND_ENABLE = yes # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = yes -BACKLIGHT_DRIVER = pwm RGBLIGHT_ENABLE = yes WS2812_DRIVER = spi diff --git a/keyboards/4pplet/eagle_viper_rep/rev_b/config.h b/keyboards/4pplet/eagle_viper_rep/rev_b/config.h index 5e1d995a68..eed3b708c4 100644 --- a/keyboards/4pplet/eagle_viper_rep/rev_b/config.h +++ b/keyboards/4pplet/eagle_viper_rep/rev_b/config.h @@ -20,13 +20,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { A2, A1, B8, A10, C15, A15, B7, B6, C14, C13} #define DIODE_DIRECTION COL2ROW -/* In switch leds */ -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Underglow */ #define RGBLED_NUM 16 diff --git a/keyboards/4pplet/eagle_viper_rep/rev_b/info.json b/keyboards/4pplet/eagle_viper_rep/rev_b/info.json index e6ac536f43..7ced2cf40c 100644 --- a/keyboards/4pplet/eagle_viper_rep/rev_b/info.json +++ b/keyboards/4pplet/eagle_viper_rep/rev_b/info.json @@ -8,6 +8,11 @@ "pid": "0x0010", "device_version": "0.0.2" }, + "backlight": { + "pin": "A6", + "levels": 6, + "breathing": true + }, "indicators": { "caps_lock": "B1", "num_lock": "B12", diff --git a/keyboards/8pack/config.h b/keyboards/8pack/config.h index 5be5e67374..fe5d7a4982 100644 --- a/keyboards/8pack/config.h +++ b/keyboards/8pack/config.h @@ -6,8 +6,6 @@ /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define BACKLIGHT_LEVELS 8 - // ws2812 options #define RGB_DI_PIN D2 // pin the DI on the ws2812 is hooked-up to #define RGBLED_NUM 8 // number of LEDs diff --git a/keyboards/8pack/info.json b/keyboards/8pack/info.json index 2c7a34d487..3e6b556fae 100644 --- a/keyboards/8pack/info.json +++ b/keyboards/8pack/info.json @@ -8,7 +8,8 @@ "pid": "0x2171" }, "backlight": { - "pins": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"] + "pins": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"], + "levels": 8 }, "processor": "atmega32u4", "bootloader": "caterina", diff --git a/keyboards/abstract/ellipse/rev1/config.h b/keyboards/abstract/ellipse/rev1/config.h index 61a157c01e..46e0cacce4 100644 --- a/keyboards/abstract/ellipse/rev1/config.h +++ b/keyboards/abstract/ellipse/rev1/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN C6 -#define BACKLIGHT_LEVELS 15 - #define RGB_DI_PIN E6 #ifdef RGB_DI_PIN #define RGBLED_NUM 3 diff --git a/keyboards/abstract/ellipse/rev1/info.json b/keyboards/abstract/ellipse/rev1/info.json index 664cae1902..fe1939d2b6 100644 --- a/keyboards/abstract/ellipse/rev1/info.json +++ b/keyboards/abstract/ellipse/rev1/info.json @@ -8,6 +8,10 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "backlight": { + "pin": "C6", + "levels": 15 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/acekeyboard/titan60/config.h b/keyboards/acekeyboard/titan60/config.h index 14a74da619..07378f5e3d 100644 --- a/keyboards/acekeyboard/titan60/config.h +++ b/keyboards/acekeyboard/titan60/config.h @@ -37,9 +37,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN D0 #ifdef RGB_DI_PIN # define RGBLED_NUM 6 diff --git a/keyboards/acekeyboard/titan60/info.json b/keyboards/acekeyboard/titan60/info.json index 17747b5cb1..00629035c0 100644 --- a/keyboards/acekeyboard/titan60/info.json +++ b/keyboards/acekeyboard/titan60/info.json @@ -8,6 +8,10 @@ "pid": "0x5449", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/acheron/athena/alpha/config.h b/keyboards/acheron/athena/alpha/config.h index fd6f74bf35..e99fb83328 100644 --- a/keyboards/acheron/athena/alpha/config.h +++ b/keyboards/acheron/athena/alpha/config.h @@ -26,12 +26,9 @@ along with this program. If not, see . #define LOCKING_SUPPORT_ENABLE #define LOCKING_RESYNC_ENABLE -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 2 -#define BACKLIGHT_LEVELS 20 -#define BACKLIGHT_BREATHING #define RGB_DI_PIN B15 #define RGBLED_NUM 34 diff --git a/keyboards/acheron/athena/alpha/info.json b/keyboards/acheron/athena/alpha/info.json index bf335285ae..2ebf2da8de 100644 --- a/keyboards/acheron/athena/alpha/info.json +++ b/keyboards/acheron/athena/alpha/info.json @@ -5,7 +5,10 @@ "device_version": "0.0.1" }, "backlight": { - "on_state": 0 + "pin": "A6", + "levels": 20, + "on_state": 0, + "breathing": true }, "indicators": { "caps_lock": "A10" diff --git a/keyboards/acheron/athena/alpha/rules.mk b/keyboards/acheron/athena/alpha/rules.mk index 962a27694f..3d622c2216 100644 --- a/keyboards/acheron/athena/alpha/rules.mk +++ b/keyboards/acheron/athena/alpha/rules.mk @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug COMMAND_ENABLE = no # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BACKLIGHT_DRIVER = pwm RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output LTO_ENABLE = yes diff --git a/keyboards/acheron/athena/beta/config.h b/keyboards/acheron/athena/beta/config.h index a3a1a3b25c..7fbc624522 100644 --- a/keyboards/acheron/athena/beta/config.h +++ b/keyboards/acheron/athena/beta/config.h @@ -26,12 +26,9 @@ along with this program. If not, see . #define LOCKING_SUPPORT_ENABLE #define LOCKING_RESYNC_ENABLE -#define BACKLIGHT_PIN B0 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 3 #define BACKLIGHT_PAL_MODE 2 -#define BACKLIGHT_LEVELS 20 -#define BACKLIGHT_BREATHING #define RGB_DI_PIN B15 #define RGBLED_NUM 34 diff --git a/keyboards/acheron/athena/beta/info.json b/keyboards/acheron/athena/beta/info.json index 51c335a850..dd8e766f90 100644 --- a/keyboards/acheron/athena/beta/info.json +++ b/keyboards/acheron/athena/beta/info.json @@ -4,6 +4,11 @@ "pid": "0x6585", "device_version": "0.0.2" }, + "backlight": { + "pin": "B0", + "levels": 20, + "breathing": true + }, "indicators": { "caps_lock": "C8" }, diff --git a/keyboards/acheron/athena/beta/rules.mk b/keyboards/acheron/athena/beta/rules.mk index 962a27694f..3d622c2216 100644 --- a/keyboards/acheron/athena/beta/rules.mk +++ b/keyboards/acheron/athena/beta/rules.mk @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug COMMAND_ENABLE = no # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BACKLIGHT_DRIVER = pwm RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output LTO_ENABLE = yes diff --git a/keyboards/acheron/austin/config.h b/keyboards/acheron/austin/config.h index 210e4182a5..ce12edfd33 100644 --- a/keyboards/acheron/austin/config.h +++ b/keyboards/acheron/austin/config.h @@ -21,12 +21,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { C13, A4, A7, B0, B1, B2 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/acheron/austin/info.json b/keyboards/acheron/austin/info.json index 3f76e22f0c..dad488df8f 100755 --- a/keyboards/acheron/austin/info.json +++ b/keyboards/acheron/austin/info.json @@ -8,6 +8,11 @@ "pid": "0x4175", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "levels": 6, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/acheron/elongate/delta/config.h b/keyboards/acheron/elongate/delta/config.h index 6766f62ef5..0ceba36100 100755 --- a/keyboards/acheron/elongate/delta/config.h +++ b/keyboards/acheron/elongate/delta/config.h @@ -23,13 +23,9 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 20 -#define BACKLIGHT_DEFAULT_LEVEL 10 #define RGB_DI_PIN B15 #define RGBLED_NUM 16 diff --git a/keyboards/acheron/elongate/delta/info.json b/keyboards/acheron/elongate/delta/info.json index 6a5318b777..f5f87333eb 100644 --- a/keyboards/acheron/elongate/delta/info.json +++ b/keyboards/acheron/elongate/delta/info.json @@ -9,6 +9,9 @@ "device_version": "0.0.2" }, "backlight": { + "pin": "A6", + "levels": 20, + "breathing": true, "breathing_period": 3 }, "processor": "STM32F072", diff --git a/keyboards/acheron/shark/alpha/config.h b/keyboards/acheron/shark/alpha/config.h index cadd2d825d..dba9b3f41d 100644 --- a/keyboards/acheron/shark/alpha/config.h +++ b/keyboards/acheron/shark/alpha/config.h @@ -44,7 +44,6 @@ B0, which is unconnected on the PCB /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B0 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 3 diff --git a/keyboards/acheron/shark/alpha/info.json b/keyboards/acheron/shark/alpha/info.json index 0db6134e0b..5b235cc387 100644 --- a/keyboards/acheron/shark/alpha/info.json +++ b/keyboards/acheron/shark/alpha/info.json @@ -6,6 +6,9 @@ "pid": "0x5368", "device_version": "0.0.1" }, + "backlight": { + "pin": "B0" + }, "processor": "STM32F303", "bootloader": "stm32-dfu", "board": "QMK_PROTON_C", diff --git a/keyboards/acheron/shark/beta/config.h b/keyboards/acheron/shark/beta/config.h index 633f76289f..161b9b1558 100644 --- a/keyboards/acheron/shark/beta/config.h +++ b/keyboards/acheron/shark/beta/config.h @@ -25,12 +25,9 @@ along with this program. If not, see . #define LOCKING_SUPPORT_ENABLE #define LOCKING_RESYNC_ENABLE -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 2 -#define BACKLIGHT_LEVELS 20 -#define BACKLIGHT_BREATHING #define RGB_DI_PIN B15 #define RGBLED_NUM 24 diff --git a/keyboards/acheron/shark/beta/info.json b/keyboards/acheron/shark/beta/info.json index 615e9a91b9..0dcb286e97 100644 --- a/keyboards/acheron/shark/beta/info.json +++ b/keyboards/acheron/shark/beta/info.json @@ -4,6 +4,11 @@ "pid": "0x5369", "device_version": "0.0.2" }, + "backlight": { + "pin": "A6", + "levels": 20, + "breathing": true + }, "processor": "STM32F411", "bootloader": "stm32-dfu", "community_layouts": ["ortho_4x12"], diff --git a/keyboards/acheron/shark/beta/rules.mk b/keyboards/acheron/shark/beta/rules.mk index b4a94395c6..fd436cc258 100644 --- a/keyboards/acheron/shark/beta/rules.mk +++ b/keyboards/acheron/shark/beta/rules.mk @@ -10,7 +10,6 @@ NKRO_ENABLE = yes # Enable N-Key rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output -BACKLIGHT_DRIVER = pwm LTO_ENABLE = no ENCODER_ENABLE = yes diff --git a/keyboards/adelheid/config.h b/keyboards/adelheid/config.h index fa7e2cbb86..e22e250f85 100644 --- a/keyboards/adelheid/config.h +++ b/keyboards/adelheid/config.h @@ -34,8 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN C6 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/adelheid/info.json b/keyboards/adelheid/info.json index b8684e37ac..19970b27cf 100644 --- a/keyboards/adelheid/info.json +++ b/keyboards/adelheid/info.json @@ -8,6 +8,9 @@ "pid": "0xAD78", "device_version": "0.0.2" }, + "backlight": { + "pin": "C6" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/aeboards/ext65/rev2/config.h b/keyboards/aeboards/ext65/rev2/config.h index 364b919179..8f5625e2eb 100644 --- a/keyboards/aeboards/ext65/rev2/config.h +++ b/keyboards/aeboards/ext65/rev2/config.h @@ -50,12 +50,8 @@ #define I2C1_TIMINGR_SCLL 9U // LED defines -#define BACKLIGHT_PIN B5 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 2 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING - #define SLEEP_LED_GPT_DRIVER GPTD1 diff --git a/keyboards/aeboards/ext65/rev2/info.json b/keyboards/aeboards/ext65/rev2/info.json index 7fbe7c2847..2939dc89ea 100644 --- a/keyboards/aeboards/ext65/rev2/info.json +++ b/keyboards/aeboards/ext65/rev2/info.json @@ -7,6 +7,11 @@ "pid": "0xA652", "device_version": "0.0.1" }, + "backlight": { + "pin": "B5", + "levels": 6, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "diode_direction": "COL2ROW", diff --git a/keyboards/ai03/equinox/config.h b/keyboards/ai03/equinox/config.h index f838baddd6..32065a4740 100644 --- a/keyboards/ai03/equinox/config.h +++ b/keyboards/ai03/equinox/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/ai03/equinox/rev0/config.h b/keyboards/ai03/equinox/rev0/config.h index be599c1225..78c6fb8fcd 100644 --- a/keyboards/ai03/equinox/rev0/config.h +++ b/keyboards/ai03/equinox/rev0/config.h @@ -20,8 +20,3 @@ along with this program. If not, see . // Fix for prototype missing COL0, COL1, using backlight and RGB underglow I/O pins #undef MATRIX_COL_PINS #define MATRIX_COL_PINS { C4, B7, C6, C7, B6, B5, B4, B3, B2, B1, B0, D6 } - -// This directs backlight code to use a disconnected pin, so the firwmare still has -// backlight code and VIA support even though it doesn't do anything. -#undef BACKLIGHT_PIN -#define BACKLIGHT_PIN D1 \ No newline at end of file diff --git a/keyboards/ai03/equinox/rev0/info.json b/keyboards/ai03/equinox/rev0/info.json index dd190d18ee..d76623777e 100644 --- a/keyboards/ai03/equinox/rev0/info.json +++ b/keyboards/ai03/equinox/rev0/info.json @@ -1,4 +1,9 @@ { + "backlight": { + "pin": "D1", + "levels": 5, + "breathing": true + }, "processor": "atmega32u2", "bootloader": "atmel-dfu" } diff --git a/keyboards/ai03/equinox/rev1/info.json b/keyboards/ai03/equinox/rev1/info.json index dd190d18ee..19cd40d140 100644 --- a/keyboards/ai03/equinox/rev1/info.json +++ b/keyboards/ai03/equinox/rev1/info.json @@ -1,4 +1,9 @@ { + "backlight": { + "pin": "B7", + "levels": 5, + "breathing": true + }, "processor": "atmega32u2", "bootloader": "atmel-dfu" } diff --git a/keyboards/ai03/orbit/config.h b/keyboards/ai03/orbit/config.h index 8d4a1fdd59..85d4ae5bfe 100644 --- a/keyboards/ai03/orbit/config.h +++ b/keyboards/ai03/orbit/config.h @@ -43,8 +43,6 @@ along with this program. If not, see . #define SPLIT_HAND_PIN D5 -#define BACKLIGHT_PIN B7 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/ai03/orbit/info.json b/keyboards/ai03/orbit/info.json index c6cd6407c4..840fb1fc20 100644 --- a/keyboards/ai03/orbit/info.json +++ b/keyboards/ai03/orbit/info.json @@ -8,6 +8,9 @@ "pid": "0x0003", "device_version": "0.0.3" }, + "backlight": { + "pin": "B7" + }, "split": { "soft_serial_pin": "D0" }, diff --git a/keyboards/ai03/polaris/config.h b/keyboards/ai03/polaris/config.h index 9c360a190f..871f4bc8db 100644 --- a/keyboards/ai03/polaris/config.h +++ b/keyboards/ai03/polaris/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 5 - #define RGB_DI_PIN D2 #ifdef RGB_DI_PIN #define RGBLED_NUM 14 diff --git a/keyboards/ai03/polaris/info.json b/keyboards/ai03/polaris/info.json index 64fb65aaee..ae0fcb927d 100644 --- a/keyboards/ai03/polaris/info.json +++ b/keyboards/ai03/polaris/info.json @@ -8,6 +8,11 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_tsangan_hhkb"], diff --git a/keyboards/al1/config.h b/keyboards/al1/config.h index 9d66d61e08..32c7bcbd2a 100644 --- a/keyboards/al1/config.h +++ b/keyboards/al1/config.h @@ -27,9 +27,6 @@ along with this program. If not, see . #define SN74X154_ADDRESS_PINS { D4, D5, D6, D7 } #define SN74X154_E1_PIN D3 -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_BREATHING - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/al1/info.json b/keyboards/al1/info.json index fe23911145..5149373e48 100644 --- a/keyboards/al1/info.json +++ b/keyboards/al1/info.json @@ -8,6 +8,10 @@ "pid": "0x6050", "device_version": "1.0.4" }, + "backlight": { + "pin": "B6", + "breathing": true + }, "indicators": { "caps_lock": "B7", "num_lock": "D0", diff --git a/keyboards/alf/dc60/config.h b/keyboards/alf/dc60/config.h index 4ae0863425..e81b6a2010 100644 --- a/keyboards/alf/dc60/config.h +++ b/keyboards/alf/dc60/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 5 - #define RGB_DI_PIN E6 #ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/alf/dc60/info.json b/keyboards/alf/dc60/info.json index a93d76a38d..faf199d8a0 100644 --- a/keyboards/alf/dc60/info.json +++ b/keyboards/alf/dc60/info.json @@ -7,6 +7,11 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 5, + "breathing": true + }, "indicators": { "caps_lock": "B7", "on_state": 0 diff --git a/keyboards/alf/x11/config.h b/keyboards/alf/x11/config.h index cbf4338da4..04ebe0c657 100644 --- a/keyboards/alf/x11/config.h +++ b/keyboards/alf/x11/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN F7 #ifdef RGB_DI_PIN #define RGBLED_NUM 28 diff --git a/keyboards/alf/x11/info.json b/keyboards/alf/x11/info.json index 5d4fdc69a6..8b3ae6f2ba 100644 --- a/keyboards/alf/x11/info.json +++ b/keyboards/alf/x11/info.json @@ -8,6 +8,10 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "indicators": { "caps_lock": "C6", "num_lock": "E6", diff --git a/keyboards/alf/x2/config.h b/keyboards/alf/x2/config.h index 00524ace43..374873d5d5 100644 --- a/keyboards/alf/x2/config.h +++ b/keyboards/alf/x2/config.h @@ -26,8 +26,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/alf/x2/info.json b/keyboards/alf/x2/info.json index 30630b3188..5e0b3087a8 100644 --- a/keyboards/alf/x2/info.json +++ b/keyboards/alf/x2/info.json @@ -12,6 +12,9 @@ "caps_lock": "B2", "on_state": 0 }, + "backlight": { + "pin": "B6" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/amjkeyboard/amj40/config.h b/keyboards/amjkeyboard/amj40/config.h index 01e94f7651..bdefff8c4f 100755 --- a/keyboards/amjkeyboard/amj40/config.h +++ b/keyboards/amjkeyboard/amj40/config.h @@ -23,8 +23,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { F4, F5, F6, F7} #define MATRIX_COL_PINS { F1, F0, E6, C7, C6, B0, D4, B1, B7, B5, B4, D7} -#define BACKLIGHT_PIN B6 - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW @@ -33,10 +31,6 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -/* Backlight configuration - */ -#define BACKLIGHT_LEVELS 4 - /* Underlight configuration */ diff --git a/keyboards/amjkeyboard/amj40/info.json b/keyboards/amjkeyboard/amj40/info.json index 79848d94dc..fe66c34b86 100644 --- a/keyboards/amjkeyboard/amj40/info.json +++ b/keyboards/amjkeyboard/amj40/info.json @@ -8,6 +8,10 @@ "pid": "0x6072", "device_version": "0.0.2" }, + "backlight": { + "pin": "B6", + "levels": 4 + }, "indicators": { "caps_lock": "B2", "on_state": 0 diff --git a/keyboards/amjkeyboard/amj60/config.h b/keyboards/amjkeyboard/amj60/config.h index 825edef631..0a38f73032 100644 --- a/keyboards/amjkeyboard/amj60/config.h +++ b/keyboards/amjkeyboard/amj60/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 4 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN # define RGBLED_NUM 8 diff --git a/keyboards/amjkeyboard/amj60/info.json b/keyboards/amjkeyboard/amj60/info.json index 750f7bec99..d624894691 100644 --- a/keyboards/amjkeyboard/amj60/info.json +++ b/keyboards/amjkeyboard/amj60/info.json @@ -8,6 +8,11 @@ "pid": "0x6066", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 4, + "breathing": true + }, "indicators": { "caps_lock": "B2", "on_state": 0 diff --git a/keyboards/amjkeyboard/amj66/config.h b/keyboards/amjkeyboard/amj66/config.h index 32508821b7..7271119876 100644 --- a/keyboards/amjkeyboard/amj66/config.h +++ b/keyboards/amjkeyboard/amj66/config.h @@ -25,9 +25,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 -#define BACKLIGHT_BREATHING - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/amjkeyboard/amj66/info.json b/keyboards/amjkeyboard/amj66/info.json index f22677e20a..ed41d4d58c 100644 --- a/keyboards/amjkeyboard/amj66/info.json +++ b/keyboards/amjkeyboard/amj66/info.json @@ -8,6 +8,10 @@ "pid": "0xBD66", "device_version": "0.0.1" }, + "backlight": { + "pin": "D4", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["66_ansi", "66_iso"], diff --git a/keyboards/amjkeyboard/amj84/config.h b/keyboards/amjkeyboard/amj84/config.h index 8e92b9e599..7aef945e5b 100644 --- a/keyboards/amjkeyboard/amj84/config.h +++ b/keyboards/amjkeyboard/amj84/config.h @@ -20,9 +20,6 @@ /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_BREATHING - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/amjkeyboard/amj84/info.json b/keyboards/amjkeyboard/amj84/info.json index 402dac7a42..20f8fd99b1 100644 --- a/keyboards/amjkeyboard/amj84/info.json +++ b/keyboards/amjkeyboard/amj84/info.json @@ -8,6 +8,10 @@ "pid": "0x6068", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/amjkeyboard/amjpad/config.h b/keyboards/amjkeyboard/amjpad/config.h index 46f38e6dbb..63e6e899fa 100644 --- a/keyboards/amjkeyboard/amjpad/config.h +++ b/keyboards/amjkeyboard/amjpad/config.h @@ -23,8 +23,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { F7, F6, F5, F4, D5, D0 } #define MATRIX_COL_PINS { F1, F0, E6, C7 } -#define BACKLIGHT_PIN B6 - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW @@ -33,10 +31,6 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -/* Backlight configuration - */ -#define BACKLIGHT_LEVELS 4 - /* Underlight configuration */ diff --git a/keyboards/amjkeyboard/amjpad/info.json b/keyboards/amjkeyboard/amjpad/info.json index 60e80d0bdd..7a22d14639 100644 --- a/keyboards/amjkeyboard/amjpad/info.json +++ b/keyboards/amjkeyboard/amjpad/info.json @@ -8,6 +8,10 @@ "pid": "0x6060", "device_version": "0.0.3" }, + "backlight": { + "pin": "B6", + "levels": 4 + }, "indicators": { "num_lock": "D6", "on_state": 0 diff --git a/keyboards/anavi/macropad8/config.h b/keyboards/anavi/macropad8/config.h index 526f673ab9..fce7328718 100644 --- a/keyboards/anavi/macropad8/config.h +++ b/keyboards/anavi/macropad8/config.h @@ -17,8 +17,6 @@ along with this program. If not, see . #pragma once -#define BACKLIGHT_PIN D7 -#define BACKLIGHT_BREATHING #define RGBLIGHT_SLEEP diff --git a/keyboards/anavi/macropad8/info.json b/keyboards/anavi/macropad8/info.json index b152a7c1f1..b52ca5a176 100644 --- a/keyboards/anavi/macropad8/info.json +++ b/keyboards/anavi/macropad8/info.json @@ -4,10 +4,14 @@ "url": "", "maintainer": "leon-anavi", "usb": { - "vid": "0xCEEB", - "pid": "0x0001", - "device_version": "0.0.1" - }, + "vid": "0xCEEB", + "pid": "0x0001", + "device_version": "0.0.1" + }, + "backlight": { + "pin": "D7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "caterina", "matrix_pins": { diff --git a/keyboards/ares/config.h b/keyboards/ares/config.h index 608d112e6d..3d384af9ea 100644 --- a/keyboards/ares/config.h +++ b/keyboards/ares/config.h @@ -25,8 +25,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 - #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/ares/info.json b/keyboards/ares/info.json index 0bcbf7a4d4..391c7a8125 100644 --- a/keyboards/ares/info.json +++ b/keyboards/ares/info.json @@ -8,6 +8,9 @@ "pid": "0x422D", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1" }, diff --git a/keyboards/atomic/config.h b/keyboards/atomic/config.h index 4efba85159..9c50c21e3f 100644 --- a/keyboards/atomic/config.h +++ b/keyboards/atomic/config.h @@ -31,8 +31,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { D0, D5, B5, B6, C6 } #define MATRIX_COL_PINS { F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7, D3, D2, D1 } -#define BACKLIGHT_PIN B7 - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/atomic/info.json b/keyboards/atomic/info.json index a4c0c18bf2..95f5088995 100644 --- a/keyboards/atomic/info.json +++ b/keyboards/atomic/info.json @@ -7,6 +7,9 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layout_aliases": { diff --git a/keyboards/atxkb/1894/config.h b/keyboards/atxkb/1894/config.h index b3f56e7c24..e4f44cdfce 100644 --- a/keyboards/atxkb/1894/config.h +++ b/keyboards/atxkb/1894/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 5 - #define RGB_DI_PIN D2 #ifdef RGB_DI_PIN #define RGBLED_NUM 14 diff --git a/keyboards/atxkb/1894/info.json b/keyboards/atxkb/1894/info.json index d3966d5185..fef98bcacf 100644 --- a/keyboards/atxkb/1894/info.json +++ b/keyboards/atxkb/1894/info.json @@ -8,6 +8,11 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_tsangan_hhkb"], diff --git a/keyboards/b_sides/rev41lp/config.h b/keyboards/b_sides/rev41lp/config.h index c843c89eef..0b644bec4a 100644 --- a/keyboards/b_sides/rev41lp/config.h +++ b/keyboards/b_sides/rev41lp/config.h @@ -22,6 +22,3 @@ along with this program. If not, see . #define MATRIX_COL_PINS { D4, C6, D7, E6, B4, B5 } #define DIODE_DIRECTION COL2ROW - -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 7 diff --git a/keyboards/b_sides/rev41lp/info.json b/keyboards/b_sides/rev41lp/info.json index 9b1a1c9e9c..c0a5fd3365 100644 --- a/keyboards/b_sides/rev41lp/info.json +++ b/keyboards/b_sides/rev41lp/info.json @@ -9,6 +9,8 @@ "device_version": "0.0.1" }, "backlight": { + "pin": "B6", + "levels": 7, "max_brightness": 150 }, "processor": "atmega32u4", diff --git a/keyboards/baguette/config.h b/keyboards/baguette/config.h index a0f3eebe0c..c4bc59fe7c 100644 --- a/keyboards/baguette/config.h +++ b/keyboards/baguette/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/baguette/info.json b/keyboards/baguette/info.json index b89b92aff4..2714366c0e 100644 --- a/keyboards/baguette/info.json +++ b/keyboards/baguette/info.json @@ -8,6 +8,11 @@ "pid": "0x5050", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/bear_face/config.h b/keyboards/bear_face/config.h index b80baa8040..82349297dd 100644 --- a/keyboards/bear_face/config.h +++ b/keyboards/bear_face/config.h @@ -25,8 +25,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN F7 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/bear_face/info.json b/keyboards/bear_face/info.json index 39f16ab6c9..f6f666d77f 100644 --- a/keyboards/bear_face/info.json +++ b/keyboards/bear_face/info.json @@ -8,6 +8,9 @@ "vid": "0xFEED", "pid": "0x09F5" }, + "backlight": { + "pin": "F7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu" } diff --git a/keyboards/bfake/config.h b/keyboards/bfake/config.h index 264c8a552c..768b1b3551 100644 --- a/keyboards/bfake/config.h +++ b/keyboards/bfake/config.h @@ -25,8 +25,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 - #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/bfake/info.json b/keyboards/bfake/info.json index f390102e21..fe457cb6d1 100644 --- a/keyboards/bfake/info.json +++ b/keyboards/bfake/info.json @@ -8,6 +8,9 @@ "pid": "0x422D", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1" }, diff --git a/keyboards/bioi/f60/config.h b/keyboards/bioi/f60/config.h index 3cfee0a389..32e179e918 100644 --- a/keyboards/bioi/f60/config.h +++ b/keyboards/bioi/f60/config.h @@ -25,10 +25,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_LEVELS 8 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN B1 #ifdef RGB_DI_PIN # define RGBLED_NUM 5 diff --git a/keyboards/bioi/f60/info.json b/keyboards/bioi/f60/info.json index 1e95671f5d..65c59db2b4 100644 --- a/keyboards/bioi/f60/info.json +++ b/keyboards/bioi/f60/info.json @@ -8,6 +8,11 @@ "pid": "0x4660", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 8, + "breathing": true + }, "indicators": { "caps_lock": "F0" }, diff --git a/keyboards/bioi/g60/config.h b/keyboards/bioi/g60/config.h index f6bffcf14f..d3172d1812 100644 --- a/keyboards/bioi/g60/config.h +++ b/keyboards/bioi/g60/config.h @@ -32,10 +32,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { E6, B0, F1, F5, F4 } #define MATRIX_COL_PINS { F6, F7, B3, C7, C6, B6, B5, D5, B4, D7, D6, D4, D1, D0 } -/* Backlight Setup */ -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_LEVELS 12 - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/bioi/g60/info.json b/keyboards/bioi/g60/info.json index bdc8e9b596..16b09ca00c 100644 --- a/keyboards/bioi/g60/info.json +++ b/keyboards/bioi/g60/info.json @@ -8,6 +8,10 @@ "pid": "0x6080", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 12 + }, "processor": "atmega32u4", "bootloader": "qmk-dfu", "layouts": { diff --git a/keyboards/bioi/g60ble/config.h b/keyboards/bioi/g60ble/config.h index e642b04c7c..eb20ed7515 100644 --- a/keyboards/bioi/g60ble/config.h +++ b/keyboards/bioi/g60ble/config.h @@ -10,11 +10,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#ifdef BACKLIGHT_PIN -# define BACKLIGHT_LEVELS 8 -#endif - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/bioi/g60ble/info.json b/keyboards/bioi/g60ble/info.json index d8ef72cbb8..cca5ed456f 100644 --- a/keyboards/bioi/g60ble/info.json +++ b/keyboards/bioi/g60ble/info.json @@ -8,6 +8,10 @@ "pid": "0x6080", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 8 + }, "processor": "atmega32u4", "bootloader": "qmk-dfu", "community_layouts": ["60_ansi", "60_iso", "60_hhkb", "60_ansi_split_bs_rshift", "60_tsangan_hhkb"], diff --git a/keyboards/bioi/morgan65/config.h b/keyboards/bioi/morgan65/config.h index 1fb1d149c0..6d609e0185 100644 --- a/keyboards/bioi/morgan65/config.h +++ b/keyboards/bioi/morgan65/config.h @@ -32,10 +32,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { E6, C6, F4, B2, D4 } #define MATRIX_COL_PINS { F5, F6, F7, C7, B0, B7, B5, D5, B4, D7, D6, D1, D0, B3 } -/* Backlight Setup */ -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 12 - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/bioi/morgan65/info.json b/keyboards/bioi/morgan65/info.json index c71f000e2f..1a822b2113 100644 --- a/keyboards/bioi/morgan65/info.json +++ b/keyboards/bioi/morgan65/info.json @@ -8,6 +8,10 @@ "pid": "0x6581", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 12 + }, "processor": "atmega32u4", "bootloader": "qmk-dfu", "layouts": { diff --git a/keyboards/bioi/s65/config.h b/keyboards/bioi/s65/config.h index 4a98749258..6556560112 100644 --- a/keyboards/bioi/s65/config.h +++ b/keyboards/bioi/s65/config.h @@ -32,11 +32,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { D2, D0, D1, F7, D6 } #define MATRIX_COL_PINS { F1, B3, F4, F5, F6, E6, C7, B2, B1, C6, B6, B5, B4, D7, D4, D5 } - -/* Backlight Setup */ -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 12 - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/bioi/s65/info.json b/keyboards/bioi/s65/info.json index 8de355ee4b..b80b37b2ea 100644 --- a/keyboards/bioi/s65/info.json +++ b/keyboards/bioi/s65/info.json @@ -8,6 +8,10 @@ "pid": "0x5365", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 12 + }, "processor": "atmega32u4", "bootloader": "qmk-dfu", "layouts": { diff --git a/keyboards/boston/config.h b/keyboards/boston/config.h index 7b3249e881..6dddf137f7 100644 --- a/keyboards/boston/config.h +++ b/keyboards/boston/config.h @@ -22,12 +22,9 @@ { B5, B6, A7, B0, B1, B2, A4 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/boston/info.json b/keyboards/boston/info.json index 87980602ba..40cc21008c 100644 --- a/keyboards/boston/info.json +++ b/keyboards/boston/info.json @@ -8,6 +8,11 @@ "pid": "0x4176", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "levels": 6, + "breathing": true + }, "indicators": { "caps_lock": "A1", "num_lock": "A0", diff --git a/keyboards/bt66tech/bt66tech60/config.h b/keyboards/bt66tech/bt66tech60/config.h index 982e69a32b..c5007ffbbb 100644 --- a/keyboards/bt66tech/bt66tech60/config.h +++ b/keyboards/bt66tech/bt66tech60/config.h @@ -21,11 +21,8 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { B10, B1, B0, A7, A6 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A8 #define BACKLIGHT_PWM_DRIVER PWMD1 #define BACKLIGHT_PWM_CHANNEL 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/bt66tech/bt66tech60/info.json b/keyboards/bt66tech/bt66tech60/info.json index d3c6d1c4e9..91b824b6a4 100644 --- a/keyboards/bt66tech/bt66tech60/info.json +++ b/keyboards/bt66tech/bt66tech60/info.json @@ -8,6 +8,11 @@ "pid": "0x7070", "device_version": "0.0.1" }, + "backlight": { + "pin": "A8", + "levels": 6, + "breathing": true + }, "processor": "STM32F103", "bootloader": "stm32duino", "community_layouts": ["60_ansi"], diff --git a/keyboards/cablecardesigns/cypher/rev6/config.h b/keyboards/cablecardesigns/cypher/rev6/config.h index 1b8b2d671b..dc8c82f7b0 100644 --- a/keyboards/cablecardesigns/cypher/rev6/config.h +++ b/keyboards/cablecardesigns/cypher/rev6/config.h @@ -9,16 +9,11 @@ /* COL2ROW, ROW2COL, or CUSTOM_MATRIX */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define BACKLIGHT_PIN D0 - #define RGB_DI_PIN D5 #ifdef RGB_DI_PIN #define RGBLED_NUM 3 diff --git a/keyboards/cablecardesigns/cypher/rev6/info.json b/keyboards/cablecardesigns/cypher/rev6/info.json index 6f3d97443f..4fc447236e 100644 --- a/keyboards/cablecardesigns/cypher/rev6/info.json +++ b/keyboards/cablecardesigns/cypher/rev6/info.json @@ -6,6 +6,11 @@ "pid": "0xAA99", "device_version": "0.0.2" }, + "backlight": { + "pin": "D0", + "levels": 5, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/cannonkeys/an_c/config.h b/keyboards/cannonkeys/an_c/config.h index de54b4ddeb..a6b9872268 100644 --- a/keyboards/cannonkeys/an_c/config.h +++ b/keyboards/cannonkeys/an_c/config.h @@ -21,12 +21,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { B1, B0, A7, A5, A4 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/an_c/info.json b/keyboards/cannonkeys/an_c/info.json index e3c6fb0b6a..0517bb09d3 100644 --- a/keyboards/cannonkeys/an_c/info.json +++ b/keyboards/cannonkeys/an_c/info.json @@ -8,6 +8,11 @@ "pid": "0xA00C", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "levels": 6, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "community_layouts": ["60_ansi", "60_tsangan_hhkb"], diff --git a/keyboards/cannonkeys/chimera65/config.h b/keyboards/cannonkeys/chimera65/config.h index b3037d9378..26e04106ab 100644 --- a/keyboards/cannonkeys/chimera65/config.h +++ b/keyboards/cannonkeys/chimera65/config.h @@ -21,12 +21,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { A13, A14, A15, C13, B8 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/chimera65/info.json b/keyboards/cannonkeys/chimera65/info.json index 5e182b470c..cdd07c3459 100644 --- a/keyboards/cannonkeys/chimera65/info.json +++ b/keyboards/cannonkeys/chimera65/info.json @@ -8,6 +8,11 @@ "pid": "0xC024", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "levels": 6, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/cannonkeys/cloudline/config.h b/keyboards/cannonkeys/cloudline/config.h index 5442ee192f..d7c7052163 100644 --- a/keyboards/cannonkeys/cloudline/config.h +++ b/keyboards/cannonkeys/cloudline/config.h @@ -7,12 +7,9 @@ #define MATRIX_ROW_PINS { A15, B3, B5, A4, A5, F1 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/cloudline/info.json b/keyboards/cannonkeys/cloudline/info.json index 86d126255d..d5d8b817ea 100644 --- a/keyboards/cannonkeys/cloudline/info.json +++ b/keyboards/cannonkeys/cloudline/info.json @@ -8,6 +8,11 @@ "pid": "0x000A", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "levels": 6, + "breathing": true + }, "indicators": { "caps_lock": "B9", "scroll_lock": "F0", diff --git a/keyboards/cannonkeys/crin/config.h b/keyboards/cannonkeys/crin/config.h index 5cd5613378..c275e78f23 100644 --- a/keyboards/cannonkeys/crin/config.h +++ b/keyboards/cannonkeys/crin/config.h @@ -22,12 +22,9 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/crin/info.json b/keyboards/cannonkeys/crin/info.json index 372eab0d48..6c6afa0f89 100644 --- a/keyboards/cannonkeys/crin/info.json +++ b/keyboards/cannonkeys/crin/info.json @@ -8,6 +8,11 @@ "pid": "0x0012", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "levels": 6, + "breathing": true + }, "indicators": { "caps_lock": "F1", "on_state": 0 diff --git a/keyboards/cannonkeys/db60/config.h b/keyboards/cannonkeys/db60/config.h index ff2dcf70f2..9e034e7c12 100644 --- a/keyboards/cannonkeys/db60/config.h +++ b/keyboards/cannonkeys/db60/config.h @@ -22,12 +22,9 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/db60/info.json b/keyboards/cannonkeys/db60/info.json index d6c11eb08b..5f4a94d367 100644 --- a/keyboards/cannonkeys/db60/info.json +++ b/keyboards/cannonkeys/db60/info.json @@ -6,6 +6,11 @@ "vid": "0xCA04", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "levels": 6, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu" } diff --git a/keyboards/cannonkeys/devastatingtkl/config.h b/keyboards/cannonkeys/devastatingtkl/config.h index 2865ecebb9..cd6fa15243 100644 --- a/keyboards/cannonkeys/devastatingtkl/config.h +++ b/keyboards/cannonkeys/devastatingtkl/config.h @@ -21,13 +21,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { A15, B3, B5, A4, A5, F1 } #define DIODE_DIRECTION COL2ROW - -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/devastatingtkl/info.json b/keyboards/cannonkeys/devastatingtkl/info.json index 6d4172e7b2..557b53817b 100644 --- a/keyboards/cannonkeys/devastatingtkl/info.json +++ b/keyboards/cannonkeys/devastatingtkl/info.json @@ -8,6 +8,11 @@ "pid": "0xDE57", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "levels": 6, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/cannonkeys/instant60/config.h b/keyboards/cannonkeys/instant60/config.h index 8f72638604..8e7158765d 100644 --- a/keyboards/cannonkeys/instant60/config.h +++ b/keyboards/cannonkeys/instant60/config.h @@ -21,12 +21,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { B1, B0, A7, A5, A4 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/instant60/info.json b/keyboards/cannonkeys/instant60/info.json index 2ad358727b..56f5126d0d 100644 --- a/keyboards/cannonkeys/instant60/info.json +++ b/keyboards/cannonkeys/instant60/info.json @@ -8,6 +8,11 @@ "pid": "0x1600", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "levels": 6, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "community_layouts": ["60_ansi", "60_tsangan_hhkb"], diff --git a/keyboards/cannonkeys/instant65/config.h b/keyboards/cannonkeys/instant65/config.h index efa1e26fbb..5afccde3a7 100644 --- a/keyboards/cannonkeys/instant65/config.h +++ b/keyboards/cannonkeys/instant65/config.h @@ -21,12 +21,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { A14, A15, A0, B1, B0 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/instant65/info.json b/keyboards/cannonkeys/instant65/info.json index 27ae86b94c..eedb9bd5c7 100644 --- a/keyboards/cannonkeys/instant65/info.json +++ b/keyboards/cannonkeys/instant65/info.json @@ -8,6 +8,11 @@ "pid": "0x1565", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "levels": 6, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/cannonkeys/iron165/config.h b/keyboards/cannonkeys/iron165/config.h index 773aa16496..eb7011b349 100644 --- a/keyboards/cannonkeys/iron165/config.h +++ b/keyboards/cannonkeys/iron165/config.h @@ -21,12 +21,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { B12, B13, B14, B15, A1 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/iron165/info.json b/keyboards/cannonkeys/iron165/info.json index bd552f0938..b0ad19785c 100644 --- a/keyboards/cannonkeys/iron165/info.json +++ b/keyboards/cannonkeys/iron165/info.json @@ -8,6 +8,11 @@ "pid": "0x5165", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "levels": 6, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/cannonkeys/malicious_ergo/config.h b/keyboards/cannonkeys/malicious_ergo/config.h index a3ab4d6e0d..57fa0cf7c3 100644 --- a/keyboards/cannonkeys/malicious_ergo/config.h +++ b/keyboards/cannonkeys/malicious_ergo/config.h @@ -23,12 +23,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { B2, B10, B11, A2, A0 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/malicious_ergo/info.json b/keyboards/cannonkeys/malicious_ergo/info.json index d9979a3462..9058e07878 100644 --- a/keyboards/cannonkeys/malicious_ergo/info.json +++ b/keyboards/cannonkeys/malicious_ergo/info.json @@ -8,6 +8,11 @@ "pid": "0x0009", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "levels": 6, + "breathing": true + }, "indicators": { "caps_lock": "A8", "num_lock": "A9", diff --git a/keyboards/cannonkeys/obliterated75/config.h b/keyboards/cannonkeys/obliterated75/config.h index d590606d28..6d2ab14c6b 100644 --- a/keyboards/cannonkeys/obliterated75/config.h +++ b/keyboards/cannonkeys/obliterated75/config.h @@ -21,12 +21,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { A13, B12, B11, B14, A8, A1 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/obliterated75/info.json b/keyboards/cannonkeys/obliterated75/info.json index b4be81c835..30ea22bd74 100644 --- a/keyboards/cannonkeys/obliterated75/info.json +++ b/keyboards/cannonkeys/obliterated75/info.json @@ -8,6 +8,11 @@ "pid": "0x0B75", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "levels": 6, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/cannonkeys/onyx/config.h b/keyboards/cannonkeys/onyx/config.h index 4ff492449b..3c95a53960 100644 --- a/keyboards/cannonkeys/onyx/config.h +++ b/keyboards/cannonkeys/onyx/config.h @@ -21,13 +21,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { B11, B10, B2, F0, B5 } #define DIODE_DIRECTION COL2ROW - -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/onyx/info.json b/keyboards/cannonkeys/onyx/info.json index c2708cc4eb..a4e1a69c9c 100644 --- a/keyboards/cannonkeys/onyx/info.json +++ b/keyboards/cannonkeys/onyx/info.json @@ -8,6 +8,11 @@ "pid": "0x0003", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "levels": 6, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/cannonkeys/ortho48/config.h b/keyboards/cannonkeys/ortho48/config.h index 87000ef0b9..5c864541c7 100644 --- a/keyboards/cannonkeys/ortho48/config.h +++ b/keyboards/cannonkeys/ortho48/config.h @@ -21,11 +21,8 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { B12, C13, A2, A1 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A8 #define BACKLIGHT_PWM_DRIVER PWMD1 #define BACKLIGHT_PWM_CHANNEL 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/ortho48/info.json b/keyboards/cannonkeys/ortho48/info.json index 0e022d240c..ba7f1dbdd4 100644 --- a/keyboards/cannonkeys/ortho48/info.json +++ b/keyboards/cannonkeys/ortho48/info.json @@ -8,6 +8,11 @@ "pid": "0x4F48", "device_version": "0.0.1" }, + "backlight": { + "pin": "A8", + "levels": 6, + "breathing": true + }, "processor": "STM32F103", "bootloader": "stm32duino", "community_layouts": ["ortho_4x12"], diff --git a/keyboards/cannonkeys/ortho60/config.h b/keyboards/cannonkeys/ortho60/config.h index 0e86aa6851..f9c6596a9f 100644 --- a/keyboards/cannonkeys/ortho60/config.h +++ b/keyboards/cannonkeys/ortho60/config.h @@ -21,11 +21,8 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { B3, B4, B5, B6, B7 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A8 #define BACKLIGHT_PWM_DRIVER PWMD1 #define BACKLIGHT_PWM_CHANNEL 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/ortho60/info.json b/keyboards/cannonkeys/ortho60/info.json index 7db3ee9f04..8426955dae 100644 --- a/keyboards/cannonkeys/ortho60/info.json +++ b/keyboards/cannonkeys/ortho60/info.json @@ -8,6 +8,11 @@ "pid": "0x4F60", "device_version": "0.0.1" }, + "backlight": { + "pin": "A8", + "levels": 6, + "breathing": true + }, "processor": "STM32F103", "bootloader": "stm32duino", "community_layouts": ["ortho_5x12"], diff --git a/keyboards/cannonkeys/ortho75/config.h b/keyboards/cannonkeys/ortho75/config.h index a69a445b15..021c4f38b6 100644 --- a/keyboards/cannonkeys/ortho75/config.h +++ b/keyboards/cannonkeys/ortho75/config.h @@ -21,11 +21,8 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { B12, C13, A2, A1, A3 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A8 #define BACKLIGHT_PWM_DRIVER PWMD1 #define BACKLIGHT_PWM_CHANNEL 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING #define ENCODERS_PAD_A { B9 } #define ENCODERS_PAD_B { B8 } diff --git a/keyboards/cannonkeys/ortho75/info.json b/keyboards/cannonkeys/ortho75/info.json index c529181e4f..31465c47c0 100644 --- a/keyboards/cannonkeys/ortho75/info.json +++ b/keyboards/cannonkeys/ortho75/info.json @@ -8,6 +8,11 @@ "pid": "0x6464", "device_version": "0.0.1" }, + "backlight": { + "pin": "A8", + "levels": 6, + "breathing": true + }, "processor": "STM32F103", "bootloader": "stm32duino", "community_layouts": ["ortho_5x15"], diff --git a/keyboards/cannonkeys/practice60/config.h b/keyboards/cannonkeys/practice60/config.h index fb301ef701..287b1484e9 100644 --- a/keyboards/cannonkeys/practice60/config.h +++ b/keyboards/cannonkeys/practice60/config.h @@ -21,11 +21,8 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { B3, B4, B5, B6, B7 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A8 #define BACKLIGHT_PWM_DRIVER PWMD1 #define BACKLIGHT_PWM_CHANNEL 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/practice60/info.json b/keyboards/cannonkeys/practice60/info.json index 16ec3a2a91..a25485038b 100644 --- a/keyboards/cannonkeys/practice60/info.json +++ b/keyboards/cannonkeys/practice60/info.json @@ -8,6 +8,11 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "pin": "A8", + "levels": 6, + "breathing": true + }, "processor": "STM32F103", "bootloader": "stm32duino", "community_layouts": ["60_ansi"], diff --git a/keyboards/cannonkeys/practice65/config.h b/keyboards/cannonkeys/practice65/config.h index b38638add4..ac3f193da9 100644 --- a/keyboards/cannonkeys/practice65/config.h +++ b/keyboards/cannonkeys/practice65/config.h @@ -21,11 +21,8 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { B4, B11, B1, B7, B6 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A8 #define BACKLIGHT_PWM_DRIVER PWMD1 #define BACKLIGHT_PWM_CHANNEL 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/practice65/info.json b/keyboards/cannonkeys/practice65/info.json index de009fc870..17e548a825 100644 --- a/keyboards/cannonkeys/practice65/info.json +++ b/keyboards/cannonkeys/practice65/info.json @@ -8,6 +8,11 @@ "pid": "0x6565", "device_version": "0.0.1" }, + "backlight": { + "pin": "A8", + "levels": 6, + "breathing": true + }, "processor": "STM32F103", "bootloader": "stm32duino", "layouts": { diff --git a/keyboards/cannonkeys/rekt1800/config.h b/keyboards/cannonkeys/rekt1800/config.h index 7c0745ceb8..37d156feb9 100644 --- a/keyboards/cannonkeys/rekt1800/config.h +++ b/keyboards/cannonkeys/rekt1800/config.h @@ -21,12 +21,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { C13, C14, A0, A1, A2, B11 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/rekt1800/info.json b/keyboards/cannonkeys/rekt1800/info.json index 2a98bb85e7..e68f214427 100644 --- a/keyboards/cannonkeys/rekt1800/info.json +++ b/keyboards/cannonkeys/rekt1800/info.json @@ -8,6 +8,11 @@ "pid": "0x2377", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "levels": 6, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/cannonkeys/sagittarius/config.h b/keyboards/cannonkeys/sagittarius/config.h index 9aed1f45bd..5edf9fdeb9 100644 --- a/keyboards/cannonkeys/sagittarius/config.h +++ b/keyboards/cannonkeys/sagittarius/config.h @@ -21,12 +21,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { B10, B14, A8, A9, A10, C13, C14, C15, F0, F1 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/sagittarius/info.json b/keyboards/cannonkeys/sagittarius/info.json index 76b52ab4bd..2b25ee6b98 100644 --- a/keyboards/cannonkeys/sagittarius/info.json +++ b/keyboards/cannonkeys/sagittarius/info.json @@ -8,6 +8,11 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "levels": 6, + "breathing": true + }, "indicators": { "caps_lock": "B3", "num_lock": "B4", diff --git a/keyboards/cannonkeys/satisfaction75/config.h b/keyboards/cannonkeys/satisfaction75/config.h index 55dd8386dc..c2c20e1771 100644 --- a/keyboards/cannonkeys/satisfaction75/config.h +++ b/keyboards/cannonkeys/satisfaction75/config.h @@ -32,10 +32,6 @@ along with this program. If not, see . #define ENCODER_RESOLUTION 2 -//LEDS A6, RGB B15 -#define BACKLIGHT_LEVELS 24 -#define BACKLIGHT_BREATHING - // I2C config #define I2C_DRIVER I2CD1 #define I2C1_SCL_PIN B6 diff --git a/keyboards/cannonkeys/satisfaction75/info.json b/keyboards/cannonkeys/satisfaction75/info.json index 44c96b3f3e..dd157defba 100644 --- a/keyboards/cannonkeys/satisfaction75/info.json +++ b/keyboards/cannonkeys/satisfaction75/info.json @@ -8,6 +8,10 @@ "pid": "0x57F5", "device_version": "0.0.1" }, + "backlight": { + "levels": 24, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu" } diff --git a/keyboards/cannonkeys/savage65/config.h b/keyboards/cannonkeys/savage65/config.h index 416929afc7..79414a9a78 100644 --- a/keyboards/cannonkeys/savage65/config.h +++ b/keyboards/cannonkeys/savage65/config.h @@ -21,12 +21,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { B12, B11, B14, A8, A1 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/savage65/info.json b/keyboards/cannonkeys/savage65/info.json index 5d7630c0af..1aa34de891 100644 --- a/keyboards/cannonkeys/savage65/info.json +++ b/keyboards/cannonkeys/savage65/info.json @@ -8,6 +8,11 @@ "pid": "0x5A65", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "levels": 6, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "community_layouts": ["65_ansi_blocker", "65_ansi_blocker_split_bs", "65_ansi_blocker_tsangan", "65_iso_blocker"], diff --git a/keyboards/cannonkeys/tmov2/config.h b/keyboards/cannonkeys/tmov2/config.h index 9cdd3834fc..8722ba8d54 100644 --- a/keyboards/cannonkeys/tmov2/config.h +++ b/keyboards/cannonkeys/tmov2/config.h @@ -21,12 +21,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { A10, A9, A8, B12 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/tmov2/info.json b/keyboards/cannonkeys/tmov2/info.json index d2309f2681..bdb6cd7453 100644 --- a/keyboards/cannonkeys/tmov2/info.json +++ b/keyboards/cannonkeys/tmov2/info.json @@ -8,6 +8,11 @@ "pid": "0x70F2", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "levels": 6, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/cannonkeys/tsukuyomi/config.h b/keyboards/cannonkeys/tsukuyomi/config.h index 2c07e1d504..8987acd837 100644 --- a/keyboards/cannonkeys/tsukuyomi/config.h +++ b/keyboards/cannonkeys/tsukuyomi/config.h @@ -21,12 +21,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { B12, B11, B14, A8, A1 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/tsukuyomi/info.json b/keyboards/cannonkeys/tsukuyomi/info.json index d1a7f4d6ba..fb5b22e5b7 100644 --- a/keyboards/cannonkeys/tsukuyomi/info.json +++ b/keyboards/cannonkeys/tsukuyomi/info.json @@ -8,6 +8,11 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "levels": 6, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/cannonkeys/vicious40/config.h b/keyboards/cannonkeys/vicious40/config.h index 87a002728e..d989d427ff 100644 --- a/keyboards/cannonkeys/vicious40/config.h +++ b/keyboards/cannonkeys/vicious40/config.h @@ -21,12 +21,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { A15, B3, B4, B5 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/cannonkeys/vicious40/info.json b/keyboards/cannonkeys/vicious40/info.json index 32dc1fff4a..384343b8e9 100644 --- a/keyboards/cannonkeys/vicious40/info.json +++ b/keyboards/cannonkeys/vicious40/info.json @@ -8,6 +8,11 @@ "pid": "0x0004", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "levels": 6, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/capsunlocked/cu24/config.h b/keyboards/capsunlocked/cu24/config.h index 7576a85d51..65f64c2f09 100644 --- a/keyboards/capsunlocked/cu24/config.h +++ b/keyboards/capsunlocked/cu24/config.h @@ -33,11 +33,6 @@ /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION ROW2COL -/* Backlight */ -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 5 - /* RGB Glow */ #define RGB_DI_PIN F4 // The pin the LED strip is connected to #define RGBLED_NUM 5 // Number of LEDs in your strip diff --git a/keyboards/capsunlocked/cu24/info.json b/keyboards/capsunlocked/cu24/info.json index 03e87e6da6..ea361a2bf4 100644 --- a/keyboards/capsunlocked/cu24/info.json +++ b/keyboards/capsunlocked/cu24/info.json @@ -8,6 +8,11 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "backlight": { + "pin": "B5", + "levels": 5, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/capsunlocked/cu75/config.h b/keyboards/capsunlocked/cu75/config.h index f8cf3f0ffa..52dff09103 100644 --- a/keyboards/capsunlocked/cu75/config.h +++ b/keyboards/capsunlocked/cu75/config.h @@ -39,7 +39,6 @@ along with this program. If not, see . #define RGBLIGHT_SAT_STEP 17 #define RGBLIGHT_VAL_STEP 17 -#define BACKLIGHT_LEVELS 8 #define BACKLIGHT_PWM_MAP {8, 16, 40, 55, 70, 128, 200, 255} /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ diff --git a/keyboards/capsunlocked/cu75/info.json b/keyboards/capsunlocked/cu75/info.json index c6a6fe8be8..7f4eb623ac 100644 --- a/keyboards/capsunlocked/cu75/info.json +++ b/keyboards/capsunlocked/cu75/info.json @@ -8,6 +8,10 @@ "pid": "0x6062", "device_version": "0.0.1" }, + "backlight": { + "driver": "custom", + "levels": 8 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/capsunlocked/cu75/rules.mk b/keyboards/capsunlocked/cu75/rules.mk index e48941c949..cf757fc166 100644 --- a/keyboards/capsunlocked/cu75/rules.mk +++ b/keyboards/capsunlocked/cu75/rules.mk @@ -1,8 +1,3 @@ -# Build Options -# change yes to no to disable -# -BACKLIGHT_DRIVER = custom - # TODO: These boards need to be converted to RGB Matrix VPATH += keyboards/lfkeyboards SRC = TWIlib.c issi.c lighting.c diff --git a/keyboards/cest73/tkm/config.h b/keyboards/cest73/tkm/config.h index 5deae07fc6..062d3434eb 100644 --- a/keyboards/cest73/tkm/config.h +++ b/keyboards/cest73/tkm/config.h @@ -25,9 +25,6 @@ //NOTE: if D6 pin shows any issues in exploatation the LED on the Teensy is to be removed -//TODO change the E6 pin to either B5, B6, B7 or C6 to utilize hardware PWM on a future PCB revision -#define BACKLIGHT_PIN E6 - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/cest73/tkm/info.json b/keyboards/cest73/tkm/info.json index 671cc27d52..6054f24467 100644 --- a/keyboards/cest73/tkm/info.json +++ b/keyboards/cest73/tkm/info.json @@ -8,6 +8,9 @@ "pid": "0xAA55", "device_version": "0.0.1" }, + "backlight": { + "pin": "E6" + }, "indicators": { "caps_lock": "F5", "num_lock": "F6", diff --git a/keyboards/checkerboards/nop60/config.h b/keyboards/checkerboards/nop60/config.h index 23ef41da4c..adf72e2f65 100644 --- a/keyboards/checkerboards/nop60/config.h +++ b/keyboards/checkerboards/nop60/config.h @@ -25,11 +25,7 @@ Copyright 2021 Nathan Spears /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* Switch LED Backlighting */ -#define BACKLIGHT_PIN D1 #define BACKLIGHT_PWM_DRIVER PWMD3 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING // ws2812 options #define RGB_DI_PIN D2 // pin the DI on the ws2812 is hooked-up to diff --git a/keyboards/checkerboards/nop60/info.json b/keyboards/checkerboards/nop60/info.json index 4ed4b82cb5..96467b7702 100644 --- a/keyboards/checkerboards/nop60/info.json +++ b/keyboards/checkerboards/nop60/info.json @@ -8,6 +8,11 @@ "pid": "0x1416", "device_version": "0.0.1" }, + "backlight": { + "pin": "D1", + "levels": 6, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layout_aliases": { diff --git a/keyboards/checkerboards/quark_plus/config.h b/keyboards/checkerboards/quark_plus/config.h index 004fc8a177..b44a42406b 100644 --- a/keyboards/checkerboards/quark_plus/config.h +++ b/keyboards/checkerboards/quark_plus/config.h @@ -30,11 +30,6 @@ /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -/* Switch LED Backlighting */ -#define BACKLIGHT_PIN C4 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING - // ws2812 options #define RGB_DI_PIN C5 // pin the DI on the ws2812 is hooked-up to #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/checkerboards/quark_plus/info.json b/keyboards/checkerboards/quark_plus/info.json index 6685b84224..6c40827e74 100644 --- a/keyboards/checkerboards/quark_plus/info.json +++ b/keyboards/checkerboards/quark_plus/info.json @@ -8,6 +8,11 @@ "pid": "0x5344", "device_version": "0.0.1" }, + "backlight": { + "pin": "C4", + "levels": 6, + "breathing": true + }, "processor": "atmega32u2", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/checkerboards/quark_plus/rules.mk b/keyboards/checkerboards/quark_plus/rules.mk index 10772de547..c10c82105d 100644 --- a/keyboards/checkerboards/quark_plus/rules.mk +++ b/keyboards/checkerboards/quark_plus/rules.mk @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug COMMAND_ENABLE = no # Commands for debug and configuration NKRO_ENABLE = no # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BACKLIGHT_DRIVER = pwm # Valid driver values are pwm, software, custom or no RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output ENCODER_ENABLE = yes # Enable rotary encoder diff --git a/keyboards/checkerboards/snop60/config.h b/keyboards/checkerboards/snop60/config.h index d9b5194a0b..92f1cd72e8 100644 --- a/keyboards/checkerboards/snop60/config.h +++ b/keyboards/checkerboards/snop60/config.h @@ -25,11 +25,6 @@ Copyright 2022 Nathan Spears /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* Switch LED Backlighting */ -#define BACKLIGHT_PIN D1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING - // ws2812 options #define RGB_DI_PIN B1 // pin the DI on the ws2812 is hooked-up to #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/checkerboards/snop60/info.json b/keyboards/checkerboards/snop60/info.json index 8866a2728e..b3e9645465 100644 --- a/keyboards/checkerboards/snop60/info.json +++ b/keyboards/checkerboards/snop60/info.json @@ -8,6 +8,11 @@ "pid": "0x2416", "device_version": "0.0.1" }, + "backlight": { + "pin": "D1", + "levels": 6, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layout_aliases": { diff --git a/keyboards/checkerboards/snop60/rules.mk b/keyboards/checkerboards/snop60/rules.mk index 851dd43d3b..d24c9861b4 100644 --- a/keyboards/checkerboards/snop60/rules.mk +++ b/keyboards/checkerboards/snop60/rules.mk @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug COMMAND_ENABLE = yes # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BACKLIGHT_DRIVER = pwm # Valid driver values are pwm, software, custom or no RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output ENCODER_ENBALE = yes # Enable Rotary Encoders diff --git a/keyboards/cherrybstudio/cb87/config.h b/keyboards/cherrybstudio/cb87/config.h index e587304caf..f78600ed04 100644 --- a/keyboards/cherrybstudio/cb87/config.h +++ b/keyboards/cherrybstudio/cb87/config.h @@ -30,7 +30,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 #define RGB_DI_PIN E6 #ifdef RGB_DI_PIN diff --git a/keyboards/cherrybstudio/cb87/info.json b/keyboards/cherrybstudio/cb87/info.json index 3af7eff96d..09a4fe132a 100644 --- a/keyboards/cherrybstudio/cb87/info.json +++ b/keyboards/cherrybstudio/cb87/info.json @@ -8,6 +8,9 @@ "pid": "0x8787", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6" + }, "indicators": { "caps_lock": "F0", "scroll_lock": "F4", diff --git a/keyboards/cherrybstudio/cb87v2/config.h b/keyboards/cherrybstudio/cb87v2/config.h index a221188ccb..55b8bc4bee 100644 --- a/keyboards/cherrybstudio/cb87v2/config.h +++ b/keyboards/cherrybstudio/cb87v2/config.h @@ -31,8 +31,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 - #define RGB_DI_PIN E6 #ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/cherrybstudio/cb87v2/info.json b/keyboards/cherrybstudio/cb87v2/info.json index 3cb29e13d0..45aea95248 100644 --- a/keyboards/cherrybstudio/cb87v2/info.json +++ b/keyboards/cherrybstudio/cb87v2/info.json @@ -8,6 +8,9 @@ "pid": "0x8788", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6" + }, "indicators": { "caps_lock": "F0", "scroll_lock": "F4", diff --git a/keyboards/ck60i/config.h b/keyboards/ck60i/config.h index f298022e35..b847eb42d7 100644 --- a/keyboards/ck60i/config.h +++ b/keyboards/ck60i/config.h @@ -21,12 +21,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { B9 , C13, A3 , B14, A8} #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/ck60i/info.json b/keyboards/ck60i/info.json index 87b22f29eb..5ebf94953e 100644 --- a/keyboards/ck60i/info.json +++ b/keyboards/ck60i/info.json @@ -8,6 +8,11 @@ "pid": "0x6049", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "levels": 6, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/ck60i/rules.mk b/keyboards/ck60i/rules.mk index 2e8924f3c3..e505cf44b4 100644 --- a/keyboards/ck60i/rules.mk +++ b/keyboards/ck60i/rules.mk @@ -9,7 +9,6 @@ COMMAND_ENABLE = yes # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -BACKLIGHT_DRIVER = pwm ENCODER_ENABLE = yes # Enter lower-power sleep mode when on the ChibiOS idle thread diff --git a/keyboards/ckeys/obelus/config.h b/keyboards/ckeys/obelus/config.h index b031888d4a..1bc6def7fd 100644 --- a/keyboards/ckeys/obelus/config.h +++ b/keyboards/ckeys/obelus/config.h @@ -34,8 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/ckeys/obelus/info.json b/keyboards/ckeys/obelus/info.json index 36d31c14bd..9697e3a9dd 100644 --- a/keyboards/ckeys/obelus/info.json +++ b/keyboards/ckeys/obelus/info.json @@ -8,6 +8,9 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["ortho_4x4"], diff --git a/keyboards/ckeys/washington/config.h b/keyboards/ckeys/washington/config.h index 0ee05a5dbf..0461020f09 100644 --- a/keyboards/ckeys/washington/config.h +++ b/keyboards/ckeys/washington/config.h @@ -35,9 +35,6 @@ along with this program. If not, see . #define ENCODERS_PAD_A { D4 } #define ENCODERS_PAD_B { C6 } -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_BREATHING - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/ckeys/washington/info.json b/keyboards/ckeys/washington/info.json index 6c364dff1c..59e427a0b0 100644 --- a/keyboards/ckeys/washington/info.json +++ b/keyboards/ckeys/washington/info.json @@ -8,6 +8,10 @@ "pid": "0x002A", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/clueboard/17/info.json b/keyboards/clueboard/17/info.json index 33b888b059..a8e933d028 100644 --- a/keyboards/clueboard/17/info.json +++ b/keyboards/clueboard/17/info.json @@ -46,6 +46,9 @@ "pid": "0x2312", "vid": "0xC1ED" }, + "backlight": { + "driver": "custom" + }, "layout_aliases": { "LAYOUT": "LAYOUT_numpad_5x4" }, diff --git a/keyboards/clueboard/17/rules.mk b/keyboards/clueboard/17/rules.mk index d2e52d56b5..e69de29bb2 100644 --- a/keyboards/clueboard/17/rules.mk +++ b/keyboards/clueboard/17/rules.mk @@ -1,2 +0,0 @@ -# Build Options -BACKLIGHT_DRIVER = custom diff --git a/keyboards/clueboard/60/config.h b/keyboards/clueboard/60/config.h deleted file mode 100644 index c675044b37..0000000000 --- a/keyboards/clueboard/60/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright 2017 skully - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - - -/* Backlight configuration - */ -#define BACKLIGHT_LEVELS 1 diff --git a/keyboards/clueboard/60/info.json b/keyboards/clueboard/60/info.json index 16f94644c9..d89253fa3e 100644 --- a/keyboards/clueboard/60/info.json +++ b/keyboards/clueboard/60/info.json @@ -29,6 +29,9 @@ "pid": "0x2350", "vid": "0xC1ED" }, + "backlight": { + "levels": 1 + }, "community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_iso"], "layout_aliases": { "LAYOUT": "LAYOUT_all" diff --git a/keyboards/clueboard/66/rev2/config.h b/keyboards/clueboard/66/rev2/config.h index 192275f9f3..88d5112c8c 100644 --- a/keyboards/clueboard/66/rev2/config.h +++ b/keyboards/clueboard/66/rev2/config.h @@ -1,10 +1,5 @@ #pragma once - -/* Backlight configuration - */ -#define BACKLIGHT_LEVELS 1 - /* Underlight configuration */ #define RGBLIGHT_EFFECT_BREATHE_CENTER 1 diff --git a/keyboards/clueboard/66/rev2/info.json b/keyboards/clueboard/66/rev2/info.json index 2a9948f5b4..5945c2c833 100644 --- a/keyboards/clueboard/66/rev2/info.json +++ b/keyboards/clueboard/66/rev2/info.json @@ -50,6 +50,10 @@ "pid": "0x2320", "vid": "0xC1ED" }, + "backlight": { + "driver": "custom", + "levels": 1 + }, "community_layouts": ["66_ansi", "66_iso"], "layout_aliases": { "LAYOUT": "LAYOUT_all" diff --git a/keyboards/clueboard/66/rev2/rules.mk b/keyboards/clueboard/66/rev2/rules.mk index d2e52d56b5..e69de29bb2 100644 --- a/keyboards/clueboard/66/rev2/rules.mk +++ b/keyboards/clueboard/66/rev2/rules.mk @@ -1,2 +0,0 @@ -# Build Options -BACKLIGHT_DRIVER = custom diff --git a/keyboards/clueboard/66/rev3/config.h b/keyboards/clueboard/66/rev3/config.h index f84eb9da3e..eb584f096f 100644 --- a/keyboards/clueboard/66/rev3/config.h +++ b/keyboards/clueboard/66/rev3/config.h @@ -1,10 +1,5 @@ #pragma once - -/* Backlight configuration - */ -#define BACKLIGHT_LEVELS 1 - #define RGBLIGHT_EFFECT_BREATHE_CENTER 1 #define RGBLIGHT_EFFECT_BREATHE_MAX 200 #define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 666*2 diff --git a/keyboards/clueboard/66/rev3/info.json b/keyboards/clueboard/66/rev3/info.json index 7e99d16fcb..4c0569622c 100644 --- a/keyboards/clueboard/66/rev3/info.json +++ b/keyboards/clueboard/66/rev3/info.json @@ -50,6 +50,10 @@ "pid": "0x2370", "vid": "0xC1ED" }, + "backlight": { + "driver": "custom", + "levels": 1 + }, "community_layouts": ["66_ansi", "66_iso"], "layout_aliases": { "LAYOUT": "LAYOUT_all" diff --git a/keyboards/clueboard/66/rev3/rules.mk b/keyboards/clueboard/66/rev3/rules.mk index 924437d89b..e69de29bb2 100644 --- a/keyboards/clueboard/66/rev3/rules.mk +++ b/keyboards/clueboard/66/rev3/rules.mk @@ -1 +0,0 @@ -BACKLIGHT_DRIVER = custom diff --git a/keyboards/clueboard/66_hotswap/prototype/config.h b/keyboards/clueboard/66_hotswap/prototype/config.h index 84869fb48b..651037af12 100644 --- a/keyboards/clueboard/66_hotswap/prototype/config.h +++ b/keyboards/clueboard/66_hotswap/prototype/config.h @@ -10,10 +10,6 @@ */ #define NO_ACTION_TAPPING -/* Backlight configuration - */ -#define BACKLIGHT_LEVELS 1 - /* Underlight configuration */ #define RGBLIGHT_EFFECT_BREATHE_CENTER 1 diff --git a/keyboards/clueboard/66_hotswap/prototype/info.json b/keyboards/clueboard/66_hotswap/prototype/info.json index c1b14be644..522eda3fba 100644 --- a/keyboards/clueboard/66_hotswap/prototype/info.json +++ b/keyboards/clueboard/66_hotswap/prototype/info.json @@ -50,6 +50,10 @@ "pid": "0x2390", "vid": "0xC1ED" }, + "backlight": { + "driver": "custom", + "levels": 1 + }, "community_layouts": ["66_ansi"], "layout_aliases": { "LAYOUT": "LAYOUT_all" diff --git a/keyboards/clueboard/66_hotswap/prototype/rules.mk b/keyboards/clueboard/66_hotswap/prototype/rules.mk index 8193682fd3..4da205a168 100644 --- a/keyboards/clueboard/66_hotswap/prototype/rules.mk +++ b/keyboards/clueboard/66_hotswap/prototype/rules.mk @@ -1,3 +1 @@ -BACKLIGHT_DRIVER = custom - LTO_ENABLE = yes diff --git a/keyboards/clueboard/card/config.h b/keyboards/clueboard/card/config.h index 6eba3c1061..6bf5d24045 100644 --- a/keyboards/clueboard/card/config.h +++ b/keyboards/clueboard/card/config.h @@ -17,8 +17,5 @@ along with this program. If not, see . #pragma once - -#define BACKLIGHT_LEVELS 6 - // Enable audio #define AUDIO_PIN C6 diff --git a/keyboards/clueboard/card/info.json b/keyboards/clueboard/card/info.json index 739d253971..4564768c19 100644 --- a/keyboards/clueboard/card/info.json +++ b/keyboards/clueboard/card/info.json @@ -37,6 +37,10 @@ "pid": "0x2330", "vid": "0xC1ED" }, + "backlight": { + "driver": "custom", + "levels": 6 + }, "layout_aliases": { "LAYOUT": "LAYOUT_all" }, diff --git a/keyboards/clueboard/card/rules.mk b/keyboards/clueboard/card/rules.mk index d2e52d56b5..e69de29bb2 100644 --- a/keyboards/clueboard/card/rules.mk +++ b/keyboards/clueboard/card/rules.mk @@ -1,2 +0,0 @@ -# Build Options -BACKLIGHT_DRIVER = custom diff --git a/keyboards/coarse/cordillera/config.h b/keyboards/coarse/cordillera/config.h index ff96ef5a2a..e251f6f90d 100644 --- a/keyboards/coarse/cordillera/config.h +++ b/keyboards/coarse/cordillera/config.h @@ -21,12 +21,9 @@ along with this program. If not, see . #define MATRIX_COL_PINS { B15, B14, B13, B12, B11, B10, B2, B1, B8, B7, B6, B5, B4, B3, A15, A14 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A8 #define BACKLIGHT_PWM_DRIVER PWMD1 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/coarse/cordillera/info.json b/keyboards/coarse/cordillera/info.json index 3d968ab84d..9d84f0dee3 100644 --- a/keyboards/coarse/cordillera/info.json +++ b/keyboards/coarse/cordillera/info.json @@ -8,6 +8,11 @@ "pid": "0x1401", "device_version": "0.0.1" }, + "backlight": { + "pin": "A8", + "levels": 6, + "breathing": true + }, "indicators": { "caps_lock": "A1", "num_lock": "B0", diff --git a/keyboards/copenhagen_click/click_pad_v1/config.h b/keyboards/copenhagen_click/click_pad_v1/config.h index 504b47701c..2f30b0bb1c 100755 --- a/keyboards/copenhagen_click/click_pad_v1/config.h +++ b/keyboards/copenhagen_click/click_pad_v1/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_BREATHING - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/copenhagen_click/click_pad_v1/info.json b/keyboards/copenhagen_click/click_pad_v1/info.json index 757a404d1e..f6abac2e6a 100755 --- a/keyboards/copenhagen_click/click_pad_v1/info.json +++ b/keyboards/copenhagen_click/click_pad_v1/info.json @@ -8,6 +8,10 @@ "pid": "0x27DB", "device_version": "0.0.1" }, + "backlight": { + "pin": "B5", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/custommk/evo70/config.h b/keyboards/custommk/evo70/config.h index 9f27a458b7..d73f5b1823 100644 --- a/keyboards/custommk/evo70/config.h +++ b/keyboards/custommk/evo70/config.h @@ -19,10 +19,6 @@ #define OLED_UPDATE_INTERVAL 33 -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_LEVELS 17 -#define BACKLIGHT_BREATHING - #define OLED_DISABLE_TIMEOUT #define ENCODERS_PAD_A { C7 } diff --git a/keyboards/custommk/evo70/info.json b/keyboards/custommk/evo70/info.json index e5d2327518..824edd4277 100644 --- a/keyboards/custommk/evo70/info.json +++ b/keyboards/custommk/evo70/info.json @@ -10,7 +10,10 @@ "device_version": "0.0.1" }, "backlight": { - "on_state": 0 + "pin": "B5", + "levels": 17, + "on_state": 0, + "breathing": true }, "processor": "atmega32u4", "bootloader": "qmk-dfu", diff --git a/keyboards/cx60/config.h b/keyboards/cx60/config.h index 5aaca2af88..5b9aea0a99 100644 --- a/keyboards/cx60/config.h +++ b/keyboards/cx60/config.h @@ -21,12 +21,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { F1, F4, F5, F6, E6 } #define MATRIX_COL_PINS { C7, C6, F7, F0, B4, D7, D6, B0, B1, B2, B3, D2, D3, D5 } -/* Backlight Setup */ -#define BACKLIGHT_PIN B7 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 5 -#endif - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/cx60/info.json b/keyboards/cx60/info.json index e2569465df..c859379563 100644 --- a/keyboards/cx60/info.json +++ b/keyboards/cx60/info.json @@ -8,6 +8,10 @@ "pid": "0x3630", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5 + }, "indicators": { "caps_lock": "B5", "on_state": 0 diff --git a/keyboards/db/db63/config.h b/keyboards/db/db63/config.h index 33a06d8a8f..dcf7368b38 100644 --- a/keyboards/db/db63/config.h +++ b/keyboards/db/db63/config.h @@ -33,5 +33,3 @@ along with this program. If not, see . #define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE - -#define BACKLIGHT_PIN D4 diff --git a/keyboards/db/db63/info.json b/keyboards/db/db63/info.json index 96693bfb9e..9518ef5a42 100644 --- a/keyboards/db/db63/info.json +++ b/keyboards/db/db63/info.json @@ -8,6 +8,9 @@ "pid": "0x422D", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4" + }, "processor": "atmega32a", "bootloader": "bootloadhid", "layouts": { diff --git a/keyboards/deng/djam/config.h b/keyboards/deng/djam/config.h index 7aab2373c6..8193eae02f 100644 --- a/keyboards/deng/djam/config.h +++ b/keyboards/deng/djam/config.h @@ -20,9 +20,6 @@ #define MATRIX_COL_PINS { C7, C6, B6, B5, B4, D7, D6, D4 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_LEVELS 5 - #ifdef RGB_MATRIX_ENABLE #define RGB_DI_PIN D5 #define RGB_MATRIX_LED_COUNT 31 diff --git a/keyboards/deng/djam/info.json b/keyboards/deng/djam/info.json index dcf209a6d0..abf18685b2 100644 --- a/keyboards/deng/djam/info.json +++ b/keyboards/deng/djam/info.json @@ -8,6 +8,10 @@ "pid": "0x7325", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/deng/djam/rules.mk b/keyboards/deng/djam/rules.mk index 0473525d1e..42a6d2bd1b 100644 --- a/keyboards/deng/djam/rules.mk +++ b/keyboards/deng/djam/rules.mk @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug COMMAND_ENABLE = no # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BACKLIGHT_DRIVER = pwm RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output RGB_MATRIX_ENABLE = yes diff --git a/keyboards/deng/thirty/config.h b/keyboards/deng/thirty/config.h index a3462809c1..e80b0d97a4 100644 --- a/keyboards/deng/thirty/config.h +++ b/keyboards/deng/thirty/config.h @@ -21,12 +21,6 @@ #define MATRIX_COL_PINS { B13, B14, B3, A4, A6 } #define DIODE_DIRECTION COL2ROW -/* Backlight */ -#ifdef BACKLIGHT_ENABLE -#define BACKLIGHT_PIN B11 -#define BACKLIGHT_LEVELS 5 -#endif - /* RGB Matrix */ #ifdef RGB_MATRIX_ENABLE #define RGB_DI_PIN B12 diff --git a/keyboards/deng/thirty/info.json b/keyboards/deng/thirty/info.json index d17b1d41dd..0fda78c76d 100644 --- a/keyboards/deng/thirty/info.json +++ b/keyboards/deng/thirty/info.json @@ -9,6 +9,9 @@ "device_version": "0.0.1" }, "backlight": { + "driver": "software", + "pin": "B11", + "levels": 5, "on_state": 0 }, "processor": "STM32F103", diff --git a/keyboards/deng/thirty/rules.mk b/keyboards/deng/thirty/rules.mk index 90bd050f7c..91837f3d45 100644 --- a/keyboards/deng/thirty/rules.mk +++ b/keyboards/deng/thirty/rules.mk @@ -12,7 +12,6 @@ CONSOLE_ENABLE = no # Console for debug COMMAND_ENABLE = no # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BACKLIGHT_DRIVER = software RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output RGB_MATRIX_ENABLE = yes diff --git a/keyboards/do60/config.h b/keyboards/do60/config.h index de8ef988e4..969d620d93 100644 --- a/keyboards/do60/config.h +++ b/keyboards/do60/config.h @@ -31,10 +31,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 } #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B7, F4, B4, D7, D6, B3, B0 } -/* Backlight Setup */ -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_LEVELS 6 - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/do60/info.json b/keyboards/do60/info.json index 1f866dcc1b..86d02df61e 100644 --- a/keyboards/do60/info.json +++ b/keyboards/do60/info.json @@ -8,6 +8,10 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "pin": "B5", + "levels": 6 + }, "indicators": { "caps_lock": "B2", "on_state": 0 diff --git a/keyboards/donutcables/budget96/config.h b/keyboards/donutcables/budget96/config.h index 3efc985bc7..d5bf7a17cb 100644 --- a/keyboards/donutcables/budget96/config.h +++ b/keyboards/donutcables/budget96/config.h @@ -25,8 +25,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 - #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/donutcables/budget96/info.json b/keyboards/donutcables/budget96/info.json index 13d8e8f831..a8dd3fc32a 100644 --- a/keyboards/donutcables/budget96/info.json +++ b/keyboards/donutcables/budget96/info.json @@ -8,6 +8,9 @@ "pid": "0xB960", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1", "num_lock": "D0" diff --git a/keyboards/doro67/multi/config.h b/keyboards/doro67/multi/config.h index e89198ead0..b91f26f044 100644 --- a/keyboards/doro67/multi/config.h +++ b/keyboards/doro67/multi/config.h @@ -15,6 +15,3 @@ #define MATRIX_COL_PINS { B0, B1, B2, B3, D4, D6, D7, B4, B5, B6, C6, C7, F5, F6, F7 } #define DIODE_DIRECTION COL2ROW - -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_LEVELS 7 diff --git a/keyboards/doro67/multi/info.json b/keyboards/doro67/multi/info.json index 12fb141666..b92267d5d9 100644 --- a/keyboards/doro67/multi/info.json +++ b/keyboards/doro67/multi/info.json @@ -8,6 +8,10 @@ "pid": "0x4D4C", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 7 + }, "indicators": { "caps_lock": "E6", "on_state": 0 diff --git a/keyboards/dtisaac/dtisaac01/config.h b/keyboards/dtisaac/dtisaac01/config.h index a31aeafdff..aa0f99f104 100644 --- a/keyboards/dtisaac/dtisaac01/config.h +++ b/keyboards/dtisaac/dtisaac01/config.h @@ -33,6 +33,3 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION ROW2COL - -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_BREATHING diff --git a/keyboards/dtisaac/dtisaac01/info.json b/keyboards/dtisaac/dtisaac01/info.json index 4e06790399..bbbc5ede5d 100644 --- a/keyboards/dtisaac/dtisaac01/info.json +++ b/keyboards/dtisaac/dtisaac01/info.json @@ -8,6 +8,10 @@ "pid": "0x4973", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "breathing": true + }, "indicators": { "caps_lock": "D3", "scroll_lock": "D5", diff --git a/keyboards/duck/eagle_viper/v2/info.json b/keyboards/duck/eagle_viper/v2/info.json index 614e75c4c9..24821c46e1 100644 --- a/keyboards/duck/eagle_viper/v2/info.json +++ b/keyboards/duck/eagle_viper/v2/info.json @@ -6,6 +6,9 @@ "pid": "0x4556", "device_version": "0.0.2" }, + "backlight": { + "driver": "custom" + }, "bootmagic": { "matrix": [4, 10] }, diff --git a/keyboards/duck/eagle_viper/v2/rules.mk b/keyboards/duck/eagle_viper/v2/rules.mk index ffea1dd731..a2b82ea590 100644 --- a/keyboards/duck/eagle_viper/v2/rules.mk +++ b/keyboards/duck/eagle_viper/v2/rules.mk @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug COMMAND_ENABLE = yes # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BACKLIGHT_DRIVER = custom RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output diff --git a/keyboards/duck/jetfire/config.h b/keyboards/duck/jetfire/config.h index 874997ab56..22a5b17901 100644 --- a/keyboards/duck/jetfire/config.h +++ b/keyboards/duck/jetfire/config.h @@ -25,8 +25,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_LEVELS 1 - #define RGB_DI_PIN D6 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/duck/jetfire/info.json b/keyboards/duck/jetfire/info.json index 3fc7b030ed..50118f3c8e 100644 --- a/keyboards/duck/jetfire/info.json +++ b/keyboards/duck/jetfire/info.json @@ -8,6 +8,10 @@ "pid": "0x4A46", "device_version": "0.0.1" }, + "backlight": { + "driver": "custom", + "levels": 1 + }, "bootmagic": { "matrix": [5, 10] }, diff --git a/keyboards/duck/jetfire/rules.mk b/keyboards/duck/jetfire/rules.mk index bfbd2aa6d7..2689836623 100644 --- a/keyboards/duck/jetfire/rules.mk +++ b/keyboards/duck/jetfire/rules.mk @@ -8,7 +8,6 @@ CONSOLE_ENABLE = yes # Console for debug COMMAND_ENABLE = yes # Commands for debug and configuration NKRO_ENABLE = no # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BACKLIGHT_DRIVER = custom RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output diff --git a/keyboards/duck/lightsaver/config.h b/keyboards/duck/lightsaver/config.h index 1fa9980c8c..6fcad40634 100644 --- a/keyboards/duck/lightsaver/config.h +++ b/keyboards/duck/lightsaver/config.h @@ -24,8 +24,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_LEVELS 1 - #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/duck/lightsaver/info.json b/keyboards/duck/lightsaver/info.json index 3f434820be..b24ac43b0d 100644 --- a/keyboards/duck/lightsaver/info.json +++ b/keyboards/duck/lightsaver/info.json @@ -8,6 +8,10 @@ "pid": "0x4C53", "device_version": "0.0.3" }, + "backlight": { + "driver": "custom", + "levels": 1 + }, "bootmagic": { "matrix": [5, 10] }, diff --git a/keyboards/duck/lightsaver/rules.mk b/keyboards/duck/lightsaver/rules.mk index 044fb77f5a..2014cb4611 100644 --- a/keyboards/duck/lightsaver/rules.mk +++ b/keyboards/duck/lightsaver/rules.mk @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug COMMAND_ENABLE = yes # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BACKLIGHT_DRIVER = custom AUDIO_ENABLE = no # Audio output RGBLIGHT_ENABLE = yes diff --git a/keyboards/duck/octagon/v1/config.h b/keyboards/duck/octagon/v1/config.h index c19aa1f22d..a11234e6b3 100644 --- a/keyboards/duck/octagon/v1/config.h +++ b/keyboards/duck/octagon/v1/config.h @@ -24,8 +24,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_LEVELS 1 - #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/duck/octagon/v1/info.json b/keyboards/duck/octagon/v1/info.json index 8eaf8fb0d9..f30d533062 100644 --- a/keyboards/duck/octagon/v1/info.json +++ b/keyboards/duck/octagon/v1/info.json @@ -8,6 +8,10 @@ "pid": "0x4F31", "device_version": "0.0.1" }, + "backlight": { + "driver": "custom", + "levels": 1 + }, "bootmagic": { "matrix": [5, 10] }, diff --git a/keyboards/duck/octagon/v1/rules.mk b/keyboards/duck/octagon/v1/rules.mk index 8d7b854ec0..5d79f0af09 100644 --- a/keyboards/duck/octagon/v1/rules.mk +++ b/keyboards/duck/octagon/v1/rules.mk @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug COMMAND_ENABLE = yes # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BACKLIGHT_DRIVER = custom AUDIO_ENABLE = no # Audio output RGBLIGHT_ENABLE = yes diff --git a/keyboards/duck/octagon/v2/config.h b/keyboards/duck/octagon/v2/config.h index d1f2971077..7fca9239be 100644 --- a/keyboards/duck/octagon/v2/config.h +++ b/keyboards/duck/octagon/v2/config.h @@ -24,8 +24,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_LEVELS 1 - #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/duck/octagon/v2/info.json b/keyboards/duck/octagon/v2/info.json index 220196e9fc..90b7489737 100644 --- a/keyboards/duck/octagon/v2/info.json +++ b/keyboards/duck/octagon/v2/info.json @@ -8,6 +8,10 @@ "pid": "0x4F32", "device_version": "0.0.2" }, + "backlight": { + "driver": "custom", + "levels": 1 + }, "bootmagic": { "matrix": [5, 10] }, diff --git a/keyboards/duck/octagon/v2/rules.mk b/keyboards/duck/octagon/v2/rules.mk index dc181b289d..5e50c2ff8e 100644 --- a/keyboards/duck/octagon/v2/rules.mk +++ b/keyboards/duck/octagon/v2/rules.mk @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug COMMAND_ENABLE = yes # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BACKLIGHT_DRIVER = custom AUDIO_ENABLE = no # Audio output RGBLIGHT_ENABLE = yes diff --git a/keyboards/duck/orion/v3/config.h b/keyboards/duck/orion/v3/config.h index 6dde204a3b..eda7aec4ec 100644 --- a/keyboards/duck/orion/v3/config.h +++ b/keyboards/duck/orion/v3/config.h @@ -24,8 +24,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_LEVELS 10 - #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/duck/orion/v3/info.json b/keyboards/duck/orion/v3/info.json index 7c4c34281c..137c731242 100644 --- a/keyboards/duck/orion/v3/info.json +++ b/keyboards/duck/orion/v3/info.json @@ -9,7 +9,9 @@ "device_version": "0.0.2" }, "backlight": { - "pins": ["B1", "B2", "B3", "E6"] + "driver": "custom", + "pins": ["B1", "B2", "B3", "E6"], + "levels": 10 }, "bootmagic": { "matrix": [4, 10] diff --git a/keyboards/duck/orion/v3/rules.mk b/keyboards/duck/orion/v3/rules.mk index d29d166083..49bc32f39b 100644 --- a/keyboards/duck/orion/v3/rules.mk +++ b/keyboards/duck/orion/v3/rules.mk @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug COMMAND_ENABLE = yes # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BACKLIGHT_DRIVER = custom AUDIO_ENABLE = no # Audio output RGBLIGHT_ENABLE = yes diff --git a/keyboards/dz60/config.h b/keyboards/dz60/config.h index 06fea4a957..fdac282e3b 100644 --- a/keyboards/dz60/config.h +++ b/keyboards/dz60/config.h @@ -17,9 +17,6 @@ /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 5 - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN # define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/dz60/info.json b/keyboards/dz60/info.json index 31df22895b..37ba71fcdf 100644 --- a/keyboards/dz60/info.json +++ b/keyboards/dz60/info.json @@ -8,6 +8,10 @@ "pid": "0x2260", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 5 + }, "indicators": { "caps_lock": "B2", "on_state": 0 diff --git a/keyboards/dztech/bocc/config.h b/keyboards/dztech/bocc/config.h index 1f6a6d295c..e93336086c 100644 --- a/keyboards/dztech/bocc/config.h +++ b/keyboards/dztech/bocc/config.h @@ -32,9 +32,6 @@ /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_LEVELS 5 - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN # define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/dztech/bocc/info.json b/keyboards/dztech/bocc/info.json index 638df11bdb..87073419ab 100644 --- a/keyboards/dztech/bocc/info.json +++ b/keyboards/dztech/bocc/info.json @@ -8,6 +8,10 @@ "pid": "0x1010", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/dztech/dz96/config.h b/keyboards/dztech/dz96/config.h index 55b8d12b08..b22fdf5013 100644 --- a/keyboards/dztech/dz96/config.h +++ b/keyboards/dztech/dz96/config.h @@ -23,6 +23,3 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW - -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 5 diff --git a/keyboards/dztech/dz96/info.json b/keyboards/dztech/dz96/info.json index acfe51859e..1119a8f2ab 100644 --- a/keyboards/dztech/dz96/info.json +++ b/keyboards/dztech/dz96/info.json @@ -8,6 +8,10 @@ "pid": "0xDB96", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 5 + }, "indicators": { "caps_lock": "B2", "num_lock": "B0", diff --git a/keyboards/ebastler/isometria_75/rev1/config.h b/keyboards/ebastler/isometria_75/rev1/config.h index 42cbedbd01..4aa733a06a 100644 --- a/keyboards/ebastler/isometria_75/rev1/config.h +++ b/keyboards/ebastler/isometria_75/rev1/config.h @@ -25,12 +25,9 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW /* Backlight */ -#define BACKLIGHT_PIN A9 -#define BACKLIGHT_BREATHING #define BACKLIGHT_PWM_DRIVER PWMD1 #define BACKLIGHT_PWM_CHANNEL 2 #define BACKLIGHT_PAL_MODE 2 -#define BACKLIGHT_LEVELS 5 #define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it. /* Underglow */ diff --git a/keyboards/ebastler/isometria_75/rev1/info.json b/keyboards/ebastler/isometria_75/rev1/info.json index 37898f4846..a2a8c4e1d5 100644 --- a/keyboards/ebastler/isometria_75/rev1/info.json +++ b/keyboards/ebastler/isometria_75/rev1/info.json @@ -8,6 +8,11 @@ "pid": "0x1337", "device_version": "0.0.1" }, + "backlight": { + "pin": "A9", + "levels": 5, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/efreet/config.h b/keyboards/efreet/config.h index 9552da2f6e..437059ef0a 100644 --- a/keyboards/efreet/config.h +++ b/keyboards/efreet/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D0 -#define BACKLIGHT_BREATHING - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/efreet/info.json b/keyboards/efreet/info.json index 4a62e67421..8a971a9c71 100644 --- a/keyboards/efreet/info.json +++ b/keyboards/efreet/info.json @@ -8,6 +8,10 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "backlight": { + "pin": "D0", + "breathing": true + }, "processor": "atmega32u2", "bootloader": "atmel-dfu", "community_layouts": ["ortho_4x12", "planck_mit"], diff --git a/keyboards/era/era65/rules.mk b/keyboards/era/era65/rules.mk index 2b03e47e93..e69de29bb2 100644 --- a/keyboards/era/era65/rules.mk +++ b/keyboards/era/era65/rules.mk @@ -1 +0,0 @@ -BACKLIGHT_DRIVER = pwm \ No newline at end of file diff --git a/keyboards/ergotravel/rev1/config.h b/keyboards/ergotravel/rev1/config.h index e889857165..a24148772b 100644 --- a/keyboards/ergotravel/rev1/config.h +++ b/keyboards/ergotravel/rev1/config.h @@ -29,9 +29,6 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_LEVELS 5 - /* ws2812 RGB LED */ #define RGB_DI_PIN D3 diff --git a/keyboards/eve/meteor/config.h b/keyboards/eve/meteor/config.h index f5d2d78e87..7ccb9b93df 100644 --- a/keyboards/eve/meteor/config.h +++ b/keyboards/eve/meteor/config.h @@ -23,5 +23,3 @@ along with this program. If not, see . #define MATRIX_COL_PINS { C2, C3, C4, C5, C6, C7, A7, A6, A5, A4, A3, A2, A1, A0, D7} #define DIODE_DIRECTION COL2ROW - -#define BACKLIGHT_PIN D4 diff --git a/keyboards/eve/meteor/info.json b/keyboards/eve/meteor/info.json index ec37d1403e..eff9b8bc4f 100644 --- a/keyboards/eve/meteor/info.json +++ b/keyboards/eve/meteor/info.json @@ -8,6 +8,9 @@ "pid": "0x4D54", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1" }, diff --git a/keyboards/evil80/config.h b/keyboards/evil80/config.h index 2242ca4176..f4a0747037 100644 --- a/keyboards/evil80/config.h +++ b/keyboards/evil80/config.h @@ -8,9 +8,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_BREATHING - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/evil80/info.json b/keyboards/evil80/info.json index 1d11e37ae6..1240ab5d4b 100644 --- a/keyboards/evil80/info.json +++ b/keyboards/evil80/info.json @@ -8,6 +8,10 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "pin": "B5", + "breathing": true + }, "indicators": { "caps_lock": "B6", "scroll_lock": "B7" diff --git a/keyboards/evyd13/atom47/rev2/config.h b/keyboards/evyd13/atom47/rev2/config.h index b057bbdae6..1098e61379 100644 --- a/keyboards/evyd13/atom47/rev2/config.h +++ b/keyboards/evyd13/atom47/rev2/config.h @@ -32,11 +32,5 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -/* Backlight configuration - */ -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 4 - #define RGB_DI_PIN D0 // The pin the LED strip is connected to #define RGBLED_NUM 1 // Number of LEDs in your strip diff --git a/keyboards/evyd13/atom47/rev2/info.json b/keyboards/evyd13/atom47/rev2/info.json index 660d92a9a2..9a7ac37f30 100644 --- a/keyboards/evyd13/atom47/rev2/info.json +++ b/keyboards/evyd13/atom47/rev2/info.json @@ -8,6 +8,11 @@ "pid": "0x8E66", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 4, + "breathing": true + }, "qmk_lufa_bootloader": { "esc_input": "B7", "esc_output": "D7", diff --git a/keyboards/evyd13/atom47/rev3/config.h b/keyboards/evyd13/atom47/rev3/config.h index f7cdbe79ba..5cee6379ff 100644 --- a/keyboards/evyd13/atom47/rev3/config.h +++ b/keyboards/evyd13/atom47/rev3/config.h @@ -27,12 +27,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* Backlight configuration - */ -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 5 - #define RGB_DI_PIN F5 // The pin the LED strip is connected to #define RGBLED_NUM 6 // Number of LEDs in your strip #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/evyd13/atom47/rev3/info.json b/keyboards/evyd13/atom47/rev3/info.json index a6bcc95458..644a095eca 100644 --- a/keyboards/evyd13/atom47/rev3/info.json +++ b/keyboards/evyd13/atom47/rev3/info.json @@ -8,6 +8,11 @@ "pid": "0x0E6D", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 5, + "breathing": true + }, "qmk_lufa_bootloader": { "esc_input": "B0", "esc_output": "B7", diff --git a/keyboards/evyd13/wasdat_code/config.h b/keyboards/evyd13/wasdat_code/config.h index 98acf00d75..085965b814 100644 --- a/keyboards/evyd13/wasdat_code/config.h +++ b/keyboards/evyd13/wasdat_code/config.h @@ -38,10 +38,6 @@ along with this program. If not, see . #define SN74X138_ADDRESS_PINS { D2, D1, D0 } #define SN74X138_E3_PIN D4 -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/evyd13/wasdat_code/info.json b/keyboards/evyd13/wasdat_code/info.json index 94ab350e9c..ab15586484 100644 --- a/keyboards/evyd13/wasdat_code/info.json +++ b/keyboards/evyd13/wasdat_code/info.json @@ -8,6 +8,11 @@ "pid": "0xB00E", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5, + "breathing": true + }, "qmk_lufa_bootloader": { "esc_input": "F0", "esc_output": "E6", diff --git a/keyboards/exclusive/e65/config.h b/keyboards/exclusive/e65/config.h index 7ef569f8c2..ef92b06249 100644 --- a/keyboards/exclusive/e65/config.h +++ b/keyboards/exclusive/e65/config.h @@ -26,11 +26,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#ifdef BACKLIGHT_PIN -# define BACKLIGHT_LEVELS 6 -#endif - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/exclusive/e65/info.json b/keyboards/exclusive/e65/info.json index cee3259107..436faa5f3d 100644 --- a/keyboards/exclusive/e65/info.json +++ b/keyboards/exclusive/e65/info.json @@ -8,6 +8,10 @@ "pid": "0xE605", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 6 + }, "indicators": { "caps_lock": "B6", "on_state": 0 diff --git a/keyboards/exclusive/e6v2/le/config.h b/keyboards/exclusive/e6v2/le/config.h index c560e06a75..65bd782b7e 100644 --- a/keyboards/exclusive/e6v2/le/config.h +++ b/keyboards/exclusive/e6v2/le/config.h @@ -40,10 +40,4 @@ along with this program. If not, see . #define RGBLIGHT_VAL_STEP 12 #endif -#define BACKLIGHT_PIN B6 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 2 -#define BACKLIGHT_BREAHTING -#endif - #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/exclusive/e6v2/le/info.json b/keyboards/exclusive/e6v2/le/info.json index ac3a613736..10ad0c9383 100644 --- a/keyboards/exclusive/e6v2/le/info.json +++ b/keyboards/exclusive/e6v2/le/info.json @@ -9,6 +9,9 @@ "device_version": "0.0.2" }, "backlight": { + "pin": "B6", + "levels": 2, + "breathing": true, "breathing_period": 3 }, "indicators": { diff --git a/keyboards/exclusive/e6v2/le_bmc/config.h b/keyboards/exclusive/e6v2/le_bmc/config.h index 29588aefe9..c9d14bff4d 100644 --- a/keyboards/exclusive/e6v2/le_bmc/config.h +++ b/keyboards/exclusive/e6v2/le_bmc/config.h @@ -33,8 +33,6 @@ along with this program. If not, see . #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, C2, C3, C4, C5, D7 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 - #define RGBLED_NUM 6 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/exclusive/e6v2/le_bmc/info.json b/keyboards/exclusive/e6v2/le_bmc/info.json index 5b34e2f413..51afd7c5ad 100644 --- a/keyboards/exclusive/e6v2/le_bmc/info.json +++ b/keyboards/exclusive/e6v2/le_bmc/info.json @@ -7,6 +7,9 @@ "pid": "0xE62D", "device_version": "0.0.1" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1" }, diff --git a/keyboards/exclusive/e6v2/oe/config.h b/keyboards/exclusive/e6v2/oe/config.h index b43acd5a93..88ec4faa04 100644 --- a/keyboards/exclusive/e6v2/oe/config.h +++ b/keyboards/exclusive/e6v2/oe/config.h @@ -40,10 +40,4 @@ along with this program. If not, see . #define RGBLIGHT_VAL_STEP 12 #endif -#define BACKLIGHT_PIN B6 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 5 -#define BACKLIGHT_BREAHTING -#endif - #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/exclusive/e6v2/oe/info.json b/keyboards/exclusive/e6v2/oe/info.json index 70e57d3678..bfa408c556 100644 --- a/keyboards/exclusive/e6v2/oe/info.json +++ b/keyboards/exclusive/e6v2/oe/info.json @@ -9,6 +9,9 @@ "device_version": "0.0.2" }, "backlight": { + "pin": "B6", + "levels": 5, + "breathing": true, "breathing_period": 3 }, "processor": "atmega32u4", diff --git a/keyboards/exclusive/e6v2/oe_bmc/config.h b/keyboards/exclusive/e6v2/oe_bmc/config.h index 29588aefe9..c9d14bff4d 100644 --- a/keyboards/exclusive/e6v2/oe_bmc/config.h +++ b/keyboards/exclusive/e6v2/oe_bmc/config.h @@ -33,8 +33,6 @@ along with this program. If not, see . #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, C2, C3, C4, C5, D7 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 - #define RGBLED_NUM 6 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/exclusive/e6v2/oe_bmc/info.json b/keyboards/exclusive/e6v2/oe_bmc/info.json index c5719f48fd..6716f99c98 100644 --- a/keyboards/exclusive/e6v2/oe_bmc/info.json +++ b/keyboards/exclusive/e6v2/oe_bmc/info.json @@ -7,6 +7,9 @@ "pid": "0xE62B", "device_version": "0.0.1" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1" }, diff --git a/keyboards/exclusive/e7v1/config.h b/keyboards/exclusive/e7v1/config.h index ba94a214a3..46944506a1 100644 --- a/keyboards/exclusive/e7v1/config.h +++ b/keyboards/exclusive/e7v1/config.h @@ -8,11 +8,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 6 -#endif - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/exclusive/e7v1/info.json b/keyboards/exclusive/e7v1/info.json index 88a7563b47..d014e6d47c 100644 --- a/keyboards/exclusive/e7v1/info.json +++ b/keyboards/exclusive/e7v1/info.json @@ -8,6 +8,10 @@ "pid": "0xE701", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 6 + }, "indicators": { "caps_lock": "F0" }, diff --git a/keyboards/exclusive/e7v1se/config.h b/keyboards/exclusive/e7v1se/config.h index 0d83c02c6f..3da5cb8935 100644 --- a/keyboards/exclusive/e7v1se/config.h +++ b/keyboards/exclusive/e7v1se/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLED_NUM 16 diff --git a/keyboards/exclusive/e7v1se/info.json b/keyboards/exclusive/e7v1se/info.json index 92acc0c8b3..9994741f24 100644 --- a/keyboards/exclusive/e7v1se/info.json +++ b/keyboards/exclusive/e7v1se/info.json @@ -8,6 +8,10 @@ "pid": "0x7051", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/exclusive/e85/config.h b/keyboards/exclusive/e85/config.h index 651b210fd6..8d01fe2faf 100644 --- a/keyboards/exclusive/e85/config.h +++ b/keyboards/exclusive/e85/config.h @@ -36,10 +36,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 6 - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLED_NUM 18 diff --git a/keyboards/exclusive/e85/hotswap/info.json b/keyboards/exclusive/e85/hotswap/info.json index cd1d07fed5..0065b2b84c 100644 --- a/keyboards/exclusive/e85/hotswap/info.json +++ b/keyboards/exclusive/e85/hotswap/info.json @@ -8,6 +8,11 @@ "pid": "0xE851", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 6, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/exclusive/e85/soldered/info.json b/keyboards/exclusive/e85/soldered/info.json index 1ba7d22f73..cda9f689cd 100644 --- a/keyboards/exclusive/e85/soldered/info.json +++ b/keyboards/exclusive/e85/soldered/info.json @@ -8,6 +8,11 @@ "pid": "0xE852", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 6, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/exent/config.h b/keyboards/exent/config.h index 04b5306333..24941ea169 100644 --- a/keyboards/exent/config.h +++ b/keyboards/exent/config.h @@ -33,8 +33,6 @@ /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 - #define RGBLED_NUM 18 #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/exent/info.json b/keyboards/exent/info.json index 985da4fbc4..9aa80a4a11 100644 --- a/keyboards/exent/info.json +++ b/keyboards/exent/info.json @@ -8,6 +8,9 @@ "pid": "0x4558", "device_version": "0.0.1" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1", "num_lock": "D0", diff --git a/keyboards/eyeohdesigns/babyv/config.h b/keyboards/eyeohdesigns/babyv/config.h index 8af881e53b..6da702919e 100644 --- a/keyboards/eyeohdesigns/babyv/config.h +++ b/keyboards/eyeohdesigns/babyv/config.h @@ -24,8 +24,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 - #define RGB_DI_PIN B7 #define RGBLED_NUM 12 #define RGBLIGHT_HUE_STEP 8 diff --git a/keyboards/eyeohdesigns/babyv/info.json b/keyboards/eyeohdesigns/babyv/info.json index 59e7142adb..2a55943c78 100644 --- a/keyboards/eyeohdesigns/babyv/info.json +++ b/keyboards/eyeohdesigns/babyv/info.json @@ -8,6 +8,9 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/facew/config.h b/keyboards/facew/config.h index 264c8a552c..768b1b3551 100644 --- a/keyboards/facew/config.h +++ b/keyboards/facew/config.h @@ -25,8 +25,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 - #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/facew/info.json b/keyboards/facew/info.json index 28813e660c..6dcc9cb14d 100644 --- a/keyboards/facew/info.json +++ b/keyboards/facew/info.json @@ -8,6 +8,9 @@ "pid": "0x422D", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1", "num_lock": "D0" diff --git a/keyboards/flx/virgo/config.h b/keyboards/flx/virgo/config.h index 9ffcbc9422..f0c8fe016a 100644 --- a/keyboards/flx/virgo/config.h +++ b/keyboards/flx/virgo/config.h @@ -33,9 +33,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_LEVELS 5 - #define RGB_DI_PIN B3 #ifdef RGB_DI_PIN #define RGBLED_NUM 0 diff --git a/keyboards/flx/virgo/info.json b/keyboards/flx/virgo/info.json index c65f9c7c62..3464c98976 100644 --- a/keyboards/flx/virgo/info.json +++ b/keyboards/flx/virgo/info.json @@ -8,6 +8,10 @@ "pid": "0x5647", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/fortitude60/rev1/config.h b/keyboards/fortitude60/rev1/config.h index b698d527e6..8bd73e135e 100644 --- a/keyboards/fortitude60/rev1/config.h +++ b/keyboards/fortitude60/rev1/config.h @@ -30,11 +30,6 @@ along with this program. If not, see . #define SPLIT_USB_DETECT #define SPLIT_USB_TIMEOUT 500 -#ifdef BACKLIGHT_ENABLE - #define BACKLIGHT_PIN B5 - #define BACKLIGHT_LEVELS 9 -#endif - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/fortitude60/rev1/info.json b/keyboards/fortitude60/rev1/info.json index 295eee95bd..e2aa377324 100644 --- a/keyboards/fortitude60/rev1/info.json +++ b/keyboards/fortitude60/rev1/info.json @@ -8,6 +8,10 @@ "pid": "0x1156", "device_version": "1.0.0" }, + "backlight": { + "pin": "B5", + "levels": 9 + }, "split": { "soft_serial_pin": "D2" }, diff --git a/keyboards/foxlab/key65/hotswap/config.h b/keyboards/foxlab/key65/hotswap/config.h index 8a1462ac3b..1b8e4a8fd0 100644 --- a/keyboards/foxlab/key65/hotswap/config.h +++ b/keyboards/foxlab/key65/hotswap/config.h @@ -33,9 +33,6 @@ /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_LEVELS 5 - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLED_NUM 8 diff --git a/keyboards/foxlab/key65/hotswap/info.json b/keyboards/foxlab/key65/hotswap/info.json index 59e75d4538..712897a7f3 100644 --- a/keyboards/foxlab/key65/hotswap/info.json +++ b/keyboards/foxlab/key65/hotswap/info.json @@ -8,6 +8,10 @@ "pid": "0x0003", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5 + }, "indicators": { "scroll_lock": "E6", "on_state": 0 diff --git a/keyboards/foxlab/key65/universal/config.h b/keyboards/foxlab/key65/universal/config.h index 8a465f7567..159e0cff79 100644 --- a/keyboards/foxlab/key65/universal/config.h +++ b/keyboards/foxlab/key65/universal/config.h @@ -33,9 +33,6 @@ /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_LEVELS 5 - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLED_NUM 6 diff --git a/keyboards/foxlab/key65/universal/info.json b/keyboards/foxlab/key65/universal/info.json index 1f19916693..a886275ff5 100644 --- a/keyboards/foxlab/key65/universal/info.json +++ b/keyboards/foxlab/key65/universal/info.json @@ -8,6 +8,10 @@ "pid": "0x0004", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5 + }, "indicators": { "scroll_lock": "E6", "on_state": 0 diff --git a/keyboards/foxlab/leaf60/hotswap/config.h b/keyboards/foxlab/leaf60/hotswap/config.h index 72a597c85d..ee55e167d6 100644 --- a/keyboards/foxlab/leaf60/hotswap/config.h +++ b/keyboards/foxlab/leaf60/hotswap/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 4 - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLED_NUM 8 diff --git a/keyboards/foxlab/leaf60/hotswap/info.json b/keyboards/foxlab/leaf60/hotswap/info.json index 0425a64bfb..43f287ebca 100644 --- a/keyboards/foxlab/leaf60/hotswap/info.json +++ b/keyboards/foxlab/leaf60/hotswap/info.json @@ -8,6 +8,11 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 4, + "breathing": true + }, "indicators": { "caps_lock": "E6", "on_state": 0 diff --git a/keyboards/foxlab/leaf60/universal/config.h b/keyboards/foxlab/leaf60/universal/config.h index 67d4a4dae6..d856375a5d 100644 --- a/keyboards/foxlab/leaf60/universal/config.h +++ b/keyboards/foxlab/leaf60/universal/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLED_NUM 8 diff --git a/keyboards/foxlab/leaf60/universal/info.json b/keyboards/foxlab/leaf60/universal/info.json index d1abab386d..c782a6e50f 100644 --- a/keyboards/foxlab/leaf60/universal/info.json +++ b/keyboards/foxlab/leaf60/universal/info.json @@ -8,6 +8,10 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "indicators": { "caps_lock": "E6", "on_state": 0 diff --git a/keyboards/foxlab/time80/config.h b/keyboards/foxlab/time80/config.h index f6788c28bc..4c41ecf073 100644 --- a/keyboards/foxlab/time80/config.h +++ b/keyboards/foxlab/time80/config.h @@ -25,8 +25,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 - #define RGBLED_NUM 16 //#define RGBLIGHT_HUE_STEP 8 //#define RGBLIGHT_SAT_STEP 8 diff --git a/keyboards/foxlab/time80/info.json b/keyboards/foxlab/time80/info.json index 7b8d4603c6..f59a287de2 100644 --- a/keyboards/foxlab/time80/info.json +++ b/keyboards/foxlab/time80/info.json @@ -8,6 +8,9 @@ "pid": "0x0005", "device_version": "0.0.1" }, + "backlight": { + "pin": "D4" + }, "processor": "atmega32a", "bootloader": "bootloadhid", "layouts": { diff --git a/keyboards/foxlab/time_re/hotswap/config.h b/keyboards/foxlab/time_re/hotswap/config.h index 357f5accaf..9a8820cfd9 100644 --- a/keyboards/foxlab/time_re/hotswap/config.h +++ b/keyboards/foxlab/time_re/hotswap/config.h @@ -33,8 +33,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN diff --git a/keyboards/foxlab/time_re/hotswap/info.json b/keyboards/foxlab/time_re/hotswap/info.json index 35eeafd2e9..e955aaf4da 100644 --- a/keyboards/foxlab/time_re/hotswap/info.json +++ b/keyboards/foxlab/time_re/hotswap/info.json @@ -8,6 +8,9 @@ "pid": "0x0006", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "indicators": { "caps_lock": "E6", "on_state": 0 diff --git a/keyboards/foxlab/time_re/universal/config.h b/keyboards/foxlab/time_re/universal/config.h index 357f5accaf..9a8820cfd9 100644 --- a/keyboards/foxlab/time_re/universal/config.h +++ b/keyboards/foxlab/time_re/universal/config.h @@ -33,8 +33,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN diff --git a/keyboards/foxlab/time_re/universal/info.json b/keyboards/foxlab/time_re/universal/info.json index 35eeafd2e9..e955aaf4da 100644 --- a/keyboards/foxlab/time_re/universal/info.json +++ b/keyboards/foxlab/time_re/universal/info.json @@ -8,6 +8,9 @@ "pid": "0x0006", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "indicators": { "caps_lock": "E6", "on_state": 0 diff --git a/keyboards/ft/mars65/config.h b/keyboards/ft/mars65/config.h index 916b7bbbf7..53f33428df 100644 --- a/keyboards/ft/mars65/config.h +++ b/keyboards/ft/mars65/config.h @@ -19,8 +19,6 @@ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - #define RGB_DI_PIN E6 #ifdef RGB_DI_PIN #define RGBLED_NUM 24 diff --git a/keyboards/ft/mars65/info.json b/keyboards/ft/mars65/info.json index c8ce0864cc..1d1dd840d9 100644 --- a/keyboards/ft/mars65/info.json +++ b/keyboards/ft/mars65/info.json @@ -8,6 +8,9 @@ "pid": "0x422F", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["65_ansi_blocker", "65_ansi_blocker_split_bs", "65_iso_blocker", "65_iso_blocker_split_bs"], diff --git a/keyboards/ft/mars80/config.h b/keyboards/ft/mars80/config.h index 3b84e918ce..727718e396 100644 --- a/keyboards/ft/mars80/config.h +++ b/keyboards/ft/mars80/config.h @@ -26,8 +26,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 - #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/ft/mars80/info.json b/keyboards/ft/mars80/info.json index 1ad63c0aaa..ff451d8bcf 100644 --- a/keyboards/ft/mars80/info.json +++ b/keyboards/ft/mars80/info.json @@ -8,6 +8,9 @@ "pid": "0x422D", "device_version": "0.0.1" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1", "scroll_lock": "D6" diff --git a/keyboards/geonworks/frogmini/fms/config.h b/keyboards/geonworks/frogmini/fms/config.h index 04850ba9e8..ad9c202933 100644 --- a/keyboards/geonworks/frogmini/fms/config.h +++ b/keyboards/geonworks/frogmini/fms/config.h @@ -25,11 +25,9 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A10 #define BACKLIGHT_PWM_DRIVER PWMD1 #define BACKLIGHT_PWM_CHANNEL 3 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 20 #define I2C_DRIVER I2CD1 #define I2C_SCL_PIN B6 diff --git a/keyboards/geonworks/frogmini/fms/info.json b/keyboards/geonworks/frogmini/fms/info.json index 1442ceb8b4..9e51f9226f 100644 --- a/keyboards/geonworks/frogmini/fms/info.json +++ b/keyboards/geonworks/frogmini/fms/info.json @@ -8,6 +8,10 @@ "pid": "0x2D33", "device_version": "0.0.1" }, + "backlight": { + "pin": "A10", + "levels": 20 + }, "processor": "STM32F401", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/geonworks/frogmini/fms/rules.mk b/keyboards/geonworks/frogmini/fms/rules.mk index 82ca995e25..d847becc1a 100644 --- a/keyboards/geonworks/frogmini/fms/rules.mk +++ b/keyboards/geonworks/frogmini/fms/rules.mk @@ -13,7 +13,6 @@ LTO_ENABLE = no ENCODER_ENABLE = no BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BACKLIGHT_DRIVER = pwm EEPROM_DRIVER = i2c diff --git a/keyboards/gh60/satan/config.h b/keyboards/gh60/satan/config.h index ed2951e789..ce76bc8233 100644 --- a/keyboards/gh60/satan/config.h +++ b/keyboards/gh60/satan/config.h @@ -23,8 +23,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 } #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B7, D4, B1, B0, B5, B4, D7, D6, B3 } -#define BACKLIGHT_PIN B6 - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW @@ -33,10 +31,6 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -/* Backlight configuration - */ -#define BACKLIGHT_LEVELS 4 - /* Underglow configuration */ #define RGB_DI_PIN E2 diff --git a/keyboards/gh60/satan/info.json b/keyboards/gh60/satan/info.json index 3a64d5a6ff..88a09cb3f6 100644 --- a/keyboards/gh60/satan/info.json +++ b/keyboards/gh60/satan/info.json @@ -8,6 +8,10 @@ "pid": "0x0002", "device_version": "0.0.3" }, + "backlight": { + "pin": "B6", + "levels": 4 + }, "indicators": { "caps_lock": "B2", "on_state": 0 diff --git a/keyboards/gh60/v1p3/config.h b/keyboards/gh60/v1p3/config.h index ef67180b74..a7d7231e25 100644 --- a/keyboards/gh60/v1p3/config.h +++ b/keyboards/gh60/v1p3/config.h @@ -33,9 +33,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 15 - #define RGB_DI_PIN F0 #ifdef RGB_DI_PIN #define RGBLED_NUM 10 diff --git a/keyboards/gh60/v1p3/info.json b/keyboards/gh60/v1p3/info.json index 052446ea42..4806535fd0 100644 --- a/keyboards/gh60/v1p3/info.json +++ b/keyboards/gh60/v1p3/info.json @@ -8,6 +8,10 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 15 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["60_ansi", "60_ansi_arrow", "60_ansi_tsangan", "60_hhkb", "64_ansi"], diff --git a/keyboards/gon/nerd60/config.h b/keyboards/gon/nerd60/config.h index bcce53200f..c3762c6388 100644 --- a/keyboards/gon/nerd60/config.h +++ b/keyboards/gon/nerd60/config.h @@ -1,9 +1,5 @@ #pragma once - -/* backlight */ -#define BACKLIGHT_PIN B7 - /* matrix pins */ #define MATRIX_ROW_PINS { B4, E2, F4, F7, F1, F6, C6, F5, D7, C7 } #define MATRIX_COL_PINS { E6, B0, B1, B2, B3, F0, D0, D5 } diff --git a/keyboards/gon/nerd60/info.json b/keyboards/gon/nerd60/info.json index 1bd845764e..097d4d45c0 100644 --- a/keyboards/gon/nerd60/info.json +++ b/keyboards/gon/nerd60/info.json @@ -8,6 +8,9 @@ "pid": "0x3630", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "bootmagic": { "matrix": [8, 0] }, diff --git a/keyboards/gon/nerdtkl/config.h b/keyboards/gon/nerdtkl/config.h index 29bbb513a6..8db20474be 100644 --- a/keyboards/gon/nerdtkl/config.h +++ b/keyboards/gon/nerdtkl/config.h @@ -1,9 +1,5 @@ #pragma once - -/* backlight */ -#define BACKLIGHT_PIN B7 - /* matrix pins */ #define MATRIX_ROW_PINS { B4, E2, F4, F7, F1, F6, C6, F5, D7, C7 } #define MATRIX_COL_PINS { E6, B0, B1, B2, B3, F0, D0, D5, D1 } diff --git a/keyboards/gon/nerdtkl/info.json b/keyboards/gon/nerdtkl/info.json index 2381b25d7c..f9e38f0c89 100644 --- a/keyboards/gon/nerdtkl/info.json +++ b/keyboards/gon/nerdtkl/info.json @@ -8,6 +8,9 @@ "pid": "0x5244", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "bootmagic": { "matrix": [8, 0] }, diff --git a/keyboards/gray_studio/cod67/config.h b/keyboards/gray_studio/cod67/config.h index 6bb36a7bff..64b58911e3 100644 --- a/keyboards/gray_studio/cod67/config.h +++ b/keyboards/gray_studio/cod67/config.h @@ -34,11 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -/* D4 is not a PWM pin, but look at timer assisted software PWM if you want something other than toggle - * https://docs.qmk.fm/#/feature_backlight?id=timer-assisted-pwm-implementation - */ -#define BACKLIGHT_PIN D4 - #define RGB_DI_PIN B2 #ifdef RGB_DI_PIN #define RGBLED_NUM 20 diff --git a/keyboards/gray_studio/cod67/info.json b/keyboards/gray_studio/cod67/info.json index d9d50c9d27..2f8a81d08e 100644 --- a/keyboards/gray_studio/cod67/info.json +++ b/keyboards/gray_studio/cod67/info.json @@ -9,6 +9,7 @@ "device_version": "0.0.1" }, "backlight": { + "pin": "D4", "on_state": 0 }, "processor": "atmega32u4", diff --git a/keyboards/gray_studio/hb85/config.h b/keyboards/gray_studio/hb85/config.h index 200728d68f..20dbdb3f50 100644 --- a/keyboards/gray_studio/hb85/config.h +++ b/keyboards/gray_studio/hb85/config.h @@ -32,5 +32,3 @@ along with this program. If not, see . #define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE - -#define BACKLIGHT_PIN D4 diff --git a/keyboards/gray_studio/hb85/info.json b/keyboards/gray_studio/hb85/info.json index 84ce359d80..a8b7641a0b 100644 --- a/keyboards/gray_studio/hb85/info.json +++ b/keyboards/gray_studio/hb85/info.json @@ -8,6 +8,9 @@ "pid": "0x2000", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1", "num_lock": "D0", diff --git a/keyboards/gray_studio/space65/config.h b/keyboards/gray_studio/space65/config.h index f8b8370b2b..17a91e8e47 100644 --- a/keyboards/gray_studio/space65/config.h +++ b/keyboards/gray_studio/space65/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 5 - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLED_NUM 6 diff --git a/keyboards/gray_studio/space65/info.json b/keyboards/gray_studio/space65/info.json index 42af34add6..0689443af5 100644 --- a/keyboards/gray_studio/space65/info.json +++ b/keyboards/gray_studio/space65/info.json @@ -8,6 +8,11 @@ "pid": "0x3000", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5, + "breathing": true + }, "indicators": { "caps_lock": "E6", "on_state": 0 diff --git a/keyboards/handwired/aek64/config.h b/keyboards/handwired/aek64/config.h index 886b616c35..e847297296 100644 --- a/keyboards/handwired/aek64/config.h +++ b/keyboards/handwired/aek64/config.h @@ -32,7 +32,3 @@ along with this program. If not, see . /* Enable double tab */ #define TAPPING_TERM 175 - -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 5 diff --git a/keyboards/handwired/aek64/info.json b/keyboards/handwired/aek64/info.json index 42349632e2..471208ca41 100644 --- a/keyboards/handwired/aek64/info.json +++ b/keyboards/handwired/aek64/info.json @@ -8,6 +8,11 @@ "pid": "0x6464", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5, + "breathing": true + }, "processor": "at90usb1286", "bootloader": "halfkay", "layouts": { diff --git a/keyboards/handwired/arrow_pad/config.h b/keyboards/handwired/arrow_pad/config.h index 9506696646..6861311460 100644 --- a/keyboards/handwired/arrow_pad/config.h +++ b/keyboards/handwired/arrow_pad/config.h @@ -31,8 +31,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { F0, F1, F4, F5, F6, F7 } #define MATRIX_COL_PINS { B0, B1, B2, B3 } -#define BACKLIGHT_PIN B7 - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION ROW2COL diff --git a/keyboards/handwired/arrow_pad/info.json b/keyboards/handwired/arrow_pad/info.json index 9adac5b74d..8451637df5 100644 --- a/keyboards/handwired/arrow_pad/info.json +++ b/keyboards/handwired/arrow_pad/info.json @@ -8,6 +8,9 @@ "pid": "0x4096", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "halfkay", "layouts": { diff --git a/keyboards/handwired/bdn9_ble/config.h b/keyboards/handwired/bdn9_ble/config.h index 2dc8bb5327..3ed1c2ed30 100644 --- a/keyboards/handwired/bdn9_ble/config.h +++ b/keyboards/handwired/bdn9_ble/config.h @@ -17,9 +17,6 @@ along with this program. If not, see . #pragma once -#define BACKLIGHT_PIN F6 -#define BACKLIGHT_LEVELS 5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/handwired/bdn9_ble/info.json b/keyboards/handwired/bdn9_ble/info.json index 303e26ba05..4e218e1dd8 100644 --- a/keyboards/handwired/bdn9_ble/info.json +++ b/keyboards/handwired/bdn9_ble/info.json @@ -8,6 +8,10 @@ "pid": "0x1134", "device_version": "1.0.0" }, + "backlight": { + "pin": "F6", + "levels": 5 + }, "processor": "atmega32u4", "bootloader": "caterina", "matrix_pins": { diff --git a/keyboards/handwired/chiron/config.h b/keyboards/handwired/chiron/config.h index 578d13a472..d881fecbaa 100644 --- a/keyboards/handwired/chiron/config.h +++ b/keyboards/handwired/chiron/config.h @@ -34,7 +34,3 @@ along with this program. If not, see . #define RGB_DI_PIN D3 #define RGBLED_NUM 4 - -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 7 - diff --git a/keyboards/handwired/chiron/info.json b/keyboards/handwired/chiron/info.json index 6cf49275a7..b1590d8ded 100644 --- a/keyboards/handwired/chiron/info.json +++ b/keyboards/handwired/chiron/info.json @@ -8,6 +8,10 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 7 + }, "split": { "soft_serial_pin": "D0" }, diff --git a/keyboards/handwired/co60/rev1/config.h b/keyboards/handwired/co60/rev1/config.h index 4d58091ef8..c42a0d5b0c 100644 --- a/keyboards/handwired/co60/rev1/config.h +++ b/keyboards/handwired/co60/rev1/config.h @@ -34,11 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#ifdef __AVR__ -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING -#endif - /* * Feature disable options * These options are also useful to firmware size reduction. diff --git a/keyboards/handwired/co60/rev1/info.json b/keyboards/handwired/co60/rev1/info.json index d48f322f87..05a7a3a336 100644 --- a/keyboards/handwired/co60/rev1/info.json +++ b/keyboards/handwired/co60/rev1/info.json @@ -3,6 +3,10 @@ "usb": { "device_version": "1.0.0" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu" } diff --git a/keyboards/handwired/co60/rev6/config.h b/keyboards/handwired/co60/rev6/config.h index aa7079f247..6f938b06b7 100644 --- a/keyboards/handwired/co60/rev6/config.h +++ b/keyboards/handwired/co60/rev6/config.h @@ -29,9 +29,3 @@ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE - -/* Backlight configuration - * Backlight LEDs on B8 - */ -#define BACKLIGHT_PIN B8 -#define BACKLIGHT_BREATHING diff --git a/keyboards/handwired/co60/rev6/info.json b/keyboards/handwired/co60/rev6/info.json index 48bc08982b..a189309496 100644 --- a/keyboards/handwired/co60/rev6/info.json +++ b/keyboards/handwired/co60/rev6/info.json @@ -3,6 +3,10 @@ "usb": { "device_version": "6.0.0" }, + "backlight": { + "pin": "B8", + "breathing": true + }, "processor": "STM32F303", "bootloader": "stm32-dfu", "board": "QMK_PROTON_C" diff --git a/keyboards/handwired/co60/rev7/config.h b/keyboards/handwired/co60/rev7/config.h index 19ddb6be2c..6647698dfb 100644 --- a/keyboards/handwired/co60/rev7/config.h +++ b/keyboards/handwired/co60/rev7/config.h @@ -31,12 +31,6 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -/* Backlight configuration - * Backlight LEDs on B8 - */ -#define BACKLIGHT_PIN B8 -#define BACKLIGHT_BREATHING - /* RGB underglow configuration */ #define WS2812_SPI SPID1 #define WS2812_SPI_MOSI_PAL_MODE 5 diff --git a/keyboards/handwired/co60/rev7/info.json b/keyboards/handwired/co60/rev7/info.json index 1c2c38f0fe..67d54fb0fb 100644 --- a/keyboards/handwired/co60/rev7/info.json +++ b/keyboards/handwired/co60/rev7/info.json @@ -3,6 +3,10 @@ "usb": { "device_version": "7.0.0" }, + "backlight": { + "pin": "B8", + "breathing": true + }, "processor": "STM32F303", "bootloader": "stm32-dfu", "board": "QMK_PROTON_C" diff --git a/keyboards/handwired/hacked_motospeed/config.h b/keyboards/handwired/hacked_motospeed/config.h index e5c60800af..2f3caa2b2f 100644 --- a/keyboards/handwired/hacked_motospeed/config.h +++ b/keyboards/handwired/hacked_motospeed/config.h @@ -38,8 +38,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - /* define if matrix has ghost (lacks anti-ghosting diodes) */ #define MATRIX_HAS_GHOST diff --git a/keyboards/handwired/hacked_motospeed/info.json b/keyboards/handwired/hacked_motospeed/info.json index e0c8c42566..57b66e3bdf 100644 --- a/keyboards/handwired/hacked_motospeed/info.json +++ b/keyboards/handwired/hacked_motospeed/info.json @@ -8,6 +8,9 @@ "pid": "0x0690", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "processor": "at90usb1286", "bootloader": "halfkay", "layouts": { diff --git a/keyboards/handwired/hnah108/config.h b/keyboards/handwired/hnah108/config.h index 13367a2577..a942bd253d 100644 --- a/keyboards/handwired/hnah108/config.h +++ b/keyboards/handwired/hnah108/config.h @@ -37,10 +37,6 @@ along with this program. If not, see . #define ENCODERS_PAD_A { B2 } #define ENCODERS_PAD_B { B3 } -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 4 - #define RGB_DI_PIN E2 #define RGB_MATRIX_LED_COUNT 30 // RGB Matrix Animation modes. Explicitly enabled diff --git a/keyboards/handwired/hnah108/info.json b/keyboards/handwired/hnah108/info.json index 257fcf279c..c9dcc020cc 100644 --- a/keyboards/handwired/hnah108/info.json +++ b/keyboards/handwired/hnah108/info.json @@ -8,6 +8,11 @@ "pid": "0x0000", "device_version": "0.0.2" }, + "backlight": { + "pin": "B7", + "levels": 4, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/handwired/jot50/config.h b/keyboards/handwired/jot50/config.h index 7f9a8c5ab6..4cb70762fb 100644 --- a/keyboards/handwired/jot50/config.h +++ b/keyboards/handwired/jot50/config.h @@ -5,10 +5,6 @@ #define MATRIX_ROW_PINS { D7, E6, B4, B6, B2 } #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, D3, D2, D1, D0, D4, C6 } -/* leds */ -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_BREATHING - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/handwired/jot50/info.json b/keyboards/handwired/jot50/info.json index db08eef195..1bcf932946 100644 --- a/keyboards/handwired/jot50/info.json +++ b/keyboards/handwired/jot50/info.json @@ -8,6 +8,10 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "pin": "B5", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "caterina", "community_layouts": ["ortho_5x12"], diff --git a/keyboards/handwired/nozbe_macro/config.h b/keyboards/handwired/nozbe_macro/config.h index 7e54b2636f..66b0bf2b75 100644 --- a/keyboards/handwired/nozbe_macro/config.h +++ b/keyboards/handwired/nozbe_macro/config.h @@ -27,8 +27,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/handwired/nozbe_macro/info.json b/keyboards/handwired/nozbe_macro/info.json index 27b088958b..162b3a6803 100644 --- a/keyboards/handwired/nozbe_macro/info.json +++ b/keyboards/handwired/nozbe_macro/info.json @@ -8,6 +8,9 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "pin": "B5" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/handwired/pill60/config.h b/keyboards/handwired/pill60/config.h index 1544eb0e19..d374143192 100644 --- a/keyboards/handwired/pill60/config.h +++ b/keyboards/handwired/pill60/config.h @@ -18,11 +18,8 @@ #define DIODE_DIRECTION COL2ROW -/* Backlighting include */ -#define BACKLIGHT_PIN B14 #define BACKLIGHT_PWM_DRIVER PWMD5 #define BACKLIGHT_PWM_CHANNEL 1 -#define BACKLIGHT_LEVELS 5 /* Encoder */ #define ENCODERS_PAD_A \ diff --git a/keyboards/handwired/pill60/info.json b/keyboards/handwired/pill60/info.json index bc92cf7585..891196f87b 100644 --- a/keyboards/handwired/pill60/info.json +++ b/keyboards/handwired/pill60/info.json @@ -8,6 +8,11 @@ "pid": "0x5444", "device_version": "0.0.1" }, + "backlight": { + "driver": "software", + "pin": "B14", + "levels": 5 + }, "debounce": 1, "layouts": { "LAYOUT": { diff --git a/keyboards/handwired/pill60/rules.mk b/keyboards/handwired/pill60/rules.mk index 57681a7cda..f8bae6b6df 100644 --- a/keyboards/handwired/pill60/rules.mk +++ b/keyboards/handwired/pill60/rules.mk @@ -8,7 +8,6 @@ CONSOLE_ENABLE = yes # Console for debug COMMAND_ENABLE = yes # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BACKLIGHT_DRIVER = software RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output SLEEP_LED_ENABLE = yes diff --git a/keyboards/handwired/prime_exl/config.h b/keyboards/handwired/prime_exl/config.h index b08731f0a2..c4d0c8a8a2 100644 --- a/keyboards/handwired/prime_exl/config.h +++ b/keyboards/handwired/prime_exl/config.h @@ -25,9 +25,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_LEVELS 5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/handwired/prime_exl/info.json b/keyboards/handwired/prime_exl/info.json index d8949ec389..e1a3955d5d 100644 --- a/keyboards/handwired/prime_exl/info.json +++ b/keyboards/handwired/prime_exl/info.json @@ -8,6 +8,10 @@ "pid": "0x6578", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/handwired/riblee_f401/config.h b/keyboards/handwired/riblee_f401/config.h index 886c1f7fc7..2cee851436 100644 --- a/keyboards/handwired/riblee_f401/config.h +++ b/keyboards/handwired/riblee_f401/config.h @@ -22,9 +22,6 @@ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A0 -#define BACKLIGHT_LEVELS 5 - #define MOUSEKEY_INTERVAL 32 #define TAPPING_TERM 175 \ No newline at end of file diff --git a/keyboards/handwired/riblee_f401/info.json b/keyboards/handwired/riblee_f401/info.json index ec9c7631af..94cc2c35f2 100644 --- a/keyboards/handwired/riblee_f401/info.json +++ b/keyboards/handwired/riblee_f401/info.json @@ -8,6 +8,11 @@ "pid": "0x002A", "device_version": "0.0.1" }, + "backlight": { + "driver": "software", + "pin": "A0", + "levels": 5 + }, "processor": "STM32F401", "bootloader": "stm32-dfu", "board": "BLACKPILL_STM32_F401", diff --git a/keyboards/handwired/riblee_f401/rules.mk b/keyboards/handwired/riblee_f401/rules.mk index 6f9a638f4b..4c2d255a18 100644 --- a/keyboards/handwired/riblee_f401/rules.mk +++ b/keyboards/handwired/riblee_f401/rules.mk @@ -9,6 +9,5 @@ CONSOLE_ENABLE = no # Console for debug COMMAND_ENABLE = no # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BACKLIGHT_DRIVER = software RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output diff --git a/keyboards/handwired/steamvan/rev1/config.h b/keyboards/handwired/steamvan/rev1/config.h index a953888dc8..b52e370419 100644 --- a/keyboards/handwired/steamvan/rev1/config.h +++ b/keyboards/handwired/steamvan/rev1/config.h @@ -31,12 +31,6 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -/* Backlight configuration - * Backlight LEDs on B8 - */ -#define BACKLIGHT_PIN B8 -#define BACKLIGHT_BREATHING - #define WS2812_SPI SPID1 #define WS2812_SPI_MOSI_PAL_MODE 5 diff --git a/keyboards/handwired/steamvan/rev1/info.json b/keyboards/handwired/steamvan/rev1/info.json index ddadbcb97c..ed10d8005b 100644 --- a/keyboards/handwired/steamvan/rev1/info.json +++ b/keyboards/handwired/steamvan/rev1/info.json @@ -8,6 +8,10 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "backlight": { + "pin": "B8", + "breathing": true + }, "processor": "STM32F303", "bootloader": "stm32-dfu", "board": "QMK_PROTON_C", diff --git a/keyboards/handwired/tritium_numpad/config.h b/keyboards/handwired/tritium_numpad/config.h index 21e3abe491..5782f0e058 100644 --- a/keyboards/handwired/tritium_numpad/config.h +++ b/keyboards/handwired/tritium_numpad/config.h @@ -23,8 +23,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { D1, D0, D4, C6, D7, E6 } #define MATRIX_COL_PINS { F4, F6, B1, B2 } -#define BACKLIGHT_PIN B6 - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW @@ -33,10 +31,6 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -/* Backlight configuration - */ -#define BACKLIGHT_LEVELS 4 - /* Underlight configuration */ diff --git a/keyboards/handwired/tritium_numpad/info.json b/keyboards/handwired/tritium_numpad/info.json index 8dc967df96..b2ca85264e 100644 --- a/keyboards/handwired/tritium_numpad/info.json +++ b/keyboards/handwired/tritium_numpad/info.json @@ -8,6 +8,10 @@ "pid": "0x6060", "device_version": "0.0.3" }, + "backlight": { + "pin": "B6", + "levels": 4 + }, "indicators": { "num_lock": "D5", "on_state": 0 diff --git a/keyboards/heliar/wm1_hotswap/config.h b/keyboards/heliar/wm1_hotswap/config.h index e9ddfdcae8..410d9732ef 100644 --- a/keyboards/heliar/wm1_hotswap/config.h +++ b/keyboards/heliar/wm1_hotswap/config.h @@ -31,5 +31,3 @@ #define MATRIX_COL_PINS { D2, B0, B1, B2, D1, D0, C7, C6, B6, B5, B4, F4, F5, F6, F1 } #define DIODE_DIRECTION COL2ROW - -#define BACKLIGHT_PIN B7 diff --git a/keyboards/heliar/wm1_hotswap/info.json b/keyboards/heliar/wm1_hotswap/info.json index c6dda77a58..361325953d 100644 --- a/keyboards/heliar/wm1_hotswap/info.json +++ b/keyboards/heliar/wm1_hotswap/info.json @@ -8,6 +8,9 @@ "pid": "0xD070", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/hineybush/h10/config.h b/keyboards/hineybush/h10/config.h index 13cc31550e..2fc1c25eb6 100644 --- a/keyboards/hineybush/h10/config.h +++ b/keyboards/hineybush/h10/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/hineybush/h10/info.json b/keyboards/hineybush/h10/info.json index d62ce90c6a..e59ba7f3e4 100644 --- a/keyboards/hineybush/h10/info.json +++ b/keyboards/hineybush/h10/info.json @@ -8,6 +8,10 @@ "pid": "0xEBD8", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["ortho_6x4", "numpad_6x4"], diff --git a/keyboards/hineybush/h60/config.h b/keyboards/hineybush/h60/config.h index 231ad9cbc3..ca8f344793 100644 --- a/keyboards/hineybush/h60/config.h +++ b/keyboards/hineybush/h60/config.h @@ -24,9 +24,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_LEVELS 12 - #define RGB_DI_PIN B0 #ifdef RGB_DI_PIN #define RGBLED_NUM 16 diff --git a/keyboards/hineybush/h60/info.json b/keyboards/hineybush/h60/info.json index e4c62971b2..eece82f5f2 100644 --- a/keyboards/hineybush/h60/info.json +++ b/keyboards/hineybush/h60/info.json @@ -8,6 +8,10 @@ "pid": "0xEBBE", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 12 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_hhkb", "60_tsangan_hhkb"], diff --git a/keyboards/hineybush/h65/config.h b/keyboards/hineybush/h65/config.h index 33c411b32d..925f0498ca 100644 --- a/keyboards/hineybush/h65/config.h +++ b/keyboards/hineybush/h65/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN D2 #ifdef RGB_DI_PIN # define RGBLED_NUM 17 diff --git a/keyboards/hineybush/h65/info.json b/keyboards/hineybush/h65/info.json index 7a6658bf89..e1bebb560c 100644 --- a/keyboards/hineybush/h65/info.json +++ b/keyboards/hineybush/h65/info.json @@ -8,6 +8,10 @@ "pid": "0xE9E4", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "indicators": { "caps_lock": "E6" }, diff --git a/keyboards/hineybush/h65_hotswap/config.h b/keyboards/hineybush/h65_hotswap/config.h index 33c411b32d..925f0498ca 100644 --- a/keyboards/hineybush/h65_hotswap/config.h +++ b/keyboards/hineybush/h65_hotswap/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN D2 #ifdef RGB_DI_PIN # define RGBLED_NUM 17 diff --git a/keyboards/hineybush/h65_hotswap/info.json b/keyboards/hineybush/h65_hotswap/info.json index c69a6c1491..9eebb77345 100644 --- a/keyboards/hineybush/h65_hotswap/info.json +++ b/keyboards/hineybush/h65_hotswap/info.json @@ -8,6 +8,10 @@ "pid": "0xE8B7", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "indicators": { "caps_lock": "E6" }, diff --git a/keyboards/hineybush/h660s/config.h b/keyboards/hineybush/h660s/config.h index d96fbfe078..e8e84f1117 100644 --- a/keyboards/hineybush/h660s/config.h +++ b/keyboards/hineybush/h660s/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN B0 #ifdef RGB_DI_PIN # define RGBLED_NUM 16 diff --git a/keyboards/hineybush/h660s/info.json b/keyboards/hineybush/h660s/info.json index 880f31c923..d773651ee6 100644 --- a/keyboards/hineybush/h660s/info.json +++ b/keyboards/hineybush/h660s/info.json @@ -8,6 +8,10 @@ "pid": "0xEB1B", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/hineybush/h75_singa/config.h b/keyboards/hineybush/h75_singa/config.h index 0bfcc3e935..55b920a2b9 100644 --- a/keyboards/hineybush/h75_singa/config.h +++ b/keyboards/hineybush/h75_singa/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW - -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN B3 #ifdef RGB_DI_PIN #define RGBLED_NUM 22 diff --git a/keyboards/hineybush/h75_singa/info.json b/keyboards/hineybush/h75_singa/info.json index 6ca317e720..94e8d256fd 100644 --- a/keyboards/hineybush/h75_singa/info.json +++ b/keyboards/hineybush/h75_singa/info.json @@ -8,6 +8,10 @@ "pid": "0xEC9A", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/hineybush/h87a/config.h b/keyboards/hineybush/h87a/config.h index 217f69a296..f267f09020 100644 --- a/keyboards/hineybush/h87a/config.h +++ b/keyboards/hineybush/h87a/config.h @@ -33,8 +33,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/hineybush/h87a/info.json b/keyboards/hineybush/h87a/info.json index c24e1082dc..db1fd91d13 100644 --- a/keyboards/hineybush/h87a/info.json +++ b/keyboards/hineybush/h87a/info.json @@ -8,6 +8,9 @@ "pid": "0xECE9", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/hineybush/h88/config.h b/keyboards/hineybush/h88/config.h index 7d245ed294..9a75238cb3 100644 --- a/keyboards/hineybush/h88/config.h +++ b/keyboards/hineybush/h88/config.h @@ -34,8 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/hineybush/h88/info.json b/keyboards/hineybush/h88/info.json index c011d100ae..bd362c74b5 100644 --- a/keyboards/hineybush/h88/info.json +++ b/keyboards/hineybush/h88/info.json @@ -8,6 +8,9 @@ "pid": "0xECA2", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/hineybush/hbcp/config.h b/keyboards/hineybush/hbcp/config.h index 6fbd5c2580..e0eed7f414 100644 --- a/keyboards/hineybush/hbcp/config.h +++ b/keyboards/hineybush/hbcp/config.h @@ -38,9 +38,6 @@ along with this program. If not, see . //EITHERWAY is supported through a custom matrix //#define DIODE_DIRECTION EITHERWAY -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN B0 #ifdef RGB_DI_PIN #define RGBLED_NUM 27 diff --git a/keyboards/hineybush/hbcp/info.json b/keyboards/hineybush/hbcp/info.json index 8e1b8bbbcc..0e31272ed4 100644 --- a/keyboards/hineybush/hbcp/info.json +++ b/keyboards/hineybush/hbcp/info.json @@ -8,6 +8,10 @@ "pid": "0xECE8", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "at90usb1286", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/hineybush/physix/config.h b/keyboards/hineybush/physix/config.h index 8c62417078..ee7b90de23 100644 --- a/keyboards/hineybush/physix/config.h +++ b/keyboards/hineybush/physix/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN E6 #ifdef RGB_DI_PIN #define RGBLED_NUM 26 diff --git a/keyboards/hineybush/physix/info.json b/keyboards/hineybush/physix/info.json index 828e8fbb4f..b611de62e4 100644 --- a/keyboards/hineybush/physix/info.json +++ b/keyboards/hineybush/physix/info.json @@ -8,6 +8,10 @@ "pid": "0xEC81", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/hnahkb/freyr/config.h b/keyboards/hnahkb/freyr/config.h index 9a2833ebe7..1903af4ff1 100644 --- a/keyboards/hnahkb/freyr/config.h +++ b/keyboards/hnahkb/freyr/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_BREATHING - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/hnahkb/freyr/info.json b/keyboards/hnahkb/freyr/info.json index 547aabaade..7c946bd78a 100644 --- a/keyboards/hnahkb/freyr/info.json +++ b/keyboards/hnahkb/freyr/info.json @@ -8,6 +8,10 @@ "pid": "0x1895", "device_version": "0.0.2" }, + "backlight": { + "pin": "B6", + "breathing": true + }, "indicators": { "caps_lock": "B3", "scroll_lock": "B7", diff --git a/keyboards/hnahkb/stella/config.h b/keyboards/hnahkb/stella/config.h index 2a1ea8a0ff..34c3aafab4 100644 --- a/keyboards/hnahkb/stella/config.h +++ b/keyboards/hnahkb/stella/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN E2 #define RGBLED_NUM 14 diff --git a/keyboards/hnahkb/stella/info.json b/keyboards/hnahkb/stella/info.json index 59465e3be9..593dc47771 100644 --- a/keyboards/hnahkb/stella/info.json +++ b/keyboards/hnahkb/stella/info.json @@ -8,6 +8,10 @@ "pid": "0x0AB7", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "breathing": true + }, "indicators": { "caps_lock": "B3", "scroll_lock": "B7", diff --git a/keyboards/hnahkb/vn66/config.h b/keyboards/hnahkb/vn66/config.h index 780ed729a3..6388d79320 100644 --- a/keyboards/hnahkb/vn66/config.h +++ b/keyboards/hnahkb/vn66/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 4 -#define BACKLIGHT_BREATHING - #define ENCODERS_PAD_A { B0 } #define ENCODERS_PAD_B { B7 } #define ENCODER_RESOLUTION 2 diff --git a/keyboards/hnahkb/vn66/info.json b/keyboards/hnahkb/vn66/info.json index a85d29b644..6a3f12e65e 100644 --- a/keyboards/hnahkb/vn66/info.json +++ b/keyboards/hnahkb/vn66/info.json @@ -8,6 +8,11 @@ "pid": "0xCA2C", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 4, + "breathing": true + }, "indicators": { "caps_lock": "E6", "on_state": 0 diff --git a/keyboards/horrortroll/chinese_pcb/black_e65/config.h b/keyboards/horrortroll/chinese_pcb/black_e65/config.h index f058f17f82..9e040808d2 100644 --- a/keyboards/horrortroll/chinese_pcb/black_e65/config.h +++ b/keyboards/horrortroll/chinese_pcb/black_e65/config.h @@ -27,12 +27,6 @@ /* Forcing to use NKRO instead 6KRO */ #define FORCE_NKRO -#ifdef BACKLIGHT_ENABLE - /* Backlight config */ - #define BACKLIGHT_PIN B6 - #define BACKLIGHT_LEVELS 6 -#endif - #ifdef RGBLIGHT_ENABLE /* RGB Lighting config */ #define RGB_DI_PIN E2 diff --git a/keyboards/horrortroll/chinese_pcb/black_e65/info.json b/keyboards/horrortroll/chinese_pcb/black_e65/info.json index c1927fc3d1..24fae0c08a 100644 --- a/keyboards/horrortroll/chinese_pcb/black_e65/info.json +++ b/keyboards/horrortroll/chinese_pcb/black_e65/info.json @@ -8,6 +8,10 @@ "pid": "0x7000", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 6 + }, "indicators": { "caps_lock": "C7" }, diff --git a/keyboards/hotdox/config.h b/keyboards/hotdox/config.h index 284f7026e6..ee7b25cf6f 100644 --- a/keyboards/hotdox/config.h +++ b/keyboards/hotdox/config.h @@ -29,8 +29,6 @@ ) #endif -#define BACKLIGHT_PIN B7 - #define LED_BRIGHTNESS_LO 15 #define LED_BRIGHTNESS_HI 255 diff --git a/keyboards/hotdox/info.json b/keyboards/hotdox/info.json index 8a67473fb8..2e2352b7ee 100644 --- a/keyboards/hotdox/info.json +++ b/keyboards/hotdox/info.json @@ -7,6 +7,9 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["ergodox"], diff --git a/keyboards/idobao/id75/v1/config.h b/keyboards/idobao/id75/v1/config.h index 8185c4f3ff..54f0fc0c7c 100644 --- a/keyboards/idobao/id75/v1/config.h +++ b/keyboards/idobao/id75/v1/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN F0 #ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_ALTERNATING diff --git a/keyboards/idobao/id75/v1/info.json b/keyboards/idobao/id75/v1/info.json index 16285f6819..a192072701 100644 --- a/keyboards/idobao/id75/v1/info.json +++ b/keyboards/idobao/id75/v1/info.json @@ -8,6 +8,10 @@ "pid": "0x0075", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["ortho_5x15"], diff --git a/keyboards/idobao/id80/v2/config.h b/keyboards/idobao/id80/v2/config.h index 960dcbc9be..d3eb71dc92 100644 --- a/keyboards/idobao/id80/v2/config.h +++ b/keyboards/idobao/id80/v2/config.h @@ -48,11 +48,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#ifdef BACKLIGHT_ENABLE - #define BACKLIGHT_PIN B6 - #define BACKLIGHT_BREATHING -#endif - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLED_NUM 20 /* 16 underglow LEDs, 4 top LEDs */ diff --git a/keyboards/idobao/id80/v2/info.json b/keyboards/idobao/id80/v2/info.json index 0fd9def9de..89b64f3951 100644 --- a/keyboards/idobao/id80/v2/info.json +++ b/keyboards/idobao/id80/v2/info.json @@ -6,6 +6,10 @@ "vid": "0x6964", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "breathing": true + }, "indicators": { "caps_lock": "C7", "on_state": 0 diff --git a/keyboards/idobao/id87/v1/config.h b/keyboards/idobao/id87/v1/config.h index 2d3348e4e7..2f4ebd7744 100644 --- a/keyboards/idobao/id87/v1/config.h +++ b/keyboards/idobao/id87/v1/config.h @@ -33,8 +33,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN B6 - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_ALTERNATING diff --git a/keyboards/idobao/id87/v1/info.json b/keyboards/idobao/id87/v1/info.json index 6d96abf860..ca39654575 100644 --- a/keyboards/idobao/id87/v1/info.json +++ b/keyboards/idobao/id87/v1/info.json @@ -8,6 +8,9 @@ "pid": "0x0087", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6" + }, "indicators": { "caps_lock": "C7" }, diff --git a/keyboards/idobao/id96/config.h b/keyboards/idobao/id96/config.h index ab5d7513db..7f48dc7752 100644 --- a/keyboards/idobao/id96/config.h +++ b/keyboards/idobao/id96/config.h @@ -26,12 +26,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN B6 -#ifdef BACKLIGHT_PIN - #define BACKLIGHT_LEVELS 7 - #define BACKLIGHT_BREATHING -#endif - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/idobao/id96/info.json b/keyboards/idobao/id96/info.json index 2e09232dae..2046283d8e 100644 --- a/keyboards/idobao/id96/info.json +++ b/keyboards/idobao/id96/info.json @@ -8,6 +8,11 @@ "pid": "0x0096", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 7, + "breathing": true + }, "indicators": { "caps_lock": "C7", "num_lock": "C6", diff --git a/keyboards/idobao/montex/v1/config.h b/keyboards/idobao/montex/v1/config.h index 314d812937..5c612855fb 100644 --- a/keyboards/idobao/montex/v1/config.h +++ b/keyboards/idobao/montex/v1/config.h @@ -24,8 +24,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN B6 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/idobao/montex/v1/info.json b/keyboards/idobao/montex/v1/info.json index cd4ccc6256..725ddc0c4d 100644 --- a/keyboards/idobao/montex/v1/info.json +++ b/keyboards/idobao/montex/v1/info.json @@ -8,6 +8,9 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/illuminati/is0/config.h b/keyboards/illuminati/is0/config.h index 890452e54e..f7f6409149 100644 --- a/keyboards/illuminati/is0/config.h +++ b/keyboards/illuminati/is0/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/illuminati/is0/info.json b/keyboards/illuminati/is0/info.json index 04964b0955..1d201e3535 100644 --- a/keyboards/illuminati/is0/info.json +++ b/keyboards/illuminati/is0/info.json @@ -8,6 +8,11 @@ "pid": "0x0012", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5, + "breathing": true + }, "processor": "atmega32u2", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/ilumkb/primus75/config.h b/keyboards/ilumkb/primus75/config.h index 7516f571e1..5e8abdf2e0 100644 --- a/keyboards/ilumkb/primus75/config.h +++ b/keyboards/ilumkb/primus75/config.h @@ -23,11 +23,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 5 -#endif - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/ilumkb/primus75/info.json b/keyboards/ilumkb/primus75/info.json index ac5f0280a1..9b665dda74 100644 --- a/keyboards/ilumkb/primus75/info.json +++ b/keyboards/ilumkb/primus75/info.json @@ -8,6 +8,10 @@ "pid": "0x1014", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 5 + }, "indicators": { "caps_lock": "B2", "num_lock": "E2", diff --git a/keyboards/ilumkb/volcano660/config.h b/keyboards/ilumkb/volcano660/config.h index 4ca91111f1..c63b26264e 100644 --- a/keyboards/ilumkb/volcano660/config.h +++ b/keyboards/ilumkb/volcano660/config.h @@ -32,9 +32,6 @@ /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_LEVELS 5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/ilumkb/volcano660/info.json b/keyboards/ilumkb/volcano660/info.json index c6eb8bb5c5..9e5ec18b67 100644 --- a/keyboards/ilumkb/volcano660/info.json +++ b/keyboards/ilumkb/volcano660/info.json @@ -8,6 +8,10 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/iron180/config.h b/keyboards/iron180/config.h index 2e57ae8470..b47b2ccf50 100644 --- a/keyboards/iron180/config.h +++ b/keyboards/iron180/config.h @@ -21,12 +21,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { B9 , B8 , A15, B0 , A7 , A5 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 20 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/iron180/info.json b/keyboards/iron180/info.json index 3092b2021f..3c7798508f 100644 --- a/keyboards/iron180/info.json +++ b/keyboards/iron180/info.json @@ -8,6 +8,11 @@ "pid": "0x1180", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "levels": 20, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/iron180/rules.mk b/keyboards/iron180/rules.mk index 924e14bfe4..488d0df4b9 100644 --- a/keyboards/iron180/rules.mk +++ b/keyboards/iron180/rules.mk @@ -8,7 +8,6 @@ CONSOLE_ENABLE = yes # Console for debug COMMAND_ENABLE = yes # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BACKLIGHT_DRIVER = pwm RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output ENCODER_ENABLE = no diff --git a/keyboards/j80/config.h b/keyboards/j80/config.h index 0caaf513c3..47eac652c5 100644 --- a/keyboards/j80/config.h +++ b/keyboards/j80/config.h @@ -22,5 +22,3 @@ along with this program. If not, see . #define MATRIX_COL_PINS { A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, A0 } #define DIODE_DIRECTION COL2ROW - -#define BACKLIGHT_PIN D4 diff --git a/keyboards/j80/info.json b/keyboards/j80/info.json index a802143866..c57e9e3e2a 100644 --- a/keyboards/j80/info.json +++ b/keyboards/j80/info.json @@ -8,6 +8,9 @@ "pid": "0x422D", "device_version": "0.0.1" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1", "num_lock": "D0", diff --git a/keyboards/jacky_studio/bear_65/config.h b/keyboards/jacky_studio/bear_65/config.h index 2d9015cc4c..0caf635045 100644 --- a/keyboards/jacky_studio/bear_65/config.h +++ b/keyboards/jacky_studio/bear_65/config.h @@ -20,12 +20,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION ROW2COL -/* number of backlight levels */ -#define BACKLIGHT_PIN B6 - -/* Set 0 if debouncing isn't needed */ -#define DEBOUNCE 5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/jacky_studio/bear_65/rev1/info.json b/keyboards/jacky_studio/bear_65/rev1/info.json index 82e7d33eb5..ed5768bf32 100644 --- a/keyboards/jacky_studio/bear_65/rev1/info.json +++ b/keyboards/jacky_studio/bear_65/rev1/info.json @@ -10,6 +10,9 @@ "pid": "0x000A", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6" + }, "indicators": { "caps_lock": "C7", "on_state": 0 diff --git a/keyboards/jacky_studio/bear_65/rev2/info.json b/keyboards/jacky_studio/bear_65/rev2/info.json index 43200ec5d5..147dc2ade4 100644 --- a/keyboards/jacky_studio/bear_65/rev2/info.json +++ b/keyboards/jacky_studio/bear_65/rev2/info.json @@ -10,6 +10,9 @@ "pid": "0x0428", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6" + }, "indicators": { "caps_lock": "C7", "on_state": 0 diff --git a/keyboards/jacky_studio/s7_elephant/rev2/config.h b/keyboards/jacky_studio/s7_elephant/rev2/config.h index edfc458a2a..1a6e9cea9e 100644 --- a/keyboards/jacky_studio/s7_elephant/rev2/config.h +++ b/keyboards/jacky_studio/s7_elephant/rev2/config.h @@ -33,9 +33,6 @@ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 15 - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/jacky_studio/s7_elephant/rev2/info.json b/keyboards/jacky_studio/s7_elephant/rev2/info.json index 0b63a48b6a..639b5a3897 100644 --- a/keyboards/jacky_studio/s7_elephant/rev2/info.json +++ b/keyboards/jacky_studio/s7_elephant/rev2/info.json @@ -8,6 +8,10 @@ "pid": "0x0008", "device_version": "0.0.2" }, + "backlight": { + "pin": "B6", + "levels": 15 + }, "bootmagic": { "matrix": [0, 15] }, diff --git a/keyboards/jae/j01/config.h b/keyboards/jae/j01/config.h index 34acf79062..8afbaabca0 100644 --- a/keyboards/jae/j01/config.h +++ b/keyboards/jae/j01/config.h @@ -35,10 +35,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 4 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/jae/j01/info.json b/keyboards/jae/j01/info.json index 1f2b843d6f..6f0b5d485d 100644 --- a/keyboards/jae/j01/info.json +++ b/keyboards/jae/j01/info.json @@ -8,6 +8,11 @@ "pid": "0x0143", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 4, + "breathing": true + }, "bootmagic": { "matrix": [0, 2] }, diff --git a/keyboards/jc65/v32a/config.h b/keyboards/jc65/v32a/config.h index 4d27750629..62501a05d1 100644 --- a/keyboards/jc65/v32a/config.h +++ b/keyboards/jc65/v32a/config.h @@ -22,8 +22,6 @@ along with this program. If not, see . #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 - #define RGBLED_NUM 16 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/jc65/v32a/info.json b/keyboards/jc65/v32a/info.json index b03bb73a6e..b9693c8e72 100644 --- a/keyboards/jc65/v32a/info.json +++ b/keyboards/jc65/v32a/info.json @@ -8,6 +8,9 @@ "pid": "0x5679", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1" }, diff --git a/keyboards/jc65/v32u4/config.h b/keyboards/jc65/v32u4/config.h index f7a182895a..eca08d7d92 100644 --- a/keyboards/jc65/v32u4/config.h +++ b/keyboards/jc65/v32u4/config.h @@ -40,6 +40,4 @@ along with this program. If not, see . #define RGBLIGHT_VAL_STEP 8 #endif -#define BACKLIGHT_PIN B6 - #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/jc65/v32u4/info.json b/keyboards/jc65/v32u4/info.json index 76adb227c7..e20dccdbfa 100644 --- a/keyboards/jc65/v32u4/info.json +++ b/keyboards/jc65/v32u4/info.json @@ -8,6 +8,9 @@ "pid": "0x6060", "device_version": "0.0.2" }, + "backlight": { + "pin": "B6" + }, "indicators": { "caps_lock": "B2", "on_state": 0 diff --git a/keyboards/jd45/config.h b/keyboards/jd45/config.h index 68823699ab..25153db750 100644 --- a/keyboards/jd45/config.h +++ b/keyboards/jd45/config.h @@ -22,8 +22,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { F0, F1, F5, B4 } #define MATRIX_COL_PINS { F4, D7, B5, B6, C6, C7, D4, D6, D5, D0, D1, D2, B0 } -#define BACKLIGHT_PIN B7 - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/jd45/info.json b/keyboards/jd45/info.json index 9113ae7e0d..725431c672 100644 --- a/keyboards/jd45/info.json +++ b/keyboards/jd45/info.json @@ -8,6 +8,9 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/jian/nsrev2/config.h b/keyboards/jian/nsrev2/config.h index eba3f5247b..3e2fa93f31 100644 --- a/keyboards/jian/nsrev2/config.h +++ b/keyboards/jian/nsrev2/config.h @@ -27,12 +27,6 @@ along with this program. If not, see . #define PHYSICAL_LEDS_ENABLE -#ifdef BACKLIGHT_ENABLE -#define BACKLIGHT_PIN C6 -#define BACKLIGHT_LEVELS 5 -#define BACKLIGHT_BREATHING //not working with splits right now -#endif - /* ws2812 RGB LED */ #define RGB_DI_PIN D4 #define RGBLIGHT_TIMER diff --git a/keyboards/jian/nsrev2/info.json b/keyboards/jian/nsrev2/info.json index bb64f79e58..74121b2fda 100644 --- a/keyboards/jian/nsrev2/info.json +++ b/keyboards/jian/nsrev2/info.json @@ -3,6 +3,11 @@ "usb": { "device_version": "2.1.0" }, + "backlight": { + "pin": "C6", + "levels": 5, + "breathing": true + }, "qmk_lufa_bootloader": { "esc_input": "B1", "esc_output": "D3" diff --git a/keyboards/jian/rev1/config.h b/keyboards/jian/rev1/config.h index 4b32d8fc0b..083b235a2e 100644 --- a/keyboards/jian/rev1/config.h +++ b/keyboards/jian/rev1/config.h @@ -78,11 +78,6 @@ along with this program. If not, see . #define UPDATE_SCROLL_LOCK_LED() writePin(SCROLL_LOCK_LED_PIN, !led_state.scroll_lock) #endif // SCROLL_NMOSFET -#ifdef BACKLIGHT_ENABLE -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 5 -#endif - /* ws2812 RGB LED */ #define RGB_DI_PIN D4 #define RGBLIGHT_TIMER diff --git a/keyboards/jian/rev1/info.json b/keyboards/jian/rev1/info.json index bcd7c88d69..fc65cb13b8 100644 --- a/keyboards/jian/rev1/info.json +++ b/keyboards/jian/rev1/info.json @@ -3,6 +3,10 @@ "usb": { "device_version": "1.0.0" }, + "backlight": { + "pin": "B6", + "levels": 5 + }, "processor": "atmega32u4", "bootloader": "caterina" } diff --git a/keyboards/jian/rev2/config.h b/keyboards/jian/rev2/config.h index 061e1185cf..37e8f0458d 100644 --- a/keyboards/jian/rev2/config.h +++ b/keyboards/jian/rev2/config.h @@ -30,11 +30,6 @@ along with this program. If not, see . #define PHYSICAL_LEDS_ENABLE #define IOS_DEVICE_ENABLE -#ifdef BACKLIGHT_ENABLE -#define BACKLIGHT_PIN C6 -#define BACKLIGHT_LEVELS 5 -#endif - /* ws2812 RGB LED */ #define RGB_DI_PIN D4 #define RGBLIGHT_TIMER diff --git a/keyboards/jian/rev2/info.json b/keyboards/jian/rev2/info.json index 0e87ca3bb6..642bf83efc 100644 --- a/keyboards/jian/rev2/info.json +++ b/keyboards/jian/rev2/info.json @@ -3,6 +3,10 @@ "usb": { "device_version": "2.0.0" }, + "backlight": { + "pin": "C6", + "levels": 5 + }, "qmk_lufa_bootloader": { "esc_input": "B1", "esc_output": "D3" diff --git a/keyboards/jiran/rev1/config.h b/keyboards/jiran/rev1/config.h deleted file mode 100644 index d676c4b6b0..0000000000 --- a/keyboards/jiran/rev1/config.h +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2017 Danny Nguyen - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 5 diff --git a/keyboards/jiran/rev1/info.json b/keyboards/jiran/rev1/info.json new file mode 100644 index 0000000000..830440f4f6 --- /dev/null +++ b/keyboards/jiran/rev1/info.json @@ -0,0 +1,6 @@ +{ + "backlight": { + "pin": "B6", + "levels": 5 + } +} diff --git a/keyboards/kagizaraya/scythe/config.h b/keyboards/kagizaraya/scythe/config.h index ba2c696cb9..481d3400dd 100644 --- a/keyboards/kagizaraya/scythe/config.h +++ b/keyboards/kagizaraya/scythe/config.h @@ -33,8 +33,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - #define RGBLIGHT_SPLIT 1 #define RGB_DI_PIN F0 #ifdef RGB_DI_PIN diff --git a/keyboards/kagizaraya/scythe/info.json b/keyboards/kagizaraya/scythe/info.json index 1df3883ff2..acab68f80b 100644 --- a/keyboards/kagizaraya/scythe/info.json +++ b/keyboards/kagizaraya/scythe/info.json @@ -8,6 +8,9 @@ "pid": "0x3941", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "split": { "soft_serial_pin": "D0" }, diff --git a/keyboards/kb_elmo/twelvekey/config.h b/keyboards/kb_elmo/twelvekey/config.h index aae47646bd..19bd22c473 100644 --- a/keyboards/kb_elmo/twelvekey/config.h +++ b/keyboards/kb_elmo/twelvekey/config.h @@ -24,7 +24,3 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW - -/* Backlight */ -#define BACKLIGHT_PIN B1 -#define BACKLIGHT_LEVELS 8 diff --git a/keyboards/kb_elmo/twelvekey/info.json b/keyboards/kb_elmo/twelvekey/info.json index 3155d03b89..0dfc233ff5 100644 --- a/keyboards/kb_elmo/twelvekey/info.json +++ b/keyboards/kb_elmo/twelvekey/info.json @@ -9,6 +9,8 @@ "device_version": "0.0.1" }, "backlight": { + "pin": "B1", + "levels": 8, "on_state": 0 }, "processor": "atmega328p", diff --git a/keyboards/kbdfans/bella/soldered/config.h b/keyboards/kbdfans/bella/soldered/config.h index e57f1c261d..cd44097127 100755 --- a/keyboards/kbdfans/bella/soldered/config.h +++ b/keyboards/kbdfans/bella/soldered/config.h @@ -20,7 +20,5 @@ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - #define LOCKING_SUPPORT_ENABLE #define LOCKING_RESYNC_ENABLE diff --git a/keyboards/kbdfans/bella/soldered/info.json b/keyboards/kbdfans/bella/soldered/info.json index ebe65f8348..a98dfd3712 100644 --- a/keyboards/kbdfans/bella/soldered/info.json +++ b/keyboards/kbdfans/bella/soldered/info.json @@ -8,6 +8,9 @@ "pid": "0x0007", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/kbdfans/kbd19x/config.h b/keyboards/kbdfans/kbd19x/config.h index 804446cb19..0fd9b10373 100644 --- a/keyboards/kbdfans/kbd19x/config.h +++ b/keyboards/kbdfans/kbd19x/config.h @@ -34,8 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/kbdfans/kbd19x/info.json b/keyboards/kbdfans/kbd19x/info.json index f7cdb23dfa..9333221c57 100644 --- a/keyboards/kbdfans/kbd19x/info.json +++ b/keyboards/kbdfans/kbd19x/info.json @@ -8,6 +8,9 @@ "pid": "0x0191", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6" + }, "indicators": { "caps_lock": "B0", "num_lock": "B2", diff --git a/keyboards/kbdfans/kbd4x/config.h b/keyboards/kbdfans/kbd4x/config.h index a034e81a6e..fd338e9214 100644 --- a/keyboards/kbdfans/kbd4x/config.h +++ b/keyboards/kbdfans/kbd4x/config.h @@ -33,10 +33,7 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_BREATHING -#endif + #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/kbdfans/kbd4x/info.json b/keyboards/kbdfans/kbd4x/info.json index 620855a79f..e8e7168ccc 100644 --- a/keyboards/kbdfans/kbd4x/info.json +++ b/keyboards/kbdfans/kbd4x/info.json @@ -8,6 +8,10 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["ortho_4x12", "planck_mit"], diff --git a/keyboards/kbdfans/kbd66/config.h b/keyboards/kbdfans/kbd66/config.h index 761579ba51..3c24eaa645 100644 --- a/keyboards/kbdfans/kbd66/config.h +++ b/keyboards/kbdfans/kbd66/config.h @@ -33,10 +33,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_BREATHING -#endif /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/kbdfans/kbd66/info.json b/keyboards/kbdfans/kbd66/info.json index 3d12131cae..c3824412b9 100644 --- a/keyboards/kbdfans/kbd66/info.json +++ b/keyboards/kbdfans/kbd66/info.json @@ -8,6 +8,10 @@ "pid": "0xBD66", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/kbdfans/kbd67/hotswap/config.h b/keyboards/kbdfans/kbd67/hotswap/config.h index 3bf46dc318..d509761fee 100644 --- a/keyboards/kbdfans/kbd67/hotswap/config.h +++ b/keyboards/kbdfans/kbd67/hotswap/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_BREATHING -#endif #define RGB_DI_PIN B4 #ifdef RGB_DI_PIN #define RGBLED_NUM 8 diff --git a/keyboards/kbdfans/kbd67/hotswap/info.json b/keyboards/kbdfans/kbd67/hotswap/info.json index 25ffaef251..e81600b117 100644 --- a/keyboards/kbdfans/kbd67/hotswap/info.json +++ b/keyboards/kbdfans/kbd67/hotswap/info.json @@ -8,6 +8,10 @@ "pid": "0x6065", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["65_ansi_blocker_split_bs"], diff --git a/keyboards/kbdfans/kbd67/mkii_soldered/config.h b/keyboards/kbdfans/kbd67/mkii_soldered/config.h index 9b25d0a2db..1061f94bc2 100644 --- a/keyboards/kbdfans/kbd67/mkii_soldered/config.h +++ b/keyboards/kbdfans/kbd67/mkii_soldered/config.h @@ -34,11 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_BREATHING -#endif - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/kbdfans/kbd67/mkii_soldered/info.json b/keyboards/kbdfans/kbd67/mkii_soldered/info.json index 99fa935900..b439b97736 100644 --- a/keyboards/kbdfans/kbd67/mkii_soldered/info.json +++ b/keyboards/kbdfans/kbd67/mkii_soldered/info.json @@ -8,6 +8,10 @@ "pid": "0x0013", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["65_ansi_blocker", "65_ansi_blocker_split_bs", "65_iso_blocker", "65_iso_blocker_split_bs"], diff --git a/keyboards/kbdfans/kbd67/rev1/config.h b/keyboards/kbdfans/kbd67/rev1/config.h index 2b306cc41d..0980b80ed3 100644 --- a/keyboards/kbdfans/kbd67/rev1/config.h +++ b/keyboards/kbdfans/kbd67/rev1/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_BREATHING -#endif #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLED_NUM 20 diff --git a/keyboards/kbdfans/kbd67/rev1/info.json b/keyboards/kbdfans/kbd67/rev1/info.json index 0c0e80ee2d..f4e5ca006d 100644 --- a/keyboards/kbdfans/kbd67/rev1/info.json +++ b/keyboards/kbdfans/kbd67/rev1/info.json @@ -8,6 +8,10 @@ "pid": "0x6066", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "breathing": true + }, "indicators": { "caps_lock": "B2", "on_state": 0 diff --git a/keyboards/kbdfans/kbd67/rev2/config.h b/keyboards/kbdfans/kbd67/rev2/config.h index 0dde4254f9..89bb76ca9f 100644 --- a/keyboards/kbdfans/kbd67/rev2/config.h +++ b/keyboards/kbdfans/kbd67/rev2/config.h @@ -24,8 +24,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B5 - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/kbdfans/kbd67/rev2/info.json b/keyboards/kbdfans/kbd67/rev2/info.json index 108d462993..b148eff402 100644 --- a/keyboards/kbdfans/kbd67/rev2/info.json +++ b/keyboards/kbdfans/kbd67/rev2/info.json @@ -8,6 +8,9 @@ "pid": "0x6067", "device_version": "0.0.2" }, + "backlight": { + "pin": "B5" + }, "indicators": { "caps_lock": "D4", "on_state": 0 diff --git a/keyboards/kbdfans/kbd6x/config.h b/keyboards/kbdfans/kbd6x/config.h index 6efda14b8e..823f3c6f35 100644 --- a/keyboards/kbdfans/kbd6x/config.h +++ b/keyboards/kbdfans/kbd6x/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_BREATHING -#endif #define RGB_DI_PIN F0 #ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/kbdfans/kbd6x/info.json b/keyboards/kbdfans/kbd6x/info.json index 7c64c7e789..1aa4481830 100644 --- a/keyboards/kbdfans/kbd6x/info.json +++ b/keyboards/kbdfans/kbd6x/info.json @@ -8,6 +8,10 @@ "pid": "0x3658", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "indicators": { "caps_lock": "B6" }, diff --git a/keyboards/kbdfans/kbd75/config.h b/keyboards/kbdfans/kbd75/config.h index e7c27255c9..7b630434d4 100644 --- a/keyboards/kbdfans/kbd75/config.h +++ b/keyboards/kbdfans/kbd75/config.h @@ -11,11 +11,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 5 -#endif - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/kbdfans/kbd75/rev1/info.json b/keyboards/kbdfans/kbd75/rev1/info.json index 4193137ff2..e1cc9ee7bc 100644 --- a/keyboards/kbdfans/kbd75/rev1/info.json +++ b/keyboards/kbdfans/kbd75/rev1/info.json @@ -8,6 +8,10 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 5 + }, "indicators": { "caps_lock": "B2", "on_state": 0 diff --git a/keyboards/kbdfans/kbd75/rev2/info.json b/keyboards/kbdfans/kbd75/rev2/info.json index d76879ded0..a5436f05ac 100644 --- a/keyboards/kbdfans/kbd75/rev2/info.json +++ b/keyboards/kbdfans/kbd75/rev2/info.json @@ -8,6 +8,10 @@ "pid": "0x6061", "device_version": "0.0.2" }, + "backlight": { + "pin": "B6", + "levels": 5 + }, "indicators": { "caps_lock": "B2", "on_state": 0 diff --git a/keyboards/kbdfans/kbd8x/config.h b/keyboards/kbdfans/kbd8x/config.h index f4e3dc2070..26f5030f4d 100644 --- a/keyboards/kbdfans/kbd8x/config.h +++ b/keyboards/kbdfans/kbd8x/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_BREATHING -#endif #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/kbdfans/kbd8x/info.json b/keyboards/kbdfans/kbd8x/info.json index 53c2c5f17a..400e29bb3f 100644 --- a/keyboards/kbdfans/kbd8x/info.json +++ b/keyboards/kbdfans/kbd8x/info.json @@ -8,6 +8,10 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "breathing": true + }, "indicators": { "caps_lock": "B3", "num_lock": "B1", diff --git a/keyboards/kbdfans/kbd8x_mk2/config.h b/keyboards/kbdfans/kbd8x_mk2/config.h index 58b5ec51ee..c11821425f 100644 --- a/keyboards/kbdfans/kbd8x_mk2/config.h +++ b/keyboards/kbdfans/kbd8x_mk2/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_BREATHING -#endif #define RGB_DI_PIN B3 #ifdef RGB_DI_PIN #define RGBLED_NUM 20 diff --git a/keyboards/kbdfans/kbd8x_mk2/info.json b/keyboards/kbdfans/kbd8x_mk2/info.json index 236aefeb3f..5fb4c7c089 100644 --- a/keyboards/kbdfans/kbd8x_mk2/info.json +++ b/keyboards/kbdfans/kbd8x_mk2/info.json @@ -8,6 +8,10 @@ "pid": "0x0005", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "indicators": { "caps_lock": "E6", "scroll_lock": "B2", diff --git a/keyboards/kbdfans/kbdpad/mk1/config.h b/keyboards/kbdfans/kbdpad/mk1/config.h index 4d987ffdb9..acd78533ee 100644 --- a/keyboards/kbdfans/kbdpad/mk1/config.h +++ b/keyboards/kbdfans/kbdpad/mk1/config.h @@ -23,9 +23,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 -#define BACKLIGHT_BREATHING - #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/kbdfans/kbdpad/mk1/info.json b/keyboards/kbdfans/kbdpad/mk1/info.json index dcd35e62f2..97d4c827a1 100644 --- a/keyboards/kbdfans/kbdpad/mk1/info.json +++ b/keyboards/kbdfans/kbdpad/mk1/info.json @@ -8,6 +8,10 @@ "pid": "0x422D", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4", + "breathing": true + }, "indicators": { "num_lock": "D0" }, diff --git a/keyboards/kbdfans/kbdpad/mk2/config.h b/keyboards/kbdfans/kbdpad/mk2/config.h index 89fd2bd2a5..ffc9d00e5f 100644 --- a/keyboards/kbdfans/kbdpad/mk2/config.h +++ b/keyboards/kbdfans/kbdpad/mk2/config.h @@ -34,11 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 5 -#endif #define RGB_DI_PIN B5 #ifdef RGB_DI_PIN #define RGBLED_NUM 16 diff --git a/keyboards/kbdfans/kbdpad/mk2/info.json b/keyboards/kbdfans/kbdpad/mk2/info.json index c82e825551..54657e5c12 100644 --- a/keyboards/kbdfans/kbdpad/mk2/info.json +++ b/keyboards/kbdfans/kbdpad/mk2/info.json @@ -8,6 +8,11 @@ "pid": "0x0006", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5, + "breathing": true + }, "indicators": { "num_lock": "B4", "on_state": 0 diff --git a/keyboards/kbdfans/maja_soldered/config.h b/keyboards/kbdfans/maja_soldered/config.h index 8bb975f297..bf315f1ee3 100755 --- a/keyboards/kbdfans/maja_soldered/config.h +++ b/keyboards/kbdfans/maja_soldered/config.h @@ -20,8 +20,6 @@ #define MATRIX_COL_PINS { C6, C7, F7, F6, F5, F4, F1, B0, B1, B2, B3, B7, D2, D3, D5 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/kbdfans/maja_soldered/info.json b/keyboards/kbdfans/maja_soldered/info.json index b6e15112a3..b59d3eae39 100644 --- a/keyboards/kbdfans/maja_soldered/info.json +++ b/keyboards/kbdfans/maja_soldered/info.json @@ -8,6 +8,9 @@ "pid": "0x6069", "device_version": "0.0.1" }, + "backlight": { + "pin": "B5" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "debounce": 3, diff --git a/keyboards/kbdfans/niu_mini/config.h b/keyboards/kbdfans/niu_mini/config.h index 081823c777..bb78066a43 100644 --- a/keyboards/kbdfans/niu_mini/config.h +++ b/keyboards/kbdfans/niu_mini/config.h @@ -25,11 +25,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#ifdef BACKLIGHT_PIN - #define BACKLIGHT_LEVELS 4 -#endif - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/kbdfans/niu_mini/info.json b/keyboards/kbdfans/niu_mini/info.json index 7b724cc38d..f381993ad3 100644 --- a/keyboards/kbdfans/niu_mini/info.json +++ b/keyboards/kbdfans/niu_mini/info.json @@ -8,6 +8,10 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 4 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["ortho_4x12", "planck_mit"], diff --git a/keyboards/kc60/config.h b/keyboards/kc60/config.h index 70d0ea513c..fa74b02663 100644 --- a/keyboards/kc60/config.h +++ b/keyboards/kc60/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 5 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN F5 #ifdef RGB_DI_PIN # define RGBLED_NUM 16 diff --git a/keyboards/kc60/info.json b/keyboards/kc60/info.json index e1b13f46a0..7783ffee54 100644 --- a/keyboards/kc60/info.json +++ b/keyboards/kc60/info.json @@ -8,6 +8,11 @@ "pid": "0x6FFC", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 5, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["60_ansi"], diff --git a/keyboards/kc60se/config.h b/keyboards/kc60se/config.h index f84ace19bf..2640ba6397 100644 --- a/keyboards/kc60se/config.h +++ b/keyboards/kc60se/config.h @@ -25,9 +25,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN F5 -#define BACKLIGHT_LEVELS 6 - /* * Feature disable options * These options are also useful to firmware size reduction. diff --git a/keyboards/kc60se/info.json b/keyboards/kc60se/info.json index 3815eaf7a3..8779172a97 100644 --- a/keyboards/kc60se/info.json +++ b/keyboards/kc60se/info.json @@ -8,6 +8,10 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "backlight": { + "pin": "F5", + "levels": 6 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_iso", "60_iso_split_bs_rshift"], diff --git a/keyboards/keebio/bdn9/rev1/config.h b/keyboards/keebio/bdn9/rev1/config.h index d34d9756f9..c9e0a63896 100644 --- a/keyboards/keebio/bdn9/rev1/config.h +++ b/keyboards/keebio/bdn9/rev1/config.h @@ -20,9 +20,6 @@ along with this program. If not, see . #define ENCODERS_PAD_A { D0, F6, B6 } #define ENCODERS_PAD_B { D1, F5, F7 } -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_LEVELS 7 - #define RGB_DI_PIN D3 #ifdef RGB_DI_PIN #define RGBLED_NUM 4 diff --git a/keyboards/keebio/bdn9/rev1/info.json b/keyboards/keebio/bdn9/rev1/info.json index e5dea50260..ec52e8ef6b 100644 --- a/keyboards/keebio/bdn9/rev1/info.json +++ b/keyboards/keebio/bdn9/rev1/info.json @@ -4,6 +4,10 @@ "pid": "0x1133", "device_version": "1.0.0" }, + "backlight": { + "pin": "B5", + "levels": 7 + }, "processor": "atmega32u4", "bootloader": "caterina", "matrix_pins": { diff --git a/keyboards/keebio/chocopad/config.h b/keyboards/keebio/chocopad/config.h index a5cac21f2f..6d28712e8c 100644 --- a/keyboards/keebio/chocopad/config.h +++ b/keyboards/keebio/chocopad/config.h @@ -8,9 +8,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_LEVELS 6 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/keebio/chocopad/info.json b/keyboards/keebio/chocopad/info.json index eee4f8170d..9b047cc4fc 100644 --- a/keyboards/keebio/chocopad/info.json +++ b/keyboards/keebio/chocopad/info.json @@ -8,6 +8,10 @@ "pid": "0x1144", "device_version": "1.0.0" }, + "backlight": { + "pin": "B5", + "levels": 6 + }, "processor": "atmega32u4", "bootloader": "caterina", "community_layouts": ["ortho_4x4"], diff --git a/keyboards/keebio/dilly/config.h b/keyboards/keebio/dilly/config.h index d84496664b..c10fe13a30 100644 --- a/keyboards/keebio/dilly/config.h +++ b/keyboards/keebio/dilly/config.h @@ -8,8 +8,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/keebio/dilly/info.json b/keyboards/keebio/dilly/info.json index b1189b9e62..f69290454a 100644 --- a/keyboards/keebio/dilly/info.json +++ b/keyboards/keebio/dilly/info.json @@ -8,6 +8,9 @@ "pid": "0x113A", "device_version": "1.0.0" }, + "backlight": { + "pin": "B5" + }, "processor": "atmega32u4", "bootloader": "caterina", "community_layouts": ["ortho_3x10"], diff --git a/keyboards/keebio/dsp40/rev1/config.h b/keyboards/keebio/dsp40/rev1/config.h index 1ec02a68be..9aa38cbe07 100644 --- a/keyboards/keebio/dsp40/rev1/config.h +++ b/keyboards/keebio/dsp40/rev1/config.h @@ -25,11 +25,9 @@ along with this program. If not, see . #define TAP_CODE_DELAY 10 #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 7 #define RGB_DI_PIN D3 #ifdef RGB_DI_PIN diff --git a/keyboards/keebio/dsp40/rev1/info.json b/keyboards/keebio/dsp40/rev1/info.json index f50ee33ed3..5421218a6b 100644 --- a/keyboards/keebio/dsp40/rev1/info.json +++ b/keyboards/keebio/dsp40/rev1/info.json @@ -8,6 +8,10 @@ "pid": "0x144C", "device_version": "1.0.0" }, + "backlight": { + "pin": "A6", + "levels": 7 + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/keebio/ergodicity/config.h b/keyboards/keebio/ergodicity/config.h index d20743ed45..c9f49ad1fb 100644 --- a/keyboards/keebio/ergodicity/config.h +++ b/keyboards/keebio/ergodicity/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 7 - #define RGB_DI_PIN B2 #ifdef RGB_DI_PIN #define RGBLED_NUM 12 diff --git a/keyboards/keebio/ergodicity/info.json b/keyboards/keebio/ergodicity/info.json index 3e5ba3e17c..94203340ce 100644 --- a/keyboards/keebio/ergodicity/info.json +++ b/keyboards/keebio/ergodicity/info.json @@ -8,6 +8,11 @@ "pid": "0x125F", "device_version": "0.0.1" }, + "backlight": { + "pin": "B5", + "levels": 7, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/keebio/foldkb/rev1/config.h b/keyboards/keebio/foldkb/rev1/config.h index 19fced2c36..002bf3b9a8 100644 --- a/keyboards/keebio/foldkb/rev1/config.h +++ b/keyboards/keebio/foldkb/rev1/config.h @@ -24,8 +24,6 @@ along with this program. If not, see . #define ENCODERS_PAD_A { F5 } #define ENCODERS_PAD_B { F6 } -#define BACKLIGHT_PIN B5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/keebio/foldkb/rev1/info.json b/keyboards/keebio/foldkb/rev1/info.json index ee3721bad4..46617db128 100644 --- a/keyboards/keebio/foldkb/rev1/info.json +++ b/keyboards/keebio/foldkb/rev1/info.json @@ -8,6 +8,9 @@ "pid": "0x1258", "device_version": "1.0.0" }, + "backlight": { + "pin": "B5" + }, "split": { "soft_serial_pin": "D0" }, diff --git a/keyboards/keebio/iris/rev1/config.h b/keyboards/keebio/iris/rev1/config.h index fcb96a3911..436c47ccac 100644 --- a/keyboards/keebio/iris/rev1/config.h +++ b/keyboards/keebio/iris/rev1/config.h @@ -29,9 +29,6 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define BACKLIGHT_PIN D2 -#define BACKLIGHT_LEVELS 5 - /* ws2812 RGB LED */ #define RGB_DI_PIN D3 #define RGBLED_NUM 12 // Number of LEDs diff --git a/keyboards/keebio/iris/rev1/info.json b/keyboards/keebio/iris/rev1/info.json index 788b92a7b4..736b6006b9 100644 --- a/keyboards/keebio/iris/rev1/info.json +++ b/keyboards/keebio/iris/rev1/info.json @@ -4,6 +4,10 @@ "pid": "0x1256", "device_version": "1.0.0" }, + "backlight": { + "pin": "D2", + "levels": 5 + }, "split": { "soft_serial_pin": "D0" }, diff --git a/keyboards/keebio/iris/rev1_led/config.h b/keyboards/keebio/iris/rev1_led/config.h index d639957d66..3bd96004be 100644 --- a/keyboards/keebio/iris/rev1_led/config.h +++ b/keyboards/keebio/iris/rev1_led/config.h @@ -29,9 +29,6 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 5 - /* ws2812 RGB LED */ #define RGB_DI_PIN D3 #define RGBLED_NUM 12 // Number of LEDs diff --git a/keyboards/keebio/iris/rev1_led/info.json b/keyboards/keebio/iris/rev1_led/info.json index c58770c3ce..e5d71a70b0 100644 --- a/keyboards/keebio/iris/rev1_led/info.json +++ b/keyboards/keebio/iris/rev1_led/info.json @@ -4,6 +4,10 @@ "pid": "0x1256", "device_version": "1.1.0" }, + "backlight": { + "pin": "B6", + "levels": 5 + }, "split": { "soft_serial_pin": "D0" }, diff --git a/keyboards/keebio/iris/rev2/config.h b/keyboards/keebio/iris/rev2/config.h index 17f35564b1..71a5e3ad01 100644 --- a/keyboards/keebio/iris/rev2/config.h +++ b/keyboards/keebio/iris/rev2/config.h @@ -29,9 +29,6 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_LEVELS 5 - /* ws2812 RGB LED */ #define RGB_DI_PIN D3 #define RGBLED_NUM 12 // Number of LEDs diff --git a/keyboards/keebio/iris/rev2/info.json b/keyboards/keebio/iris/rev2/info.json index 1f3d5c7d61..7ac3883bb5 100644 --- a/keyboards/keebio/iris/rev2/info.json +++ b/keyboards/keebio/iris/rev2/info.json @@ -4,6 +4,10 @@ "pid": "0x2256", "device_version": "2.0.0" }, + "backlight": { + "pin": "B5", + "levels": 5 + }, "split": { "soft_serial_pin": "D0" }, diff --git a/keyboards/keebio/iris/rev3/config.h b/keyboards/keebio/iris/rev3/config.h index 17dd3d35e4..1834b0573d 100644 --- a/keyboards/keebio/iris/rev3/config.h +++ b/keyboards/keebio/iris/rev3/config.h @@ -33,9 +33,6 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 5 - /* ws2812 RGB LED */ #define RGB_DI_PIN F7 #define RGBLED_NUM 12 // Number of LEDs diff --git a/keyboards/keebio/iris/rev3/info.json b/keyboards/keebio/iris/rev3/info.json index f930160d0f..a90be8a1b6 100644 --- a/keyboards/keebio/iris/rev3/info.json +++ b/keyboards/keebio/iris/rev3/info.json @@ -4,6 +4,10 @@ "pid": "0x3256", "device_version": "3.0.0" }, + "backlight": { + "pin": "B6", + "levels": 5 + }, "qmk_lufa_bootloader": { "esc_input": "D2", "esc_output": "F1", diff --git a/keyboards/keebio/iris/rev4/config.h b/keyboards/keebio/iris/rev4/config.h index 35d4d59721..afac7c80ee 100644 --- a/keyboards/keebio/iris/rev4/config.h +++ b/keyboards/keebio/iris/rev4/config.h @@ -37,9 +37,6 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_LEVELS 5 - /* ws2812 RGB LED */ #define RGB_DI_PIN D6 #define RGBLED_NUM 12 // Number of LEDs diff --git a/keyboards/keebio/iris/rev4/info.json b/keyboards/keebio/iris/rev4/info.json index 8288b2fdf4..6915619b0f 100644 --- a/keyboards/keebio/iris/rev4/info.json +++ b/keyboards/keebio/iris/rev4/info.json @@ -4,6 +4,10 @@ "pid": "0x4256", "device_version": "4.0.0" }, + "backlight": { + "pin": "B5", + "levels": 5 + }, "qmk_lufa_bootloader": { "esc_input": "B1", "esc_output": "F1", diff --git a/keyboards/keebio/iris/rev5/config.h b/keyboards/keebio/iris/rev5/config.h index fcfe3b5b68..086bddd8ce 100644 --- a/keyboards/keebio/iris/rev5/config.h +++ b/keyboards/keebio/iris/rev5/config.h @@ -32,8 +32,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_LEVELS 5 #define BACKLIGHT_DEFAULT_LEVEL 3 /* ws2812 RGB LED */ diff --git a/keyboards/keebio/iris/rev5/info.json b/keyboards/keebio/iris/rev5/info.json index 11b8bed530..c45d09a8df 100644 --- a/keyboards/keebio/iris/rev5/info.json +++ b/keyboards/keebio/iris/rev5/info.json @@ -4,6 +4,10 @@ "pid": "0x5256", "device_version": "5.0.0" }, + "backlight": { + "pin": "B5", + "levels": 5 + }, "qmk_lufa_bootloader": { "esc_input": "B1", "esc_output": "F1", diff --git a/keyboards/keebio/kbo5000/rev1/config.h b/keyboards/keebio/kbo5000/rev1/config.h index 5705fe7c9a..df4180f9c2 100644 --- a/keyboards/keebio/kbo5000/rev1/config.h +++ b/keyboards/keebio/kbo5000/rev1/config.h @@ -30,7 +30,6 @@ along with this program. If not, see . #define ENCODERS_PAD_A_RIGHT { D6, C7 } #define ENCODERS_PAD_B_RIGHT { D4, C6 } -#define BACKLIGHT_PIN B5 #define CAPS_LOCK_LED_PIN B6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ diff --git a/keyboards/keebio/kbo5000/rev1/info.json b/keyboards/keebio/kbo5000/rev1/info.json index 54db6d97a5..8d0b9877a1 100644 --- a/keyboards/keebio/kbo5000/rev1/info.json +++ b/keyboards/keebio/kbo5000/rev1/info.json @@ -8,6 +8,9 @@ "pid": "0x126A", "device_version": "1.0.0" }, + "backlight": { + "pin": "B5" + }, "split": { "soft_serial_pin": "D0" }, diff --git a/keyboards/keebio/levinson/rev1/config.h b/keyboards/keebio/levinson/rev1/config.h index 3f25206780..c64d1a9e9e 100644 --- a/keyboards/keebio/levinson/rev1/config.h +++ b/keyboards/keebio/levinson/rev1/config.h @@ -34,7 +34,3 @@ along with this program. If not, see . #define RGB_DI_PIN D3 #define RGBLED_NUM 12 // Number of LEDs #define RGBLED_SPLIT { 6, 6 } - -/* Backlight LEDs */ -#define BACKLIGHT_PIN C6 -#define BACKLIGHT_LEVELS 7 diff --git a/keyboards/keebio/levinson/rev1/info.json b/keyboards/keebio/levinson/rev1/info.json index 82eafa2db4..05416bd138 100644 --- a/keyboards/keebio/levinson/rev1/info.json +++ b/keyboards/keebio/levinson/rev1/info.json @@ -6,5 +6,9 @@ "usb": { "pid": "0x1146", "device_version": "1.0.0" + }, + "backlight": { + "pin": "C6", + "levels": 7 } } diff --git a/keyboards/keebio/levinson/rev2/config.h b/keyboards/keebio/levinson/rev2/config.h index 4419aacc4c..88c38bc9ab 100644 --- a/keyboards/keebio/levinson/rev2/config.h +++ b/keyboards/keebio/levinson/rev2/config.h @@ -34,7 +34,3 @@ along with this program. If not, see . #define RGB_DI_PIN D3 #define RGBLED_NUM 12 // Number of LEDs #define RGBLED_SPLIT { 6, 6 } - -/* Backlight LEDs */ -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_LEVELS 7 diff --git a/keyboards/keebio/levinson/rev2/info.json b/keyboards/keebio/levinson/rev2/info.json index 0ef0ca8d5b..dbd0901737 100644 --- a/keyboards/keebio/levinson/rev2/info.json +++ b/keyboards/keebio/levinson/rev2/info.json @@ -6,5 +6,9 @@ "usb": { "pid": "0x2146", "device_version": "2.0.0" + }, + "backlight": { + "pin": "B5", + "levels": 7 } } diff --git a/keyboards/keebio/levinson/rev3/config.h b/keyboards/keebio/levinson/rev3/config.h index 5b2be68b62..be2be855d0 100644 --- a/keyboards/keebio/levinson/rev3/config.h +++ b/keyboards/keebio/levinson/rev3/config.h @@ -37,7 +37,3 @@ along with this program. If not, see . #define RGB_DI_PIN D7 #define RGBLED_NUM 12 // Number of LEDs #define RGBLED_SPLIT { 6, 6 } - -/* Backlight LEDs */ -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 7 diff --git a/keyboards/keebio/levinson/rev3/info.json b/keyboards/keebio/levinson/rev3/info.json index e64545458e..8cc3fa9fb9 100644 --- a/keyboards/keebio/levinson/rev3/info.json +++ b/keyboards/keebio/levinson/rev3/info.json @@ -6,5 +6,9 @@ "usb": { "pid": "0x3146", "device_version": "3.0.0" + }, + "backlight": { + "pin": "B6", + "levels": 7 } } diff --git a/keyboards/keebio/nyquist/rev2/config.h b/keyboards/keebio/nyquist/rev2/config.h index 08d34cb7f8..267faf45d9 100644 --- a/keyboards/keebio/nyquist/rev2/config.h +++ b/keyboards/keebio/nyquist/rev2/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . #define RGBLED_NUM 12 #define RGBLED_SPLIT { 6, 6 } -/* Backlight LEDs */ -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 7 - /* * Feature disable options * These options are also useful to firmware size reduction. diff --git a/keyboards/keebio/nyquist/rev2/info.json b/keyboards/keebio/nyquist/rev2/info.json index a18075f9b1..b47bb7511b 100644 --- a/keyboards/keebio/nyquist/rev2/info.json +++ b/keyboards/keebio/nyquist/rev2/info.json @@ -4,6 +4,10 @@ "pid": "0x2156", "device_version": "2.0.0" }, + "backlight": { + "pin": "B6", + "levels": 7 + }, "split": { "soft_serial_pin": "D0" }, diff --git a/keyboards/keebio/nyquist/rev3/config.h b/keyboards/keebio/nyquist/rev3/config.h index a196522d30..697205027d 100644 --- a/keyboards/keebio/nyquist/rev3/config.h +++ b/keyboards/keebio/nyquist/rev3/config.h @@ -45,10 +45,6 @@ along with this program. If not, see . #define RGBLED_NUM 12 #define RGBLED_SPLIT { 6, 6 } -/* Backlight LEDs */ -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_LEVELS 7 - /* * Feature disable options * These options are also useful to firmware size reduction. diff --git a/keyboards/keebio/nyquist/rev3/info.json b/keyboards/keebio/nyquist/rev3/info.json index 8ed16f832e..e7bd8635ae 100644 --- a/keyboards/keebio/nyquist/rev3/info.json +++ b/keyboards/keebio/nyquist/rev3/info.json @@ -4,6 +4,10 @@ "pid": "0x3156", "device_version": "3.0.0" }, + "backlight": { + "pin": "B5", + "levels": 7 + }, "split": { "soft_serial_pin": "D0" }, diff --git a/keyboards/keebio/quefrency/rev2/config.h b/keyboards/keebio/quefrency/rev2/config.h index c9ffb474ca..3ccae64421 100644 --- a/keyboards/keebio/quefrency/rev2/config.h +++ b/keyboards/keebio/quefrency/rev2/config.h @@ -30,7 +30,6 @@ along with this program. If not, see . #define ENCODERS_PAD_A_RIGHT { D6 } #define ENCODERS_PAD_B_RIGHT { D4 } -#define BACKLIGHT_PIN B5 #define CAPS_LOCK_LED_PIN B6 /* ws2812 RGB LED */ diff --git a/keyboards/keebio/quefrency/rev2/info.json b/keyboards/keebio/quefrency/rev2/info.json index 36b4de113f..c5e75b3781 100644 --- a/keyboards/keebio/quefrency/rev2/info.json +++ b/keyboards/keebio/quefrency/rev2/info.json @@ -8,6 +8,9 @@ "pid": "0x2257", "device_version": "2.0.0" }, + "backlight": { + "pin": "B5" + }, "split": { "soft_serial_pin": "D0" }, diff --git a/keyboards/keebio/quefrency/rev3/config.h b/keyboards/keebio/quefrency/rev3/config.h index c9ffb474ca..3ccae64421 100644 --- a/keyboards/keebio/quefrency/rev3/config.h +++ b/keyboards/keebio/quefrency/rev3/config.h @@ -30,7 +30,6 @@ along with this program. If not, see . #define ENCODERS_PAD_A_RIGHT { D6 } #define ENCODERS_PAD_B_RIGHT { D4 } -#define BACKLIGHT_PIN B5 #define CAPS_LOCK_LED_PIN B6 /* ws2812 RGB LED */ diff --git a/keyboards/keebio/quefrency/rev3/info.json b/keyboards/keebio/quefrency/rev3/info.json index b046871182..0fcb867a88 100644 --- a/keyboards/keebio/quefrency/rev3/info.json +++ b/keyboards/keebio/quefrency/rev3/info.json @@ -8,6 +8,9 @@ "pid": "0x3357", "device_version": "3.1.0" }, + "backlight": { + "pin": "B5" + }, "split": { "soft_serial_pin": "D0" }, diff --git a/keyboards/keebio/rorschach/rev1/config.h b/keyboards/keebio/rorschach/rev1/config.h index 77c00e4be9..435ebb2845 100644 --- a/keyboards/keebio/rorschach/rev1/config.h +++ b/keyboards/keebio/rorschach/rev1/config.h @@ -29,9 +29,6 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_LEVELS 5 - /* WS2812 RGB LED */ #define RGB_DI_PIN D3 #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/keebio/rorschach/rev1/info.json b/keyboards/keebio/rorschach/rev1/info.json index a5e5483c66..88cec27844 100644 --- a/keyboards/keebio/rorschach/rev1/info.json +++ b/keyboards/keebio/rorschach/rev1/info.json @@ -8,6 +8,10 @@ "pid": "0x1246", "device_version": "1.0.0" }, + "backlight": { + "pin": "B5", + "levels": 5 + }, "split": { "soft_serial_pin": "D0" }, diff --git a/keyboards/keebio/tragicforce68/config.h b/keyboards/keebio/tragicforce68/config.h index c32f3b5f6c..656be72025 100644 --- a/keyboards/keebio/tragicforce68/config.h +++ b/keyboards/keebio/tragicforce68/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 7 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/keebio/tragicforce68/info.json b/keyboards/keebio/tragicforce68/info.json index e498a1c49a..2be5e4f0c1 100644 --- a/keyboards/keebio/tragicforce68/info.json +++ b/keyboards/keebio/tragicforce68/info.json @@ -8,6 +8,11 @@ "pid": "0x0510", "device_version": "1.0.1" }, + "backlight": { + "pin": "B5", + "levels": 7, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "caterina", "community_layouts": ["68_ansi"], diff --git a/keyboards/keebio/viterbi/rev2/config.h b/keyboards/keebio/viterbi/rev2/config.h index ac6e64539c..898ba3d786 100644 --- a/keyboards/keebio/viterbi/rev2/config.h +++ b/keyboards/keebio/viterbi/rev2/config.h @@ -34,7 +34,3 @@ along with this program. If not, see . #define RGB_DI_PIN D3 #define RGBLED_NUM 14 #define RGBLED_SPLIT { 7, 7 } - -/* Backlight LEDs */ -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 7 diff --git a/keyboards/keebio/viterbi/rev2/info.json b/keyboards/keebio/viterbi/rev2/info.json index 5282cdd062..dd375f3053 100644 --- a/keyboards/keebio/viterbi/rev2/info.json +++ b/keyboards/keebio/viterbi/rev2/info.json @@ -6,5 +6,9 @@ "usb": { "pid": "0x2157", "device_version": "2.0.0" + }, + "backlight": { + "pin": "B6", + "levels": 7 } } diff --git a/keyboards/keebio/wavelet/config.h b/keyboards/keebio/wavelet/config.h index eff882832a..6866a313d4 100644 --- a/keyboards/keebio/wavelet/config.h +++ b/keyboards/keebio/wavelet/config.h @@ -34,7 +34,3 @@ along with this program. If not, see . /* ws2812 RGB LED */ #define RGB_DI_PIN D3 #define RGBLED_NUM 12 // Number of LEDs - -/* Backlight LEDs */ -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_LEVELS 7 diff --git a/keyboards/keebio/wavelet/info.json b/keyboards/keebio/wavelet/info.json index 8a313f5525..1a1663c4d7 100644 --- a/keyboards/keebio/wavelet/info.json +++ b/keyboards/keebio/wavelet/info.json @@ -8,6 +8,10 @@ "pid": "0x1046", "device_version": "1.0.0" }, + "backlight": { + "pin": "B5", + "levels": 7 + }, "processor": "atmega32u4", "bootloader": "caterina", "community_layouts": ["ortho_4x12"], diff --git a/keyboards/keebsforall/coarse60/config.h b/keyboards/keebsforall/coarse60/config.h index cd4fb39ae2..0ec73b7874 100644 --- a/keyboards/keebsforall/coarse60/config.h +++ b/keyboards/keebsforall/coarse60/config.h @@ -20,12 +20,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { A9, A10, B12, A2, C13 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/keebsforall/coarse60/info.json b/keyboards/keebsforall/coarse60/info.json index 29a7850fc8..63fa7d5fe8 100644 --- a/keyboards/keebsforall/coarse60/info.json +++ b/keyboards/keebsforall/coarse60/info.json @@ -8,6 +8,11 @@ "pid": "0x5341", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "levels": 6, + "breathing": true + }, "indicators": { "caps_lock": "B10", "num_lock": "B2", diff --git a/keyboards/keebwerk/nano_slider/config.h b/keyboards/keebwerk/nano_slider/config.h index 385e477e7e..f0e1766733 100644 --- a/keyboards/keebwerk/nano_slider/config.h +++ b/keyboards/keebwerk/nano_slider/config.h @@ -29,9 +29,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN F6 #ifdef RGB_DI_PIN # define RGBLED_NUM 4 diff --git a/keyboards/keebwerk/nano_slider/info.json b/keyboards/keebwerk/nano_slider/info.json index 1d843e1475..bd47ae0a4b 100644 --- a/keyboards/keebwerk/nano_slider/info.json +++ b/keyboards/keebwerk/nano_slider/info.json @@ -8,6 +8,10 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/kegen/gboy/config.h b/keyboards/kegen/gboy/config.h index 18b255aec7..e9ad8c2fee 100644 --- a/keyboards/kegen/gboy/config.h +++ b/keyboards/kegen/gboy/config.h @@ -25,11 +25,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 15 -#endif - #define RGB_DI_PIN D1 #ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/kegen/gboy/info.json b/keyboards/kegen/gboy/info.json index f59808bf11..909eb6c568 100644 --- a/keyboards/kegen/gboy/info.json +++ b/keyboards/kegen/gboy/info.json @@ -8,6 +8,10 @@ "pid": "0x6762", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 15 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/kira75/config.h b/keyboards/kira75/config.h index e103fb33a0..6a69df05e7 100644 --- a/keyboards/kira75/config.h +++ b/keyboards/kira75/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN E2 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/kira75/info.json b/keyboards/kira75/info.json index cf8e9ce698..fa366854b2 100644 --- a/keyboards/kira75/info.json +++ b/keyboards/kira75/info.json @@ -8,6 +8,10 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/kira80/config.h b/keyboards/kira80/config.h index 169f5add38..28c02ab0a6 100644 --- a/keyboards/kira80/config.h +++ b/keyboards/kira80/config.h @@ -23,6 +23,3 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW - -#define BACKLIGHT_PIN D4 -#define BACKLIGHT_BREATHING diff --git a/keyboards/kira80/info.json b/keyboards/kira80/info.json index 47cf842b3d..cb40dc0ab8 100644 --- a/keyboards/kira80/info.json +++ b/keyboards/kira80/info.json @@ -8,6 +8,10 @@ "pid": "0xC583", "device_version": "1.0.2" }, + "backlight": { + "pin": "D4", + "breathing": true + }, "indicators": { "caps_lock": "D1", "scroll_lock": "D6" diff --git a/keyboards/kiwikey/wanderland/config.h b/keyboards/kiwikey/wanderland/config.h index d0df940b99..5332a91304 100644 --- a/keyboards/kiwikey/wanderland/config.h +++ b/keyboards/kiwikey/wanderland/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN F7 #define RGBLED_NUM 18 #define RGBLIGHT_HUE_STEP 8 diff --git a/keyboards/kiwikey/wanderland/info.json b/keyboards/kiwikey/wanderland/info.json index 1dfe8fa415..3bab46fb4a 100644 --- a/keyboards/kiwikey/wanderland/info.json +++ b/keyboards/kiwikey/wanderland/info.json @@ -8,6 +8,10 @@ "pid": "0x574C", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "indicators": { "caps_lock": "B6", "num_lock": "C6", diff --git a/keyboards/kmac/info.json b/keyboards/kmac/info.json index e22708713a..ddf5361257 100644 --- a/keyboards/kmac/info.json +++ b/keyboards/kmac/info.json @@ -7,6 +7,9 @@ "pid": "0x4143", "device_version": "1.0.4" }, + "backlight": { + "driver": "custom" + }, "indicators": { "caps_lock": "B0", "scroll_lock": "E6", diff --git a/keyboards/kmac/rules.mk b/keyboards/kmac/rules.mk index b1bd80232c..d9aa87a7dc 100644 --- a/keyboards/kmac/rules.mk +++ b/keyboards/kmac/rules.mk @@ -12,7 +12,6 @@ COMMAND_ENABLE = yes # Commands for debug and configuration CUSTOM_MATRIX = yes # Custom matrix file NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BACKLIGHT_DRIVER = custom AUDIO_ENABLE = no # Audio output # Project specific files diff --git a/keyboards/kopibeng/xt65/config.h b/keyboards/kopibeng/xt65/config.h index 991155a8de..e7b6507f53 100644 --- a/keyboards/kopibeng/xt65/config.h +++ b/keyboards/kopibeng/xt65/config.h @@ -33,9 +33,6 @@ /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B1 -#define BACKLIGHT_LEVELS 5 - #define RGB_DI_PIN D5 #ifdef RGB_DI_PIN #define RGBLED_NUM 12 diff --git a/keyboards/kopibeng/xt65/info.json b/keyboards/kopibeng/xt65/info.json index bc8fe61543..5becaacc09 100644 --- a/keyboards/kopibeng/xt65/info.json +++ b/keyboards/kopibeng/xt65/info.json @@ -8,6 +8,10 @@ "pid": "0x0650", "device_version": "0.0.1" }, + "backlight": { + "pin": "B1", + "levels": 5 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layout_aliases": { diff --git a/keyboards/kprepublic/bm43a/config.h b/keyboards/kprepublic/bm43a/config.h index 2a4fcf6e36..329615e1d1 100644 --- a/keyboards/kprepublic/bm43a/config.h +++ b/keyboards/kprepublic/bm43a/config.h @@ -33,9 +33,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_LEVELS 5 - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLED_NUM 10 diff --git a/keyboards/kprepublic/bm43a/info.json b/keyboards/kprepublic/bm43a/info.json index 545d087128..4e23be7857 100644 --- a/keyboards/kprepublic/bm43a/info.json +++ b/keyboards/kprepublic/bm43a/info.json @@ -8,6 +8,10 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/kprepublic/cospad/config.h b/keyboards/kprepublic/cospad/config.h index 0d2d57cc57..b271703558 100644 --- a/keyboards/kprepublic/cospad/config.h +++ b/keyboards/kprepublic/cospad/config.h @@ -34,8 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN F7 - #define RGB_DI_PIN F6 #ifdef RGB_DI_PIN #define RGBLED_NUM 4 diff --git a/keyboards/kprepublic/cospad/info.json b/keyboards/kprepublic/cospad/info.json index e4cf27945f..ccf1ed42b0 100644 --- a/keyboards/kprepublic/cospad/info.json +++ b/keyboards/kprepublic/cospad/info.json @@ -9,6 +9,7 @@ "device_version": "0.0.1" }, "backlight": { + "pin": "F7", "on_state": 0 }, "indicators": { diff --git a/keyboards/kprepublic/jj40/config.h b/keyboards/kprepublic/jj40/config.h index d466209a75..e7c508a232 100644 --- a/keyboards/kprepublic/jj40/config.h +++ b/keyboards/kprepublic/jj40/config.h @@ -21,10 +21,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 -#define BACKLIGHT_LEVELS 12 -#define BACKLIGHT_BREATHING - /* RGB underglow */ // NOTE: for PS2AVRGB boards, underglow commands are sent via I2C to 0xB0. #define RGBLED_NUM 5 diff --git a/keyboards/kprepublic/jj40/info.json b/keyboards/kprepublic/jj40/info.json index 189ae81ae0..4fb1eb18cc 100644 --- a/keyboards/kprepublic/jj40/info.json +++ b/keyboards/kprepublic/jj40/info.json @@ -8,6 +8,11 @@ "pid": "0x0040", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4", + "levels": 12, + "breathing": true + }, "processor": "atmega32a", "bootloader": "bootloadhid", "community_layouts": ["ortho_4x12", "planck_mit"], diff --git a/keyboards/kprepublic/jj4x4/config.h b/keyboards/kprepublic/jj4x4/config.h index 11b2002003..bb2d842cb8 100644 --- a/keyboards/kprepublic/jj4x4/config.h +++ b/keyboards/kprepublic/jj4x4/config.h @@ -24,10 +24,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 -#define BACKLIGHT_LEVELS 12 -#define BACKLIGHT_BREATHING - /* RGB underglow */ // NOTE: for PS2AVRGB boards, underglow commands are sent via I2C to 0xB0. #define RGBLED_NUM 4 diff --git a/keyboards/kprepublic/jj4x4/info.json b/keyboards/kprepublic/jj4x4/info.json index 4a85eb55f3..734757fa9f 100644 --- a/keyboards/kprepublic/jj4x4/info.json +++ b/keyboards/kprepublic/jj4x4/info.json @@ -8,6 +8,11 @@ "pid": "0x0044", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4", + "levels": 12, + "breathing": true + }, "processor": "atmega32a", "bootloader": "bootloadhid", "community_layouts": ["ortho_4x4"], diff --git a/keyboards/kprepublic/jj50/config.h b/keyboards/kprepublic/jj50/config.h index dd67078d56..ef614b1f69 100644 --- a/keyboards/kprepublic/jj50/config.h +++ b/keyboards/kprepublic/jj50/config.h @@ -25,10 +25,6 @@ along with this program. If not, see . #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 -#define BACKLIGHT_LEVELS 12 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN E2 #define RGBLED_NUM 12 #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/kprepublic/jj50/info.json b/keyboards/kprepublic/jj50/info.json index 5e95520759..126ba09048 100644 --- a/keyboards/kprepublic/jj50/info.json +++ b/keyboards/kprepublic/jj50/info.json @@ -8,6 +8,11 @@ "pid": "0x0050", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4", + "levels": 12, + "breathing": true + }, "processor": "atmega32a", "bootloader": "bootloadhid", "layout_aliases": { diff --git a/keyboards/ktec/daisy/config.h b/keyboards/ktec/daisy/config.h index e25e645b09..d2103b03c6 100644 --- a/keyboards/ktec/daisy/config.h +++ b/keyboards/ktec/daisy/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D0 -#define BACKLIGHT_LEVELS 6 - #define RGB_DI_PIN C7 #ifdef RGB_DI_PIN # define RGBLED_NUM 8 diff --git a/keyboards/ktec/daisy/info.json b/keyboards/ktec/daisy/info.json index 50c5dd78b0..6901774b23 100644 --- a/keyboards/ktec/daisy/info.json +++ b/keyboards/ktec/daisy/info.json @@ -8,6 +8,10 @@ "pid": "0xD7DC", "device_version": "5.0.1" }, + "backlight": { + "pin": "D0", + "levels": 6 + }, "indicators": { "caps_lock": "C6", "on_state": 0 diff --git a/keyboards/ktec/staryu/config.h b/keyboards/ktec/staryu/config.h index 1a1b7372e6..23c362c0aa 100755 --- a/keyboards/ktec/staryu/config.h +++ b/keyboards/ktec/staryu/config.h @@ -29,5 +29,3 @@ along with this program. If not, see . #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE #define RGBLIGHT_LIMIT_VAL 200 - -#define BACKLIGHT_LEVELS 10 diff --git a/keyboards/ktec/staryu/info.json b/keyboards/ktec/staryu/info.json index 21c4e04dd7..02189fecf7 100644 --- a/keyboards/ktec/staryu/info.json +++ b/keyboards/ktec/staryu/info.json @@ -9,7 +9,8 @@ "device_version": "2.0.5" }, "backlight": { - "pins": ["C2", "C7", "D5", "D6", "B0"] + "pins": ["C2", "C7", "D5", "D6", "B0"], + "levels": 10 }, "bootmagic": { "matrix": [0, 1] diff --git a/keyboards/lazydesigners/dimple/staggered/rev3/config.h b/keyboards/lazydesigners/dimple/staggered/rev3/config.h deleted file mode 100644 index b6970644b4..0000000000 --- a/keyboards/lazydesigners/dimple/staggered/rev3/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright 2021 LAZYDESIGNERS - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#pragma once - -#define BACKLIGHT_PIN B7 diff --git a/keyboards/lazydesigners/dimple/staggered/rev3/info.json b/keyboards/lazydesigners/dimple/staggered/rev3/info.json index d1e1568035..f703059bd5 100644 --- a/keyboards/lazydesigners/dimple/staggered/rev3/info.json +++ b/keyboards/lazydesigners/dimple/staggered/rev3/info.json @@ -1,4 +1,7 @@ { + "backlight": { + "pin": "B7" + }, "layouts": { "LAYOUT_all": { "layout": [ diff --git a/keyboards/lazydesigners/dimpleplus/config.h b/keyboards/lazydesigners/dimpleplus/config.h index eac7ad0912..9d8dca9693 100644 --- a/keyboards/lazydesigners/dimpleplus/config.h +++ b/keyboards/lazydesigners/dimpleplus/config.h @@ -23,8 +23,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - /* RBG underglow */ #define RGB_DI_PIN D2 #ifdef RGB_DI_PIN diff --git a/keyboards/lazydesigners/dimpleplus/info.json b/keyboards/lazydesigners/dimpleplus/info.json index c0ed213d58..fd9b7bc44c 100644 --- a/keyboards/lazydesigners/dimpleplus/info.json +++ b/keyboards/lazydesigners/dimpleplus/info.json @@ -8,6 +8,9 @@ "pid": "0x0061", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/lazydesigners/the30/config.h b/keyboards/lazydesigners/the30/config.h index 665bc53dc4..fcb62244c4 100644 --- a/keyboards/lazydesigners/the30/config.h +++ b/keyboards/lazydesigners/the30/config.h @@ -24,5 +24,3 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW - -#define BACKLIGHT_PIN B7 diff --git a/keyboards/lazydesigners/the30/info.json b/keyboards/lazydesigners/the30/info.json index 20be3649a8..94d5067377 100644 --- a/keyboards/lazydesigners/the30/info.json +++ b/keyboards/lazydesigners/the30/info.json @@ -8,6 +8,9 @@ "pid": "0x0030", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["ortho_3x10"], diff --git a/keyboards/lazydesigners/the40/config.h b/keyboards/lazydesigners/the40/config.h index 36d7905d71..6f625c41bd 100644 --- a/keyboards/lazydesigners/the40/config.h +++ b/keyboards/lazydesigners/the40/config.h @@ -23,9 +23,6 @@ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN C7 #ifdef RGB_DI_PIN #define RGBLED_NUM 8 diff --git a/keyboards/lazydesigners/the40/info.json b/keyboards/lazydesigners/the40/info.json index 6e0bc06db6..009e6fe006 100644 --- a/keyboards/lazydesigners/the40/info.json +++ b/keyboards/lazydesigners/the40/info.json @@ -8,6 +8,10 @@ "pid": "0x0042", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/lazydesigners/the50/config.h b/keyboards/lazydesigners/the50/config.h index c2ca403b83..96b226f6e8 100644 --- a/keyboards/lazydesigners/the50/config.h +++ b/keyboards/lazydesigners/the50/config.h @@ -8,11 +8,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 6 -#endif - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/lazydesigners/the50/info.json b/keyboards/lazydesigners/the50/info.json index e6243e4add..9a54671b46 100644 --- a/keyboards/lazydesigners/the50/info.json +++ b/keyboards/lazydesigners/the50/info.json @@ -8,6 +8,10 @@ "pid": "0x0050", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 6 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/lazydesigners/the60/rev1/config.h b/keyboards/lazydesigners/the60/rev1/config.h index 847aa16ebf..0845f9db63 100755 --- a/keyboards/lazydesigners/the60/rev1/config.h +++ b/keyboards/lazydesigners/the60/rev1/config.h @@ -8,11 +8,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 6 -#endif - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/lazydesigners/the60/rev1/info.json b/keyboards/lazydesigners/the60/rev1/info.json index 5ef3d14aef..179dd59895 100755 --- a/keyboards/lazydesigners/the60/rev1/info.json +++ b/keyboards/lazydesigners/the60/rev1/info.json @@ -8,6 +8,10 @@ "pid": "0x0060", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 6 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/lazydesigners/the60/rev2/config.h b/keyboards/lazydesigners/the60/rev2/config.h index af003113a3..11d38876d3 100755 --- a/keyboards/lazydesigners/the60/rev2/config.h +++ b/keyboards/lazydesigners/the60/rev2/config.h @@ -23,10 +23,6 @@ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 5 - #define RGB_DI_PIN D1 #ifdef RGB_DI_PIN #define RGBLED_NUM 10 diff --git a/keyboards/lazydesigners/the60/rev2/info.json b/keyboards/lazydesigners/the60/rev2/info.json index b91acfa71e..355a8c7bc9 100755 --- a/keyboards/lazydesigners/the60/rev2/info.json +++ b/keyboards/lazydesigners/the60/rev2/info.json @@ -8,6 +8,11 @@ "pid": "0x0062", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/lfkeyboards/lfk65_hs/config.h b/keyboards/lfkeyboards/lfk65_hs/config.h index 9bec564065..a4b4d931c4 100644 --- a/keyboards/lfkeyboards/lfk65_hs/config.h +++ b/keyboards/lfkeyboards/lfk65_hs/config.h @@ -6,7 +6,6 @@ #define MATRIX_COL_PINS {E6, F4, B7, D5, D3, D2, F6, F7, C7, C6, B6, B5, B4, D7, D6, D4} #define RGBLED_NUM 20 // Number of LEDs -#define BACKLIGHT_LEVELS 8 #define BACKLIGHT_PWM_MAP {8, 16, 40, 55, 70, 128, 200, 255} #define RGB_DI_PIN C7 // Have to set it to something to get the ws2812 code to compile diff --git a/keyboards/lfkeyboards/lfk65_hs/info.json b/keyboards/lfkeyboards/lfk65_hs/info.json index 8973c3fafa..a2aea08829 100644 --- a/keyboards/lfkeyboards/lfk65_hs/info.json +++ b/keyboards/lfkeyboards/lfk65_hs/info.json @@ -8,6 +8,9 @@ "pid": "0x6064", "device_version": "0.0.1" }, + "backlight": { + "levels": 8 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/lfkeyboards/lfk78/config.h b/keyboards/lfkeyboards/lfk78/config.h index 4b047f6c1c..3e88fe3d37 100644 --- a/keyboards/lfkeyboards/lfk78/config.h +++ b/keyboards/lfkeyboards/lfk78/config.h @@ -21,7 +21,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_LEVELS 8 #define BACKLIGHT_PWM_MAP { 8, 16, 40, 55, 70, 128, 200, 255 } #define TAPPING_TERM 200 diff --git a/keyboards/lfkeyboards/lfk78/revb/info.json b/keyboards/lfkeyboards/lfk78/revb/info.json index 8ff16c7e54..026ec0d0c5 100644 --- a/keyboards/lfkeyboards/lfk78/revb/info.json +++ b/keyboards/lfkeyboards/lfk78/revb/info.json @@ -8,6 +8,10 @@ "pid": "0x3738", "device_version": "0.0.1" }, + "backlight": { + "driver": "custom", + "levels": 8 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/lfkeyboards/lfk78/revc/info.json b/keyboards/lfkeyboards/lfk78/revc/info.json index 48233f60cd..8867f107e8 100644 --- a/keyboards/lfkeyboards/lfk78/revc/info.json +++ b/keyboards/lfkeyboards/lfk78/revc/info.json @@ -8,6 +8,10 @@ "pid": "0x3738", "device_version": "0.0.1" }, + "backlight": { + "driver": "custom", + "levels": 8 + }, "processor": "at90usb1286", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/lfkeyboards/lfk78/revj/info.json b/keyboards/lfkeyboards/lfk78/revj/info.json index 0d1c355184..320e5f89ec 100644 --- a/keyboards/lfkeyboards/lfk78/revj/info.json +++ b/keyboards/lfkeyboards/lfk78/revj/info.json @@ -8,6 +8,10 @@ "pid": "0x3738", "device_version": "0.0.1" }, + "backlight": { + "driver": "custom", + "levels": 8 + }, "processor": "at90usb646", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/lfkeyboards/lfk78/rules.mk b/keyboards/lfkeyboards/lfk78/rules.mk index 1db50d1423..6c0b7f6d8d 100644 --- a/keyboards/lfkeyboards/lfk78/rules.mk +++ b/keyboards/lfkeyboards/lfk78/rules.mk @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug COMMAND_ENABLE = no # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BACKLIGHT_DRIVER = custom AUDIO_ENABLE = no # Audio output RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. RGBLIGHT_CUSTOM_DRIVER = yes # RGB code is implemented in lfkeyboards, not qmk base diff --git a/keyboards/lfkeyboards/lfk87/config.h b/keyboards/lfkeyboards/lfk87/config.h index 51feeb7f6e..3120a184e6 100644 --- a/keyboards/lfkeyboards/lfk87/config.h +++ b/keyboards/lfkeyboards/lfk87/config.h @@ -40,7 +40,6 @@ along with this program. If not, see . #define AUDIO_VOICES #define AUDIO_PIN C6 -#define BACKLIGHT_LEVELS 10 #define BACKLIGHT_PWM_MAP {2, 4, 8, 16, 40, 55, 70, 128, 200, 255} #define RGB_DI_PIN F4 // Have to set it to something to get the ws2812 code to compile diff --git a/keyboards/lfkeyboards/lfk87/info.json b/keyboards/lfkeyboards/lfk87/info.json index 833eb3261d..9ba48f7b29 100644 --- a/keyboards/lfkeyboards/lfk87/info.json +++ b/keyboards/lfkeyboards/lfk87/info.json @@ -8,6 +8,10 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "driver": "custom", + "levels": 10 + }, "community_layouts": ["tkl_ansi", "tkl_iso"], "layouts": { "LAYOUT_tkl_ansi": { diff --git a/keyboards/lfkeyboards/lfk87/rules.mk b/keyboards/lfkeyboards/lfk87/rules.mk index 32c2a94f2b..9a0fd53343 100644 --- a/keyboards/lfkeyboards/lfk87/rules.mk +++ b/keyboards/lfkeyboards/lfk87/rules.mk @@ -22,7 +22,6 @@ CONSOLE_ENABLE = no # Console for debug COMMAND_ENABLE = no # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BACKLIGHT_DRIVER = custom AUDIO_ENABLE = yes # Audio output RGBLIGHT_ENABLE = yes # Enable RGB underlight RGBLIGHT_CUSTOM_DRIVER = yes # RGB code is implemented in lefkeyboards, not WS2812 diff --git a/keyboards/lfkeyboards/mini1800/config.h b/keyboards/lfkeyboards/mini1800/config.h index e2e2366044..2d648c4e4d 100644 --- a/keyboards/lfkeyboards/mini1800/config.h +++ b/keyboards/lfkeyboards/mini1800/config.h @@ -28,7 +28,6 @@ along with this program. If not, see . #define AUDIO_VOICES #define AUDIO_PIN C6 -#define BACKLIGHT_LEVELS 10 #define BACKLIGHT_PWM_MAP {2, 4, 8, 16, 40, 55, 70, 128, 200, 255} #define RGB_DI_PIN F4 // Have to set it to something to get the ws2812 code to compile diff --git a/keyboards/lfkeyboards/mini1800/info.json b/keyboards/lfkeyboards/mini1800/info.json index 703184dc99..6b66ed9774 100644 --- a/keyboards/lfkeyboards/mini1800/info.json +++ b/keyboards/lfkeyboards/mini1800/info.json @@ -8,6 +8,10 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "driver": "custom", + "levels": 10 + }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/lfkeyboards/mini1800/mini1800.c b/keyboards/lfkeyboards/mini1800/mini1800.c index fb92137be8..f435f55677 100644 --- a/keyboards/lfkeyboards/mini1800/mini1800.c +++ b/keyboards/lfkeyboards/mini1800/mini1800.c @@ -9,7 +9,6 @@ #include "lighting.h" #include "debug.h" -#define BACKLIGHT_BREATHING #include "quantum.h" uint16_t click_hz = CLICK_HZ; diff --git a/keyboards/lfkeyboards/mini1800/reva/rules.mk b/keyboards/lfkeyboards/mini1800/reva/rules.mk index bb938f99b3..edd26e498d 100644 --- a/keyboards/lfkeyboards/mini1800/reva/rules.mk +++ b/keyboards/lfkeyboards/mini1800/reva/rules.mk @@ -13,7 +13,6 @@ AUDIO_ENABLE = yes # Audio output # RGB code is implemented in lfkeyboards, not WS2812 RGBLIGHT_CUSTOM_DRIVER = yes -BACKLIGHT_DRIVER = custom SLEEP_LED_ENABLE = yes ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled diff --git a/keyboards/lfkeyboards/mini1800/revc/rules.mk b/keyboards/lfkeyboards/mini1800/revc/rules.mk index bb938f99b3..edd26e498d 100644 --- a/keyboards/lfkeyboards/mini1800/revc/rules.mk +++ b/keyboards/lfkeyboards/mini1800/revc/rules.mk @@ -13,7 +13,6 @@ AUDIO_ENABLE = yes # Audio output # RGB code is implemented in lfkeyboards, not WS2812 RGBLIGHT_CUSTOM_DRIVER = yes -BACKLIGHT_DRIVER = custom SLEEP_LED_ENABLE = yes ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled diff --git a/keyboards/lfkeyboards/smk65/revb/config.h b/keyboards/lfkeyboards/smk65/revb/config.h index 06334113ef..b746d90232 100644 --- a/keyboards/lfkeyboards/smk65/revb/config.h +++ b/keyboards/lfkeyboards/smk65/revb/config.h @@ -31,7 +31,6 @@ along with this program. If not, see . #define AUDIO_VOICES #define AUDIO_PIN C6 -#define BACKLIGHT_LEVELS 8 #define BACKLIGHT_PWM_MAP {8, 16, 40, 55, 70, 128, 200, 255} #define RGB_DI_PIN C7 // Have to set it to something to get the ws2812 code to compile diff --git a/keyboards/lfkeyboards/smk65/revb/info.json b/keyboards/lfkeyboards/smk65/revb/info.json index bf42e51ded..25cbf0f77a 100644 --- a/keyboards/lfkeyboards/smk65/revb/info.json +++ b/keyboards/lfkeyboards/smk65/revb/info.json @@ -2,6 +2,9 @@ "usb": { "pid": "0x565B" }, + "backlight": { + "levels": 8 + }, "processor": "at90usb646", "bootloader": "atmel-dfu" } diff --git a/keyboards/linworks/dolice/config.h b/keyboards/linworks/dolice/config.h index 97f8029955..394b953afb 100644 --- a/keyboards/linworks/dolice/config.h +++ b/keyboards/linworks/dolice/config.h @@ -23,7 +23,3 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW - -/* Backlight */ -#define BACKLIGHT_PIN B5 // Timer 1 on mega32u4 -#define BACKLIGHT_BREATHING diff --git a/keyboards/linworks/dolice/info.json b/keyboards/linworks/dolice/info.json index 649dc85d02..1db5f48470 100644 --- a/keyboards/linworks/dolice/info.json +++ b/keyboards/linworks/dolice/info.json @@ -7,6 +7,10 @@ "pid": "0x0005", "device_version": "0.0.1" }, + "backlight": { + "pin": "B5", + "breathing": true + }, "indicators": { "caps_lock": "C7", "num_lock": "B6", diff --git a/keyboards/linworks/fave104/config.h b/keyboards/linworks/fave104/config.h index d064d7cea4..5d3830ef6c 100644 --- a/keyboards/linworks/fave104/config.h +++ b/keyboards/linworks/fave104/config.h @@ -24,11 +24,7 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -/* Backlight */ -#define BACKLIGHT_PIN A1 -#define BACKLIGHT_BREATHING #define BACKLIGHT_PWM_DRIVER PWMD2 #define BACKLIGHT_PWM_CHANNEL 2 #define BACKLIGHT_PAL_MODE 2 -#define BACKLIGHT_LEVELS 5 #define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it. diff --git a/keyboards/linworks/fave104/info.json b/keyboards/linworks/fave104/info.json index 0eeda7d97d..03beb2ad89 100644 --- a/keyboards/linworks/fave104/info.json +++ b/keyboards/linworks/fave104/info.json @@ -8,6 +8,11 @@ "pid": "0x000A", "device_version": "0.0.1" }, + "backlight": { + "pin": "A1", + "levels": 5, + "breathing": true + }, "indicators": { "caps_lock": "B5", "num_lock": "B6", diff --git a/keyboards/linworks/fave87/config.h b/keyboards/linworks/fave87/config.h index 6b553e26a2..37aa1a68fc 100644 --- a/keyboards/linworks/fave87/config.h +++ b/keyboards/linworks/fave87/config.h @@ -24,10 +24,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION ROW2COL -/* Backlight */ -#define BACKLIGHT_PIN B7 // Timer 1 on mega32u4 -#define BACKLIGHT_BREATHING - /* Underglow */ #define RGB_DI_PIN E2 #define RGBLED_NUM 40 diff --git a/keyboards/linworks/fave87/info.json b/keyboards/linworks/fave87/info.json index dffb86c8ec..b6ac9b78c1 100644 --- a/keyboards/linworks/fave87/info.json +++ b/keyboards/linworks/fave87/info.json @@ -7,6 +7,10 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["tkl_ansi", "tkl_iso"], diff --git a/keyboards/linworks/whale75/config.h b/keyboards/linworks/whale75/config.h index b2da9c0245..9508aeed57 100644 --- a/keyboards/linworks/whale75/config.h +++ b/keyboards/linworks/whale75/config.h @@ -24,13 +24,9 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -/* Backlight */ -#define BACKLIGHT_PIN A10 -#define BACKLIGHT_BREATHING #define BACKLIGHT_PWM_DRIVER PWMD1 #define BACKLIGHT_PWM_CHANNEL 3 #define BACKLIGHT_PAL_MODE 6 -#define BACKLIGHT_LEVELS 5 #define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it. /* Underglow */ diff --git a/keyboards/linworks/whale75/info.json b/keyboards/linworks/whale75/info.json index 7de9e12764..24cb27f929 100644 --- a/keyboards/linworks/whale75/info.json +++ b/keyboards/linworks/whale75/info.json @@ -7,6 +7,11 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "backlight": { + "pin": "A10", + "levels": 5, + "breathing": true + }, "indicators": { "caps_lock": "A9", "num_lock": "A8", diff --git a/keyboards/lz/erghost/config.h b/keyboards/lz/erghost/config.h index 96db02dbfd..0f9730066e 100644 --- a/keyboards/lz/erghost/config.h +++ b/keyboards/lz/erghost/config.h @@ -37,9 +37,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_BREATHING - #ifdef RGBLIGHT_ENABLE #define RGB_DI_PIN E2 #define RGBLED_NUM 28 diff --git a/keyboards/lz/erghost/info.json b/keyboards/lz/erghost/info.json index f5ab6490b9..0ba1055fe3 100644 --- a/keyboards/lz/erghost/info.json +++ b/keyboards/lz/erghost/info.json @@ -8,6 +8,10 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "breathing": true + }, "indicators": { "caps_lock": "D6", "num_lock": "D7", diff --git a/keyboards/m10a/config.h b/keyboards/m10a/config.h index 264dc6ddb0..dac3f44a3e 100644 --- a/keyboards/m10a/config.h +++ b/keyboards/m10a/config.h @@ -23,13 +23,9 @@ #define MATRIX_ROW_PINS { B6, F7, F6, D6 } #define MATRIX_COL_PINS { F5, F1, F0 } -#define BACKLIGHT_PIN B7 - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_LEVELS 6 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/m10a/info.json b/keyboards/m10a/info.json index f039afc9a7..f517d49087 100644 --- a/keyboards/m10a/info.json +++ b/keyboards/m10a/info.json @@ -8,6 +8,10 @@ "pid": "0x00AA", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 6 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/machkeyboards/mach3/config.h b/keyboards/machkeyboards/mach3/config.h index 2cb9079a84..ba1628e954 100644 --- a/keyboards/machkeyboards/mach3/config.h +++ b/keyboards/machkeyboards/mach3/config.h @@ -23,8 +23,3 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW - -/* backlight */ -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 5 diff --git a/keyboards/machkeyboards/mach3/info.json b/keyboards/machkeyboards/mach3/info.json index 77b69b9651..767beb2026 100644 --- a/keyboards/machkeyboards/mach3/info.json +++ b/keyboards/machkeyboards/mach3/info.json @@ -8,6 +8,11 @@ "pid": "0x4D33", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 5, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { diff --git a/keyboards/machkeyboards/mach3/rules.mk b/keyboards/machkeyboards/mach3/rules.mk index 244bc3f763..75c6a286e5 100644 --- a/keyboards/machkeyboards/mach3/rules.mk +++ b/keyboards/machkeyboards/mach3/rules.mk @@ -11,4 +11,3 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output UNICODE_ENABLE = yes -BACKLIGHT_DRIVER = pwm \ No newline at end of file diff --git a/keyboards/maple_computing/christmas_tree/config.h b/keyboards/maple_computing/christmas_tree/config.h index 11e591dca2..40c2ce1f48 100644 --- a/keyboards/maple_computing/christmas_tree/config.h +++ b/keyboards/maple_computing/christmas_tree/config.h @@ -22,8 +22,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { D3, F4, D0, F6, F5, D4 } #define MATRIX_COL_PINS { D1 } -#define BACKLIGHT_PIN D2 - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/maple_computing/christmas_tree/info.json b/keyboards/maple_computing/christmas_tree/info.json index 6aa86425a0..d60dabe1df 100644 --- a/keyboards/maple_computing/christmas_tree/info.json +++ b/keyboards/maple_computing/christmas_tree/info.json @@ -7,6 +7,9 @@ "vid": "0xFEED", "pid": "0x3070" }, + "backlight": { + "pin": "D2" + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { diff --git a/keyboards/maple_computing/ivy/config.h b/keyboards/maple_computing/ivy/config.h index 949de97ba8..3192143e77 100644 --- a/keyboards/maple_computing/ivy/config.h +++ b/keyboards/maple_computing/ivy/config.h @@ -25,8 +25,6 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define BACKLIGHT_PIN D2 - /* * Feature disable options * These options are also useful to firmware size reduction. diff --git a/keyboards/maple_computing/ivy/rev1/info.json b/keyboards/maple_computing/ivy/rev1/info.json index 3c028e0ea5..19109ca73f 100644 --- a/keyboards/maple_computing/ivy/rev1/info.json +++ b/keyboards/maple_computing/ivy/rev1/info.json @@ -8,6 +8,9 @@ "pid": "0x6012", "device_version": "0.0.1" }, + "backlight": { + "pin": "D2" + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { diff --git a/keyboards/maple_computing/jnao/config.h b/keyboards/maple_computing/jnao/config.h index 5b645dd5b9..24942e7a51 100644 --- a/keyboards/maple_computing/jnao/config.h +++ b/keyboards/maple_computing/jnao/config.h @@ -21,8 +21,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { E6, F0, F5, F6, F7 } #define MATRIX_COL_PINS { F1, F4, B1, B2, B3, B7, D1, D2, D4, D6, D7, B4 } -#define BACKLIGHT_PIN D0 - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/maple_computing/jnao/info.json b/keyboards/maple_computing/jnao/info.json index 84fd17bbb2..afa5a8674e 100644 --- a/keyboards/maple_computing/jnao/info.json +++ b/keyboards/maple_computing/jnao/info.json @@ -8,6 +8,9 @@ "pid": "0x6017", "device_version": "0.0.1" }, + "backlight": { + "pin": "D0" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["ortho_5x12", "ortho_4x12"], diff --git a/keyboards/maple_computing/lets_split_eh/eh/config.h b/keyboards/maple_computing/lets_split_eh/eh/config.h index 77afb19b14..55d2428db0 100644 --- a/keyboards/maple_computing/lets_split_eh/eh/config.h +++ b/keyboards/maple_computing/lets_split_eh/eh/config.h @@ -25,8 +25,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - /* ws2812 RGB LED */ #define RGB_DI_PIN B2 #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 b22fef655a..4574b10b64 100644 --- a/keyboards/maple_computing/lets_split_eh/eh/info.json +++ b/keyboards/maple_computing/lets_split_eh/eh/info.json @@ -8,6 +8,9 @@ "pid": "0xE401", "device_version": "1.0.0" }, + "backlight": { + "pin": "B7" + }, "split": { "soft_serial_pin": "D0" }, diff --git a/keyboards/massdrop/thekey/config.h b/keyboards/massdrop/thekey/config.h index cba49f39f1..0869e77a7a 100644 --- a/keyboards/massdrop/thekey/config.h +++ b/keyboards/massdrop/thekey/config.h @@ -25,8 +25,6 @@ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN B6 - #define RGB_DI_PIN B1 #define RGBLED_NUM 2 #define RGBLIGHT_HUE_STEP 8 diff --git a/keyboards/massdrop/thekey/info.json b/keyboards/massdrop/thekey/info.json index c80f4d9373..56fe74729c 100644 --- a/keyboards/massdrop/thekey/info.json +++ b/keyboards/massdrop/thekey/info.json @@ -8,6 +8,9 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/mechbrewery/mb65s/config.h b/keyboards/mechbrewery/mb65s/config.h index ca56069a1e..7023e30ced 100644 --- a/keyboards/mechbrewery/mb65s/config.h +++ b/keyboards/mechbrewery/mb65s/config.h @@ -24,8 +24,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B5 - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/mechkeys/acr60/config.h b/keyboards/mechkeys/acr60/config.h index 00cf0b0fb4..493f54b3f7 100644 --- a/keyboards/mechkeys/acr60/config.h +++ b/keyboards/mechkeys/acr60/config.h @@ -24,9 +24,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/mechkeys/acr60/info.json b/keyboards/mechkeys/acr60/info.json index 216d8639a3..816e74a2bb 100644 --- a/keyboards/mechkeys/acr60/info.json +++ b/keyboards/mechkeys/acr60/info.json @@ -8,6 +8,10 @@ "pid": "0xCA60", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 5 + }, "indicators": { "caps_lock": "B2", "on_state": 0 diff --git a/keyboards/mechkeys/alu84/config.h b/keyboards/mechkeys/alu84/config.h index 00526afb0b..bb3b38500c 100755 --- a/keyboards/mechkeys/alu84/config.h +++ b/keyboards/mechkeys/alu84/config.h @@ -33,9 +33,6 @@ /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN E2 #if defined(RGBLIGHT_ENABLE) # define RGBLED_NUM 16 diff --git a/keyboards/mechkeys/alu84/info.json b/keyboards/mechkeys/alu84/info.json index c3cedc651e..aaf9cc7ac1 100644 --- a/keyboards/mechkeys/alu84/info.json +++ b/keyboards/mechkeys/alu84/info.json @@ -8,6 +8,10 @@ "pid": "0xCA75", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layout_aliases": { diff --git a/keyboards/mechkeys/espectro/config.h b/keyboards/mechkeys/espectro/config.h index 5cc77b8bec..b345f44269 100755 --- a/keyboards/mechkeys/espectro/config.h +++ b/keyboards/mechkeys/espectro/config.h @@ -24,9 +24,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/mechkeys/espectro/info.json b/keyboards/mechkeys/espectro/info.json index 6877f1c316..1361065e75 100644 --- a/keyboards/mechkeys/espectro/info.json +++ b/keyboards/mechkeys/espectro/info.json @@ -8,6 +8,10 @@ "pid": "0xCA96", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 5 + }, "indicators": { "caps_lock": "B2", "num_lock": "B0", diff --git a/keyboards/mechkeys/mechmini/v1/config.h b/keyboards/mechkeys/mechmini/v1/config.h index 76de7a323c..3da5747d2b 100644 --- a/keyboards/mechkeys/mechmini/v1/config.h +++ b/keyboards/mechkeys/mechmini/v1/config.h @@ -22,8 +22,6 @@ along with this program. If not, see . #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 - /* RGB underglow */ // The RGB_DI_PIN value seems to be shared between all PS2AVRGB boards. // 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 d971979c34..751be56e38 100644 --- a/keyboards/mechkeys/mechmini/v1/info.json +++ b/keyboards/mechkeys/mechmini/v1/info.json @@ -8,6 +8,9 @@ "pid": "0xCA40", "device_version": "0.0.1" }, + "backlight": { + "pin": "D4" + }, "processor": "atmega32a", "bootloader": "bootloadhid", "layouts": { diff --git a/keyboards/mechkeys/mechmini/v2/config.h b/keyboards/mechkeys/mechmini/v2/config.h index 9794b87937..c318669851 100755 --- a/keyboards/mechkeys/mechmini/v2/config.h +++ b/keyboards/mechkeys/mechmini/v2/config.h @@ -23,8 +23,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/mechkeys/mechmini/v2/info.json b/keyboards/mechkeys/mechmini/v2/info.json index bc8a60cd46..58ad7525db 100644 --- a/keyboards/mechkeys/mechmini/v2/info.json +++ b/keyboards/mechkeys/mechmini/v2/info.json @@ -8,6 +8,9 @@ "pid": "0xCA40", "device_version": "0.0.2" }, + "backlight": { + "pin": "B6" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/mechkeys/mk60/config.h b/keyboards/mechkeys/mk60/config.h index 9b39355f47..065c3006c6 100644 --- a/keyboards/mechkeys/mk60/config.h +++ b/keyboards/mechkeys/mk60/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 6 - #define RGB_DI_PIN E6 #ifdef RGB_DI_PIN #define RGBLED_NUM 12 diff --git a/keyboards/mechkeys/mk60/info.json b/keyboards/mechkeys/mk60/info.json index b78e144988..42d9c3bd24 100644 --- a/keyboards/mechkeys/mk60/info.json +++ b/keyboards/mechkeys/mk60/info.json @@ -8,6 +8,11 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 6, + "breathing": true + }, "indicators": { "caps_lock": "B7", "on_state": 0 diff --git a/keyboards/mechlovin/adelais/standard_led/arm/config.h b/keyboards/mechlovin/adelais/standard_led/arm/config.h index 90a5cf6575..e1081a9560 100644 --- a/keyboards/mechlovin/adelais/standard_led/arm/config.h +++ b/keyboards/mechlovin/adelais/standard_led/arm/config.h @@ -23,8 +23,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B0 -#define BACKLIGHT_BREATHING #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 3 diff --git a/keyboards/mechlovin/adelais/standard_led/arm/info.json b/keyboards/mechlovin/adelais/standard_led/arm/info.json index 3835f71f94..a5f20190d1 100644 --- a/keyboards/mechlovin/adelais/standard_led/arm/info.json +++ b/keyboards/mechlovin/adelais/standard_led/arm/info.json @@ -1,5 +1,9 @@ { "keyboard_name": "Adelais", + "backlight": { + "pin": "B0", + "breathing": true + }, "indicators": { "caps_lock": "B2", "num_lock": "C15", diff --git a/keyboards/mechlovin/adelais/standard_led/avr/rev1/config.h b/keyboards/mechlovin/adelais/standard_led/avr/rev1/config.h index 4605d08efb..aac4aae40d 100644 --- a/keyboards/mechlovin/adelais/standard_led/avr/rev1/config.h +++ b/keyboards/mechlovin/adelais/standard_led/avr/rev1/config.h @@ -31,9 +31,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN E2 #define RGBLED_NUM 23 #define RGBLIGHT_LIMIT_VAL 255 diff --git a/keyboards/mechlovin/adelais/standard_led/avr/rev1/info.json b/keyboards/mechlovin/adelais/standard_led/avr/rev1/info.json index f571ebab51..73ea66a997 100644 --- a/keyboards/mechlovin/adelais/standard_led/avr/rev1/info.json +++ b/keyboards/mechlovin/adelais/standard_led/avr/rev1/info.json @@ -3,6 +3,10 @@ "usb": { "pid": "0xAD04" }, + "backlight": { + "pin": "B5", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "indicators": { diff --git a/keyboards/mechlovin/delphine/mono_led/config.h b/keyboards/mechlovin/delphine/mono_led/config.h index b8b32068c0..b1ef0e072a 100644 --- a/keyboards/mechlovin/delphine/mono_led/config.h +++ b/keyboards/mechlovin/delphine/mono_led/config.h @@ -1,10 +1,6 @@ #pragma once -#ifdef BACKLIGHT_ENABLE -#define BACKLIGHT_PIN B6 -#endif - #ifdef RGBLIGHT_ENABLE #define RGB_DI_PIN E2 #define RGBLED_NUM 13 diff --git a/keyboards/mechlovin/delphine/mono_led/info.json b/keyboards/mechlovin/delphine/mono_led/info.json index 2665906b80..ce88a638a9 100644 --- a/keyboards/mechlovin/delphine/mono_led/info.json +++ b/keyboards/mechlovin/delphine/mono_led/info.json @@ -2,5 +2,8 @@ "usb": { "pid": "0xDEF1", "device_version": "0.0.1" + }, + "backlight": { + "pin": "B6" } } diff --git a/keyboards/mechlovin/hannah65/config.h b/keyboards/mechlovin/hannah65/config.h index ed43115e09..e96bc8bc85 100644 --- a/keyboards/mechlovin/hannah65/config.h +++ b/keyboards/mechlovin/hannah65/config.h @@ -33,7 +33,5 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B8 -#define BACKLIGHT_BREATHING #define BACKLIGHT_PWM_DRIVER PWMD4 #define BACKLIGHT_PWM_CHANNEL 3 diff --git a/keyboards/mechlovin/hannah65/info.json b/keyboards/mechlovin/hannah65/info.json index 8ec49a784e..74ae965fb7 100644 --- a/keyboards/mechlovin/hannah65/info.json +++ b/keyboards/mechlovin/hannah65/info.json @@ -1,4 +1,8 @@ { + "backlight": { + "pin": "B8", + "breathing": true + }, "indicators": { "caps_lock": "B9", "on_state": 0 diff --git a/keyboards/mechlovin/hannah910/config.h b/keyboards/mechlovin/hannah910/config.h index 78ad7b5a1b..be1d769e67 100644 --- a/keyboards/mechlovin/hannah910/config.h +++ b/keyboards/mechlovin/hannah910/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW - -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN E2 #define RGBLIGHT_LIMIT_VAL 255 #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/mechlovin/hannah910/rev1/info.json b/keyboards/mechlovin/hannah910/rev1/info.json index 7f61b0e023..ae5f966622 100644 --- a/keyboards/mechlovin/hannah910/rev1/info.json +++ b/keyboards/mechlovin/hannah910/rev1/info.json @@ -8,6 +8,10 @@ "pid": "0x9101", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/mechlovin/hannah910/rev2/info.json b/keyboards/mechlovin/hannah910/rev2/info.json index 76cb6cb8f0..cfb43e786c 100644 --- a/keyboards/mechlovin/hannah910/rev2/info.json +++ b/keyboards/mechlovin/hannah910/rev2/info.json @@ -8,6 +8,10 @@ "pid": "0x9102", "device_version": "0.0.2" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["65_ansi_blocker", "65_iso_blocker_split_bs"], diff --git a/keyboards/mechlovin/hannah910/rev3/info.json b/keyboards/mechlovin/hannah910/rev3/info.json index 7bae7c1579..14219cb9b6 100644 --- a/keyboards/mechlovin/hannah910/rev3/info.json +++ b/keyboards/mechlovin/hannah910/rev3/info.json @@ -8,6 +8,10 @@ "pid": "0x9103", "device_version": "0.0.2" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["65_ansi"], diff --git a/keyboards/mechlovin/hex4b/rev1/config.h b/keyboards/mechlovin/hex4b/rev1/config.h index abd2a73e0e..1baf1aa2ea 100644 --- a/keyboards/mechlovin/hex4b/rev1/config.h +++ b/keyboards/mechlovin/hex4b/rev1/config.h @@ -31,7 +31,3 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { B7, A2, A1, A3, A4, A5 } #define MATRIX_COL_PINS { B6, B5, B3, B2, B1, B0, A0, A6, A7, C7, C6, C5, C4, D1, D0 } - -#define BACKLIGHT_PIN D4 -#define BACKLIGHT_LEVELS 5 -#define BACKLIGHT_BREATHING diff --git a/keyboards/mechlovin/hex4b/rev1/info.json b/keyboards/mechlovin/hex4b/rev1/info.json index 79bef8e9a7..cec380a91f 100644 --- a/keyboards/mechlovin/hex4b/rev1/info.json +++ b/keyboards/mechlovin/hex4b/rev1/info.json @@ -3,6 +3,11 @@ "usb": { "device_version": "0.0.1" }, + "backlight": { + "pin": "D4", + "levels": 5, + "breathing": true + }, "indicators": { "caps_lock": "D7", "num_lock": "D6", diff --git a/keyboards/mechlovin/hex4b/rev2/config.h b/keyboards/mechlovin/hex4b/rev2/config.h index cff2b7f915..c0486dd0b7 100644 --- a/keyboards/mechlovin/hex4b/rev2/config.h +++ b/keyboards/mechlovin/hex4b/rev2/config.h @@ -32,7 +32,4 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { A4, B12, B13, B14, B15, A1 } #define MATRIX_COL_PINS { B11, B10, B2, B1, B0, A7, A6, A5, A3, C13, B7, B6, B5, B4, B3 } -#define BACKLIGHT_PIN B8 -#define BACKLIGHT_LEVELS 5 #define BACKLIGHT_PWM_DRIVER PWMD4 -#define BACKLIGHT_BREATHING diff --git a/keyboards/mechlovin/hex4b/rev2/info.json b/keyboards/mechlovin/hex4b/rev2/info.json index 6f5ddff9f7..7d9a2cb40a 100644 --- a/keyboards/mechlovin/hex4b/rev2/info.json +++ b/keyboards/mechlovin/hex4b/rev2/info.json @@ -3,6 +3,11 @@ "usb": { "device_version": "0.0.2" }, + "backlight": { + "pin": "B8", + "levels": 5, + "breathing": true + }, "indicators": { "caps_lock": "B9", "num_lock": "C15", diff --git a/keyboards/mechlovin/hex6c/config.h b/keyboards/mechlovin/hex6c/config.h index 55ec2080d8..a2b1b0311b 100644 --- a/keyboards/mechlovin/hex6c/config.h +++ b/keyboards/mechlovin/hex6c/config.h @@ -34,8 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B0 -#define BACKLIGHT_BREATHING #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 3 diff --git a/keyboards/mechlovin/hex6c/info.json b/keyboards/mechlovin/hex6c/info.json index c076b7198b..e03f75c2b8 100644 --- a/keyboards/mechlovin/hex6c/info.json +++ b/keyboards/mechlovin/hex6c/info.json @@ -8,6 +8,10 @@ "pid": "0x6C01", "device_version": "0.0.1" }, + "backlight": { + "pin": "B0", + "breathing": true + }, "indicators": { "caps_lock": "A4", "num_lock": "A3", diff --git a/keyboards/mechlovin/infinity87/rev1/config.h b/keyboards/mechlovin/infinity87/rev1/config.h index 7de2a2cc79..e03ee6dded 100644 --- a/keyboards/mechlovin/infinity87/rev1/config.h +++ b/keyboards/mechlovin/infinity87/rev1/config.h @@ -19,8 +19,6 @@ #define MATRIX_ROW_PINS { A10, B13, B12, B11, C14, C15 } #define MATRIX_COL_PINS { C13, B9, B4, B7, B8, B5, B6, A9, A5, A6, A7, B1, B2, B10, B3, B14, B15 } -#define BACKLIGHT_PIN B0 -#define BACKLIGHT_BREATHING #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 3 diff --git a/keyboards/mechlovin/infinity87/rev1/info.json b/keyboards/mechlovin/infinity87/rev1/info.json index 0bcf668f11..be094e09ae 100644 --- a/keyboards/mechlovin/infinity87/rev1/info.json +++ b/keyboards/mechlovin/infinity87/rev1/info.json @@ -1,4 +1,8 @@ { + "backlight": { + "pin": "B0", + "breathing": true + }, "indicators": { "caps_lock": "A4", "scroll_lock": "A8" diff --git a/keyboards/mechlovin/infinity87/rev2/config.h b/keyboards/mechlovin/infinity87/rev2/config.h index 461c735f48..178374c1e7 100644 --- a/keyboards/mechlovin/infinity87/rev2/config.h +++ b/keyboards/mechlovin/infinity87/rev2/config.h @@ -34,9 +34,6 @@ /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_BREATHING - #ifdef RGBLIGHT_ENABLE #define RGB_DI_PIN E2 #define RGBLED_NUM 24 diff --git a/keyboards/mechlovin/infinity87/rev2/info.json b/keyboards/mechlovin/infinity87/rev2/info.json index 548e55f563..d75dd051bc 100644 --- a/keyboards/mechlovin/infinity87/rev2/info.json +++ b/keyboards/mechlovin/infinity87/rev2/info.json @@ -8,6 +8,10 @@ "pid": "0x8702", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "breathing": true + }, "indicators": { "caps_lock": "D6", "num_lock": "D7", diff --git a/keyboards/mechlovin/infinity88/config.h b/keyboards/mechlovin/infinity88/config.h index 862f954672..11ae35100b 100644 --- a/keyboards/mechlovin/infinity88/config.h +++ b/keyboards/mechlovin/infinity88/config.h @@ -33,8 +33,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B0 -#define BACKLIGHT_BREATHING #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 3 diff --git a/keyboards/mechlovin/infinity88/info.json b/keyboards/mechlovin/infinity88/info.json index 8fd53b54cd..37ccd27537 100644 --- a/keyboards/mechlovin/infinity88/info.json +++ b/keyboards/mechlovin/infinity88/info.json @@ -8,6 +8,10 @@ "pid": "0x8802", "device_version": "0.0.1" }, + "backlight": { + "pin": "B0", + "breathing": true + }, "indicators": { "caps_lock": "A4", "num_lock": "A3" diff --git a/keyboards/mechlovin/infinityce/config.h b/keyboards/mechlovin/infinityce/config.h index 0f71af88e7..e0900333cd 100644 --- a/keyboards/mechlovin/infinityce/config.h +++ b/keyboards/mechlovin/infinityce/config.h @@ -24,9 +24,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN E2 #define RGBLED_NUM 31 #define RGBLIGHT_LIMIT_VAL 255 diff --git a/keyboards/mechlovin/infinityce/info.json b/keyboards/mechlovin/infinityce/info.json index 23a34f48a8..1ab5cad305 100644 --- a/keyboards/mechlovin/infinityce/info.json +++ b/keyboards/mechlovin/infinityce/info.json @@ -8,6 +8,10 @@ "pid": "0x8801", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/mechlovin/kanu/config.h b/keyboards/mechlovin/kanu/config.h index 6609920740..6a6dc97744 100644 --- a/keyboards/mechlovin/kanu/config.h +++ b/keyboards/mechlovin/kanu/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW - -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN E2 #define RGBLED_NUM 6 #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/mechlovin/kanu/info.json b/keyboards/mechlovin/kanu/info.json index 0f21e4b766..628a78e1a5 100644 --- a/keyboards/mechlovin/kanu/info.json +++ b/keyboards/mechlovin/kanu/info.json @@ -8,6 +8,10 @@ "pid": "0x4B4E", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["65_ansi_blocker", "65_iso_blocker_split_bs", "65_iso_blocker"], diff --git a/keyboards/mechlovin/mechlovin9/rev1/config.h b/keyboards/mechlovin/mechlovin9/rev1/config.h index eca0a5236b..c5e997d425 100644 --- a/keyboards/mechlovin/mechlovin9/rev1/config.h +++ b/keyboards/mechlovin/mechlovin9/rev1/config.h @@ -30,7 +30,5 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { A4, A5, A3, A2, A1 } #define MATRIX_COL_PINS { B11, B10, B2, B1, B0, A7, A6, A0, C15, B4, B5, B3, C13, C14, A13 } -#define BACKLIGHT_PIN B8 -#define BACKLIGHT_BREATHING #define BACKLIGHT_PWM_DRIVER PWMD3 -#define BACKLIGHT_PWM_CHANNEL 3 \ No newline at end of file +#define BACKLIGHT_PWM_CHANNEL 3 diff --git a/keyboards/mechlovin/mechlovin9/rev1/info.json b/keyboards/mechlovin/mechlovin9/rev1/info.json index c955b37fc2..66b4a3c2ed 100644 --- a/keyboards/mechlovin/mechlovin9/rev1/info.json +++ b/keyboards/mechlovin/mechlovin9/rev1/info.json @@ -4,6 +4,10 @@ "pid": "0x6509", "device_version": "0.0.1" }, + "backlight": { + "pin": "B8", + "breathing": true + }, "indicators": { "caps_lock": "B9" }, diff --git a/keyboards/mechlovin/mechlovin9/rev2/config.h b/keyboards/mechlovin/mechlovin9/rev2/config.h index aa8c9db9f3..f550a2e39a 100644 --- a/keyboards/mechlovin/mechlovin9/rev2/config.h +++ b/keyboards/mechlovin/mechlovin9/rev2/config.h @@ -29,6 +29,3 @@ along with this program. If not, see . */ #define MATRIX_ROW_PINS { A0, A1, A2, A3, A4 } #define MATRIX_COL_PINS { B2, B1, B0, B3, B4, B5, D0, D1, D5, D6, D7, C0, C3, C2, C1 } - -#define BACKLIGHT_PIN D4 -#define BACKLIGHT_BREATHING diff --git a/keyboards/mechlovin/mechlovin9/rev2/info.json b/keyboards/mechlovin/mechlovin9/rev2/info.json index 47fdf4973d..c0e94e7638 100644 --- a/keyboards/mechlovin/mechlovin9/rev2/info.json +++ b/keyboards/mechlovin/mechlovin9/rev2/info.json @@ -4,6 +4,10 @@ "pid": "0x6509", "device_version": "0.0.2" }, + "backlight": { + "pin": "D4", + "breathing": true + }, "indicators": { "caps_lock": "A7" }, diff --git a/keyboards/mechlovin/olly/bb/config.h b/keyboards/mechlovin/olly/bb/config.h index f58cbef78e..0f9a61426e 100644 --- a/keyboards/mechlovin/olly/bb/config.h +++ b/keyboards/mechlovin/olly/bb/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . */ #define MATRIX_ROW_PINS {D6, A5, A4, A3, A6} -#define BACKLIGHT_PIN D4 -#define BACKLIGHT_BREATHING - #ifdef RGBLIGHT_ENABLE #define RGB_DI_PIN B3 #define RGBLED_NUM 24 diff --git a/keyboards/mechlovin/olly/bb/info.json b/keyboards/mechlovin/olly/bb/info.json index e5a55c5add..887e32d9a5 100644 --- a/keyboards/mechlovin/olly/bb/info.json +++ b/keyboards/mechlovin/olly/bb/info.json @@ -8,6 +8,10 @@ "pid": "0xD181", "device_version": "0.0.1" }, + "backlight": { + "pin": "D4", + "breathing": true + }, "indicators": { "caps_lock": "B0", "num_lock": "B1", diff --git a/keyboards/mechlovin/olly/jf/config.h b/keyboards/mechlovin/olly/jf/config.h index 7d29b1901e..2b42e66edc 100644 --- a/keyboards/mechlovin/olly/jf/config.h +++ b/keyboards/mechlovin/olly/jf/config.h @@ -37,9 +37,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN D4 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN B3 #define RGBLED_NUM 27 #define RGBLIGHT_LIMIT_VAL 255 diff --git a/keyboards/mechlovin/olly/jf/info.json b/keyboards/mechlovin/olly/jf/info.json index fdfe0dda91..86de2f1bfe 100644 --- a/keyboards/mechlovin/olly/jf/info.json +++ b/keyboards/mechlovin/olly/jf/info.json @@ -8,6 +8,10 @@ "pid": "0xD180", "device_version": "0.0.1" }, + "backlight": { + "pin": "D4", + "breathing": true + }, "indicators": { "caps_lock": "B0", "num_lock": "B1", diff --git a/keyboards/mechlovin/pisces/config.h b/keyboards/mechlovin/pisces/config.h index ea0404eef5..1540505bad 100644 --- a/keyboards/mechlovin/pisces/config.h +++ b/keyboards/mechlovin/pisces/config.h @@ -33,8 +33,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLED_NUM 12 diff --git a/keyboards/mechlovin/pisces/info.json b/keyboards/mechlovin/pisces/info.json index f88f37c23c..19246528e7 100644 --- a/keyboards/mechlovin/pisces/info.json +++ b/keyboards/mechlovin/pisces/info.json @@ -8,6 +8,9 @@ "pid": "0x6501", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "indicators": { "caps_lock": "B2" }, diff --git a/keyboards/mechlovin/serratus/config.h b/keyboards/mechlovin/serratus/config.h index 3e7092190a..abfafffd0d 100644 --- a/keyboards/mechlovin/serratus/config.h +++ b/keyboards/mechlovin/serratus/config.h @@ -38,9 +38,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_BREATHING - #ifdef RGBLIGHT_ENABLE #define RGB_DI_PIN E2 #define RGBLED_NUM 24 diff --git a/keyboards/mechlovin/serratus/info.json b/keyboards/mechlovin/serratus/info.json index 98fc8af770..e5125314cb 100644 --- a/keyboards/mechlovin/serratus/info.json +++ b/keyboards/mechlovin/serratus/info.json @@ -8,6 +8,10 @@ "pid": "0x0870", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "breathing": true + }, "indicators": { "caps_lock": "D6", "num_lock": "D7", diff --git a/keyboards/mechlovin/tmkl/config.h b/keyboards/mechlovin/tmkl/config.h index 3b4d904706..54cd52de76 100644 --- a/keyboards/mechlovin/tmkl/config.h +++ b/keyboards/mechlovin/tmkl/config.h @@ -33,8 +33,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B8 -#define BACKLIGHT_BREATHING #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 3 diff --git a/keyboards/mechlovin/tmkl/info.json b/keyboards/mechlovin/tmkl/info.json index f49d274979..5cdd06aa12 100644 --- a/keyboards/mechlovin/tmkl/info.json +++ b/keyboards/mechlovin/tmkl/info.json @@ -7,6 +7,10 @@ "pid": "0xC601", "device_version": "0.0.1" }, + "backlight": { + "pin": "B8", + "breathing": true + }, "indicators": { "caps_lock": "B9" }, diff --git a/keyboards/mehkee96/config.h b/keyboards/mehkee96/config.h index 65b809de41..2066e16662 100644 --- a/keyboards/mehkee96/config.h +++ b/keyboards/mehkee96/config.h @@ -5,8 +5,6 @@ #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 - #define RGBLED_NUM 18 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/mehkee96/info.json b/keyboards/mehkee96/info.json index 82f8ef6717..40f4cd71b4 100644 --- a/keyboards/mehkee96/info.json +++ b/keyboards/mehkee96/info.json @@ -8,6 +8,9 @@ "pid": "0x422D", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1", "num_lock": "D0" diff --git a/keyboards/melgeek/mj6xy/rev3/config.h b/keyboards/melgeek/mj6xy/rev3/config.h index aa0e0e6097..a093ab8d37 100755 --- a/keyboards/melgeek/mj6xy/rev3/config.h +++ b/keyboards/melgeek/mj6xy/rev3/config.h @@ -22,14 +22,8 @@ /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - #define RGB_DI_PIN C6 -#ifdef BACKLIGHT_PIN -# define BACKLIGHT_LEVELS 10 -#endif - #ifdef RGB_DI_PIN # define RGBLIGHT_EFFECT_BREATHING # define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/melgeek/mj6xy/rev3/info.json b/keyboards/melgeek/mj6xy/rev3/info.json new file mode 100644 index 0000000000..ccd7165a72 --- /dev/null +++ b/keyboards/melgeek/mj6xy/rev3/info.json @@ -0,0 +1,7 @@ +{ + "backlight": { + "driver": "software", + "pin": "B7", + "levels": 10 + } +} diff --git a/keyboards/melgeek/mj6xy/rev3/rules.mk b/keyboards/melgeek/mj6xy/rev3/rules.mk index 6559b3778b..51b869696a 100755 --- a/keyboards/melgeek/mj6xy/rev3/rules.mk +++ b/keyboards/melgeek/mj6xy/rev3/rules.mk @@ -10,4 +10,3 @@ NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output -BACKLIGHT_DRIVER = software diff --git a/keyboards/meme/config.h b/keyboards/meme/config.h index 44ef90ed66..cf96f9f4de 100644 --- a/keyboards/meme/config.h +++ b/keyboards/meme/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/meme/info.json b/keyboards/meme/info.json index 872a9523d1..500c76ebdf 100644 --- a/keyboards/meme/info.json +++ b/keyboards/meme/info.json @@ -8,6 +8,10 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u2", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/merge/iso_macro/config.h b/keyboards/merge/iso_macro/config.h index b662589523..cde82e7341 100644 --- a/keyboards/merge/iso_macro/config.h +++ b/keyboards/merge/iso_macro/config.h @@ -19,7 +19,6 @@ #define MATRIX_ROW_PINS { F4, F5, F6} #define MATRIX_COL_PINS { B4, B5, B6} -#define BACKLIGHT_PIN B7 /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/merge/iso_macro/info.json b/keyboards/merge/iso_macro/info.json index 3c5f6d6784..123438a5be 100644 --- a/keyboards/merge/iso_macro/info.json +++ b/keyboards/merge/iso_macro/info.json @@ -8,6 +8,9 @@ "pid": "0x1200", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/merge/uma/config.h b/keyboards/merge/uma/config.h index 8744fc0fd5..4cbb583321 100644 --- a/keyboards/merge/uma/config.h +++ b/keyboards/merge/uma/config.h @@ -19,8 +19,6 @@ #define MATRIX_ROW_PINS { B0, B1, B2, B3, B7 } #define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, D6, D4 } -#define BACKLIGHT_PIN C6 - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/merge/uma/info.json b/keyboards/merge/uma/info.json index 0031f4ae8e..11ccd102a5 100644 --- a/keyboards/merge/uma/info.json +++ b/keyboards/merge/uma/info.json @@ -8,6 +8,9 @@ "pid": "0x3232", "device_version": "0.0.1" }, + "backlight": { + "pin": "C6" + }, "split": { "soft_serial_pin": "D2" }, diff --git a/keyboards/metamechs/timberwolf/config.h b/keyboards/metamechs/timberwolf/config.h index 7e259d0817..83501eb878 100644 --- a/keyboards/metamechs/timberwolf/config.h +++ b/keyboards/metamechs/timberwolf/config.h @@ -44,10 +44,6 @@ along with this program. If not, see . /* Reverse encoder direction */ // #define ENCODER_DIRECTION_FLIP -/* Backlighting code used for caps lock indicator */ -#define BACKLIGHT_PIN C6 -#define BACKLIGHT_LEVELS 16 - /* * Feature disable options * These options are also useful to firmware size reduction. diff --git a/keyboards/metamechs/timberwolf/info.json b/keyboards/metamechs/timberwolf/info.json index 87ee8d48a8..4d6e82eec6 100644 --- a/keyboards/metamechs/timberwolf/info.json +++ b/keyboards/metamechs/timberwolf/info.json @@ -8,6 +8,10 @@ "pid": "0x5754", "device_version": "0.0.1" }, + "backlight": { + "pin": "C6", + "levels": 16 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/metamechs/timberwolf/rules.mk b/keyboards/metamechs/timberwolf/rules.mk index 0a9f98774c..247b4e978a 100644 --- a/keyboards/metamechs/timberwolf/rules.mk +++ b/keyboards/metamechs/timberwolf/rules.mk @@ -12,5 +12,3 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output ENCODER_ENABLE = yes # Enable encoder support LTO_ENABLE = yes - -BACKLIGHT_DRIVER = pwm diff --git a/keyboards/mntre/config.h b/keyboards/mntre/config.h index 123d66fcdf..54a640366b 100644 --- a/keyboards/mntre/config.h +++ b/keyboards/mntre/config.h @@ -20,7 +20,6 @@ /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 #define BACKLIGHT_CUSTOM_RESOLUTION 0x400 /* 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 dd26827624..36426c3cc1 100644 --- a/keyboards/mntre/info.json +++ b/keyboards/mntre/info.json @@ -9,6 +9,7 @@ "device_version": "0.0.2" }, "backlight": { + "pin": "B7", "max_brightness": 84 }, "processor": "atmega32u4", diff --git a/keyboards/mntre/rules.mk b/keyboards/mntre/rules.mk index ce8ecc4a9c..a56f94b312 100644 --- a/keyboards/mntre/rules.mk +++ b/keyboards/mntre/rules.mk @@ -11,5 +11,3 @@ BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output OLED_ENABLE = yes -BACKLIGHT_DRIVER = pwm - diff --git a/keyboards/mode/m75s/config.h b/keyboards/mode/m75s/config.h index 09e9b7bc73..6c90b66be5 100644 --- a/keyboards/mode/m75s/config.h +++ b/keyboards/mode/m75s/config.h @@ -28,9 +28,6 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define BACKLIGHT_PIN C6 -#define BACKLIGHT_LEVELS 20 -#define BACKLIGHT_CAPS_LOCK #define BACKLIGHT_DEFAULT_LEVEL 20 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 diff --git a/keyboards/mode/m75s/info.json b/keyboards/mode/m75s/info.json index 58768a1063..f046a8dffd 100644 --- a/keyboards/mode/m75s/info.json +++ b/keyboards/mode/m75s/info.json @@ -8,6 +8,11 @@ "pid": "0x7583", "device_version": "0.0.1" }, + "backlight": { + "pin": "C6", + "levels": 20, + "as_caps_lock": true + }, "processor": "STM32F401", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/mokey/ginkgo65/config.h b/keyboards/mokey/ginkgo65/config.h deleted file mode 100644 index 320718238a..0000000000 --- a/keyboards/mokey/ginkgo65/config.h +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright 2023 QMK -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once -#define BACKLIGHT_CAPS_LOCK diff --git a/keyboards/mokey/ginkgo65/info.json b/keyboards/mokey/ginkgo65/info.json index c081cda703..81e3fe1a38 100644 --- a/keyboards/mokey/ginkgo65/info.json +++ b/keyboards/mokey/ginkgo65/info.json @@ -18,7 +18,8 @@ "backlight": { "pin": "B6", "levels": 6, - "breathing": true + "breathing": true, + "as_caps_lock": true }, "layout_aliases": { "LAYOUT": "LAYOUT_65_ansi_blocker" diff --git a/keyboards/mokey/ginkgo65hot/config.h b/keyboards/mokey/ginkgo65hot/config.h index 148a1ce5c2..c3f836fd12 100644 --- a/keyboards/mokey/ginkgo65hot/config.h +++ b/keyboards/mokey/ginkgo65hot/config.h @@ -17,8 +17,3 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { B0, B1, B2, B3, F7 } #define MATRIX_COL_PINS { C7, F6, F5, F4, F1, E6, D0, D1, D2, D3, D5, D4, D6, D7, B4 } #define DIODE_DIRECTION COL2ROW - -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_CAPS_LOCK -#define BACKLIGHT_BREATHING diff --git a/keyboards/mokey/ginkgo65hot/info.json b/keyboards/mokey/ginkgo65hot/info.json index 9083672c7d..31427c7cb3 100644 --- a/keyboards/mokey/ginkgo65hot/info.json +++ b/keyboards/mokey/ginkgo65hot/info.json @@ -8,6 +8,12 @@ "pid": "0x3366", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 6, + "breathing": true, + "as_caps_lock": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layout_aliases": { diff --git a/keyboards/monarch/config.h b/keyboards/monarch/config.h index 7708f0fc16..3f7a66bf06 100644 --- a/keyboards/monarch/config.h +++ b/keyboards/monarch/config.h @@ -26,13 +26,9 @@ along with this program. If not, see . #define ENCODERS_PAD_B { B5 } #define ENCODER_RESOLUTION 1 -//LEDS A6 -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 24 -#define BACKLIGHT_BREATHING #define SLEEP_LED_GPT_DRIVER GPTD1 diff --git a/keyboards/monarch/info.json b/keyboards/monarch/info.json index cb5239e915..c4d1362a5b 100644 --- a/keyboards/monarch/info.json +++ b/keyboards/monarch/info.json @@ -8,6 +8,11 @@ "pid": "0x43C1", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "levels": 24, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/monarch/rules.mk b/keyboards/monarch/rules.mk index bed35367eb..5a2c15a821 100644 --- a/keyboards/monarch/rules.mk +++ b/keyboards/monarch/rules.mk @@ -13,7 +13,5 @@ AUDIO_ENABLE = no # Audio output SLEEP_LED_ENABLE = yes ENCODER_ENABLE = yes -BACKLIGHT_DRIVER = pwm - # Enter lower-power sleep mode when on the ChibiOS idle thread OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE diff --git a/keyboards/monstargear/xo87/solderable/config.h b/keyboards/monstargear/xo87/solderable/config.h index a4cf5c8038..65c76647ab 100644 --- a/keyboards/monstargear/xo87/solderable/config.h +++ b/keyboards/monstargear/xo87/solderable/config.h @@ -19,8 +19,6 @@ #define brightnessMax 8 -#define BACKLIGHT_PIN F0 - #define MATRIX_ROW_PINS { E6,E7,E3,B0,B1,A2} #define MATRIX_COL_PINS { C5,C3,C1,E1,D6,D2,B7,B3,F6,F7,F3,A5,A1,E2,C7,A6 } diff --git a/keyboards/monstargear/xo87/solderable/info.json b/keyboards/monstargear/xo87/solderable/info.json index 8a6e4984d6..f3a8ca1657 100644 --- a/keyboards/monstargear/xo87/solderable/info.json +++ b/keyboards/monstargear/xo87/solderable/info.json @@ -8,6 +8,10 @@ "pid": "0x5344", "device_version": "0.0.1" }, + "backlight": { + "driver": "custom", + "pin": "F0" + }, "processor": "at90usb646", "bootloader": "lufa-dfu", "layouts": { diff --git a/keyboards/monstargear/xo87/solderable/rules.mk b/keyboards/monstargear/xo87/solderable/rules.mk index f015ea5d01..d845a512bb 100644 --- a/keyboards/monstargear/xo87/solderable/rules.mk +++ b/keyboards/monstargear/xo87/solderable/rules.mk @@ -10,4 +10,3 @@ NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output -BACKLIGHT_DRIVER = custom diff --git a/keyboards/moon/config.h b/keyboards/moon/config.h index ce262dee84..dda1618522 100644 --- a/keyboards/moon/config.h +++ b/keyboards/moon/config.h @@ -22,9 +22,6 @@ along with this program. If not, see . #define MATRIX_ROWS 8 #define MATRIX_COLS 11 -/* Backlight */ -#define BACKLIGHT_PIN C6 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/moon/info.json b/keyboards/moon/info.json index 5ad57b3867..153f6f74a9 100644 --- a/keyboards/moon/info.json +++ b/keyboards/moon/info.json @@ -8,6 +8,9 @@ "pid": "0xFCB8", "device_version": "0.0.1" }, + "backlight": { + "pin": "C6" + }, "indicators": { "caps_lock": "B5", "scroll_lock": "B6" diff --git a/keyboards/mt/blocked65/config.h b/keyboards/mt/blocked65/config.h index e2c8b53b73..bd4c880e3b 100644 --- a/keyboards/mt/blocked65/config.h +++ b/keyboards/mt/blocked65/config.h @@ -26,9 +26,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 6 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/mt/blocked65/info.json b/keyboards/mt/blocked65/info.json index 3a76a3bc61..c16d04cd5b 100644 --- a/keyboards/mt/blocked65/info.json +++ b/keyboards/mt/blocked65/info.json @@ -8,6 +8,10 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 6 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["65_ansi_blocker"], diff --git a/keyboards/mt/mt40/config.h b/keyboards/mt/mt40/config.h index 61947facbc..8a77b3dc7b 100644 --- a/keyboards/mt/mt40/config.h +++ b/keyboards/mt/mt40/config.h @@ -52,8 +52,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D2 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* #define LOCKING_SUPPORT_ENABLE */ /* Locking resynchronize hack */ diff --git a/keyboards/mt/mt40/info.json b/keyboards/mt/mt40/info.json index 89b385472c..730cdf6c24 100644 --- a/keyboards/mt/mt40/info.json +++ b/keyboards/mt/mt40/info.json @@ -8,6 +8,9 @@ "pid": "0x422D", "device_version": "0.0.1" }, + "backlight": { + "pin": "D2" + }, "processor": "atmega32a", "bootloader": "bootloadhid", "community_layouts": ["planck_mit"], diff --git a/keyboards/mt/mt980/config.h b/keyboards/mt/mt980/config.h index 01187d43a0..8a5dbe68f8 100644 --- a/keyboards/mt/mt980/config.h +++ b/keyboards/mt/mt980/config.h @@ -8,8 +8,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN B6 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/mt/mt980/info.json b/keyboards/mt/mt980/info.json index e1c9f2758f..59afd26650 100644 --- a/keyboards/mt/mt980/info.json +++ b/keyboards/mt/mt980/info.json @@ -8,6 +8,9 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6" + }, "indicators": { "caps_lock": "C7", "num_lock": "C6", diff --git a/keyboards/mt/ncr80/solder/config.h b/keyboards/mt/ncr80/solder/config.h index f9463fc079..c6828a9323 100644 --- a/keyboards/mt/ncr80/solder/config.h +++ b/keyboards/mt/ncr80/solder/config.h @@ -31,7 +31,3 @@ #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4 } #define DIODE_DIRECTION ROW2COL - -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 5 - diff --git a/keyboards/mt/ncr80/solder/info.json b/keyboards/mt/ncr80/solder/info.json index 1718eae5fd..2005f45d48 100644 --- a/keyboards/mt/ncr80/solder/info.json +++ b/keyboards/mt/ncr80/solder/info.json @@ -8,6 +8,10 @@ "pid": "0x2001", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 5 + }, "indicators": { "caps_lock": "C6", "num_lock": "B5", diff --git a/keyboards/mt/split75/config.h b/keyboards/mt/split75/config.h index 0f18e23646..f954d5fd95 100644 --- a/keyboards/mt/split75/config.h +++ b/keyboards/mt/split75/config.h @@ -20,6 +20,4 @@ #define RGBLIGHT_EFFECT_TWINKLE #define RGBLIGHT_SLEEP -#define BACKLIGHT_PIN D4 - #define I2C_START_RETRY_COUNT 1 diff --git a/keyboards/mt/split75/info.json b/keyboards/mt/split75/info.json index 13f3e32c6f..e97d70bf3b 100644 --- a/keyboards/mt/split75/info.json +++ b/keyboards/mt/split75/info.json @@ -8,6 +8,9 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1", "num_lock": "D0", diff --git a/keyboards/ncc1701kb/config.h b/keyboards/ncc1701kb/config.h index 09207fb27a..959be9fb72 100644 --- a/keyboards/ncc1701kb/config.h +++ b/keyboards/ncc1701kb/config.h @@ -22,10 +22,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { D4, D6, D7 } #define MATRIX_COL_PINS { B4, B5, B6 } -/* BackLight */ -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - /*Encoders */ #define ENCODERS_PAD_A { D0 } #define ENCODERS_PAD_B { D1 } diff --git a/keyboards/ncc1701kb/info.json b/keyboards/ncc1701kb/info.json index 41c76f52f5..9c26601ae9 100644 --- a/keyboards/ncc1701kb/info.json +++ b/keyboards/ncc1701kb/info.json @@ -8,6 +8,10 @@ "pid": "0x1701", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/neito/config.h b/keyboards/neito/config.h index 1aa349df4c..b15db6b616 100644 --- a/keyboards/neito/config.h +++ b/keyboards/neito/config.h @@ -23,9 +23,6 @@ #define ENCODERS_PAD_B { B0 } #define ENCODER_RESOLUTION 4 -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_LEVELS 5 - #define GRAVE_ESC_CTRL_OVERRIDE /* RGB Light Configuration */ diff --git a/keyboards/neito/info.json b/keyboards/neito/info.json index 36b8e0ba22..09457315a7 100644 --- a/keyboards/neito/info.json +++ b/keyboards/neito/info.json @@ -9,6 +9,8 @@ "device_version": "0.0.1" }, "backlight": { + "pin": "B5", + "levels": 5, "on_state": 0 }, "indicators": { diff --git a/keyboards/neokeys/g67/soldered/config.h b/keyboards/neokeys/g67/soldered/config.h index 2bc08ae7c5..68374d3e40 100644 --- a/keyboards/neokeys/g67/soldered/config.h +++ b/keyboards/neokeys/g67/soldered/config.h @@ -32,10 +32,6 @@ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 10 - #if defined(RGBLIGHT_ENABLE) #define RGB_DI_PIN F0 #define RGBLED_NUM 18 diff --git a/keyboards/neokeys/g67/soldered/info.json b/keyboards/neokeys/g67/soldered/info.json index a97249e2e1..7b61a631d2 100644 --- a/keyboards/neokeys/g67/soldered/info.json +++ b/keyboards/neokeys/g67/soldered/info.json @@ -8,6 +8,11 @@ "pid": "0x5053", "device_version": "1.0.0" }, + "backlight": { + "pin": "B6", + "levels": 10, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["65_ansi", "65_ansi_blocker", "65_ansi_blocker_tsangan", "65_iso", "65_iso_blocker"], diff --git a/keyboards/nix_studio/oxalys80/config.h b/keyboards/nix_studio/oxalys80/config.h index 0219426f18..fa337fe426 100644 --- a/keyboards/nix_studio/oxalys80/config.h +++ b/keyboards/nix_studio/oxalys80/config.h @@ -33,8 +33,6 @@ /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/nix_studio/oxalys80/info.json b/keyboards/nix_studio/oxalys80/info.json index aa37b150f7..64e491cc41 100644 --- a/keyboards/nix_studio/oxalys80/info.json +++ b/keyboards/nix_studio/oxalys80/info.json @@ -8,6 +8,9 @@ "pid": "0x3830", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "indicators": { "caps_lock": "E6", "scroll_lock": "B2", diff --git a/keyboards/nopunin10did/jabberwocky/v2/config.h b/keyboards/nopunin10did/jabberwocky/v2/config.h index 367603694c..0a91a41444 100644 --- a/keyboards/nopunin10did/jabberwocky/v2/config.h +++ b/keyboards/nopunin10did/jabberwocky/v2/config.h @@ -21,8 +21,6 @@ #define MATRIX_ROW_PINS { B2, B3, B1, D4, B4, D1, E6, B0, F0, F1, F4, F5 } #define MATRIX_COL_PINS { D0, D2, D3, D5, B5, D7, F6, F7, C7, B6 } -#define BACKLIGHT_LEVELS 6 - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/nopunin10did/jabberwocky/v2/info.json b/keyboards/nopunin10did/jabberwocky/v2/info.json index ea7f59ed8d..a2b9d5a02c 100644 --- a/keyboards/nopunin10did/jabberwocky/v2/info.json +++ b/keyboards/nopunin10did/jabberwocky/v2/info.json @@ -9,7 +9,9 @@ "device_version": "0.2.0" }, "backlight": { - "pins": ["D6"] + "driver": "software", + "pins": ["D6"], + "levels": 6 }, "indicators": { "caps_lock": "B7", diff --git a/keyboards/nopunin10did/jabberwocky/v2/rules.mk b/keyboards/nopunin10did/jabberwocky/v2/rules.mk index ae0d08d802..b325f3f0c7 100644 --- a/keyboards/nopunin10did/jabberwocky/v2/rules.mk +++ b/keyboards/nopunin10did/jabberwocky/v2/rules.mk @@ -8,6 +8,5 @@ CONSOLE_ENABLE = no # Console for debug COMMAND_ENABLE = no # Commands for debug and configuration NKRO_ENABLE = yes # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -BACKLIGHT_DRIVER = software # Software-driven backlight driver RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output diff --git a/keyboards/novelkeys/novelpad/config.h b/keyboards/novelkeys/novelpad/config.h index f8c5b1ab39..ff56c34c91 100755 --- a/keyboards/novelkeys/novelpad/config.h +++ b/keyboards/novelkeys/novelpad/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_LEVELS 10 - #define RGB_DI_PIN D3 #ifdef RGB_DI_PIN #define RGBLED_NUM 4 diff --git a/keyboards/novelkeys/novelpad/info.json b/keyboards/novelkeys/novelpad/info.json index d08adfe99f..ae77ec387c 100644 --- a/keyboards/novelkeys/novelpad/info.json +++ b/keyboards/novelkeys/novelpad/info.json @@ -8,6 +8,10 @@ "pid": "0x6070", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 10 + }, "processor": "atmega32u2", "bootloader": "atmel-dfu", "community_layouts": ["ortho_5x4"], diff --git a/keyboards/noxary/220/config.h b/keyboards/noxary/220/config.h index dbbf043e26..047c2712a2 100644 --- a/keyboards/noxary/220/config.h +++ b/keyboards/noxary/220/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/noxary/220/info.json b/keyboards/noxary/220/info.json index 423b20a663..5fe00edef0 100644 --- a/keyboards/noxary/220/info.json +++ b/keyboards/noxary/220/info.json @@ -8,6 +8,10 @@ "pid": "0x0899", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u2", "bootloader": "atmel-dfu", "community_layouts": ["ortho_6x4"], diff --git a/keyboards/noxary/260/config.h b/keyboards/noxary/260/config.h index da5e664de5..4eb386df73 100644 --- a/keyboards/noxary/260/config.h +++ b/keyboards/noxary/260/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/noxary/260/info.json b/keyboards/noxary/260/info.json index 54328d3165..9e9763f4b0 100644 --- a/keyboards/noxary/260/info.json +++ b/keyboards/noxary/260/info.json @@ -8,6 +8,10 @@ "pid": "0x0A29", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "indicators": { "caps_lock": "B1", "on_state": 0 diff --git a/keyboards/noxary/268/config.h b/keyboards/noxary/268/config.h index 8037caa96a..0808bb996f 100644 --- a/keyboards/noxary/268/config.h +++ b/keyboards/noxary/268/config.h @@ -34,8 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/noxary/268/info.json b/keyboards/noxary/268/info.json index 842c397022..5c89fb242d 100644 --- a/keyboards/noxary/268/info.json +++ b/keyboards/noxary/268/info.json @@ -8,6 +8,9 @@ "pid": "0x0A79", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/noxary/268_2/config.h b/keyboards/noxary/268_2/config.h index 8153787c93..b0c97a0c74 100644 --- a/keyboards/noxary/268_2/config.h +++ b/keyboards/noxary/268_2/config.h @@ -34,8 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/noxary/268_2/info.json b/keyboards/noxary/268_2/info.json index 80dafd23b9..fcba339ef5 100644 --- a/keyboards/noxary/268_2/info.json +++ b/keyboards/noxary/268_2/info.json @@ -8,6 +8,9 @@ "pid": "0x0A7A", "device_version": "0.0.2" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["65_ansi_blocker"], diff --git a/keyboards/noxary/268_2_rgb/config.h b/keyboards/noxary/268_2_rgb/config.h index e3fa886915..c6460002a9 100644 --- a/keyboards/noxary/268_2_rgb/config.h +++ b/keyboards/noxary/268_2_rgb/config.h @@ -31,8 +31,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - /* ws2812b options */ #define RGB_DI_PIN B5 #ifdef RGB_DI_PIN diff --git a/keyboards/noxary/268_2_rgb/info.json b/keyboards/noxary/268_2_rgb/info.json index 7b52a82966..9016300e25 100644 --- a/keyboards/noxary/268_2_rgb/info.json +++ b/keyboards/noxary/268_2_rgb/info.json @@ -8,6 +8,9 @@ "pid": "0x0A7C", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "indicators": { "caps_lock": "B0" }, diff --git a/keyboards/noxary/280/config.h b/keyboards/noxary/280/config.h index e1f29f502f..d46eb41347 100644 --- a/keyboards/noxary/280/config.h +++ b/keyboards/noxary/280/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/noxary/280/info.json b/keyboards/noxary/280/info.json index 8f9b2aafc9..d606490b98 100644 --- a/keyboards/noxary/280/info.json +++ b/keyboards/noxary/280/info.json @@ -8,6 +8,10 @@ "pid": "0x0AF1", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/noxary/x268/config.h b/keyboards/noxary/x268/config.h index 05d4dded48..f40f846d61 100644 --- a/keyboards/noxary/x268/config.h +++ b/keyboards/noxary/x268/config.h @@ -34,8 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - /* ws2812b options */ #define RGB_DI_PIN B5 #ifdef RGB_DI_PIN diff --git a/keyboards/noxary/x268/info.json b/keyboards/noxary/x268/info.json index bbc0eacdad..ee616992dd 100644 --- a/keyboards/noxary/x268/info.json +++ b/keyboards/noxary/x268/info.json @@ -8,6 +8,9 @@ "pid": "0x0A7B", "device_version": "0.7.8" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/oddforge/vea/config.h b/keyboards/oddforge/vea/config.h index 31d75a7690..c2e9c2b6bb 100644 --- a/keyboards/oddforge/vea/config.h +++ b/keyboards/oddforge/vea/config.h @@ -39,5 +39,3 @@ along with this program. If not, see . #define RGBLIGHT_EFFECT_TWINKLE #define RGBLIGHT_SLEEP #define RGBLIGHT_EFFECT_KNIGHT_OFFSET 9 - -#define BACKLIGHT_PIN D4 diff --git a/keyboards/oddforge/vea/info.json b/keyboards/oddforge/vea/info.json index 97d6b19265..06e71e1be2 100644 --- a/keyboards/oddforge/vea/info.json +++ b/keyboards/oddforge/vea/info.json @@ -8,6 +8,9 @@ "pid": "0x4155", "device_version": "1.0.0" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1", "num_lock": "D0", diff --git a/keyboards/ok60/config.h b/keyboards/ok60/config.h index d525f491a3..2dd38f77d0 100644 --- a/keyboards/ok60/config.h +++ b/keyboards/ok60/config.h @@ -31,13 +31,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { B5, B4, D7, D6, D4 } #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, B6, C6, C7, F1, F0, E6, B3, B2, B1, B0 } -#define BACKLIGHT_PIN B7 - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_LEVELS 5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/ok60/info.json b/keyboards/ok60/info.json index 1413a3ca64..08cb263a2e 100644 --- a/keyboards/ok60/info.json +++ b/keyboards/ok60/info.json @@ -8,6 +8,10 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["60_ansi", "60_iso", "60_hhkb"], diff --git a/keyboards/omkbd/ergodash/mini/config.h b/keyboards/omkbd/ergodash/mini/config.h index 1297450b3e..6adcf7253c 100644 --- a/keyboards/omkbd/ergodash/mini/config.h +++ b/keyboards/omkbd/ergodash/mini/config.h @@ -31,11 +31,6 @@ along with this program. If not, see . #define AUDIO_PIN C6 -#ifdef BACKLIGHT_ENABLE - #define BACKLIGHT_PIN B6 - #define BACKLIGHT_LEVELS 7 -#endif - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/omkbd/ergodash/mini/info.json b/keyboards/omkbd/ergodash/mini/info.json index 22ab94477a..4b5bd3bb70 100644 --- a/keyboards/omkbd/ergodash/mini/info.json +++ b/keyboards/omkbd/ergodash/mini/info.json @@ -8,6 +8,10 @@ "pid": "0x6060", "device_version": "1.0.0" }, + "backlight": { + "pin": "B6", + "levels": 7 + }, "split": { "soft_serial_pin": "D0" }, diff --git a/keyboards/omkbd/ergodash/rev1/config.h b/keyboards/omkbd/ergodash/rev1/config.h index 802cbcae05..21bd3d4f7b 100644 --- a/keyboards/omkbd/ergodash/rev1/config.h +++ b/keyboards/omkbd/ergodash/rev1/config.h @@ -31,11 +31,6 @@ along with this program. If not, see . #define AUDIO_PIN C6 -#ifdef BACKLIGHT_ENABLE - #define BACKLIGHT_PIN B6 - #define BACKLIGHT_LEVELS 7 -#endif - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/omkbd/ergodash/rev1/info.json b/keyboards/omkbd/ergodash/rev1/info.json index 44a6955e25..d11b84b733 100644 --- a/keyboards/omkbd/ergodash/rev1/info.json +++ b/keyboards/omkbd/ergodash/rev1/info.json @@ -8,6 +8,10 @@ "pid": "0x6060", "device_version": "1.0.0" }, + "backlight": { + "pin": "B6", + "levels": 7 + }, "split": { "soft_serial_pin": "D0" }, diff --git a/keyboards/orange75/config.h b/keyboards/orange75/config.h index b35799caac..3d9fe1d327 100644 --- a/keyboards/orange75/config.h +++ b/keyboards/orange75/config.h @@ -7,8 +7,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/orange75/info.json b/keyboards/orange75/info.json index 9aa445afb2..67fc8db76d 100644 --- a/keyboards/orange75/info.json +++ b/keyboards/orange75/info.json @@ -8,6 +8,9 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "pin": "B5" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/org60/config.h b/keyboards/org60/config.h index e3fedecc2e..44701c7e17 100644 --- a/keyboards/org60/config.h +++ b/keyboards/org60/config.h @@ -31,10 +31,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 } #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B7, B5, B4, D7, D6, B3 } -/* Backlight Setup */ -#define BACKLIGHT_PIN F5 -#define BACKLIGHT_LEVELS 6 - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/org60/info.json b/keyboards/org60/info.json index e537bb65cc..83da161e31 100644 --- a/keyboards/org60/info.json +++ b/keyboards/org60/info.json @@ -8,6 +8,10 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "pin": "F5", + "levels": 6 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["60_ansi"], diff --git a/keyboards/panc60/config.h b/keyboards/panc60/config.h index 6455bb1a72..32e6c4bd38 100644 --- a/keyboards/panc60/config.h +++ b/keyboards/panc60/config.h @@ -25,8 +25,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 - #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/panc60/info.json b/keyboards/panc60/info.json index 05f916f248..4daeffe763 100644 --- a/keyboards/panc60/info.json +++ b/keyboards/panc60/info.json @@ -8,6 +8,9 @@ "pid": "0x422D", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1" }, diff --git a/keyboards/pearl/config.h b/keyboards/pearl/config.h index d490e7e75b..51e4b85e74 100644 --- a/keyboards/pearl/config.h +++ b/keyboards/pearl/config.h @@ -29,8 +29,6 @@ along with this program. If not, see . #define RGBLIGHT_EFFECT_TWINKLE #define RGBLED_NUM 12 -#define BACKLIGHT_PIN D4 - #define MATRIX_ROW_PINS { B0, B1, B2, B3 } #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3} diff --git a/keyboards/pearl/info.json b/keyboards/pearl/info.json index 3808bdecf4..96357ad346 100644 --- a/keyboards/pearl/info.json +++ b/keyboards/pearl/info.json @@ -7,6 +7,9 @@ "pid": "0x0348", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1", "num_lock": "D0", diff --git a/keyboards/percent/booster/config.h b/keyboards/percent/booster/config.h index 6fe2567688..b452a0dcb6 100644 --- a/keyboards/percent/booster/config.h +++ b/keyboards/percent/booster/config.h @@ -21,8 +21,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { D1, D6, D7, B4, B5 } #define MATRIX_COL_PINS { C7, D4, D2, D0 } -#define BACKLIGHT_PIN B7 - #define DIODE_DIRECTION COL2ROW #define RGB_DI_PIN E2 diff --git a/keyboards/percent/booster/info.json b/keyboards/percent/booster/info.json index d17ba98f05..f92476c9f6 100644 --- a/keyboards/percent/booster/info.json +++ b/keyboards/percent/booster/info.json @@ -8,6 +8,9 @@ "pid": "0x4253", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["numpad_5x4"], diff --git a/keyboards/percent/canoe/config.h b/keyboards/percent/canoe/config.h index ff08476a5c..69f53905fc 100644 --- a/keyboards/percent/canoe/config.h +++ b/keyboards/percent/canoe/config.h @@ -25,8 +25,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 - #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/percent/canoe/info.json b/keyboards/percent/canoe/info.json index 18d57bce99..951e55ec64 100644 --- a/keyboards/percent/canoe/info.json +++ b/keyboards/percent/canoe/info.json @@ -8,6 +8,9 @@ "pid": "0x434E", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1" }, diff --git a/keyboards/percent/skog/config.h b/keyboards/percent/skog/config.h index bbd6a7470c..274d30df72 100644 --- a/keyboards/percent/skog/config.h +++ b/keyboards/percent/skog/config.h @@ -32,6 +32,3 @@ along with this program. If not, see . #define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE - -#define BACKLIGHT_PIN D4 -#define BACKLIGHT_LEVELS 5 diff --git a/keyboards/percent/skog/info.json b/keyboards/percent/skog/info.json index 5d461b67a4..80c7d832c4 100644 --- a/keyboards/percent/skog/info.json +++ b/keyboards/percent/skog/info.json @@ -8,6 +8,10 @@ "pid": "0x422D", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4", + "levels": 5 + }, "indicators": { "caps_lock": "D1", "scroll_lock": "D6" diff --git a/keyboards/percent/skog_lite/config.h b/keyboards/percent/skog_lite/config.h index 94dbb85d04..b00a612cd7 100644 --- a/keyboards/percent/skog_lite/config.h +++ b/keyboards/percent/skog_lite/config.h @@ -26,8 +26,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 - #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/percent/skog_lite/info.json b/keyboards/percent/skog_lite/info.json index 8b126296e6..74abc67bdc 100644 --- a/keyboards/percent/skog_lite/info.json +++ b/keyboards/percent/skog_lite/info.json @@ -8,6 +8,9 @@ "pid": "0x422D", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1", "scroll_lock": "D6" diff --git a/keyboards/planck/config.h b/keyboards/planck/config.h index 165e6dcc5c..ff4b7bb3aa 100644 --- a/keyboards/planck/config.h +++ b/keyboards/planck/config.h @@ -25,8 +25,6 @@ along with this program. If not, see . #define AUDIO_VOICES #define AUDIO_PIN C6 -#define BACKLIGHT_PIN B7 - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/planck/light/config.h b/keyboards/planck/light/config.h index 862751d6b6..7a64f87174 100644 --- a/keyboards/planck/light/config.h +++ b/keyboards/planck/light/config.h @@ -12,10 +12,6 @@ #define AUDIO_PIN C6 #define AUDIO_PIN_ALT B5 -#undef BACKLIGHT_PIN - -#define BACKLIGHT_PIN A5 - #define NO_USB_STARTUP_CHECK #define PLANCK_MIT_LAYOUT diff --git a/keyboards/planck/light/info.json b/keyboards/planck/light/info.json index ed23c14828..c2ab19563e 100644 --- a/keyboards/planck/light/info.json +++ b/keyboards/planck/light/info.json @@ -8,6 +8,9 @@ "pid": "0xBEA2", "device_version": "0.0.1" }, + "backlight": { + "pin": "A5" + }, "processor": "at90usb1286", "bootloader": "atmel-dfu", "community_layouts": ["ortho_4x12", "planck_mit"], diff --git a/keyboards/planck/rev1/info.json b/keyboards/planck/rev1/info.json index 6829001b0e..ebf11c9c8b 100644 --- a/keyboards/planck/rev1/info.json +++ b/keyboards/planck/rev1/info.json @@ -8,6 +8,9 @@ "pid": "0xAE01", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["ortho_4x12", "planck_mit"], diff --git a/keyboards/planck/rev2/info.json b/keyboards/planck/rev2/info.json index 2f36673b1e..b7a3a31628 100644 --- a/keyboards/planck/rev2/info.json +++ b/keyboards/planck/rev2/info.json @@ -8,6 +8,9 @@ "pid": "0xAE01", "device_version": "0.0.2" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["ortho_4x12", "planck_mit"], diff --git a/keyboards/planck/rev3/info.json b/keyboards/planck/rev3/info.json index 5479a93d93..4ba0085cda 100644 --- a/keyboards/planck/rev3/info.json +++ b/keyboards/planck/rev3/info.json @@ -8,6 +8,9 @@ "pid": "0xAE01", "device_version": "0.0.3" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["ortho_4x12", "planck_mit"], diff --git a/keyboards/planck/rev4/info.json b/keyboards/planck/rev4/info.json index 2c3c9e842b..46513d8248 100644 --- a/keyboards/planck/rev4/info.json +++ b/keyboards/planck/rev4/info.json @@ -8,6 +8,9 @@ "pid": "0xAE01", "device_version": "0.0.4" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["ortho_4x12", "planck_mit"], diff --git a/keyboards/planck/rev5/info.json b/keyboards/planck/rev5/info.json index cd76c7e2ad..9fb2ae811e 100644 --- a/keyboards/planck/rev5/info.json +++ b/keyboards/planck/rev5/info.json @@ -8,6 +8,9 @@ "pid": "0xAE01", "device_version": "0.0.5" }, + "backlight": { + "pin": "B7" + }, "qmk_lufa_bootloader": { "esc_input": "D5", "esc_output": "F1", diff --git a/keyboards/playkbtw/ca66/config.h b/keyboards/playkbtw/ca66/config.h index acaa94d4dd..1c1085c9a1 100644 --- a/keyboards/playkbtw/ca66/config.h +++ b/keyboards/playkbtw/ca66/config.h @@ -8,8 +8,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN F0 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/playkbtw/ca66/info.json b/keyboards/playkbtw/ca66/info.json index 8537254d54..809eaa0c39 100644 --- a/keyboards/playkbtw/ca66/info.json +++ b/keyboards/playkbtw/ca66/info.json @@ -8,6 +8,9 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "pin": "F0" + }, "indicators": { "caps_lock": "D1" }, diff --git a/keyboards/playkbtw/helen80/config.h b/keyboards/playkbtw/helen80/config.h index f08764bf5b..b91943278f 100644 --- a/keyboards/playkbtw/helen80/config.h +++ b/keyboards/playkbtw/helen80/config.h @@ -32,8 +32,6 @@ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLED_NUM 87 diff --git a/keyboards/playkbtw/pk60/config.h b/keyboards/playkbtw/pk60/config.h index f637d22d50..42f15b3352 100644 --- a/keyboards/playkbtw/pk60/config.h +++ b/keyboards/playkbtw/pk60/config.h @@ -8,11 +8,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 5 -#endif - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/playkbtw/pk60/info.json b/keyboards/playkbtw/pk60/info.json index 6c9094d253..5909204f29 100644 --- a/keyboards/playkbtw/pk60/info.json +++ b/keyboards/playkbtw/pk60/info.json @@ -8,6 +8,10 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5 + }, "indicators": { "caps_lock": "F4", "on_state": 0 diff --git a/keyboards/plut0nium/0x3e/config.h b/keyboards/plut0nium/0x3e/config.h index f01184dea2..63cc719d84 100644 --- a/keyboards/plut0nium/0x3e/config.h +++ b/keyboards/plut0nium/0x3e/config.h @@ -27,13 +27,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -/* - * Backlight - */ -#define BACKLIGHT_PIN C6 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 6 - /* * RGB Underglow */ diff --git a/keyboards/plut0nium/0x3e/info.json b/keyboards/plut0nium/0x3e/info.json index 8c112f3463..52ad743a0a 100644 --- a/keyboards/plut0nium/0x3e/info.json +++ b/keyboards/plut0nium/0x3e/info.json @@ -8,6 +8,11 @@ "pid": "0x3E01", "device_version": "0.0.1" }, + "backlight": { + "pin": "C6", + "levels": 6, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/poker87c/config.h b/keyboards/poker87c/config.h index 66775a7839..3332d62aa6 100644 --- a/keyboards/poker87c/config.h +++ b/keyboards/poker87c/config.h @@ -32,8 +32,6 @@ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLED_NUM 95 diff --git a/keyboards/poker87c/info.json b/keyboards/poker87c/info.json index 247436cc11..04c16583a6 100644 --- a/keyboards/poker87c/info.json +++ b/keyboards/poker87c/info.json @@ -8,6 +8,9 @@ "pid": "0x087C", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6" + }, "indicators": { "caps_lock": "B3", "num_lock": "B1", diff --git a/keyboards/poker87d/config.h b/keyboards/poker87d/config.h index f4bbc85bef..fbee1e1858 100644 --- a/keyboards/poker87d/config.h +++ b/keyboards/poker87d/config.h @@ -32,8 +32,6 @@ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLED_NUM 125 diff --git a/keyboards/poker87d/info.json b/keyboards/poker87d/info.json index 20e85800d8..22a09c541e 100644 --- a/keyboards/poker87d/info.json +++ b/keyboards/poker87d/info.json @@ -8,6 +8,9 @@ "pid": "0x087D", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6" + }, "indicators": { "caps_lock": "B3", "num_lock": "B1", diff --git a/keyboards/polycarbdiet/s20/config.h b/keyboards/polycarbdiet/s20/config.h index e45ed0910d..6cb2e62308 100644 --- a/keyboards/polycarbdiet/s20/config.h +++ b/keyboards/polycarbdiet/s20/config.h @@ -24,9 +24,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN B3 #define RGBLED_NUM 4 #define RGBLIGHT_HUE_STEP 8 diff --git a/keyboards/polycarbdiet/s20/info.json b/keyboards/polycarbdiet/s20/info.json index d37ec49dcb..5c2ce53150 100644 --- a/keyboards/polycarbdiet/s20/info.json +++ b/keyboards/polycarbdiet/s20/info.json @@ -8,6 +8,10 @@ "pid": "0x7320", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["ortho_5x4", "numpad_5x4"], diff --git a/keyboards/pom_keyboards/tnln95/config.h b/keyboards/pom_keyboards/tnln95/config.h index e5237bea16..e59d45ca45 100644 --- a/keyboards/pom_keyboards/tnln95/config.h +++ b/keyboards/pom_keyboards/tnln95/config.h @@ -33,10 +33,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 10 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/pom_keyboards/tnln95/info.json b/keyboards/pom_keyboards/tnln95/info.json index e3a0930584..ea829767ba 100644 --- a/keyboards/pom_keyboards/tnln95/info.json +++ b/keyboards/pom_keyboards/tnln95/info.json @@ -8,6 +8,11 @@ "pid": "0x3931", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 10, + "breathing": true + }, "bootmagic": { "matrix": [0, 4] }, diff --git a/keyboards/preonic/config.h b/keyboards/preonic/config.h index 494c15c516..c3a49487ef 100644 --- a/keyboards/preonic/config.h +++ b/keyboards/preonic/config.h @@ -25,8 +25,6 @@ along with this program. If not, see . #define AUDIO_VOICES #define AUDIO_PIN C6 -#define BACKLIGHT_PIN B7 - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/preonic/rev1/info.json b/keyboards/preonic/rev1/info.json index 6da254960b..340c178635 100644 --- a/keyboards/preonic/rev1/info.json +++ b/keyboards/preonic/rev1/info.json @@ -6,6 +6,9 @@ "pid": "0x67F3", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["ortho_5x12"] diff --git a/keyboards/preonic/rev2/info.json b/keyboards/preonic/rev2/info.json index 4392f2e964..3da1615c2d 100644 --- a/keyboards/preonic/rev2/info.json +++ b/keyboards/preonic/rev2/info.json @@ -6,6 +6,9 @@ "pid": "0x67F3", "device_version": "0.0.2" }, + "backlight": { + "pin": "B7" + }, "qmk_lufa_bootloader": { "esc_input": "B5", "esc_output": "F1", diff --git a/keyboards/primekb/prime_e/std/config.h b/keyboards/primekb/prime_e/std/config.h deleted file mode 100644 index eb111f5665..0000000000 --- a/keyboards/primekb/prime_e/std/config.h +++ /dev/null @@ -1,22 +0,0 @@ -/* -Copyright 2019 Holten Campbell - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#pragma once - - -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_LEVELS 5 diff --git a/keyboards/primekb/prime_e/std/info.json b/keyboards/primekb/prime_e/std/info.json index 04f8842546..b6078c9d7a 100644 --- a/keyboards/primekb/prime_e/std/info.json +++ b/keyboards/primekb/prime_e/std/info.json @@ -3,5 +3,9 @@ "usb": { "pid": "0x0051", "device_version": "0.0.1" + }, + "backlight": { + "pin": "B7", + "levels": 5 } } diff --git a/keyboards/primekb/prime_l/v1/config.h b/keyboards/primekb/prime_l/v1/config.h index 278d22c738..553674692a 100644 --- a/keyboards/primekb/prime_l/v1/config.h +++ b/keyboards/primekb/prime_l/v1/config.h @@ -22,7 +22,3 @@ along with this program. If not, see . /* Keyboard Matrix Assignments */ #define MATRIX_ROW_PINS { D1, D0, B7, B3, B2 } #define MATRIX_COL_PINS { D2, D3, D5, D4, D6, D7, B4, B5, C7, C6, F7, F6, F5, F4, F1, F0 } - -#define BACKLIGHT_PIN B6 -/*#define BACKLIGHT_BREATHING*/ -#define BACKLIGHT_LEVELS 4 diff --git a/keyboards/primekb/prime_l/v1/info.json b/keyboards/primekb/prime_l/v1/info.json index 628aa67c10..967939ccbc 100644 --- a/keyboards/primekb/prime_l/v1/info.json +++ b/keyboards/primekb/prime_l/v1/info.json @@ -6,6 +6,10 @@ "pid": "0x504C", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 4 + }, "layouts": { "LAYOUT": { "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0}, {"x":14, "y":0}, {"x":15, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":6, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":12, "y":1}, {"x":13, "y":1}, {"x":14, "y":1}, {"x":15, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2, "w":1.25}, {"x":4.25, "y":2}, {"x":5.25, "y":2}, {"x":6.25, "y":2}, {"x":7.25, "y":2}, {"x":8.25, "y":2}, {"x":9.25, "y":2}, {"x":10.25, "y":2}, {"x":11.25, "y":2}, {"x":12.25, "y":2}, {"x":13.25, "y":2}, {"x":14.25, "y":2, "w":1.75}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3, "w":1.75}, {"x":4.75, "y":3}, {"x":5.75, "y":3}, {"x":6.75, "y":3}, {"x":7.75, "y":3}, {"x":8.75, "y":3}, {"x":9.75, "y":3}, {"x":10.75, "y":3}, {"x":11.75, "y":3}, {"x":12.75, "y":3}, {"x":13.75, "y":3}, {"x":14.75, "y":3, "w":1.25}, {"x":0, "y":4}, {"x":1, "y":4}, {"x":2, "y":4}, {"x":3, "y":4, "w":1.25}, {"x":4.25, "y":4, "w":1.25}, {"x":5.5, "y":4}, {"x":6.5, "y":4}, {"x":7.5, "y":4, "w":2}, {"x":9.5, "y":4, "w":2.25}, {"x":11.75, "y":4}, {"x":12.75, "y":4}, {"x":13.75, "y":4}, {"x":14.75, "y":4, "w":1.25}] diff --git a/keyboards/primekb/prime_m/config.h b/keyboards/primekb/prime_m/config.h index e876259f2c..46995b1d31 100644 --- a/keyboards/primekb/prime_m/config.h +++ b/keyboards/primekb/prime_m/config.h @@ -26,10 +26,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -/*#define BACKLIGHT_BREATHING*/ -#define BACKLIGHT_LEVELS 4 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/primekb/prime_m/info.json b/keyboards/primekb/prime_m/info.json index 32493fc6f3..ace8f6b52a 100644 --- a/keyboards/primekb/prime_m/info.json +++ b/keyboards/primekb/prime_m/info.json @@ -8,6 +8,10 @@ "pid": "0x504D", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 4 + }, "processor": "atmega32u2", "bootloader": "atmel-dfu", "community_layouts": ["numpad_5x6"], diff --git a/keyboards/primekb/prime_o/config.h b/keyboards/primekb/prime_o/config.h index a3e2879dfd..b67af66f47 100644 --- a/keyboards/primekb/prime_o/config.h +++ b/keyboards/primekb/prime_o/config.h @@ -25,10 +25,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -/*#define BACKLIGHT_BREATHING*/ -#define BACKLIGHT_LEVELS 4 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/primekb/prime_o/info.json b/keyboards/primekb/prime_o/info.json index b3d41057e4..774dbc6523 100644 --- a/keyboards/primekb/prime_o/info.json +++ b/keyboards/primekb/prime_o/info.json @@ -8,6 +8,10 @@ "pid": "0x4024", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 4 + }, "processor": "atmega32u2", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/primekb/prime_r/config.h b/keyboards/primekb/prime_r/config.h index 6295b57769..d86696aef1 100644 --- a/keyboards/primekb/prime_r/config.h +++ b/keyboards/primekb/prime_r/config.h @@ -25,11 +25,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 5 -#endif - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/primekb/prime_r/info.json b/keyboards/primekb/prime_r/info.json index ffddcee44f..e2e597c793 100644 --- a/keyboards/primekb/prime_r/info.json +++ b/keyboards/primekb/prime_r/info.json @@ -8,6 +8,10 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 5 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/projectkb/alice/info.json b/keyboards/projectkb/alice/info.json index f77f68441d..746a4ea9ca 100644 --- a/keyboards/projectkb/alice/info.json +++ b/keyboards/projectkb/alice/info.json @@ -8,6 +8,11 @@ "pid": "0xA71C", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "levels": 6, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "community_layouts": ["alice", "alice_split_bs"], diff --git a/keyboards/projectkb/alice/rev1/config.h b/keyboards/projectkb/alice/rev1/config.h index ade5f8f27c..54918d2b49 100644 --- a/keyboards/projectkb/alice/rev1/config.h +++ b/keyboards/projectkb/alice/rev1/config.h @@ -21,12 +21,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { B1, B0, A7, A5, A4 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/projectkb/alice/rev2/config.h b/keyboards/projectkb/alice/rev2/config.h index a63f0b85a5..1ac58753c7 100644 --- a/keyboards/projectkb/alice/rev2/config.h +++ b/keyboards/projectkb/alice/rev2/config.h @@ -21,12 +21,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { B2, B10, B11, A2, A0 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/prototypist/allison/config.h b/keyboards/prototypist/allison/config.h index a3d304801b..95e391b036 100644 --- a/keyboards/prototypist/allison/config.h +++ b/keyboards/prototypist/allison/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 4 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/prototypist/allison/info.json b/keyboards/prototypist/allison/info.json index dbfb113af0..c8423baf41 100644 --- a/keyboards/prototypist/allison/info.json +++ b/keyboards/prototypist/allison/info.json @@ -8,6 +8,11 @@ "pid": "0x414D", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 4, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/prototypist/allison_numpad/config.h b/keyboards/prototypist/allison_numpad/config.h index 19682dbcf2..c26d0b1e19 100644 --- a/keyboards/prototypist/allison_numpad/config.h +++ b/keyboards/prototypist/allison_numpad/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 4 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/prototypist/allison_numpad/info.json b/keyboards/prototypist/allison_numpad/info.json index 1d503cae20..8931ff2dc4 100644 --- a/keyboards/prototypist/allison_numpad/info.json +++ b/keyboards/prototypist/allison_numpad/info.json @@ -8,6 +8,11 @@ "pid": "0x414E", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 4, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["ortho_6x4", "numpad_6x4"], diff --git a/keyboards/prototypist/j01/config.h b/keyboards/prototypist/j01/config.h index e958680717..4f003e3cfe 100644 --- a/keyboards/prototypist/j01/config.h +++ b/keyboards/prototypist/j01/config.h @@ -33,9 +33,6 @@ /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_LEVELS 5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/prototypist/j01/info.json b/keyboards/prototypist/j01/info.json index b62a49ecce..a5bf0c836a 100644 --- a/keyboards/prototypist/j01/info.json +++ b/keyboards/prototypist/j01/info.json @@ -8,6 +8,10 @@ "pid": "0x6A31", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/quad_h/lb75/config.h b/keyboards/quad_h/lb75/config.h index 7a68675b5a..b3a4bf279e 100644 --- a/keyboards/quad_h/lb75/config.h +++ b/keyboards/quad_h/lb75/config.h @@ -35,9 +35,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_LEVELS 5 - #define RGB_DI_PIN B0 #ifdef RGB_DI_PIN #define RGBLED_NUM 16 diff --git a/keyboards/quad_h/lb75/info.json b/keyboards/quad_h/lb75/info.json index fa18f23ffa..386ba46067 100644 --- a/keyboards/quad_h/lb75/info.json +++ b/keyboards/quad_h/lb75/info.json @@ -8,6 +8,10 @@ "pid": "0x0007", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/redscarf_i/config.h b/keyboards/redscarf_i/config.h index b17b1f3310..c9ee89dbe8 100644 --- a/keyboards/redscarf_i/config.h +++ b/keyboards/redscarf_i/config.h @@ -21,6 +21,3 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { D0, D1, D2, D3, D4, D5 } #define MATRIX_COL_PINS { F0, F1, E6, C7 } #define DIODE_DIRECTION COL2ROW - -/* Backlight */ -#define BACKLIGHT_PIN B5 diff --git a/keyboards/redscarf_i/info.json b/keyboards/redscarf_i/info.json index 1f508df3f5..620c7e457a 100644 --- a/keyboards/redscarf_i/info.json +++ b/keyboards/redscarf_i/info.json @@ -8,6 +8,9 @@ "pid": "0x5959", "device_version": "0.0.1" }, + "backlight": { + "pin": "B5" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["ortho_5x4", "ortho_6x4", "numpad_5x4", "numpad_6x4"], diff --git a/keyboards/redscarf_iiplus/verb/config.h b/keyboards/redscarf_iiplus/verb/config.h index 2f89ed0fd0..c92878c147 100755 --- a/keyboards/redscarf_iiplus/verb/config.h +++ b/keyboards/redscarf_iiplus/verb/config.h @@ -39,8 +39,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/redscarf_iiplus/verb/info.json b/keyboards/redscarf_iiplus/verb/info.json index 42879d8ee5..ed1acaa11e 100644 --- a/keyboards/redscarf_iiplus/verb/info.json +++ b/keyboards/redscarf_iiplus/verb/info.json @@ -8,6 +8,9 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "indicators": { "caps_lock": "C7", "num_lock": "E6", diff --git a/keyboards/redscarf_iiplus/verc/config.h b/keyboards/redscarf_iiplus/verc/config.h index 2f89ed0fd0..c92878c147 100755 --- a/keyboards/redscarf_iiplus/verc/config.h +++ b/keyboards/redscarf_iiplus/verc/config.h @@ -39,8 +39,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/redscarf_iiplus/verc/info.json b/keyboards/redscarf_iiplus/verc/info.json index fa425fa85d..cd8470a5ce 100644 --- a/keyboards/redscarf_iiplus/verc/info.json +++ b/keyboards/redscarf_iiplus/verc/info.json @@ -8,6 +8,9 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "indicators": { "caps_lock": "C7", "num_lock": "E6", diff --git a/keyboards/redscarf_iiplus/verd/config.h b/keyboards/redscarf_iiplus/verd/config.h index cbebb99f40..08ba1b48d8 100644 --- a/keyboards/redscarf_iiplus/verd/config.h +++ b/keyboards/redscarf_iiplus/verd/config.h @@ -38,8 +38,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/redscarf_iiplus/verd/info.json b/keyboards/redscarf_iiplus/verd/info.json index 74c63bc54f..23488e734f 100644 --- a/keyboards/redscarf_iiplus/verd/info.json +++ b/keyboards/redscarf_iiplus/verd/info.json @@ -8,6 +8,9 @@ "pid": "0x7778", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "indicators": { "caps_lock": "C6", "num_lock": "E6", diff --git a/keyboards/rmi_kb/wete/v1/config.h b/keyboards/rmi_kb/wete/v1/config.h index e576982cf1..4fa5e6e18b 100644 --- a/keyboards/rmi_kb/wete/v1/config.h +++ b/keyboards/rmi_kb/wete/v1/config.h @@ -21,13 +21,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { A9, B12, B11, B10, B2, B1 } #define DIODE_DIRECTION COL2ROW -//LEDS A6 -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 24 -#define BACKLIGHT_BREATHING // RGB B4 #define RGB_DI_PIN B4 diff --git a/keyboards/rmi_kb/wete/v1/info.json b/keyboards/rmi_kb/wete/v1/info.json index f36f7cefa7..cf17e5966d 100644 --- a/keyboards/rmi_kb/wete/v1/info.json +++ b/keyboards/rmi_kb/wete/v1/info.json @@ -8,6 +8,11 @@ "pid": "0x00B5", "device_version": "0.1.2" }, + "backlight": { + "pin": "A6", + "levels": 24, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/ryloo_studio/m0110/config.h b/keyboards/ryloo_studio/m0110/config.h index 05e901524a..a0625ed46f 100755 --- a/keyboards/ryloo_studio/m0110/config.h +++ b/keyboards/ryloo_studio/m0110/config.h @@ -25,11 +25,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#ifdef BACKLIGHT_PIN -# define BACKLIGHT_LEVELS 5 -#endif - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/ryloo_studio/m0110/info.json b/keyboards/ryloo_studio/m0110/info.json index 28eec374d9..251737d61e 100644 --- a/keyboards/ryloo_studio/m0110/info.json +++ b/keyboards/ryloo_studio/m0110/info.json @@ -8,6 +8,10 @@ "pid": "0x1000", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["60_ansi", "60_hhkb"], diff --git a/keyboards/sam/s80/config.h b/keyboards/sam/s80/config.h index 9a89cb2560..0a235bd36c 100644 --- a/keyboards/sam/s80/config.h +++ b/keyboards/sam/s80/config.h @@ -32,8 +32,6 @@ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN B6 - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN # define RGBLED_NUM 20 diff --git a/keyboards/sam/s80/info.json b/keyboards/sam/s80/info.json index 39de786a79..ab0cde43a1 100644 --- a/keyboards/sam/s80/info.json +++ b/keyboards/sam/s80/info.json @@ -8,6 +8,9 @@ "pid": "0x3830", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/sandwich/keeb68/config.h b/keyboards/sandwich/keeb68/config.h index 23c2cbe484..d12d01cb38 100644 --- a/keyboards/sandwich/keeb68/config.h +++ b/keyboards/sandwich/keeb68/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN C7 -#define BACKLIGHT_LEVELS 5 -#define BACKLIGHT_BREATHING - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/sandwich/keeb68/info.json b/keyboards/sandwich/keeb68/info.json index f8c50fbd10..ed30bd810a 100644 --- a/keyboards/sandwich/keeb68/info.json +++ b/keyboards/sandwich/keeb68/info.json @@ -8,6 +8,11 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "backlight": { + "pin": "C7", + "levels": 5, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["65_ansi"], diff --git a/keyboards/sentraq/number_pad/config.h b/keyboards/sentraq/number_pad/config.h index 8e5be4d533..0d96be0baf 100644 --- a/keyboards/sentraq/number_pad/config.h +++ b/keyboards/sentraq/number_pad/config.h @@ -34,8 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - #define RGB_DI_PIN B0 #ifdef RGB_DI_PIN #define RGBLED_NUM 13 diff --git a/keyboards/sentraq/number_pad/info.json b/keyboards/sentraq/number_pad/info.json index d39336e2e4..5b7af3fb0f 100644 --- a/keyboards/sentraq/number_pad/info.json +++ b/keyboards/sentraq/number_pad/info.json @@ -7,6 +7,9 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "url": "https://sentraq.com/collections/kits/products/number-pad-rgb-kit", diff --git a/keyboards/sentraq/s60_x/default/config.h b/keyboards/sentraq/s60_x/default/config.h index 3f073551d1..01ce1f2e65 100644 --- a/keyboards/sentraq/s60_x/default/config.h +++ b/keyboards/sentraq/s60_x/default/config.h @@ -5,11 +5,6 @@ #define MATRIX_ROW_PINS { B7, B3, B2, B1, B0 } #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7, E6, F1 } -#define BACKLIGHT_PIN B7 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_BREATHING -#endif - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/sentraq/s60_x/default/info.json b/keyboards/sentraq/s60_x/default/info.json index 2e98820a02..ae5728a679 100644 --- a/keyboards/sentraq/s60_x/default/info.json +++ b/keyboards/sentraq/s60_x/default/info.json @@ -1,5 +1,9 @@ { "keyboard_name": "S60-X", + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu" } diff --git a/keyboards/sentraq/s60_x/rgb/config.h b/keyboards/sentraq/s60_x/rgb/config.h index 178b6c3027..2332b484e1 100644 --- a/keyboards/sentraq/s60_x/rgb/config.h +++ b/keyboards/sentraq/s60_x/rgb/config.h @@ -5,11 +5,6 @@ #define MATRIX_ROW_PINS { B5, B4, D7, D6, D4 } #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, B6, C6, C7, F1, F0, E6, B3, B2, B1, B0 } -#define BACKLIGHT_PIN B7 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_BREATHING -#endif - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/sentraq/s60_x/rgb/info.json b/keyboards/sentraq/s60_x/rgb/info.json index b29f71288b..6420a8069a 100644 --- a/keyboards/sentraq/s60_x/rgb/info.json +++ b/keyboards/sentraq/s60_x/rgb/info.json @@ -1,5 +1,9 @@ { "keyboard_name": "S60-X-RGB", + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu" } diff --git a/keyboards/sentraq/s65_plus/config.h b/keyboards/sentraq/s65_plus/config.h index 648c758462..3b8323074f 100644 --- a/keyboards/sentraq/s65_plus/config.h +++ b/keyboards/sentraq/s65_plus/config.h @@ -5,8 +5,6 @@ #define MATRIX_ROW_PINS { C7, C6, B6, B5, B4 } #define MATRIX_COL_PINS { F6, F5, F4, F1, F0, E6, B0, B1, D5, B2, B3, D0, D1, D2, D4, D6, D7, F7 } -#define BACKLIGHT_PIN B7 - #define RGB_DI_PIN D3 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/sentraq/s65_plus/info.json b/keyboards/sentraq/s65_plus/info.json index 0e9f0fce75..3d9f6d1f21 100644 --- a/keyboards/sentraq/s65_plus/info.json +++ b/keyboards/sentraq/s65_plus/info.json @@ -8,6 +8,9 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "indicators": { "caps_lock": "B7", "on_state": 0 diff --git a/keyboards/sentraq/s65_x/config.h b/keyboards/sentraq/s65_x/config.h index cc31fdfd19..e8d1cb933d 100644 --- a/keyboards/sentraq/s65_x/config.h +++ b/keyboards/sentraq/s65_x/config.h @@ -5,10 +5,6 @@ #define MATRIX_ROW_PINS { C7, C6, B6, B5, B4 } #define MATRIX_COL_PINS { F4, F1, F0, E6, B0, B1, D5, B2, B3, D0, D1, D2, D4, D6, D7, F7 } -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_LEVELS 5 -#define BACKLIGHT_CAPS_LOCK - #define RGB_DI_PIN D3 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/sentraq/s65_x/info.json b/keyboards/sentraq/s65_x/info.json index 6b77754a65..a37852080c 100644 --- a/keyboards/sentraq/s65_x/info.json +++ b/keyboards/sentraq/s65_x/info.json @@ -8,6 +8,11 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5, + "as_caps_lock": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["65_ansi", "65_iso"], diff --git a/keyboards/singa/config.h b/keyboards/singa/config.h index 2540c59465..3e9694ca36 100644 --- a/keyboards/singa/config.h +++ b/keyboards/singa/config.h @@ -25,8 +25,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 - #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/singa/info.json b/keyboards/singa/info.json index 6a1271e237..3784c7232a 100644 --- a/keyboards/singa/info.json +++ b/keyboards/singa/info.json @@ -8,6 +8,9 @@ "pid": "0x7575", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1" }, diff --git a/keyboards/skeletn87/hotswap/config.h b/keyboards/skeletn87/hotswap/config.h index 56bdd8e8c9..5307bcd65a 100644 --- a/keyboards/skeletn87/hotswap/config.h +++ b/keyboards/skeletn87/hotswap/config.h @@ -25,10 +25,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_LEVELS 8 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN B3 #ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/skeletn87/hotswap/info.json b/keyboards/skeletn87/hotswap/info.json index cf326cff80..39b296a679 100644 --- a/keyboards/skeletn87/hotswap/info.json +++ b/keyboards/skeletn87/hotswap/info.json @@ -8,6 +8,11 @@ "pid": "0xB5E9", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 8, + "breathing": true + }, "indicators": { "caps_lock": "E6", "on_state": 0 diff --git a/keyboards/skeletn87/soldered/config.h b/keyboards/skeletn87/soldered/config.h index 5f140d1f25..095b95d13c 100644 --- a/keyboards/skeletn87/soldered/config.h +++ b/keyboards/skeletn87/soldered/config.h @@ -25,10 +25,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_LEVELS 8 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN B2 #ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/skeletn87/soldered/info.json b/keyboards/skeletn87/soldered/info.json index 20c94f4625..32ed0e6f0e 100644 --- a/keyboards/skeletn87/soldered/info.json +++ b/keyboards/skeletn87/soldered/info.json @@ -8,6 +8,11 @@ "pid": "0xB5E8", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 8, + "breathing": true + }, "indicators": { "caps_lock": "E6", "on_state": 0 diff --git a/keyboards/smithrune/iron165r2/f072/config.h b/keyboards/smithrune/iron165r2/f072/config.h index 28ab38b25e..21702a94a6 100644 --- a/keyboards/smithrune/iron165r2/f072/config.h +++ b/keyboards/smithrune/iron165r2/f072/config.h @@ -17,12 +17,9 @@ along with this program. If not, see . #pragma once -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 20 -#define BACKLIGHT_BREATHING #define RGB_DI_PIN B15 #define RGBLED_NUM 22 diff --git a/keyboards/smithrune/iron165r2/f072/info.json b/keyboards/smithrune/iron165r2/f072/info.json index 8bba6f5d5d..a4171d423e 100644 --- a/keyboards/smithrune/iron165r2/f072/info.json +++ b/keyboards/smithrune/iron165r2/f072/info.json @@ -1,4 +1,9 @@ { + "backlight": { + "pin": "A6", + "levels": 20, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu" } diff --git a/keyboards/smithrune/iron165r2/f072/rules.mk b/keyboards/smithrune/iron165r2/f072/rules.mk index 1b6ec31817..8b584c9a42 100644 --- a/keyboards/smithrune/iron165r2/f072/rules.mk +++ b/keyboards/smithrune/iron165r2/f072/rules.mk @@ -12,7 +12,6 @@ AUDIO_ENABLE = no # Audio output LTO_ENABLE = no ENCODER_ENABLE = no BACKLIGHT_ENABLE = yes -BACKLIGHT_DRIVER = pwm # Enter lower-power sleep mode when on the ChibiOS idle thread OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE diff --git a/keyboards/smithrune/iron165r2/f411/config.h b/keyboards/smithrune/iron165r2/f411/config.h index 832c40e1cc..88ff1d167a 100644 --- a/keyboards/smithrune/iron165r2/f411/config.h +++ b/keyboards/smithrune/iron165r2/f411/config.h @@ -17,12 +17,9 @@ along with this program. If not, see . #pragma once -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 2 -#define BACKLIGHT_LEVELS 20 -#define BACKLIGHT_BREATHING #define RGB_DI_PIN B15 #define RGBLED_NUM 22 diff --git a/keyboards/smithrune/iron165r2/f411/info.json b/keyboards/smithrune/iron165r2/f411/info.json index 8610c8de5f..e3a63f8764 100644 --- a/keyboards/smithrune/iron165r2/f411/info.json +++ b/keyboards/smithrune/iron165r2/f411/info.json @@ -1,4 +1,9 @@ { + "backlight": { + "pin": "A6", + "levels": 20, + "breathing": true + }, "processor": "STM32F411", "bootloader": "stm32-dfu" } diff --git a/keyboards/smithrune/iron165r2/f411/rules.mk b/keyboards/smithrune/iron165r2/f411/rules.mk index 3fcdaacb60..b5b0582d5d 100644 --- a/keyboards/smithrune/iron165r2/f411/rules.mk +++ b/keyboards/smithrune/iron165r2/f411/rules.mk @@ -13,7 +13,6 @@ LTO_ENABLE = no ENCODER_ENABLE = no EEPROM_DRIVER = i2c BACKLIGHT_ENABLE = yes -BACKLIGHT_DRIVER = pwm WS2812_DRIVER = pwm # Enter lower-power sleep mode when on the ChibiOS idle thread diff --git a/keyboards/smithrune/iron180/config.h b/keyboards/smithrune/iron180/config.h index bec408edc8..92c28d5719 100644 --- a/keyboards/smithrune/iron180/config.h +++ b/keyboards/smithrune/iron180/config.h @@ -21,12 +21,9 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { B9 , B8 , A15, B0 , A7 , A5 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/smithrune/iron180/info.json b/keyboards/smithrune/iron180/info.json index 3092b2021f..0f8c436240 100644 --- a/keyboards/smithrune/iron180/info.json +++ b/keyboards/smithrune/iron180/info.json @@ -8,6 +8,11 @@ "pid": "0x1180", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "levels": 6, + "breathing": true + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/sowbug/68keys/config.h b/keyboards/sowbug/68keys/config.h index 513a4963e9..265cb24f07 100644 --- a/keyboards/sowbug/68keys/config.h +++ b/keyboards/sowbug/68keys/config.h @@ -28,11 +28,6 @@ #define RGB_DI_PIN B9 -// Want backlighting and RGB Matrix patterns? See the note in the readme, -// apply the patches, and then uncomment the line below as well as the ones -// in rules.mk. -// -// #define BACKLIGHT_PIN rgb_matrix #define RGB_MATRIX_KEYPRESSES #define RGBLED_NUM 68 #define RGB_MATRIX_LED_COUNT RGBLED_NUM diff --git a/keyboards/sowbug/ansi_tkl/config.h b/keyboards/sowbug/ansi_tkl/config.h index 1c96bbac26..770a48b14d 100644 --- a/keyboards/sowbug/ansi_tkl/config.h +++ b/keyboards/sowbug/ansi_tkl/config.h @@ -83,9 +83,3 @@ #define ENABLE_RGB_MATRIX_MULTISPLASH #define ENABLE_RGB_MATRIX_SOLID_SPLASH #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH - -// Want backlighting and RGB Matrix patterns? See the note in the readme, -// apply the patches, and then uncomment the line below as well as the ones -// in rules.mk. -// -// #define BACKLIGHT_PIN rgb_matrix diff --git a/keyboards/specskeys/config.h b/keyboards/specskeys/config.h index 1b41c96d2c..a987f5782f 100644 --- a/keyboards/specskeys/config.h +++ b/keyboards/specskeys/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_LEVELS 1 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/specskeys/info.json b/keyboards/specskeys/info.json index 57e0b92d51..8a4ff0d90b 100644 --- a/keyboards/specskeys/info.json +++ b/keyboards/specskeys/info.json @@ -8,6 +8,10 @@ "pid": "0x0080", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 1 + }, "indicators": { "caps_lock": "C7", "scroll_lock": "C6" diff --git a/keyboards/spiderisland/split78/config.h b/keyboards/spiderisland/split78/config.h index 1f4772169e..6769ee2feb 100644 --- a/keyboards/spiderisland/split78/config.h +++ b/keyboards/spiderisland/split78/config.h @@ -22,7 +22,4 @@ along with this program. If not, see . #define MATRIX_ROWS 8 #define MATRIX_COLS 14 -#define BACKLIGHT_PIN D4 -#define BACKLIGHT_BREATHING - #define I2C_START_RETRY_COUNT 1 diff --git a/keyboards/spiderisland/split78/info.json b/keyboards/spiderisland/split78/info.json index 27ab69b27b..74a49c57e3 100644 --- a/keyboards/spiderisland/split78/info.json +++ b/keyboards/spiderisland/split78/info.json @@ -8,6 +8,10 @@ "pid": "0xF4E4", "device_version": "0.0.1" }, + "backlight": { + "pin": "D4", + "breathing": true + }, "processor": "atmega32a", "bootloader": "bootloadhid", "debounce": 50, diff --git a/keyboards/subatomic/config.h b/keyboards/subatomic/config.h index 600d8bb156..058b582c36 100644 --- a/keyboards/subatomic/config.h +++ b/keyboards/subatomic/config.h @@ -25,8 +25,6 @@ along with this program. If not, see . // #define AUDIO_VOICES // #define AUDIO_PIN C6 -#define BACKLIGHT_PIN B7 - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/subatomic/info.json b/keyboards/subatomic/info.json index 2b8546be71..99af17a9b7 100644 --- a/keyboards/subatomic/info.json +++ b/keyboards/subatomic/info.json @@ -8,6 +8,9 @@ "pid": "0x6063", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "processor": "at90usb1286", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/switchplate/southpaw_65/config.h b/keyboards/switchplate/southpaw_65/config.h index bfd3cb0cc1..598ac367b3 100644 --- a/keyboards/switchplate/southpaw_65/config.h +++ b/keyboards/switchplate/southpaw_65/config.h @@ -37,9 +37,6 @@ /* COL2ROW, ROW2COL */ //#define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_LEVELS 10 - #define RGB_DI_PIN C7 #define RGBLED_NUM 9 #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/switchplate/southpaw_65/info.json b/keyboards/switchplate/southpaw_65/info.json index a59c899bd6..97cff66a16 100644 --- a/keyboards/switchplate/southpaw_65/info.json +++ b/keyboards/switchplate/southpaw_65/info.json @@ -8,6 +8,10 @@ "pid": "0x4084", "device_version": "0.0.1" }, + "backlight": { + "pin": "B5", + "levels": 10 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/switchplate/southpaw_fullsize/config.h b/keyboards/switchplate/southpaw_fullsize/config.h index 4f2ad82c45..92247d7951 100644 --- a/keyboards/switchplate/southpaw_fullsize/config.h +++ b/keyboards/switchplate/southpaw_fullsize/config.h @@ -34,8 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/switchplate/southpaw_fullsize/info.json b/keyboards/switchplate/southpaw_fullsize/info.json index 507ed097bc..1b1cda7d2f 100644 --- a/keyboards/switchplate/southpaw_fullsize/info.json +++ b/keyboards/switchplate/southpaw_fullsize/info.json @@ -8,6 +8,9 @@ "pid": "0x0017", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "processor": "at90usb1286", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/switchplate/switchplate910/config.h b/keyboards/switchplate/switchplate910/config.h index d18bb40c3c..adb547468a 100644 --- a/keyboards/switchplate/switchplate910/config.h +++ b/keyboards/switchplate/switchplate910/config.h @@ -34,8 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/switchplate/switchplate910/info.json b/keyboards/switchplate/switchplate910/info.json index cdc9291765..5807471094 100644 --- a/keyboards/switchplate/switchplate910/info.json +++ b/keyboards/switchplate/switchplate910/info.json @@ -8,6 +8,9 @@ "pid": "0x2065", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/sx60/config.h b/keyboards/sx60/config.h index 2fb26e4fc0..46921665c9 100755 --- a/keyboards/sx60/config.h +++ b/keyboards/sx60/config.h @@ -32,8 +32,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/sx60/info.json b/keyboards/sx60/info.json index b4b93b2cad..9c0b6bcf9a 100644 --- a/keyboards/sx60/info.json +++ b/keyboards/sx60/info.json @@ -8,6 +8,9 @@ "pid": "0x0010", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "indicators": { "caps_lock": "F4", "num_lock": "F5", diff --git a/keyboards/tada68/config.h b/keyboards/tada68/config.h index 6781107ec6..e99d3e1255 100755 --- a/keyboards/tada68/config.h +++ b/keyboards/tada68/config.h @@ -31,11 +31,6 @@ along with this program. If not, see . /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -/* Backlight configuration */ -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 4 - /* * Feature disable options * These options are also useful to firmware size reduction. diff --git a/keyboards/tada68/info.json b/keyboards/tada68/info.json index 53ac1a5bfc..73dd33330b 100644 --- a/keyboards/tada68/info.json +++ b/keyboards/tada68/info.json @@ -8,6 +8,11 @@ "pid": "0x0001", "device_version": "0.0.3" }, + "backlight": { + "pin": "B6", + "levels": 4, + "breathing": true + }, "indicators": { "caps_lock": "B2", "on_state": 0 diff --git a/keyboards/team0110/p1800fl/config.h b/keyboards/team0110/p1800fl/config.h index 3b0c746dd7..fc5c288264 100644 --- a/keyboards/team0110/p1800fl/config.h +++ b/keyboards/team0110/p1800fl/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 5 - /* RGB Lighting */ #define RGB_DI_PIN C6 #ifdef RGB_DI_PIN diff --git a/keyboards/team0110/p1800fl/info.json b/keyboards/team0110/p1800fl/info.json index 3abaaf33b7..118299101b 100644 --- a/keyboards/team0110/p1800fl/info.json +++ b/keyboards/team0110/p1800fl/info.json @@ -8,6 +8,11 @@ "pid": "0x3EAE", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/tgr/910/config.h b/keyboards/tgr/910/config.h index 8f383b8710..fdc08d244c 100644 --- a/keyboards/tgr/910/config.h +++ b/keyboards/tgr/910/config.h @@ -26,8 +26,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 - #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/tgr/910/info.json b/keyboards/tgr/910/info.json index 3c4de6fe39..65aabe6ca8 100644 --- a/keyboards/tgr/910/info.json +++ b/keyboards/tgr/910/info.json @@ -8,6 +8,9 @@ "pid": "0x9100", "device_version": "0.0.1" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1", "num_lock": "D0", diff --git a/keyboards/tgr/910ce/config.h b/keyboards/tgr/910ce/config.h index a868ebe1f9..5e5d28d5af 100644 --- a/keyboards/tgr/910ce/config.h +++ b/keyboards/tgr/910ce/config.h @@ -26,8 +26,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 - #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/tgr/910ce/info.json b/keyboards/tgr/910ce/info.json index 77655f52af..2c5fcb40d9 100644 --- a/keyboards/tgr/910ce/info.json +++ b/keyboards/tgr/910ce/info.json @@ -8,6 +8,9 @@ "pid": "0x910C", "device_version": "0.0.1" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1" }, diff --git a/keyboards/tgr/alice/config.h b/keyboards/tgr/alice/config.h index ba9171b989..d2e2f41a62 100644 --- a/keyboards/tgr/alice/config.h +++ b/keyboards/tgr/alice/config.h @@ -21,8 +21,6 @@ along with this program. If not, see . #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 - #define RGBLED_NUM 18 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/tgr/alice/info.json b/keyboards/tgr/alice/info.json index 3586e49367..67cbcad7ea 100644 --- a/keyboards/tgr/alice/info.json +++ b/keyboards/tgr/alice/info.json @@ -8,6 +8,9 @@ "pid": "0x422E", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1", "num_lock": "D0", diff --git a/keyboards/tgr/jane/v2/config.h b/keyboards/tgr/jane/v2/config.h index d0f00ac2bd..fa8fe1d455 100644 --- a/keyboards/tgr/jane/v2/config.h +++ b/keyboards/tgr/jane/v2/config.h @@ -23,5 +23,3 @@ along with this program. If not, see . #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } #define DIODE_DIRECTION COL2ROW - -#define BACKLIGHT_PIN D4 diff --git a/keyboards/tgr/jane/v2/info.json b/keyboards/tgr/jane/v2/info.json index f43d27c84f..4351782e57 100644 --- a/keyboards/tgr/jane/v2/info.json +++ b/keyboards/tgr/jane/v2/info.json @@ -8,6 +8,9 @@ "pid": "0x4A4E", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1", "scroll_lock": "D6" diff --git a/keyboards/tgr/jane/v2ce/config.h b/keyboards/tgr/jane/v2ce/config.h index 0b3d381d19..485a2416e9 100644 --- a/keyboards/tgr/jane/v2ce/config.h +++ b/keyboards/tgr/jane/v2ce/config.h @@ -22,5 +22,3 @@ #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } #define DIODE_DIRECTION COL2ROW - -#define BACKLIGHT_PIN D4 diff --git a/keyboards/tgr/jane/v2ce/info.json b/keyboards/tgr/jane/v2ce/info.json index 3aa62ded58..b27eaf8e92 100644 --- a/keyboards/tgr/jane/v2ce/info.json +++ b/keyboards/tgr/jane/v2ce/info.json @@ -8,6 +8,9 @@ "pid": "0x4A43", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1", "num_lock": "D6" diff --git a/keyboards/tgr/tris/config.h b/keyboards/tgr/tris/config.h index 59d4fbb325..db1d1e1625 100644 --- a/keyboards/tgr/tris/config.h +++ b/keyboards/tgr/tris/config.h @@ -23,8 +23,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 - #define RGBLED_NUM 6 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/tgr/tris/info.json b/keyboards/tgr/tris/info.json index 6ce36ce819..91cce43327 100644 --- a/keyboards/tgr/tris/info.json +++ b/keyboards/tgr/tris/info.json @@ -8,6 +8,9 @@ "pid": "0x5452", "device_version": "0.0.1" }, + "backlight": { + "pin": "D4" + }, "indicators": { "num_lock": "D0" }, diff --git a/keyboards/thevankeyboards/bananasplit/config.h b/keyboards/thevankeyboards/bananasplit/config.h index c526ed05f9..ab5f20d40a 100644 --- a/keyboards/thevankeyboards/bananasplit/config.h +++ b/keyboards/thevankeyboards/bananasplit/config.h @@ -23,9 +23,6 @@ along with this program. If not, see . #define DIODE_DIRECTION ROW2COL -/* mapping backlight LEDs to correct Pin */ -#define BACKLIGHT_PIN B7 - #define TAPPING_TERM 175 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ diff --git a/keyboards/thevankeyboards/bananasplit/info.json b/keyboards/thevankeyboards/bananasplit/info.json index 961a89c94f..1824e945cf 100644 --- a/keyboards/thevankeyboards/bananasplit/info.json +++ b/keyboards/thevankeyboards/bananasplit/info.json @@ -8,6 +8,9 @@ "pid": "0x8870", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["60_ansi", "60_iso"], diff --git a/keyboards/tkc/california/config.h b/keyboards/tkc/california/config.h index 8b59585bac..01959c10ad 100644 --- a/keyboards/tkc/california/config.h +++ b/keyboards/tkc/california/config.h @@ -36,11 +36,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN B7 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_BREATHING -#endif - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/tkc/california/info.json b/keyboards/tkc/california/info.json index 0b50229db8..d7c95747c9 100644 --- a/keyboards/tkc/california/info.json +++ b/keyboards/tkc/california/info.json @@ -8,6 +8,10 @@ "pid": "0x0009", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "indicators": { "caps_lock": "F0", "num_lock": "F1" diff --git a/keyboards/tkc/m0lly/config.h b/keyboards/tkc/m0lly/config.h index dc94510953..7c09119e17 100644 --- a/keyboards/tkc/m0lly/config.h +++ b/keyboards/tkc/m0lly/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_BREATHING - - #define RGB_DI_PIN D7 #ifdef RGB_DI_PIN # define RGBLED_NUM 30 diff --git a/keyboards/tkc/m0lly/info.json b/keyboards/tkc/m0lly/info.json index 61bb64dca2..8f6d63a74d 100644 --- a/keyboards/tkc/m0lly/info.json +++ b/keyboards/tkc/m0lly/info.json @@ -8,6 +8,10 @@ "pid": "0x0004", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "breathing": true + }, "qmk_lufa_bootloader": { "esc_input": "F4", "esc_output": "A0", diff --git a/keyboards/tkc/osav2/config.h b/keyboards/tkc/osav2/config.h index a4a78406e6..b8f2806ef1 100644 --- a/keyboards/tkc/osav2/config.h +++ b/keyboards/tkc/osav2/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW - #define BACKLIGHT_PIN D6 - #define BACKLIGHT_BREATHING - #define RGB_DI_PIN D4 #ifdef RGB_DI_PIN #define RGBLED_NUM 9 diff --git a/keyboards/tkc/osav2/info.json b/keyboards/tkc/osav2/info.json index d718a790c4..ed842b4b51 100644 --- a/keyboards/tkc/osav2/info.json +++ b/keyboards/tkc/osav2/info.json @@ -8,6 +8,10 @@ "pid": "0x0005", "device_version": "0.0.1" }, + "backlight": { + "pin": "D6", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["alice", "alice_split_bs"], diff --git a/keyboards/tkc/tkc1800/config.h b/keyboards/tkc/tkc1800/config.h index 8e475e3ff2..747db6bf03 100644 --- a/keyboards/tkc/tkc1800/config.h +++ b/keyboards/tkc/tkc1800/config.h @@ -29,9 +29,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_BREATHING - /* Underlight configuration */ #define RGB_DI_PIN D7 diff --git a/keyboards/tkc/tkc1800/info.json b/keyboards/tkc/tkc1800/info.json index 0be83dbd53..ad57eb1aa5 100644 --- a/keyboards/tkc/tkc1800/info.json +++ b/keyboards/tkc/tkc1800/info.json @@ -8,6 +8,10 @@ "pid": "0x0001", "device_version": "0.0.3" }, + "backlight": { + "pin": "B6", + "breathing": true + }, "qmk_lufa_bootloader": { "esc_input": "F4", "esc_output": "A0", diff --git a/keyboards/tkc/tkl_ab87/config.h b/keyboards/tkc/tkl_ab87/config.h index 002979fcc0..ed701d2aa1 100644 --- a/keyboards/tkc/tkl_ab87/config.h +++ b/keyboards/tkc/tkl_ab87/config.h @@ -36,10 +36,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_BREATHING -#endif #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLED_NUM 22 diff --git a/keyboards/tkc/tkl_ab87/info.json b/keyboards/tkc/tkl_ab87/info.json index 76f0c3f63e..6c610a6007 100644 --- a/keyboards/tkc/tkl_ab87/info.json +++ b/keyboards/tkc/tkl_ab87/info.json @@ -8,6 +8,10 @@ "pid": "0x0007", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "indicators": { "caps_lock": "F1", "scroll_lock": "F0" diff --git a/keyboards/tmo50/config.h b/keyboards/tmo50/config.h index 09258f347c..1aac9574f8 100644 --- a/keyboards/tmo50/config.h +++ b/keyboards/tmo50/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN C7 #ifdef RGB_DI_PIN #define RGBLED_NUM 10 diff --git a/keyboards/tmo50/info.json b/keyboards/tmo50/info.json index 24d9e8296a..29b19aa513 100644 --- a/keyboards/tmo50/info.json +++ b/keyboards/tmo50/info.json @@ -8,6 +8,10 @@ "pid": "0x0050", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/tokyokeyboard/alix40/config.h b/keyboards/tokyokeyboard/alix40/config.h index 9a98443470..26736637cb 100644 --- a/keyboards/tokyokeyboard/alix40/config.h +++ b/keyboards/tokyokeyboard/alix40/config.h @@ -14,12 +14,6 @@ along with this program. If not, see . #pragma once -#define BACKLIGHT_PIN B7 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 31 -#define BACKLIGHT_BREATHING -#endif - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION ROW2COL diff --git a/keyboards/tokyokeyboard/alix40/info.json b/keyboards/tokyokeyboard/alix40/info.json index 1113fbf392..513a883d8e 100644 --- a/keyboards/tokyokeyboard/alix40/info.json +++ b/keyboards/tokyokeyboard/alix40/info.json @@ -8,6 +8,11 @@ "pid": "0x4134", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 31, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/tokyokeyboard/tokyo60/config.h b/keyboards/tokyokeyboard/tokyo60/config.h index c29c92ad37..8ba921eaeb 100644 --- a/keyboards/tokyokeyboard/tokyo60/config.h +++ b/keyboards/tokyokeyboard/tokyo60/config.h @@ -1,10 +1,5 @@ #pragma once -#define BACKLIGHT_PIN B7 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 6 -#endif - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION ROW2COL diff --git a/keyboards/tokyokeyboard/tokyo60/info.json b/keyboards/tokyokeyboard/tokyo60/info.json index b39dff92bc..dd16c3f4c2 100644 --- a/keyboards/tokyokeyboard/tokyo60/info.json +++ b/keyboards/tokyokeyboard/tokyo60/info.json @@ -8,6 +8,10 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 6 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["60_hhkb"], diff --git a/keyboards/tr60w/config.h b/keyboards/tr60w/config.h index ac28f080af..39f21310ca 100644 --- a/keyboards/tr60w/config.h +++ b/keyboards/tr60w/config.h @@ -8,8 +8,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/tr60w/info.json b/keyboards/tr60w/info.json index 09e236dbd2..15025926ce 100644 --- a/keyboards/tr60w/info.json +++ b/keyboards/tr60w/info.json @@ -8,6 +8,9 @@ "pid": "0x4140", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/treasure/type9/config.h b/keyboards/treasure/type9/config.h index 288cbe0549..35b03eebfb 100644 --- a/keyboards/treasure/type9/config.h +++ b/keyboards/treasure/type9/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_LEVELS 10 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/treasure/type9/info.json b/keyboards/treasure/type9/info.json index 6abc631310..c2ed86346f 100644 --- a/keyboards/treasure/type9/info.json +++ b/keyboards/treasure/type9/info.json @@ -8,6 +8,10 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "backlight": { + "pin": "B5", + "levels": 10 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/treasure/type9s2/config.h b/keyboards/treasure/type9s2/config.h index e94a269caa..f4e04317ce 100644 --- a/keyboards/treasure/type9s2/config.h +++ b/keyboards/treasure/type9s2/config.h @@ -23,5 +23,3 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW - -#define BACKLIGHT_PIN B7 diff --git a/keyboards/treasure/type9s2/info.json b/keyboards/treasure/type9s2/info.json index ce99c159da..bcb719c76f 100644 --- a/keyboards/treasure/type9s2/info.json +++ b/keyboards/treasure/type9s2/info.json @@ -8,6 +8,9 @@ "pid": "0x5492", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "processor": "atmega32u2", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/tzarc/djinn/config.h b/keyboards/tzarc/djinn/config.h index 9ef23769f1..bb2bd6f6e2 100644 --- a/keyboards/tzarc/djinn/config.h +++ b/keyboards/tzarc/djinn/config.h @@ -49,7 +49,6 @@ #endif // LCD_ACTIVITY_TIMEOUT // Backlight driver (to control LCD backlight) -#define BACKLIGHT_LEVELS 4 #define BACKLIGHT_PWM_DRIVER PWMD17 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 diff --git a/keyboards/tzarc/djinn/info.json b/keyboards/tzarc/djinn/info.json index 08634983c8..cceaf637e5 100644 --- a/keyboards/tzarc/djinn/info.json +++ b/keyboards/tzarc/djinn/info.json @@ -30,7 +30,8 @@ "cols": ["C0", "C1", "C2", "C3", "A0", "A1", "A2"] }, "backlight": { - "pin": "A7" + "pin": "A7", + "levels": 4 }, "split": { "enabled": true, diff --git a/keyboards/tzarc/djinn/rules.mk b/keyboards/tzarc/djinn/rules.mk index 2f343a5a9d..9b81a4bfaf 100644 --- a/keyboards/tzarc/djinn/rules.mk +++ b/keyboards/tzarc/djinn/rules.mk @@ -2,8 +2,6 @@ CUSTOM_MATRIX = lite SERIAL_DRIVER = usart -BACKLIGHT_DRIVER = pwm - WS2812_DRIVER = pwm CIE1931_CURVE = yes diff --git a/keyboards/ubest/vn/config.h b/keyboards/ubest/vn/config.h index feb3d468b2..75551832f1 100644 --- a/keyboards/ubest/vn/config.h +++ b/keyboards/ubest/vn/config.h @@ -32,8 +32,6 @@ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLED_NUM 8 diff --git a/keyboards/ubest/vn/info.json b/keyboards/ubest/vn/info.json index ab4df7d838..348a51fc7a 100644 --- a/keyboards/ubest/vn/info.json +++ b/keyboards/ubest/vn/info.json @@ -8,6 +8,9 @@ "pid": "0x0868", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6" + }, "indicators": { "caps_lock": "B3", "num_lock": "B1", diff --git a/keyboards/uk78/config.h b/keyboards/uk78/config.h index c03e419ab2..3a9e21ea60 100644 --- a/keyboards/uk78/config.h +++ b/keyboards/uk78/config.h @@ -25,8 +25,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B6 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/uk78/info.json b/keyboards/uk78/info.json index 06c6626a0a..fbbc15609c 100644 --- a/keyboards/uk78/info.json +++ b/keyboards/uk78/info.json @@ -8,6 +8,9 @@ "pid": "0x004E", "device_version": "0.0.2" }, + "backlight": { + "pin": "B6" + }, "processor": "at90usb1286", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/unikeyboard/diverge3/config.h b/keyboards/unikeyboard/diverge3/config.h index d845d8a2f3..c9a5d49447 100644 --- a/keyboards/unikeyboard/diverge3/config.h +++ b/keyboards/unikeyboard/diverge3/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN C6 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 5 - #ifndef SELECT_SOFT_SERIAL_SPEED #define SELECT_SOFT_SERIAL_SPEED 3 #endif diff --git a/keyboards/unikeyboard/diverge3/info.json b/keyboards/unikeyboard/diverge3/info.json index 65f72af3be..c2caaca881 100644 --- a/keyboards/unikeyboard/diverge3/info.json +++ b/keyboards/unikeyboard/diverge3/info.json @@ -8,6 +8,11 @@ "pid": "0x1257", "device_version": "0.0.1" }, + "backlight": { + "pin": "C6", + "levels": 5, + "breathing": true + }, "split": { "soft_serial_pin": "D0" }, diff --git a/keyboards/unikeyboard/felix/config.h b/keyboards/unikeyboard/felix/config.h index 2f0740c8f1..a3a667d632 100644 --- a/keyboards/unikeyboard/felix/config.h +++ b/keyboards/unikeyboard/felix/config.h @@ -17,9 +17,6 @@ /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN C6 -#define BACKLIGHT_LEVELS 5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/unikeyboard/felix/info.json b/keyboards/unikeyboard/felix/info.json index f8ebb75424..ee74cb134f 100644 --- a/keyboards/unikeyboard/felix/info.json +++ b/keyboards/unikeyboard/felix/info.json @@ -8,6 +8,10 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "pin": "C6", + "levels": 5 + }, "processor": "atmega32u4", "bootloader": "caterina", "community_layouts": ["ortho_5x4"], diff --git a/keyboards/unikorn/config.h b/keyboards/unikorn/config.h index d1c71a801e..fc91f5138f 100644 --- a/keyboards/unikorn/config.h +++ b/keyboards/unikorn/config.h @@ -24,8 +24,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 - #ifdef RGBLIGHT_ENABLE #define RGBLED_NUM 17 #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/unikorn/info.json b/keyboards/unikorn/info.json index 8a6b47624b..b894a98dac 100644 --- a/keyboards/unikorn/info.json +++ b/keyboards/unikorn/info.json @@ -8,6 +8,9 @@ "pid": "0x556B", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1" }, diff --git a/keyboards/utd80/config.h b/keyboards/utd80/config.h index 074b7311a6..9677a8e262 100644 --- a/keyboards/utd80/config.h +++ b/keyboards/utd80/config.h @@ -21,9 +21,6 @@ #define MATRIX_ROW_PINS { B4, D5, D0, B2, B3, B0 } #define MATRIX_COL_PINS { B1, F0, F1, F4, F5, F6, F7, C7, C6, D3, E6, D7, D6, D4, D2, D1 } -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/utd80/info.json b/keyboards/utd80/info.json index 22e83c6f70..cf0b6530ad 100644 --- a/keyboards/utd80/info.json +++ b/keyboards/utd80/info.json @@ -8,6 +8,10 @@ "pid": "0x001C", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "indicators": { "caps_lock": "B6", "scroll_lock": "B5" diff --git a/keyboards/v60_type_r/config.h b/keyboards/v60_type_r/config.h index f2af33616e..3c76b77bce 100644 --- a/keyboards/v60_type_r/config.h +++ b/keyboards/v60_type_r/config.h @@ -34,8 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN F7 - #define RGBLED_NUM 1 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/v60_type_r/info.json b/keyboards/v60_type_r/info.json index f107f27aa4..e37ccc9543 100644 --- a/keyboards/v60_type_r/info.json +++ b/keyboards/v60_type_r/info.json @@ -9,6 +9,7 @@ "device_version": "0.0.1" }, "backlight": { + "pin": "F7", "on_state": 0 }, "processor": "atmega32u4", diff --git a/keyboards/waldo/config.h b/keyboards/waldo/config.h index 856a1136d6..028b00de10 100644 --- a/keyboards/waldo/config.h +++ b/keyboards/waldo/config.h @@ -22,9 +22,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { F0, F1, F4, F5, F6 } #define MATRIX_COL_PINS { F7, D5, D3, D2, B3, B2, C7, C6, B6, B5, B4, D7, D6, D4, B1 } -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/waldo/info.json b/keyboards/waldo/info.json index 277664fd71..0c85e1d8d5 100644 --- a/keyboards/waldo/info.json +++ b/keyboards/waldo/info.json @@ -7,6 +7,10 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/walletburner/neuron/config.h b/keyboards/walletburner/neuron/config.h index 5324f76114..84f3444730 100644 --- a/keyboards/walletburner/neuron/config.h +++ b/keyboards/walletburner/neuron/config.h @@ -8,8 +8,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/westfoxtrot/aanzee/config.h b/keyboards/westfoxtrot/aanzee/config.h index 4ec99fa5ef..70f820c25e 100644 --- a/keyboards/westfoxtrot/aanzee/config.h +++ b/keyboards/westfoxtrot/aanzee/config.h @@ -26,10 +26,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 5 - #define RGB_DI_PIN E6 #ifdef RGB_DI_PIN #define RGBLED_NUM 9 diff --git a/keyboards/westfoxtrot/aanzee/info.json b/keyboards/westfoxtrot/aanzee/info.json index 65945c69a3..4c3e9bf058 100644 --- a/keyboards/westfoxtrot/aanzee/info.json +++ b/keyboards/westfoxtrot/aanzee/info.json @@ -8,6 +8,11 @@ "pid": "0xAA01", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5, + "breathing": true + }, "indicators": { "caps_lock": "B2", "on_state": 0 diff --git a/keyboards/westfoxtrot/cypher/rev1/config.h b/keyboards/westfoxtrot/cypher/rev1/config.h index 3a6d4a024a..a6e5ac891f 100644 --- a/keyboards/westfoxtrot/cypher/rev1/config.h +++ b/keyboards/westfoxtrot/cypher/rev1/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/westfoxtrot/cypher/rev1/info.json b/keyboards/westfoxtrot/cypher/rev1/info.json index 192d78d468..5089486866 100644 --- a/keyboards/westfoxtrot/cypher/rev1/info.json +++ b/keyboards/westfoxtrot/cypher/rev1/info.json @@ -6,6 +6,11 @@ "pid": "0xAA97", "device_version": "0.0.1" }, + "backlight": { + "pin": "B5", + "levels": 5, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/westfoxtrot/cypher/rev5/config.h b/keyboards/westfoxtrot/cypher/rev5/config.h index 794f2188b0..61604a74a9 100644 --- a/keyboards/westfoxtrot/cypher/rev5/config.h +++ b/keyboards/westfoxtrot/cypher/rev5/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL, or CUSTOM_MATRIX */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ @@ -47,11 +44,6 @@ along with this program. If not, see . */ #define GRAVE_ESC_CTRL_OVERRIDE - - - -#define BACKLIGHT_PIN D0 - #define RGB_DI_PIN E6 #ifdef RGB_DI_PIN #define RGBLED_NUM 10 diff --git a/keyboards/westfoxtrot/cypher/rev5/info.json b/keyboards/westfoxtrot/cypher/rev5/info.json index b2d4417af5..17bc326890 100644 --- a/keyboards/westfoxtrot/cypher/rev5/info.json +++ b/keyboards/westfoxtrot/cypher/rev5/info.json @@ -6,6 +6,11 @@ "pid": "0xAA98", "device_version": "0.0.2" }, + "backlight": { + "pin": "D0", + "levels": 5, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/wilba_tech/rama_works_m10_b/config.h b/keyboards/wilba_tech/rama_works_m10_b/config.h index c3589cad99..be92b36639 100644 --- a/keyboards/wilba_tech/rama_works_m10_b/config.h +++ b/keyboards/wilba_tech/rama_works_m10_b/config.h @@ -33,8 +33,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW - -#define BACKLIGHT_PIN C6 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/wilba_tech/rama_works_m10_b/info.json b/keyboards/wilba_tech/rama_works_m10_b/info.json index ea7c0ba833..4b7c87be21 100644 --- a/keyboards/wilba_tech/rama_works_m10_b/info.json +++ b/keyboards/wilba_tech/rama_works_m10_b/info.json @@ -8,6 +8,9 @@ "pid": "0x00AB", "device_version": "0.0.1" }, + "backlight": { + "pin": "C6" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/winkeyless/b87/config.h b/keyboards/winkeyless/b87/config.h index 6d0d221922..ce27a1c563 100644 --- a/keyboards/winkeyless/b87/config.h +++ b/keyboards/winkeyless/b87/config.h @@ -36,5 +36,3 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW - -#define BACKLIGHT_PIN D4 diff --git a/keyboards/winkeyless/b87/info.json b/keyboards/winkeyless/b87/info.json index 0d53604cd1..542cc74d27 100644 --- a/keyboards/winkeyless/b87/info.json +++ b/keyboards/winkeyless/b87/info.json @@ -8,6 +8,9 @@ "pid": "0x0B87", "device_version": "0.0.1" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1", "scroll_lock": "D6" diff --git a/keyboards/winkeyless/bface/config.h b/keyboards/winkeyless/bface/config.h index d2ad985cae..cbb0be707d 100644 --- a/keyboards/winkeyless/bface/config.h +++ b/keyboards/winkeyless/bface/config.h @@ -35,5 +35,3 @@ along with this program. If not, see . #define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE - -#define BACKLIGHT_PIN D4 diff --git a/keyboards/winkeyless/bface/info.json b/keyboards/winkeyless/bface/info.json index e19e42e577..f7a8c61032 100644 --- a/keyboards/winkeyless/bface/info.json +++ b/keyboards/winkeyless/bface/info.json @@ -8,6 +8,9 @@ "pid": "0x4246", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1", "num_lock": "D0", diff --git a/keyboards/winkeyless/bmini/config.h b/keyboards/winkeyless/bmini/config.h index 8589b74f37..033807a3f5 100644 --- a/keyboards/winkeyless/bmini/config.h +++ b/keyboards/winkeyless/bmini/config.h @@ -34,5 +34,3 @@ along with this program. If not, see . #define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE - -#define BACKLIGHT_PIN D4 diff --git a/keyboards/winkeyless/bmini/info.json b/keyboards/winkeyless/bmini/info.json index e096f860cc..58edbac998 100644 --- a/keyboards/winkeyless/bmini/info.json +++ b/keyboards/winkeyless/bmini/info.json @@ -8,6 +8,9 @@ "pid": "0x424D", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1", "num_lock": "D0", diff --git a/keyboards/winkeyless/bminiex/config.h b/keyboards/winkeyless/bminiex/config.h index b145f25348..351de6f475 100644 --- a/keyboards/winkeyless/bminiex/config.h +++ b/keyboards/winkeyless/bminiex/config.h @@ -34,6 +34,3 @@ along with this program. If not, see . #define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE - -#define BACKLIGHT_PIN D4 -#define BACKLIGHT_LEVELS 5 diff --git a/keyboards/winkeyless/bminiex/info.json b/keyboards/winkeyless/bminiex/info.json index 65d888eaec..afd766f480 100644 --- a/keyboards/winkeyless/bminiex/info.json +++ b/keyboards/winkeyless/bminiex/info.json @@ -8,6 +8,10 @@ "pid": "0x4258", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4", + "levels": 5 + }, "indicators": { "caps_lock": "D1", "num_lock": "D0", diff --git a/keyboards/wolf/sabre/config.h b/keyboards/wolf/sabre/config.h index 6787d262ca..c0150fce0b 100644 --- a/keyboards/wolf/sabre/config.h +++ b/keyboards/wolf/sabre/config.h @@ -35,5 +35,3 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW - -#define BACKLIGHT_PIN B7 diff --git a/keyboards/wolf/sabre/info.json b/keyboards/wolf/sabre/info.json index 5dd8aba471..40ee60a6d0 100644 --- a/keyboards/wolf/sabre/info.json +++ b/keyboards/wolf/sabre/info.json @@ -8,6 +8,9 @@ "pid": "0x0055", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7" + }, "indicators": { "caps_lock": "B3", "scroll_lock": "B0", diff --git a/keyboards/wolf/sabre/rules.mk b/keyboards/wolf/sabre/rules.mk index c53a08ce4a..e7cc37d18d 100644 --- a/keyboards/wolf/sabre/rules.mk +++ b/keyboards/wolf/sabre/rules.mk @@ -14,4 +14,3 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output BACKLIGHT_ENABLE = yes -BACKLIGHT_DRIVER = pwm \ No newline at end of file diff --git a/keyboards/wolf/ts60/config.h b/keyboards/wolf/ts60/config.h index e5cb71fb4c..7664e747c7 100644 --- a/keyboards/wolf/ts60/config.h +++ b/keyboards/wolf/ts60/config.h @@ -52,7 +52,4 @@ along with this program. If not, see . #define RGBLIGHT_SLEEP #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL -/* Define Per Key Backlight */ -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_LEVELS 6 #define BACKLIGHT_DEFAULT_LEVEL 6 diff --git a/keyboards/wolf/ts60/info.json b/keyboards/wolf/ts60/info.json index e3d2a375e3..8b40cd6ff2 100644 --- a/keyboards/wolf/ts60/info.json +++ b/keyboards/wolf/ts60/info.json @@ -8,6 +8,10 @@ "pid": "0x0050", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 6 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["60_ansi"], diff --git a/keyboards/woodkeys/meira/config.h b/keyboards/woodkeys/meira/config.h index e611ebf11f..f1434fdbd4 100644 --- a/keyboards/woodkeys/meira/config.h +++ b/keyboards/woodkeys/meira/config.h @@ -25,10 +25,7 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ //#define DIODE_DIRECTION -#ifdef BACKLIGHT_ENABLE -#define BACKLIGHT_LEVELS 10 #define BACKLIGHT_PWM_MAP {2, 4, 8, 16, 40, 55, 70, 128, 200, 255} -#endif #ifdef RGBLIGHT_ENABLE #define RGB_DI_PIN D3 diff --git a/keyboards/woodkeys/meira/info.json b/keyboards/woodkeys/meira/info.json index 70d2600163..3a0ae1d190 100644 --- a/keyboards/woodkeys/meira/info.json +++ b/keyboards/woodkeys/meira/info.json @@ -8,6 +8,10 @@ "pid": "0x6061", "device_version": "0.0.1" }, + "backlight": { + "driver": "custom", + "levels": 10 + }, "processor": "atmega32u4", "bootloader": "caterina", "layout_aliases": { diff --git a/keyboards/woodkeys/meira/meira.c b/keyboards/woodkeys/meira/meira.c index d8c04859e2..1f4c2557b0 100644 --- a/keyboards/woodkeys/meira/meira.c +++ b/keyboards/woodkeys/meira/meira.c @@ -18,7 +18,6 @@ #include "TWIlib.h" #include "lighting.h" #include "quantum.h" -#define BACKLIGHT_BREATHING extern void backlight_set(uint8_t level); diff --git a/keyboards/woodkeys/meira/rules.mk b/keyboards/woodkeys/meira/rules.mk index 7f77c0a123..20802b3179 100644 --- a/keyboards/woodkeys/meira/rules.mk +++ b/keyboards/woodkeys/meira/rules.mk @@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug COMMAND_ENABLE = no # Commands for debug and configuration NKRO_ENABLE = no # Enable N-Key Rollover BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality, also set ISSI_ENABLE below for Meira -BACKLIGHT_DRIVER = custom ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be disabled RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output diff --git a/keyboards/x16/config.h b/keyboards/x16/config.h index 40ae37b57f..673e71eca8 100644 --- a/keyboards/x16/config.h +++ b/keyboards/x16/config.h @@ -33,9 +33,6 @@ /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_LEVELS 5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/x16/info.json b/keyboards/x16/info.json index 2fafd80695..b5e457d424 100644 --- a/keyboards/x16/info.json +++ b/keyboards/x16/info.json @@ -8,6 +8,10 @@ "pid": "0x016A", "device_version": "0.0.1" }, + "backlight": { + "pin": "B5", + "levels": 5 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/xiudi/xd004/info.json b/keyboards/xiudi/xd004/info.json index 175b7873f3..a404780eea 100644 --- a/keyboards/xiudi/xd004/info.json +++ b/keyboards/xiudi/xd004/info.json @@ -7,6 +7,10 @@ "pid": "0x0404", "device_version": "0.0.1" }, + "backlight": { + "pin": "D5", + "levels": 6 + }, "processor": "atmega16u2", "bootloader": "atmel-dfu", "matrix_pins": { diff --git a/keyboards/xiudi/xd004/v1/config.h b/keyboards/xiudi/xd004/v1/config.h index 0b4e44336c..1e747adeaf 100644 --- a/keyboards/xiudi/xd004/v1/config.h +++ b/keyboards/xiudi/xd004/v1/config.h @@ -23,11 +23,6 @@ where some things are disabled to save space as well. #pragma once -/* Backlight Setup */ -// Looks like each backlight LED is connected to a single output, D5 is the one furtherst away from USB port -#define BACKLIGHT_PIN D5 -#define BACKLIGHT_LEVELS 6 - /* RGB Underglow This will not be used, as RGBLIGHT_ENABLE is set to 'no' in rules.mk We do not have enough space in the flash for this at the moment, maybe diff --git a/keyboards/xiudi/xd60/rev2/config.h b/keyboards/xiudi/xd60/rev2/config.h index 8641113690..43a56c9a92 100644 --- a/keyboards/xiudi/xd60/rev2/config.h +++ b/keyboards/xiudi/xd60/rev2/config.h @@ -31,10 +31,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 } #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B7, B5, B4, D7, D6, B3 } -/* Backlight Setup */ -#define BACKLIGHT_PIN F5 -#define BACKLIGHT_LEVELS 6 - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/xiudi/xd60/rev2/info.json b/keyboards/xiudi/xd60/rev2/info.json index 6d6d288d0c..1951e52dfe 100644 --- a/keyboards/xiudi/xd60/rev2/info.json +++ b/keyboards/xiudi/xd60/rev2/info.json @@ -4,6 +4,8 @@ "pid": "0x6060" }, "backlight": { + "pin": "F5", + "levels": 6, "on_state": 0 }, "processor": "atmega32u4", diff --git a/keyboards/xiudi/xd60/rev3/config.h b/keyboards/xiudi/xd60/rev3/config.h index 05acd6cba2..617d77b1de 100644 --- a/keyboards/xiudi/xd60/rev3/config.h +++ b/keyboards/xiudi/xd60/rev3/config.h @@ -31,10 +31,6 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 } #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B7, B5, B4, D7, D6, B3 } -/* Backlight Setup */ -#define BACKLIGHT_PIN F5 -#define BACKLIGHT_LEVELS 6 - /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/xiudi/xd60/rev3/info.json b/keyboards/xiudi/xd60/rev3/info.json index 85e6a5d3f4..1b03e6c6e3 100644 --- a/keyboards/xiudi/xd60/rev3/info.json +++ b/keyboards/xiudi/xd60/rev3/info.json @@ -4,6 +4,8 @@ "pid": "0x6363" }, "backlight": { + "pin": "F5", + "levels": 6, "on_state": 0 }, "processor": "atmega32u4", diff --git a/keyboards/xiudi/xd68/config.h b/keyboards/xiudi/xd68/config.h index d1e69102e1..93181b668b 100644 --- a/keyboards/xiudi/xd68/config.h +++ b/keyboards/xiudi/xd68/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN F5 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/xiudi/xd68/info.json b/keyboards/xiudi/xd68/info.json index 5163e03127..8b1169474c 100644 --- a/keyboards/xiudi/xd68/info.json +++ b/keyboards/xiudi/xd68/info.json @@ -9,6 +9,9 @@ "device_version": "0.0.1" }, "backlight": { + "pin": "F5", + "levels": 6, + "breathing": true, "on_state": 0 }, "indicators": { diff --git a/keyboards/xiudi/xd75/config.h b/keyboards/xiudi/xd75/config.h index b44c70e2c1..e4a2e0139e 100644 --- a/keyboards/xiudi/xd75/config.h +++ b/keyboards/xiudi/xd75/config.h @@ -34,9 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN F5 -#define BACKLIGHT_LEVELS 6 - #define RGB_DI_PIN F6 #ifdef RGB_DI_PIN # define RGBLED_NUM 6 diff --git a/keyboards/xiudi/xd75/info.json b/keyboards/xiudi/xd75/info.json index 0c45316080..54b1dc718b 100644 --- a/keyboards/xiudi/xd75/info.json +++ b/keyboards/xiudi/xd75/info.json @@ -9,6 +9,8 @@ "device_version": "0.0.1" }, "backlight": { + "pin": "F5", + "levels": 6, "on_state": 0 }, "processor": "atmega32u4", diff --git a/keyboards/xiudi/xd84/config.h b/keyboards/xiudi/xd84/config.h index 6d1024d748..5908cc6d24 100644 --- a/keyboards/xiudi/xd84/config.h +++ b/keyboards/xiudi/xd84/config.h @@ -37,9 +37,6 @@ /* COL2ROW, ROW2COL */ //#define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_LEVELS 10 - #define RGB_DI_PIN C7 #define RGBLED_NUM 7 #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/xiudi/xd84/info.json b/keyboards/xiudi/xd84/info.json index a4d40e4fcd..60fed56bce 100644 --- a/keyboards/xiudi/xd84/info.json +++ b/keyboards/xiudi/xd84/info.json @@ -9,6 +9,8 @@ "device_version": "0.0.1" }, "backlight": { + "pin": "B5", + "levels": 10, "on_state": 0 }, "indicators": { diff --git a/keyboards/xiudi/xd84pro/config.h b/keyboards/xiudi/xd84pro/config.h index f9b059ef56..7390a6cd0a 100644 --- a/keyboards/xiudi/xd84pro/config.h +++ b/keyboards/xiudi/xd84pro/config.h @@ -42,9 +42,6 @@ #define RGBLIGHT_EFFECT_TWINKLE #endif -#define BACKLIGHT_PIN F5 -#define BACKLIGHT_LEVELS 10 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/xiudi/xd84pro/info.json b/keyboards/xiudi/xd84pro/info.json index 87f1549c57..88968b933f 100644 --- a/keyboards/xiudi/xd84pro/info.json +++ b/keyboards/xiudi/xd84pro/info.json @@ -9,6 +9,8 @@ "device_version": "0.0.1" }, "backlight": { + "pin": "F5", + "levels": 10, "on_state": 0 }, "indicators": { diff --git a/keyboards/xiudi/xd87/config.h b/keyboards/xiudi/xd87/config.h index 80abf8b7ee..42a49372ce 100644 --- a/keyboards/xiudi/xd87/config.h +++ b/keyboards/xiudi/xd87/config.h @@ -36,8 +36,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D0 - #define RGB_DI_PIN B7 #ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/xiudi/xd87/info.json b/keyboards/xiudi/xd87/info.json index 6503d55bba..52d010ada5 100644 --- a/keyboards/xiudi/xd87/info.json +++ b/keyboards/xiudi/xd87/info.json @@ -9,6 +9,7 @@ "device_version": "0.0.1" }, "backlight": { + "pin": "D0", "on_state": 0 }, "indicators": { diff --git a/keyboards/xiudi/xd96/config.h b/keyboards/xiudi/xd96/config.h index 8e6c6601e7..5950630920 100644 --- a/keyboards/xiudi/xd96/config.h +++ b/keyboards/xiudi/xd96/config.h @@ -37,9 +37,6 @@ /* COL2ROW, ROW2COL */ //#define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_LEVELS 10 - #define RGB_DI_PIN C7 #define RGBLED_NUM 16 #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/xiudi/xd96/info.json b/keyboards/xiudi/xd96/info.json index c8a62379b2..7d60236491 100644 --- a/keyboards/xiudi/xd96/info.json +++ b/keyboards/xiudi/xd96/info.json @@ -8,6 +8,10 @@ "pid": "0x9696", "device_version": "0.0.1" }, + "backlight": { + "pin": "B5", + "levels": 10 + }, "indicators": { "caps_lock": "B6", "num_lock": "C6", diff --git a/keyboards/ydkb/chili/config.h b/keyboards/ydkb/chili/config.h index d9a06c2e2c..a3fcde472f 100644 --- a/keyboards/ydkb/chili/config.h +++ b/keyboards/ydkb/chili/config.h @@ -29,9 +29,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - /* Underlight configuration */ #define RGB_DI_PIN B3 diff --git a/keyboards/ydkb/chili/info.json b/keyboards/ydkb/chili/info.json index 78a64c44ea..1ef666e69f 100644 --- a/keyboards/ydkb/chili/info.json +++ b/keyboards/ydkb/chili/info.json @@ -8,6 +8,10 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "indicators": { "caps_lock": "B2", "num_lock": "B1", diff --git a/keyboards/ydkb/grape/config.h b/keyboards/ydkb/grape/config.h index 515ca47546..0b71d91e84 100644 --- a/keyboards/ydkb/grape/config.h +++ b/keyboards/ydkb/grape/config.h @@ -24,9 +24,6 @@ #define SN74X138_ADDRESS_PINS { D2, D1, D0 } -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - #ifdef RGBLIGHT_ENABLE #define RGB_DI_PIN E6 #define RGBLED_NUM 4 diff --git a/keyboards/ydkb/grape/info.json b/keyboards/ydkb/grape/info.json index c9dbcb6136..1609ba2721 100644 --- a/keyboards/ydkb/grape/info.json +++ b/keyboards/ydkb/grape/info.json @@ -8,6 +8,10 @@ "pid": "0x6772", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "indicators": { "caps_lock": "F0", "num_lock": "F1", diff --git a/keyboards/ymdk/bface/config.h b/keyboards/ymdk/bface/config.h index 0b4652da0e..9314f26bea 100644 --- a/keyboards/ymdk/bface/config.h +++ b/keyboards/ymdk/bface/config.h @@ -23,9 +23,6 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 -#define BACKLIGHT_LEVELS 6 - #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/ymdk/bface/info.json b/keyboards/ymdk/bface/info.json index 0547091c2a..641fe31543 100644 --- a/keyboards/ymdk/bface/info.json +++ b/keyboards/ymdk/bface/info.json @@ -8,6 +8,10 @@ "pid": "0x4266", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4", + "levels": 6 + }, "indicators": { "caps_lock": "D1" }, diff --git a/keyboards/ymdk/melody96/config.h b/keyboards/ymdk/melody96/config.h index 2a9a53dcab..1420387adb 100644 --- a/keyboards/ymdk/melody96/config.h +++ b/keyboards/ymdk/melody96/config.h @@ -8,11 +8,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN B6 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 5 -#endif - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/ymdk/melody96/info.json b/keyboards/ymdk/melody96/info.json index 93c64be2cd..074e6c0485 100644 --- a/keyboards/ymdk/melody96/info.json +++ b/keyboards/ymdk/melody96/info.json @@ -8,6 +8,10 @@ "pid": "0x4D96", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 5 + }, "indicators": { "caps_lock": "C7", "num_lock": "C6", diff --git a/keyboards/ymdk/np21/config.h b/keyboards/ymdk/np21/config.h index 631f9d5c0e..ce2e688bd7 100644 --- a/keyboards/ymdk/np21/config.h +++ b/keyboards/ymdk/np21/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 -#define BACKLIGHT_LEVELS 12 -#define BACKLIGHT_BREATHING - #define RGBLED_NUM 5 //#define RGBLIGHT_HUE_STEP 8 //#define RGBLIGHT_SAT_STEP 8 diff --git a/keyboards/ymdk/np21/info.json b/keyboards/ymdk/np21/info.json index 31dc02f0cd..9d1e375cd9 100644 --- a/keyboards/ymdk/np21/info.json +++ b/keyboards/ymdk/np21/info.json @@ -7,6 +7,11 @@ "pid": "0x5021", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4", + "levels": 12, + "breathing": true + }, "indicators": { "num_lock": "D0" }, diff --git a/keyboards/ymdk/np24/u4rgb6/config.h b/keyboards/ymdk/np24/u4rgb6/config.h index ab5642d682..0524cfd563 100644 --- a/keyboards/ymdk/np24/u4rgb6/config.h +++ b/keyboards/ymdk/np24/u4rgb6/config.h @@ -23,11 +23,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN B7 -#ifdef BACKLIGHT_PIN -# define BACKLIGHT_LEVELS 31 -#endif - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN # define RGBLED_NUM 6 diff --git a/keyboards/ymdk/np24/u4rgb6/info.json b/keyboards/ymdk/np24/u4rgb6/info.json index 1d5ff5dbd7..dd4b532538 100644 --- a/keyboards/ymdk/np24/u4rgb6/info.json +++ b/keyboards/ymdk/np24/u4rgb6/info.json @@ -7,6 +7,10 @@ "pid": "0x5024", "device_version": "4.0.6" }, + "backlight": { + "pin": "B7", + "levels": 31 + }, "indicators": { "num_lock": "C6", "on_state": 0 diff --git a/keyboards/ymdk/wings/config.h b/keyboards/ymdk/wings/config.h index 757f474490..3b21cea4a6 100644 --- a/keyboards/ymdk/wings/config.h +++ b/keyboards/ymdk/wings/config.h @@ -32,9 +32,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 5 - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLED_NUM 14 diff --git a/keyboards/ymdk/wings/info.json b/keyboards/ymdk/wings/info.json index 80e0c580a3..92f019bacb 100644 --- a/keyboards/ymdk/wings/info.json +++ b/keyboards/ymdk/wings/info.json @@ -8,6 +8,10 @@ "pid": "0x2975", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 5 + }, "indicators": { "caps_lock": "C7", "on_state": 0 diff --git a/keyboards/ymdk/wingshs/config.h b/keyboards/ymdk/wingshs/config.h index 3b1e7f3182..055c93b327 100644 --- a/keyboards/ymdk/wingshs/config.h +++ b/keyboards/ymdk/wingshs/config.h @@ -30,9 +30,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 5 - #define RGB_DI_PIN E2 #ifdef RGB_DI_PIN #define RGBLED_NUM 80 diff --git a/keyboards/ymdk/wingshs/info.json b/keyboards/ymdk/wingshs/info.json index e451d10d4d..8e72d4093a 100644 --- a/keyboards/ymdk/wingshs/info.json +++ b/keyboards/ymdk/wingshs/info.json @@ -8,6 +8,10 @@ "pid": "0x4975", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 5 + }, "indicators": { "caps_lock": "C7", "on_state": 0 diff --git a/keyboards/ymdk/yd60mq/config.h b/keyboards/ymdk/yd60mq/config.h index 602144f294..82d7484aa8 100644 --- a/keyboards/ymdk/yd60mq/config.h +++ b/keyboards/ymdk/yd60mq/config.h @@ -8,11 +8,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 5 -#endif - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/ymdk/yd60mq/info.json b/keyboards/ymdk/yd60mq/info.json index 2d3777414e..84b42905c7 100644 --- a/keyboards/ymdk/yd60mq/info.json +++ b/keyboards/ymdk/yd60mq/info.json @@ -7,6 +7,10 @@ "vid": "0x594D", "pid": "0x604D" }, + "backlight": { + "pin": "B7", + "levels": 5 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_ansi_tsangan", "60_hhkb", "60_iso", "60_iso_split_bs_rshift", "60_iso_tsangan"], diff --git a/keyboards/ymdk/ym68/config.h b/keyboards/ymdk/ym68/config.h index 7716529d54..d07a8917df 100644 --- a/keyboards/ymdk/ym68/config.h +++ b/keyboards/ymdk/ym68/config.h @@ -32,10 +32,6 @@ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 5 - #define RGB_DI_PIN E2 #if defined(RGBLIGHT_ENABLE) #define RGBLED_NUM 20 diff --git a/keyboards/ymdk/ym68/info.json b/keyboards/ymdk/ym68/info.json index 5074716cf3..5d4d3913f8 100644 --- a/keyboards/ymdk/ym68/info.json +++ b/keyboards/ymdk/ym68/info.json @@ -8,6 +8,11 @@ "pid": "0xD896", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 5, + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/ymdk/ymd21/v2/config.h b/keyboards/ymdk/ymd21/v2/config.h index 494a299296..36cbd93891 100644 --- a/keyboards/ymdk/ymd21/v2/config.h +++ b/keyboards/ymdk/ymd21/v2/config.h @@ -32,9 +32,6 @@ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - #define RGB_DI_PIN E2 #if defined(RGBLIGHT_ENABLE) #define RGBLED_NUM 8 diff --git a/keyboards/ymdk/ymd21/v2/info.json b/keyboards/ymdk/ymd21/v2/info.json index b5729091f6..84badccc5a 100644 --- a/keyboards/ymdk/ymd21/v2/info.json +++ b/keyboards/ymdk/ymd21/v2/info.json @@ -8,6 +8,10 @@ "pid": "0x0110", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["ortho_6x4"], diff --git a/keyboards/ymdk/ymd40/v2/config.h b/keyboards/ymdk/ymd40/v2/config.h index 3304be6aac..21a027eab4 100644 --- a/keyboards/ymdk/ymd40/v2/config.h +++ b/keyboards/ymdk/ymd40/v2/config.h @@ -32,9 +32,6 @@ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#define BACKLIGHT_BREATHING - #if defined(RGBLIGHT_ENABLE) #define RGB_DI_PIN E2 #define RGBLED_NUM 8 diff --git a/keyboards/ymdk/ymd40/v2/info.json b/keyboards/ymdk/ymd40/v2/info.json index 55681cb2f0..375f8c8480 100644 --- a/keyboards/ymdk/ymd40/v2/info.json +++ b/keyboards/ymdk/ymd40/v2/info.json @@ -8,6 +8,10 @@ "pid": "0x4440", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "breathing": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["ortho_4x12"], diff --git a/keyboards/ymdk/ymd67/config.h b/keyboards/ymdk/ymd67/config.h index ee4bedbaaa..90f4ffed24 100644 --- a/keyboards/ymdk/ymd67/config.h +++ b/keyboards/ymdk/ymd67/config.h @@ -8,11 +8,6 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN B7 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 5 -#endif - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/ymdk/ymd67/info.json b/keyboards/ymdk/ymd67/info.json index 39a823c830..f66e1533dd 100644 --- a/keyboards/ymdk/ymd67/info.json +++ b/keyboards/ymdk/ymd67/info.json @@ -8,6 +8,10 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "pin": "B7", + "levels": 5 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/ymdk/ymd75/config.h b/keyboards/ymdk/ymd75/config.h index d384ae2479..5807ae4d8d 100644 --- a/keyboards/ymdk/ymd75/config.h +++ b/keyboards/ymdk/ymd75/config.h @@ -19,9 +19,6 @@ along with this program. If not, see . #pragma once - -#define BACKLIGHT_LEVELS 12 - #define RGB_DI_PIN E2 #define RGBLED_NUM 16 #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/ymdk/ymd75/rev1/config.h b/keyboards/ymdk/ymd75/rev1/config.h index 967bb1b226..d46c3bc010 100644 --- a/keyboards/ymdk/ymd75/rev1/config.h +++ b/keyboards/ymdk/ymd75/rev1/config.h @@ -21,5 +21,4 @@ along with this program. If not, see . #define MATRIX_ROW_PINS { B0, B1, B2, B3, B4, B5, B6, B7 } #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } -#define BACKLIGHT_PIN D4 #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/ymdk/ymd75/rev1/info.json b/keyboards/ymdk/ymd75/rev1/info.json index 6dee7f2d94..967dd3de95 100644 --- a/keyboards/ymdk/ymd75/rev1/info.json +++ b/keyboards/ymdk/ymd75/rev1/info.json @@ -2,6 +2,10 @@ "usb": { "device_version": "1.0.0" }, + "backlight": { + "pin": "D4", + "levels": 12 + }, "indicators": { "caps_lock": "D1" }, diff --git a/keyboards/ymdk/ymd75/rev2/config.h b/keyboards/ymdk/ymd75/rev2/config.h index 04db2b13a6..83e075b290 100644 --- a/keyboards/ymdk/ymd75/rev2/config.h +++ b/keyboards/ymdk/ymd75/rev2/config.h @@ -2,5 +2,4 @@ #define MATRIX_ROW_PINS { B7, B6, B5, B4, B3, B0 } #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 } -#define BACKLIGHT_PIN D4 #define DIODE_DIRECTION COL2ROW diff --git a/keyboards/ymdk/ymd75/rev2/info.json b/keyboards/ymdk/ymd75/rev2/info.json index be7df2e5a7..56435d5b27 100644 --- a/keyboards/ymdk/ymd75/rev2/info.json +++ b/keyboards/ymdk/ymd75/rev2/info.json @@ -2,6 +2,10 @@ "usb": { "device_version": "2.0.0" }, + "backlight": { + "pin": "D4", + "levels": 12 + }, "indicators": { "caps_lock": "D1" }, diff --git a/keyboards/ymdk/ymd75/rev3/config.h b/keyboards/ymdk/ymd75/rev3/config.h index 87053214b4..e3a31b5116 100644 --- a/keyboards/ymdk/ymd75/rev3/config.h +++ b/keyboards/ymdk/ymd75/rev3/config.h @@ -2,6 +2,5 @@ #define MATRIX_ROW_PINS { B7, B3, B2, B1, B0, E6, F0, F1, F4, F5, F6, F7 } #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4 } -#define BACKLIGHT_PIN B6 // change the backlight pin that has since changed in Rev 3 #define DIODE_DIRECTION ROW2COL #define RGBLIGHT_EFFECT_KNIGHT_OFFSET 4 diff --git a/keyboards/ymdk/ymd75/rev3/info.json b/keyboards/ymdk/ymd75/rev3/info.json index 850cf51f56..ce0db873cf 100644 --- a/keyboards/ymdk/ymd75/rev3/info.json +++ b/keyboards/ymdk/ymd75/rev3/info.json @@ -2,6 +2,10 @@ "usb": { "device_version": "3.0.0" }, + "backlight": { + "pin": "B6", + "levels": 12 + }, "indicators": { "caps_lock": "C7" }, diff --git a/keyboards/ymdk/ymd96/config.h b/keyboards/ymdk/ymd96/config.h index 384acfd8cf..f4fc0a99c3 100644 --- a/keyboards/ymdk/ymd96/config.h +++ b/keyboards/ymdk/ymd96/config.h @@ -25,10 +25,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW -#define BACKLIGHT_PIN D4 -#define BACKLIGHT_LEVELS 12 -#define BACKLIGHT_BREATHING - #define TAPPING_TOGGLE 3 #define USB_MAX_POWER_CONSUMPTION 100 diff --git a/keyboards/ymdk/ymd96/info.json b/keyboards/ymdk/ymd96/info.json index ebf56d2ee5..7541e62019 100644 --- a/keyboards/ymdk/ymd96/info.json +++ b/keyboards/ymdk/ymd96/info.json @@ -8,6 +8,11 @@ "pid": "0x422D", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4", + "levels": 12, + "breathing": true + }, "indicators": { "caps_lock": "D1", "num_lock": "D0", diff --git a/keyboards/zj68/config.h b/keyboards/zj68/config.h index 5681360dd7..efbdb02f81 100644 --- a/keyboards/zj68/config.h +++ b/keyboards/zj68/config.h @@ -25,11 +25,6 @@ along with this program. If not, see . /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION ROW2COL -#define BACKLIGHT_PIN B6 -#ifdef BACKLIGHT_PIN -#define BACKLIGHT_LEVELS 5 -#endif - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/zj68/info.json b/keyboards/zj68/info.json index 7da059cbc4..0c902f2468 100644 --- a/keyboards/zj68/info.json +++ b/keyboards/zj68/info.json @@ -7,6 +7,10 @@ "pid": "0x6060", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 5 + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "community_layouts": ["65_ansi"], diff --git a/keyboards/zoo/wampus/config.h b/keyboards/zoo/wampus/config.h index 2d1876d178..739358f693 100644 --- a/keyboards/zoo/wampus/config.h +++ b/keyboards/zoo/wampus/config.h @@ -34,10 +34,6 @@ along with this program. If not, see . /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW -// In-switch LED defines -#define BACKLIGHT_PIN A6 -#define BACKLIGHT_BREATHING - #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 diff --git a/keyboards/zoo/wampus/info.json b/keyboards/zoo/wampus/info.json index 4c1a36c4f4..74bf17b603 100644 --- a/keyboards/zoo/wampus/info.json +++ b/keyboards/zoo/wampus/info.json @@ -8,6 +8,10 @@ "pid": "0xE600", "device_version": "0.0.1" }, + "backlight": { + "pin": "A6", + "breathing": true + }, "indicators": { "caps_lock": "B8", "num_lock": "B0", -- cgit v1.2.3