From 36c410592dbd35da33ccc5fd6d2a5cbf4b25a708 Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 23 Sep 2022 22:46:23 +1000 Subject: Change `DRIVER_LED_COUNT` to `{LED,RGB}_MATRIX_LED_COUNT` (#18399) --- keyboards/1upkeyboards/pi40/config.h | 2 +- keyboards/1upkeyboards/super16/config.h | 2 +- keyboards/1upkeyboards/super16v2/config.h | 2 +- keyboards/3keyecosystem/2key2/config.h | 2 +- keyboards/4pplet/perk60_iso/rev_a/config.h | 2 +- keyboards/4pplet/perk60_iso/rev_a/rev_a.c | 2 +- keyboards/abatskeyboardclub/nayeon/config.h | 2 +- keyboards/acheron/apollo/87h/delta/config.h | 2 +- keyboards/acheron/apollo/87h/gamma/config.h | 4 +- keyboards/acheron/apollo/87h/gamma/gamma.c | 2 +- keyboards/acheron/apollo/87htsc/config.h | 2 +- keyboards/acheron/apollo/88htsc/config.h | 2 +- keyboards/adafruit/macropad/config.h | 2 +- keyboards/adm42/rev4/config.h | 2 +- keyboards/aleblazer/zodiark/config.h | 2 +- keyboards/an_achronism/tetromino/config.h | 2 +- keyboards/annepro2/config_led.h | 2 +- keyboards/annepro2/rgb_driver.c | 4 +- keyboards/atlantis/ak81_ve/config.h | 2 +- keyboards/axolstudio/yeti/hotswap/config.h | 2 +- keyboards/axolstudio/yeti/hotswap/hotswap.c | 2 +- keyboards/bandominedoni/config.h | 2 +- keyboards/basekeys/trifecta/config.h | 4 +- keyboards/bastardkb/charybdis/3x5/config.h | 2 +- keyboards/bastardkb/charybdis/3x6/config.h | 2 +- keyboards/bastardkb/charybdis/4x6/config.h | 2 +- keyboards/bastardkb/scylla/config.h | 2 +- keyboards/bastardkb/skeletyl/config.h | 2 +- keyboards/bastardkb/tbkmini/config.h | 2 +- keyboards/blockboy/ac980mini/config.h | 4 +- keyboards/boardsource/beiwagon/config.h | 2 +- keyboards/boardsource/lulu/config.h | 2 +- keyboards/boardsource/microdox/v2/config.h | 2 +- keyboards/boardsource/technik_o/config.h | 2 +- keyboards/boardsource/technik_s/config.h | 2 +- keyboards/boardsource/the_mark/config.h | 2 +- keyboards/boston_meetup/2019/config.h | 2 +- keyboards/canary/canary60rgb/canary60rgb.c | 2 +- keyboards/canary/canary60rgb/v1/config.h | 2 +- keyboards/capsunlocked/cu80/v2_ansi/config.h | 2 +- keyboards/capsunlocked/cu80/v2_iso/config.h | 2 +- keyboards/checkerboards/quark_lp/config.h | 2 +- keyboards/cherrybstudio/cb87rgb/config.h | 2 +- keyboards/chromatonemini/config.h | 2 +- keyboards/chromatonemini/rgb_matrix_kb.inc | 4 +- keyboards/clueboard/66_hotswap/gen1/config.h | 2 +- keyboards/clueboard/66_hotswap/gen1/gen1.c | 2 +- keyboards/crkbd/keymaps/bermeo/config.h | 2 +- keyboards/crkbd/keymaps/bermeo/keymap.c | 8 ++-- keyboards/crkbd/keymaps/crkdves/config.h | 2 +- keyboards/crkbd/keymaps/crkqwes/config.h | 2 +- keyboards/crkbd/keymaps/davidrambo/config.h | 2 +- keyboards/crkbd/keymaps/devdev/config.h | 2 +- keyboards/crkbd/keymaps/kidbrazil/config.h | 2 +- keyboards/crkbd/keymaps/ollyhayes/config.h | 2 +- keyboards/crkbd/keymaps/rpbaptist/keymap.c | 2 +- keyboards/crkbd/keymaps/soundmonster/config.h | 2 +- keyboards/crkbd/keymaps/toinux/config.h | 2 +- keyboards/crkbd/keymaps/xyverz/config.h | 2 +- keyboards/crkbd/r2g/config.h | 2 +- keyboards/crkbd/readme.md | 2 +- keyboards/crkbd/rev1/config.h | 2 +- keyboards/dekunukem/duckypad/config.h | 2 +- keyboards/doio/kb16/config.h | 2 +- keyboards/doro67/rgb/config.h | 2 +- keyboards/dp60/config.h | 2 +- keyboards/dp60/dp60.c | 2 +- keyboards/dtisaac/dosa40rgb/config.h | 2 +- keyboards/durgod/dgk6x/config.h | 2 +- keyboards/durgod/dgk6x/galaxy/galaxy.c | 2 +- keyboards/durgod/dgk6x/hades/hades.c | 2 +- keyboards/durgod/dgk6x/venus/venus.c | 2 +- keyboards/dztech/dz60rgb/dz60rgb.c | 2 +- keyboards/dztech/dz60rgb/keymaps/mekanist/keymap.c | 2 +- keyboards/dztech/dz60rgb/keymaps/perseid/keymap.c | 2 +- keyboards/dztech/dz60rgb/v1/config.h | 2 +- keyboards/dztech/dz60rgb/v2/config.h | 2 +- keyboards/dztech/dz60rgb/v2_1/config.h | 2 +- keyboards/dztech/dz60rgb_ansi/dz60rgb_ansi.c | 2 +- .../dztech/dz60rgb_ansi/keymaps/muralisc/keymap.c | 2 +- keyboards/dztech/dz60rgb_ansi/v1/config.h | 2 +- keyboards/dztech/dz60rgb_ansi/v2/config.h | 2 +- keyboards/dztech/dz60rgb_ansi/v2_1/config.h | 2 +- keyboards/dztech/dz60rgb_wkl/dz60rgb_wkl.c | 2 +- keyboards/dztech/dz60rgb_wkl/v1/config.h | 2 +- keyboards/dztech/dz60rgb_wkl/v2/config.h | 2 +- keyboards/dztech/dz60rgb_wkl/v2_1/config.h | 2 +- keyboards/dztech/dz64rgb/config.h | 2 +- keyboards/dztech/dz64rgb/dz64rgb.c | 2 +- keyboards/dztech/dz65rgb/v1/config.h | 2 +- keyboards/dztech/dz65rgb/v1/v1.c | 2 +- keyboards/dztech/dz65rgb/v2/config.h | 2 +- keyboards/dztech/dz65rgb/v2/v2.c | 2 +- keyboards/dztech/dz65rgb/v3/config.h | 2 +- keyboards/dztech/dz65rgb/v3/v3.c | 2 +- keyboards/eek/config.h | 2 +- keyboards/ein_60/config.h | 2 +- keyboards/elephant42/config.h | 2 +- keyboards/ergodox_ez/config.h | 2 +- keyboards/ergodox_ez/ergodox_ez.c | 2 +- keyboards/evyd13/atom47/rev5/config.h | 2 +- keyboards/evyd13/atom47/rev5/rev5.c | 2 +- keyboards/exclusive/e6_rgb/config.h | 2 +- keyboards/exclusive/e6_rgb/e6_rgb.c | 2 +- keyboards/fallacy/config.h | 2 +- keyboards/fallacy/indicators.c | 4 +- keyboards/feker/ik75/config.h | 2 +- keyboards/feker/ik75/ik75.c | 2 +- keyboards/ferris/0_2/bling/bling.c | 2 +- keyboards/ferris/0_2/bling/config.h | 2 +- keyboards/frooastboard/walnut/config.h | 2 +- keyboards/frooastboard/walnut/walnut.c | 2 +- keyboards/geekboards/macropad_v2/config.h | 2 +- keyboards/geekboards/tester/config.h | 2 +- keyboards/geekboards/tester/tester.c | 2 +- keyboards/giabalanai/config.h | 2 +- .../giabalanai/keymaps/party/rgb_matrix_user.inc | 4 +- keyboards/gizmo_engineering/gk6/config.h | 2 +- keyboards/gizmo_engineering/gk6/gk6.c | 2 +- .../gl516/j73gl/keymaps/via_rgb_matrix/config.h | 4 +- keyboards/gmmk/gmmk2/p65/ansi/ansi.c | 2 +- keyboards/gmmk/gmmk2/p65/config.h | 2 +- keyboards/gmmk/gmmk2/p65/iso/iso.c | 2 +- keyboards/gmmk/gmmk2/p96/ansi/ansi.c | 2 +- keyboards/gmmk/gmmk2/p96/config.h | 2 +- keyboards/gmmk/gmmk2/p96/iso/iso.c | 2 +- keyboards/gmmk/pro/rev1/ansi/ansi.c | 2 +- keyboards/gmmk/pro/rev1/ansi/config.h | 2 +- .../gmmk/pro/rev1/ansi/keymaps/cedrikl/keymap.c | 2 +- .../gmmk/pro/rev1/ansi/keymaps/gigahawk/keymap.c | 2 +- .../gmmk/pro/rev1/ansi/keymaps/mattgauf/ansi.c | 2 +- .../gmmk/pro/rev1/ansi/keymaps/mattgauf/helpers.c | 2 +- .../ansi/keymaps/mike1808/rgb_matrix_ledmaps.c | 2 +- .../ansi/keymaps/mike1808/rgb_matrix_ledmaps.h | 2 +- keyboards/gmmk/pro/rev1/iso/config.h | 2 +- keyboards/gmmk/pro/rev1/iso/iso.c | 2 +- keyboards/gmmk/pro/rev2/ansi/ansi.c | 2 +- keyboards/gmmk/pro/rev2/ansi/config.h | 2 +- keyboards/gmmk/pro/rev2/iso/config.h | 2 +- keyboards/gmmk/pro/rev2/iso/iso.c | 2 +- keyboards/gopolar/gg86/config.h | 2 +- .../gg86/keymaps/horrortroll/led/custom_gradient.c | 2 +- .../rainbow_reactive_simple.h | 2 +- .../horrortroll/led/random_breath_rainbow.c | 6 +-- keyboards/hadron/ver3/config.h | 2 +- keyboards/handwired/6macro/config.h | 2 +- keyboards/handwired/co60/rev7/config.h | 2 +- keyboards/handwired/colorlice/config.h | 2 +- keyboards/handwired/dactyl_manuform/3x5_3/config.h | 2 +- .../dactyl_manuform/3x5_3/keymaps/dlford/config.h | 2 +- .../5x6/keymaps/thattolleyguy/config.h | 4 +- keyboards/handwired/dygma/raise/ansi/ansi.c | 2 +- keyboards/handwired/dygma/raise/config.h | 2 +- keyboards/handwired/dygma/raise/iso/iso.c | 2 +- keyboards/handwired/dygma/raise/leds.c | 2 +- keyboards/handwired/dygma/raise/leds.h | 2 +- keyboards/handwired/hnah108/config.h | 2 +- keyboards/handwired/hnah40rgb/config.h | 2 +- keyboards/handwired/p65rgb/config.h | 2 +- keyboards/handwired/steamvan/rev1/config.h | 2 +- .../handwired/tractyl_manuform/4x6_right/config.h | 2 +- keyboards/helix/rev3_4rows/config.h | 4 +- keyboards/helix/rev3_5rows/config.h | 4 +- .../horrortroll/chinese_pcb/devil68_pro/config.h | 2 +- keyboards/horrortroll/handwired_k552/config.h | 2 +- .../keymaps/default/led/custom_gradient.c | 2 +- .../keymaps/default/led/random_breath_rainbow.c | 6 +-- .../keymaps/via/led/custom_gradient.c | 2 +- .../keymaps/via/led/random_breath_rainbow.c | 6 +-- keyboards/hs60/v1/config.h | 2 +- keyboards/hs60/v1/v1.c | 4 +- keyboards/hs60/v2/ansi/config.h | 2 +- keyboards/hs60/v2/hhkb/config.h | 2 +- keyboards/hs60/v2/iso/config.h | 2 +- keyboards/hub20/config.h | 2 +- keyboards/idobao/id42/config.h | 2 +- keyboards/idobao/id42/id42.c | 2 +- keyboards/idobao/id63/config.h | 4 +- keyboards/idobao/id67/config.h | 4 +- keyboards/idobao/id67/keymaps/thewerther/keymap.c | 2 +- .../idobao/id67/keymaps/vinorodrigues/keymap.c | 4 +- keyboards/idobao/id75/v2/config.h | 2 +- keyboards/idobao/id80/v3/ansi/config.h | 2 +- keyboards/idobao/id87/v2/config.h | 2 +- keyboards/idobao/montex/v1rgb/config.h | 2 +- keyboards/idobao/montex/v2/config.h | 4 +- keyboards/ilumkb/simpler61/config.h | 2 +- keyboards/ilumkb/simpler61/simpler61.c | 2 +- keyboards/ilumkb/simpler64/config.h | 2 +- keyboards/ilumkb/simpler64/simpler64.c | 2 +- keyboards/inett_studio/sqx/hotswap/config.h | 2 +- keyboards/inett_studio/sqx/hotswap/hotswap.c | 2 +- keyboards/inett_studio/sqx/universal/config.h | 2 +- keyboards/inett_studio/sqx/universal/universal.c | 2 +- keyboards/input_club/ergodox_infinity/config.h | 2 +- .../input_club/ergodox_infinity/ergodox_infinity.c | 2 +- keyboards/input_club/k_type/config.h | 2 +- keyboards/input_club/k_type/is31fl3733-dual.c | 4 +- keyboards/input_club/k_type/is31fl3733-dual.h | 2 +- keyboards/input_club/k_type/k_type-rgbdriver.c | 2 +- keyboards/input_club/k_type/k_type.c | 2 +- .../k_type/keymaps/andrew-fahmy/config.h | 2 +- keyboards/input_club/whitefox/config.h | 2 +- keyboards/input_club/whitefox/whitefox.c | 2 +- keyboards/jacky_studio/bear_65/config.h | 2 +- keyboards/jadookb/jkb65/config.h | 2 +- keyboards/jkeys_design/gentleman65/config.h | 2 +- keyboards/jkeys_design/gentleman65_se_s/config.h | 2 +- keyboards/kapl/rev1/config.h | 2 +- keyboards/kbdfans/baguette66/rgb/config.h | 2 +- keyboards/kbdfans/bella/rgb/config.h | 2 +- keyboards/kbdfans/bella/rgb/rgb.c | 2 +- keyboards/kbdfans/bella/rgb_iso/config.h | 2 +- keyboards/kbdfans/bella/rgb_iso/rgb_iso.c | 2 +- keyboards/kbdfans/boop65/rgb/config.h | 2 +- keyboards/kbdfans/boop65/rgb/rgb.c | 2 +- keyboards/kbdfans/kbd67/mkiirgb/v1/config.h | 2 +- keyboards/kbdfans/kbd67/mkiirgb/v1/v1.c | 2 +- keyboards/kbdfans/kbd67/mkiirgb/v2/config.h | 2 +- keyboards/kbdfans/kbd67/mkiirgb/v2/v2.c | 2 +- keyboards/kbdfans/kbd67/mkiirgb/v3/config.h | 2 +- keyboards/kbdfans/kbd67/mkiirgb/v3/v3.c | 2 +- keyboards/kbdfans/kbd67/mkiirgb/v4/config.h | 2 +- keyboards/kbdfans/kbd67/mkiirgb_iso/config.h | 2 +- keyboards/kbdfans/kbd75rgb/config.h | 2 +- keyboards/kbdfans/kbdmini/config.h | 2 +- keyboards/kbdfans/kbdmini/kbdmini.c | 2 +- keyboards/kbdfans/maja/config.h | 2 +- keyboards/kbdfans/maja/maja.c | 2 +- keyboards/kbdfans/odin/rgb/config.h | 2 +- keyboards/keebio/bamfk4/config.h | 2 +- keyboards/keebio/bdn9/rev2/config.h | 2 +- keyboards/keebio/iris/rev6/config.h | 2 +- keyboards/keebio/iris/rev6a/config.h | 2 +- keyboards/keebio/iris/rev6b/config.h | 2 +- keyboards/keebio/iris/rev7/config.h | 2 +- keyboards/keebio/stick/config.h | 2 +- keyboards/keebwerk/mega/ansi/config.h | 2 +- keyboards/keybee/keybee65/config.h | 2 +- keyboards/keyboardio/model01/config.h | 2 +- keyboards/keyboardio/model01/leds.c | 2 +- keyboards/keycapsss/kimiko/keymaps/oriaj3/config.h | 4 +- keyboards/keychron/q1/rev_0100/config.h | 2 +- .../q1/rev_0100/keymaps/gtg465x/rgb_matrix_user.c | 2 +- .../rev_0100/keymaps/mkillewald/rgb_matrix_user.c | 2 +- .../q1/rev_0100/keymaps/teimor/rgb_matrix_user.c | 2 +- keyboards/keychron/q1/rev_0100/rev_0100.c | 2 +- keyboards/keychron/q1/rev_0101/config.h | 2 +- keyboards/keychron/q1/rev_0101/rev_0101.c | 2 +- keyboards/keychron/q1/rev_0102/config.h | 2 +- .../rev_0102/keymaps/kubahorak/rgb_matrix_user.c | 2 +- .../keymaps/mkillewald_iso/rgb_matrix_user.c | 2 +- keyboards/keychron/q1/rev_0102/rev_0102.c | 2 +- keyboards/keychron/q2/rev_0110/config.h | 2 +- .../q2/rev_0110/keymaps/ladduro/rgb_matrix_user.c | 2 +- keyboards/keychron/q2/rev_0110/rev_0110.c | 2 +- keyboards/keychron/q2/rev_0111/config.h | 2 +- keyboards/keychron/q2/rev_0111/rev_0111.c | 2 +- keyboards/keychron/q2/rev_0112/config.h | 2 +- keyboards/keychron/q2/rev_0112/rev_0112.c | 2 +- keyboards/keychron/q2/rev_0113/config.h | 2 +- keyboards/keychron/q2/rev_0113/rev_0113.c | 2 +- keyboards/kprepublic/bm40hsrgb/config.h | 2 +- .../kprepublic/bm40hsrgb/keymaps/coffee/config.h | 2 +- .../kprepublic/bm40hsrgb/keymaps/coffee/keymap.c | 4 +- .../bm40hsrgb/keymaps/signynt_2_loud/keymap.c | 16 +++---- .../bm40hsrgb/keymaps/signynt_2_quiet/keymap.c | 8 ++-- keyboards/kprepublic/bm60hsrgb/rev1/config.h | 2 +- keyboards/kprepublic/bm60hsrgb/rev2/config.h | 4 +- keyboards/kprepublic/bm60hsrgb/rev2/rev2.c | 2 +- keyboards/kprepublic/bm60hsrgb_ec/rev1/config.h | 2 +- keyboards/kprepublic/bm60hsrgb_ec/rev2/config.h | 2 +- keyboards/kprepublic/bm60hsrgb_ec/rev2/rev2.c | 2 +- keyboards/kprepublic/bm60hsrgb_iso/rev1/config.h | 2 +- keyboards/kprepublic/bm60hsrgb_iso/rev2/config.h | 2 +- keyboards/kprepublic/bm60hsrgb_iso/rev2/rev2.c | 2 +- keyboards/kprepublic/bm60hsrgb_poker/rev1/config.h | 2 +- .../rev1/keymaps/ipetepete/keymap.c | 2 +- keyboards/kprepublic/bm60hsrgb_poker/rev2/config.h | 2 +- keyboards/kprepublic/bm60hsrgb_poker/rev2/rev2.c | 2 +- keyboards/kprepublic/bm65hsrgb/rev1/config.h | 2 +- .../bm65hsrgb_iso/keymaps/p4yne/keymap.c | 2 +- keyboards/kprepublic/bm65hsrgb_iso/rev1/config.h | 2 +- keyboards/kprepublic/bm68hsrgb/rev1/config.h | 2 +- .../bm68hsrgb/rev1/keymaps/peepeetee/config.h | 2 +- .../bm68hsrgb/rev1/keymaps/peepeetee/keymap.c | 4 +- keyboards/kprepublic/bm68hsrgb/rev2/config.h | 2 +- keyboards/kprepublic/bm68hsrgb/rev2/rev2.c | 2 +- keyboards/kprepublic/bm80hsrgb/config.h | 4 +- .../bm80hsrgb/keymaps/peepeetee/config.h | 2 +- keyboards/kprepublic/bm80v2/bm80v2.c | 2 +- keyboards/kprepublic/bm80v2/config.h | 2 +- keyboards/kprepublic/bm80v2_iso/bm80v2_iso.c | 2 +- keyboards/kprepublic/bm80v2_iso/config.h | 2 +- keyboards/kprepublic/bm980hsrgb/config.h | 2 +- .../labbe/labbeminiv1/keymaps/rgbmatrix/config.h | 2 +- keyboards/latincompass/latin17rgb/config.h | 2 +- keyboards/latincompass/latin17rgb/latin17rgb.c | 2 +- keyboards/latincompass/latin60rgb/config.h | 2 +- keyboards/latincompass/latin60rgb/latin60rgb.c | 2 +- keyboards/latincompass/latin64ble/config.h | 2 +- keyboards/latincompass/latin6rgb/config.h | 2 +- keyboards/latincompass/latin6rgb/latin6rgb.c | 2 +- keyboards/latincompass/latinpad/config.h | 2 +- keyboards/latincompass/latinpadble/config.h | 2 +- keyboards/linworks/fave65h/config.h | 2 +- keyboards/linworks/fave84h/config.h | 2 +- keyboards/linworks/fave87h/config.h | 2 +- .../launchpad/keymaps/drashna/config.h | 2 +- keyboards/marksard/rhymestone/rev1/config.h | 4 +- keyboards/massdrop/alt/config_led.h | 2 +- keyboards/massdrop/alt/keymaps/jdelkins/keymap.c | 4 +- .../massdrop/alt/keymaps/jdelkins/rgb_matrix.h | 2 +- .../massdrop/alt/keymaps/jdelkins_ss/keymap.c | 4 +- .../massdrop/alt/keymaps/jdelkins_ss/rgb_matrix.h | 2 +- keyboards/massdrop/alt/keymaps/pregame/config.h | 2 +- keyboards/massdrop/alt/keymaps/pregame/keymap.c | 4 +- keyboards/massdrop/ctrl/config_led.h | 2 +- keyboards/massdrop/ctrl/keymaps/endgame/config.h | 2 +- keyboards/massdrop/ctrl/keymaps/endgame/keymap.c | 4 +- keyboards/massdrop/ctrl/keymaps/foxx1337/config.h | 2 +- .../massdrop/ctrl/keymaps/foxx1337/hid_protocol.h | 2 +- keyboards/massdrop/ctrl/keymaps/foxx1337/keymap.c | 6 +-- .../ctrl/keymaps/foxx1337/rgb_matrix_user.inc | 4 +- .../massdrop/ctrl/keymaps/matthewrobo/config.h | 2 +- .../massdrop/ctrl/keymaps/matthewrobo/keymap.c | 4 +- keyboards/massdrop/ctrl/keymaps/xanimos/config.h | 2 +- keyboards/massdrop/ctrl/keymaps/xanimos/keymap.c | 4 +- keyboards/matrix/m20add/config.h | 2 +- keyboards/matrix/m20add/rgb_ring.c | 4 +- keyboards/matrix/noah/config.h | 2 +- keyboards/matrix/noah/noah.c | 2 +- keyboards/mechlovin/adelais/rgb_led/rev1/config.h | 2 +- keyboards/mechlovin/adelais/rgb_led/rev2/config.h | 2 +- keyboards/mechlovin/adelais/rgb_led/rev2/rev2.c | 2 +- keyboards/mechlovin/adelais/rgb_led/rev3/config.h | 2 +- keyboards/mechlovin/adelais/rgb_led/rev3/rev3.c | 2 +- keyboards/mechlovin/delphine/rgb_led/config.h | 2 +- keyboards/mechlovin/delphine/rgb_led/rgb_led.c | 2 +- keyboards/mechlovin/hannah60rgb/rev1/config.h | 2 +- keyboards/mechlovin/hannah60rgb/rev2/config.h | 2 +- keyboards/mechlovin/hannah60rgb/rev2/rev2.c | 2 +- keyboards/mechlovin/infinity87/rgb_rev1/config.h | 2 +- keyboards/mechlovin/infinity87/rgb_rev1/rgb_rev1.c | 2 +- keyboards/mechlovin/infinity875/config.h | 2 +- .../keymaps/default/rgb_matrix_user.inc | 54 +++++++++++----------- .../infinity875/keymaps/via/rgb_matrix_user.inc | 54 +++++++++++----------- keyboards/melgeek/mach80/rev1/config.h | 2 +- keyboards/melgeek/mach80/rev1/rev1.c | 2 +- keyboards/melgeek/mach80/rev2/config.h | 2 +- keyboards/melgeek/mach80/rev2/rev2.c | 2 +- keyboards/melgeek/mj61/rev1/config.h | 2 +- keyboards/melgeek/mj61/rev1/rev1.c | 2 +- keyboards/melgeek/mj61/rev2/config.h | 2 +- keyboards/melgeek/mj61/rev2/rev2.c | 2 +- keyboards/melgeek/mj63/rev1/config.h | 2 +- keyboards/melgeek/mj63/rev1/rev1.c | 2 +- keyboards/melgeek/mj63/rev2/config.h | 2 +- keyboards/melgeek/mj63/rev2/rev2.c | 2 +- keyboards/melgeek/mj64/rev1/config.h | 2 +- keyboards/melgeek/mj64/rev1/rev1.c | 2 +- keyboards/melgeek/mj64/rev2/config.h | 2 +- keyboards/melgeek/mj64/rev2/rev2.c | 2 +- keyboards/melgeek/mj64/rev3/config.h | 2 +- keyboards/melgeek/mj64/rev3/rev3.c | 2 +- keyboards/melgeek/mj65/rev3/config.h | 2 +- keyboards/melgeek/mj65/rev3/rev3.c | 2 +- keyboards/melgeek/mojo68/rev1/config.h | 2 +- keyboards/melgeek/mojo68/rev1/rev1.c | 2 +- keyboards/melgeek/mojo75/rev1/config.h | 2 +- keyboards/melgeek/mojo75/rev1/rev1.c | 2 +- keyboards/melgeek/tegic/rev1/config.h | 2 +- keyboards/melgeek/tegic/rev1/rev1.c | 2 +- keyboards/melgeek/z70ultra/config.h | 2 +- keyboards/melgeek/z70ultra/z70ultra.c | 2 +- keyboards/merge/um70/config.h | 2 +- keyboards/merge/um80/config.h | 2 +- keyboards/miller/gm862/config.h | 2 +- keyboards/miller/gm862/gm862.c | 2 +- keyboards/ml/gas75/config.h | 2 +- keyboards/momokai/tap_trio/config.h | 2 +- keyboards/monstargear/xo87/rgb/config.h | 2 +- keyboards/monstargear/xo87/solderable/config.h | 2 +- keyboards/moonlander/config.h | 2 +- keyboards/moonlander/moonlander.c | 2 +- keyboards/mss_studio/m63_rgb/config.h | 2 +- keyboards/mss_studio/m64_rgb/config.h | 2 +- keyboards/mt/mt64rgb/config.h | 2 +- keyboards/mt/mt64rgb/mt64rgb.c | 2 +- keyboards/mt/mt84/config.h | 2 +- keyboards/mt/mt84/mt84.c | 2 +- keyboards/mwstudio/mw65_rgb/config.h | 2 +- .../keymaps/horrortroll/led/custom_gradient.c | 2 +- .../rainbow_reactive_simple.h | 2 +- .../horrortroll/led/random_breath_rainbow.c | 6 +-- keyboards/mwstudio/mw75/config.h | 2 +- keyboards/mwstudio/mw75r2/config.h | 2 +- keyboards/nack/config.h | 2 +- keyboards/neson_design/700e/700e.c | 20 ++++---- keyboards/neson_design/700e/config.h | 2 +- keyboards/neson_design/n6/config.h | 2 +- keyboards/neson_design/n6/n6.c | 14 +++--- keyboards/novelkeys/nk20/config.h | 2 +- keyboards/novelkeys/nk65/config.h | 2 +- keyboards/novelkeys/nk65b/config.h | 2 +- keyboards/novelkeys/nk87/config.h | 2 +- keyboards/novelkeys/nk87b/config.h | 2 +- keyboards/omkbd/runner3680/5x6_5x8/config.h | 2 +- keyboards/opendeck/32/rev1/config.h | 2 +- keyboards/opendeck/32/rev1/rev1.c | 2 +- keyboards/owlab/voice65/hotswap/config.h | 2 +- keyboards/owlab/voice65/hotswap/hotswap.c | 2 +- keyboards/owlab/voice65/soldered/config.h | 2 +- keyboards/owlab/voice65/soldered/soldered.c | 2 +- keyboards/paprikman/albacore/config.h | 2 +- keyboards/percent/canoe_gen2/config.h | 2 +- keyboards/phase_studio/titan65/hotswap/config.h | 2 +- keyboards/planck/ez/config.h | 2 +- keyboards/planck/ez/ez.c | 2 +- keyboards/planck/keymaps/charlesrocket/keymap.c | 4 +- keyboards/planck/keymaps/oryx/keymap.c | 4 +- keyboards/planck/keymaps/tom/keymap.c | 6 +-- keyboards/planck/keymaps/tylerwince/keymap.c | 4 +- keyboards/planck/light/config.h | 2 +- keyboards/planck/light/light.c | 2 +- keyboards/planck/rev6/config.h | 2 +- keyboards/planck/rev6_drop/config.h | 2 +- keyboards/playkbtw/pk64rgb/config.h | 2 +- keyboards/playkbtw/pk64rgb/pk64rgb.c | 2 +- keyboards/pom_keyboards/tnln95/config.h | 2 +- keyboards/preonic/rev3/config.h | 2 +- keyboards/preonic/rev3_drop/config.h | 2 +- keyboards/qpockets/space_space/rev2/config.h | 2 +- keyboards/rgbkb/mun/config.h | 2 +- keyboards/rgbkb/pan/config.h | 2 +- keyboards/rgbkb/pan/pan.c | 4 +- keyboards/rgbkb/sol/rev1/config.h | 2 +- keyboards/rgbkb/sol/rev2/config.h | 2 +- keyboards/rgbkb/sol3/config.h | 2 +- keyboards/rgbkb/zygomorph/rev1/config.h | 2 +- keyboards/ryanskidmore/rskeys100/config.h | 2 +- keyboards/s_ol/0xc_pad/config.h | 2 +- .../naked48/keymaps/salicylic/config.h | 4 +- .../naked48/keymaps/via_rgb_matrix/config.h | 4 +- .../setta21/keymaps/salicylic/config.h | 4 +- keyboards/sawnsprojects/satxri6key/config.h | 2 +- keyboards/senselessclay/ck60/config.h | 2 +- keyboards/sets3n/kk980/config.h | 2 +- keyboards/silverbullet44/config.h | 2 +- keyboards/skmt/15k/config.h | 2 +- keyboards/smallkeyboard/config.h | 2 +- keyboards/smallkeyboard/smallkeyboard.c | 2 +- keyboards/sofle/keymaps/devdev/config.h | 4 +- keyboards/sofle/keymaps/killmaster/config.h | 2 +- keyboards/sofle/keymaps/rgb_default/config.h | 4 +- keyboards/sofle/keymaps/via/config.h | 2 +- keyboards/sowbug/68keys/config.h | 2 +- keyboards/sowbug/ansi_tkl/config.h | 2 +- keyboards/spaceholdings/nebula12/config.h | 2 +- keyboards/spaceholdings/nebula12b/config.h | 2 +- keyboards/spaceholdings/nebula68/config.h | 2 +- keyboards/spaceholdings/nebula68b/config.h | 2 +- keyboards/spaceholdings/nebula68b/hs/config.h | 4 +- keyboards/splitkb/kyria/rev1/config.h | 2 +- keyboards/splitkb/kyria/rev2/config.h | 2 +- keyboards/synapse/config.h | 2 +- keyboards/system76/launch_1/config.h | 2 +- keyboards/system76/launch_1/rgb_matrix_kb.inc | 12 ++--- keyboards/system76/system76_ec.c | 6 +-- keyboards/terrazzo/config.h | 2 +- keyboards/terrazzo/terrazzo.c | 8 ++-- keyboards/tkc/portico/config.h | 4 +- keyboards/tkc/portico/portico.c | 2 +- keyboards/tkc/portico68v2/config.h | 2 +- keyboards/tkc/portico68v2/portico68v2.c | 2 +- keyboards/tkc/portico75/config.h | 4 +- keyboards/tkc/portico75/portico75.c | 2 +- keyboards/tominabox1/le_chiffre/config.h | 2 +- keyboards/tzarc/djinn/rev1/config.h | 2 +- keyboards/tzarc/djinn/rev2/config.h | 2 +- keyboards/ungodly/launch_pad/config.h | 4 +- keyboards/wekey/we27/config.h | 2 +- keyboards/wilba_tech/rama_works_kara/config.h | 2 +- keyboards/wilba_tech/rama_works_koyu/config.h | 2 +- keyboards/wilba_tech/rama_works_m10_c/config.h | 2 +- keyboards/wilba_tech/rama_works_m50_a/config.h | 2 +- keyboards/wilba_tech/rama_works_m60_a/config.h | 2 +- keyboards/wilba_tech/rama_works_m65_b/config.h | 2 +- keyboards/wilba_tech/rama_works_m65_bx/config.h | 2 +- keyboards/wilba_tech/rama_works_u80_a/config.h | 2 +- keyboards/wilba_tech/wt60_b/config.h | 2 +- keyboards/wilba_tech/wt60_bx/config.h | 2 +- keyboards/wilba_tech/wt60_c/config.h | 2 +- keyboards/wilba_tech/wt_rgb_backlight.c | 44 +++++++++--------- keyboards/wilba_tech/zeal60/config.h | 2 +- keyboards/wilba_tech/zeal65/config.h | 2 +- keyboards/winry/winry315/config.h | 2 +- keyboards/winry/winry315/winry315.c | 2 +- keyboards/work_louder/loop/config.h | 2 +- keyboards/work_louder/micro/config.h | 2 +- keyboards/work_louder/nano/config.h | 2 +- keyboards/work_louder/work_board/config.h | 2 +- keyboards/xbows/knight/config.h | 2 +- keyboards/xbows/knight/knight.c | 2 +- keyboards/xbows/knight_plus/config.h | 2 +- keyboards/xbows/knight_plus/knight_plus.c | 2 +- keyboards/xbows/nature/config.h | 2 +- keyboards/xbows/nature/nature.c | 2 +- keyboards/xbows/numpad/config.h | 2 +- keyboards/xbows/numpad/numpad.c | 2 +- keyboards/xbows/ranger/config.h | 2 +- keyboards/xbows/ranger/ranger.c | 2 +- keyboards/xbows/woody/config.h | 2 +- keyboards/xbows/woody/woody.c | 2 +- keyboards/xelus/dawn60/rev1/config.h | 2 +- keyboards/xelus/dawn60/rev1_qmk/config.h | 2 +- keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c | 2 +- keyboards/xelus/la_plus/config.h | 2 +- keyboards/xelus/pachi/rgb/rev1/config.h | 4 +- keyboards/xelus/pachi/rgb/rev1/rev1.c | 2 +- keyboards/xelus/pachi/rgb/rev2/config.h | 4 +- keyboards/xelus/pachi/rgb/rev2/rev2.c | 2 +- keyboards/xelus/valor/rev2/config.h | 2 +- keyboards/yandrstudio/nz64/config.h | 4 +- keyboards/yandrstudio/nz67v2/config.h | 2 +- keyboards/yandrstudio/tg67/config.h | 2 +- keyboards/yanghu/unicorne/config.h | 2 +- keyboards/yncognito/batpad/config.h | 2 +- keyboards/yushakobo/quick17/config.h | 4 +- keyboards/yushakobo/quick17/rgb_matrix_kb.inc | 2 +- 530 files changed, 701 insertions(+), 701 deletions(-) (limited to 'keyboards') diff --git a/keyboards/1upkeyboards/pi40/config.h b/keyboards/1upkeyboards/pi40/config.h index 5bda238430..5e0d0e12ae 100644 --- a/keyboards/1upkeyboards/pi40/config.h +++ b/keyboards/1upkeyboards/pi40/config.h @@ -29,7 +29,7 @@ #define ENCODERS_PAD_B { GP13 } #define RGB_DI_PIN GP0 -#define DRIVER_LED_TOTAL 47 +#define RGB_MATRIX_LED_COUNT 47 #define RGBLED_NUM 47 # define RGB_MATRIX_KEYPRESSES // reacts to keypresses # define RGB_MATRIX_FRAMEBUFFER_EFFECTS diff --git a/keyboards/1upkeyboards/super16/config.h b/keyboards/1upkeyboards/super16/config.h index 1a9344cbac..9220655ac2 100644 --- a/keyboards/1upkeyboards/super16/config.h +++ b/keyboards/1upkeyboards/super16/config.h @@ -53,7 +53,7 @@ along with this program. If not, see . #define RGB_DI_PIN D3 #ifdef RGB_DI_PIN # define RGBLED_NUM 16 // Add 12 if attaching the RGB LED ring -# define DRIVER_LED_TOTAL RGBLED_NUM +# define RGB_MATRIX_LED_COUNT RGBLED_NUM # ifdef RGBLIGHT_ENABLE # define RGBLIGHT_HUE_STEP 8 # define RGBLIGHT_SAT_STEP 8 diff --git a/keyboards/1upkeyboards/super16v2/config.h b/keyboards/1upkeyboards/super16v2/config.h index cea3c4edb6..a37053a20f 100644 --- a/keyboards/1upkeyboards/super16v2/config.h +++ b/keyboards/1upkeyboards/super16v2/config.h @@ -62,7 +62,7 @@ //#define BACKLIGHT_BREATHING #define RGB_DI_PIN B5 -#define DRIVER_LED_TOTAL 20 +#define RGB_MATRIX_LED_COUNT 20 #ifdef RGB_DI_PIN # define RGB_MATRIX_KEYPRESSES // reacts to keypresses # define RGBLIGHT_LIMIT_VAL 255 diff --git a/keyboards/3keyecosystem/2key2/config.h b/keyboards/3keyecosystem/2key2/config.h index 5ccd3f1cd5..bb0a591610 100644 --- a/keyboards/3keyecosystem/2key2/config.h +++ b/keyboards/3keyecosystem/2key2/config.h @@ -34,7 +34,7 @@ along with this program. If not, see . /* RGB matrix key backlighting */ #define RGB_DI_PIN B2 -#define DRIVER_LED_TOTAL 2 +#define RGB_MATRIX_LED_COUNT 2 #define RGB_MATRIX_KEYPRESSES #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_REACTIVE #define RGB_MATRIX_STARTUP_HUE 90 diff --git a/keyboards/4pplet/perk60_iso/rev_a/config.h b/keyboards/4pplet/perk60_iso/rev_a/config.h index bd24723df0..7403803f5d 100644 --- a/keyboards/4pplet/perk60_iso/rev_a/config.h +++ b/keyboards/4pplet/perk60_iso/rev_a/config.h @@ -33,7 +33,7 @@ along with this program. If not, see . #define DRIVER_ADDR_1 0b1010000 #define DRIVER_COUNT 1 -#define DRIVER_LED_TOTAL 62 +#define RGB_MATRIX_LED_COUNT 62 #define ISSI_PWM_FREQUENCY 0b010 #define RGB_MATRIX_STARTUP_VAL 80 diff --git a/keyboards/4pplet/perk60_iso/rev_a/rev_a.c b/keyboards/4pplet/perk60_iso/rev_a/rev_a.c index 8f6ef05cec..72446d39be 100644 --- a/keyboards/4pplet/perk60_iso/rev_a/rev_a.c +++ b/keyboards/4pplet/perk60_iso/rev_a/rev_a.c @@ -17,7 +17,7 @@ along with this program. If not, see . #include "rev_a.h" #ifdef RGB_MATRIX_ENABLE -const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { +const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = { { 0, K_2, J_2, L_2 }, //D402 { 0, K_3, J_3, L_3 }, //D403 { 0, K_4, J_4, L_4 }, //D404 diff --git a/keyboards/abatskeyboardclub/nayeon/config.h b/keyboards/abatskeyboardclub/nayeon/config.h index 449f2da113..6be72c6495 100644 --- a/keyboards/abatskeyboardclub/nayeon/config.h +++ b/keyboards/abatskeyboardclub/nayeon/config.h @@ -21,6 +21,6 @@ along with this program. If not, see . /* RGB Matrix setup */ #define RGB_DI_PIN GP19 -#define DRIVER_LED_TOTAL 2 +#define RGB_MATRIX_LED_COUNT 2 #define RGBLED_NUM 2 #define WS2812_PIO_USE_PIO1 // Force the usage of PIO1 peripheral, by default the WS2812 implementation uses the PIO0 peripheral diff --git a/keyboards/acheron/apollo/87h/delta/config.h b/keyboards/acheron/apollo/87h/delta/config.h index 5df3628db2..8f6e3a87db 100644 --- a/keyboards/acheron/apollo/87h/delta/config.h +++ b/keyboards/acheron/apollo/87h/delta/config.h @@ -41,7 +41,7 @@ along with this program. If not, see . #define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE #define RGB_DI_PIN B15 -#define DRIVER_LED_TOTAL 87 +#define RGB_MATRIX_LED_COUNT 87 #define WS2812_PWM_COMPLEMENTARY_OUTPUT #define WS2812_PWM_DRIVER PWMD1 diff --git a/keyboards/acheron/apollo/87h/gamma/config.h b/keyboards/acheron/apollo/87h/gamma/config.h index 21fe929409..7adcf7a75b 100644 --- a/keyboards/acheron/apollo/87h/gamma/config.h +++ b/keyboards/acheron/apollo/87h/gamma/config.h @@ -45,8 +45,8 @@ along with this program. If not, see . #define DRIVER_COUNT 1 #define DRIVER_1_LED_TOTAL 87 -#define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL -#define ISSI_DRIVER_TOTAL DRIVER_LED_TOTAL +#define RGB_MATRIX_LED_COUNT DRIVER_1_LED_TOTAL +#define ISSI_DRIVER_TOTAL RGB_MATRIX_LED_COUNT #define RGB_MATRIX_STARTUP_VAL 80 #define RGB_MATRIX_FRAMEBUFFER_EFFECTS diff --git a/keyboards/acheron/apollo/87h/gamma/gamma.c b/keyboards/acheron/apollo/87h/gamma/gamma.c index babad3c11c..89eed483c1 100644 --- a/keyboards/acheron/apollo/87h/gamma/gamma.c +++ b/keyboards/acheron/apollo/87h/gamma/gamma.c @@ -18,7 +18,7 @@ along with this program. If not, see . #include "gamma.h" #ifdef RGB_MATRIX_ENABLE -const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { +const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = { /* Refer to IS31 manual for these locations * driver * | R location diff --git a/keyboards/acheron/apollo/87htsc/config.h b/keyboards/acheron/apollo/87htsc/config.h index 30021a51b9..7e2060ab2d 100644 --- a/keyboards/acheron/apollo/87htsc/config.h +++ b/keyboards/acheron/apollo/87htsc/config.h @@ -41,7 +41,7 @@ along with this program. If not, see . #define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE #define RGB_DI_PIN B15 -#define DRIVER_LED_TOTAL 86 +#define RGB_MATRIX_LED_COUNT 86 #define WS2812_PWM_COMPLEMENTARY_OUTPUT #define WS2812_PWM_DRIVER PWMD1 diff --git a/keyboards/acheron/apollo/88htsc/config.h b/keyboards/acheron/apollo/88htsc/config.h index 5df3628db2..8f6e3a87db 100644 --- a/keyboards/acheron/apollo/88htsc/config.h +++ b/keyboards/acheron/apollo/88htsc/config.h @@ -41,7 +41,7 @@ along with this program. If not, see . #define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE #define RGB_DI_PIN B15 -#define DRIVER_LED_TOTAL 87 +#define RGB_MATRIX_LED_COUNT 87 #define WS2812_PWM_COMPLEMENTARY_OUTPUT #define WS2812_PWM_DRIVER PWMD1 diff --git a/keyboards/adafruit/macropad/config.h b/keyboards/adafruit/macropad/config.h index cc4cbc940c..568020eec8 100644 --- a/keyboards/adafruit/macropad/config.h +++ b/keyboards/adafruit/macropad/config.h @@ -78,7 +78,7 @@ /* RGB Defines */ # define RGB_DI_PIN GP19 -# define DRIVER_LED_TOTAL 12 +# define RGB_MATRIX_LED_COUNT 12 # define RGBLED_NUM 12 /* Enable Framebuffer and keypress effects */ diff --git a/keyboards/adm42/rev4/config.h b/keyboards/adm42/rev4/config.h index b567c6450e..2a8f9927cd 100644 --- a/keyboards/adm42/rev4/config.h +++ b/keyboards/adm42/rev4/config.h @@ -21,7 +21,7 @@ #define RGB_DI_PIN B7 -#define DRIVER_LED_TOTAL 42 +#define RGB_MATRIX_LED_COUNT 42 #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 170 #define RGB_DISABLE_WHEN_USB_SUSPENDED #define RGB_MATRIX_LED_PROCESS_LIMIT 21 diff --git a/keyboards/aleblazer/zodiark/config.h b/keyboards/aleblazer/zodiark/config.h index 2958e8daed..25d6912db2 100644 --- a/keyboards/aleblazer/zodiark/config.h +++ b/keyboards/aleblazer/zodiark/config.h @@ -53,7 +53,7 @@ along with this program. If not, see . #endif #ifdef RGB_MATRIX_ENABLE -#define DRIVER_LED_TOTAL 68 +#define RGB_MATRIX_LED_COUNT 68 #define RGB_MATRIX_SPLIT { 34, 34 } #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. #define RGB_MATRIX_KEYPRESSES diff --git a/keyboards/an_achronism/tetromino/config.h b/keyboards/an_achronism/tetromino/config.h index 6208224465..e543d7ae24 100644 --- a/keyboards/an_achronism/tetromino/config.h +++ b/keyboards/an_achronism/tetromino/config.h @@ -17,7 +17,7 @@ along with this program. If not, see . #pragma once #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET -#define DRIVER_LED_TOTAL 70 +#define RGB_MATRIX_LED_COUNT 70 /* disable debug print */ //#define NO_DEBUG diff --git a/keyboards/annepro2/config_led.h b/keyboards/annepro2/config_led.h index 19a1dd4baa..e6d4dc35fb 100644 --- a/keyboards/annepro2/config_led.h +++ b/keyboards/annepro2/config_led.h @@ -18,7 +18,7 @@ #ifdef RGB_MATRIX_ENABLE -#define DRIVER_LED_TOTAL 61 +#define RGB_MATRIX_LED_COUNT 61 /* Limit animations to 62.5 FPS to avoid tearing. (1/.016 = 62.5 FPS). */ #define RGB_MATRIX_LED_FLUSH_LIMIT 16 diff --git a/keyboards/annepro2/rgb_driver.c b/keyboards/annepro2/rgb_driver.c index 1040e89f98..f1d2a3cd13 100644 --- a/keyboards/annepro2/rgb_driver.c +++ b/keyboards/annepro2/rgb_driver.c @@ -19,7 +19,7 @@ #include "rgb_matrix.h" #include "ap2_led.h" -uint8_t led_pos[DRIVER_LED_TOTAL]; +uint8_t led_pos[RGB_MATRIX_LED_COUNT]; void init(void) { unsigned int i = 0; @@ -52,7 +52,7 @@ void set_color(int index, uint8_t r, uint8_t g, uint8_t b) { } void set_color_all(uint8_t r, uint8_t g, uint8_t b) { - for (int i=0; i. # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended # define DRIVER_ADDR_1 0b1010000 # define DRIVER_COUNT 1 -# define DRIVER_LED_TOTAL 64 +# define RGB_MATRIX_LED_COUNT 64 #endif /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ diff --git a/keyboards/axolstudio/yeti/hotswap/hotswap.c b/keyboards/axolstudio/yeti/hotswap/hotswap.c index f6d0bc7019..a8ccf7fc43 100644 --- a/keyboards/axolstudio/yeti/hotswap/hotswap.c +++ b/keyboards/axolstudio/yeti/hotswap/hotswap.c @@ -17,7 +17,7 @@ #include "hotswap.h" #ifdef RGB_MATRIX_ENABLE -const is31_led g_is31_leds[DRIVER_LED_TOTAL] = { +const is31_led g_is31_leds[RGB_MATRIX_LED_COUNT] = { { 0, B_1, A_1, C_1 }, { 0, B_2, A_2, C_2 }, { 0, B_3, A_3, C_3 }, diff --git a/keyboards/bandominedoni/config.h b/keyboards/bandominedoni/config.h index 17f5675f60..ba3a157ced 100644 --- a/keyboards/bandominedoni/config.h +++ b/keyboards/bandominedoni/config.h @@ -91,7 +91,7 @@ #ifdef RGB_MATRIX_ENABLE /* ws2812 RGB MATRIX */ -# define DRIVER_LED_TOTAL 76 +# define RGB_MATRIX_LED_COUNT 76 // reacts to keypresses # define RGB_MATRIX_KEYPRESSES diff --git a/keyboards/basekeys/trifecta/config.h b/keyboards/basekeys/trifecta/config.h index 753e3d5a41..4d71a3ea53 100644 --- a/keyboards/basekeys/trifecta/config.h +++ b/keyboards/basekeys/trifecta/config.h @@ -36,7 +36,7 @@ #define RGB_DI_PIN E6 -#define DRIVER_LED_TOTAL 80 +#define RGB_MATRIX_LED_COUNT 80 /* RGB LED */ #ifdef RGBLIGHT_ENABLE @@ -75,7 +75,7 @@ // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects //# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended # define RGB_MATRIX_FRAMEBUFFER_EFFECTS -# define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) +# define RGB_MATRIX_LED_PROCESS_LIMIT (RGB_MATRIX_LED_COUNT + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. # define RGB_MATRIX_HUE_STEP 8 diff --git a/keyboards/bastardkb/charybdis/3x5/config.h b/keyboards/bastardkb/charybdis/3x5/config.h index 6e3b8a7124..1368bce35b 100644 --- a/keyboards/bastardkb/charybdis/3x5/config.h +++ b/keyboards/bastardkb/charybdis/3x5/config.h @@ -38,7 +38,7 @@ /* RGB matrix support. */ #ifdef RGB_MATRIX_ENABLE # define SPLIT_TRANSPORT_MIRROR -# define DRIVER_LED_TOTAL RGBLED_NUM +# define RGB_MATRIX_LED_COUNT RGBLED_NUM # define RGB_MATRIX_SPLIT RGBLED_SPLIT # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50 # define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS diff --git a/keyboards/bastardkb/charybdis/3x6/config.h b/keyboards/bastardkb/charybdis/3x6/config.h index 6b31a773fc..bf915b4faf 100644 --- a/keyboards/bastardkb/charybdis/3x6/config.h +++ b/keyboards/bastardkb/charybdis/3x6/config.h @@ -40,7 +40,7 @@ /* RGB matrix support. */ #ifdef RGB_MATRIX_ENABLE # define SPLIT_TRANSPORT_MIRROR -# define DRIVER_LED_TOTAL RGBLED_NUM +# define RGB_MATRIX_LED_COUNT RGBLED_NUM # define RGB_MATRIX_SPLIT RGBLED_SPLIT # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50 # define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS diff --git a/keyboards/bastardkb/charybdis/4x6/config.h b/keyboards/bastardkb/charybdis/4x6/config.h index f557089073..4c0f508948 100644 --- a/keyboards/bastardkb/charybdis/4x6/config.h +++ b/keyboards/bastardkb/charybdis/4x6/config.h @@ -38,7 +38,7 @@ /* RGB matrix support. */ #ifdef RGB_MATRIX_ENABLE # define SPLIT_TRANSPORT_MIRROR -# define DRIVER_LED_TOTAL RGBLED_NUM +# define RGB_MATRIX_LED_COUNT RGBLED_NUM # define RGB_MATRIX_SPLIT RGBLED_SPLIT # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50 # define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS diff --git a/keyboards/bastardkb/scylla/config.h b/keyboards/bastardkb/scylla/config.h index 777f99197a..84b559a26b 100644 --- a/keyboards/bastardkb/scylla/config.h +++ b/keyboards/bastardkb/scylla/config.h @@ -37,7 +37,7 @@ /* RGB matrix support. */ #ifdef RGB_MATRIX_ENABLE # define SPLIT_TRANSPORT_MIRROR -# define DRIVER_LED_TOTAL RGBLED_NUM +# define RGB_MATRIX_LED_COUNT RGBLED_NUM # define RGB_MATRIX_SPLIT RGBLED_SPLIT # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50 # define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS diff --git a/keyboards/bastardkb/skeletyl/config.h b/keyboards/bastardkb/skeletyl/config.h index 8494e2bfac..f887d8e0f0 100644 --- a/keyboards/bastardkb/skeletyl/config.h +++ b/keyboards/bastardkb/skeletyl/config.h @@ -37,7 +37,7 @@ /* RGB matrix support. */ #ifdef RGB_MATRIX_ENABLE # define SPLIT_TRANSPORT_MIRROR -# define DRIVER_LED_TOTAL RGBLED_NUM +# define RGB_MATRIX_LED_COUNT RGBLED_NUM # define RGB_MATRIX_SPLIT RGBLED_SPLIT # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50 # define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS diff --git a/keyboards/bastardkb/tbkmini/config.h b/keyboards/bastardkb/tbkmini/config.h index 0624c4b4a6..867f69319b 100644 --- a/keyboards/bastardkb/tbkmini/config.h +++ b/keyboards/bastardkb/tbkmini/config.h @@ -37,7 +37,7 @@ /* RGB matrix support. */ #ifdef RGB_MATRIX_ENABLE # define SPLIT_TRANSPORT_MIRROR -# define DRIVER_LED_TOTAL RGBLED_NUM +# define RGB_MATRIX_LED_COUNT RGBLED_NUM # define RGB_MATRIX_SPLIT RGBLED_SPLIT # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50 # define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS diff --git a/keyboards/blockboy/ac980mini/config.h b/keyboards/blockboy/ac980mini/config.h index 695daf901a..4275ffa19e 100644 --- a/keyboards/blockboy/ac980mini/config.h +++ b/keyboards/blockboy/ac980mini/config.h @@ -7,7 +7,7 @@ // RGB configuration #define RGB_DI_PIN B7 // The number of LEDs connected -#define DRIVER_LED_TOTAL 81 +#define RGB_MATRIX_LED_COUNT 81 //#ifdef RGB_DI_PIN # define RGBLED_NUM 81 @@ -17,7 +17,7 @@ // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended //# define RGB_MATRIX_FRAMEBUFFER_EFFECTS -// # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) +// # define RGB_MATRIX_LED_PROCESS_LIMIT (RGB_MATRIX_LED_COUNT + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) // # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. # define RGB_MATRIX_HUE_STEP 8 diff --git a/keyboards/boardsource/beiwagon/config.h b/keyboards/boardsource/beiwagon/config.h index 6ce8d2d420..587dda7381 100644 --- a/keyboards/boardsource/beiwagon/config.h +++ b/keyboards/boardsource/beiwagon/config.h @@ -17,7 +17,7 @@ along with this program. If not, see . #pragma once #define RGB_DI_PIN C6 -#define DRIVER_LED_TOTAL 18 +#define RGB_MATRIX_LED_COUNT 18 #define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN #define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT #define ENABLE_RGB_MATRIX_BREATHING diff --git a/keyboards/boardsource/lulu/config.h b/keyboards/boardsource/lulu/config.h index 8e635a24eb..382b1b6b3f 100644 --- a/keyboards/boardsource/lulu/config.h +++ b/keyboards/boardsource/lulu/config.h @@ -3,7 +3,7 @@ #pragma once #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 -#define DRIVER_LED_TOTAL 70 +#define RGB_MATRIX_LED_COUNT 70 #define RGB_MATRIX_SPLIT { 35, 35 } #define ENABLE_RGB_MATRIX_ALPHAS_MODS #define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN diff --git a/keyboards/boardsource/microdox/v2/config.h b/keyboards/boardsource/microdox/v2/config.h index e6a7ddc16b..4846bf5146 100644 --- a/keyboards/boardsource/microdox/v2/config.h +++ b/keyboards/boardsource/microdox/v2/config.h @@ -4,7 +4,7 @@ #define RGB_DI_PIN B5 #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 -#define DRIVER_LED_TOTAL 44 +#define RGB_MATRIX_LED_COUNT 44 #define RGB_MATRIX_SPLIT { 22, 22 } #define RGB_DISABLE_WHEN_USB_SUSPENDED #define ENABLE_RGB_MATRIX_ALPHAS_MODS diff --git a/keyboards/boardsource/technik_o/config.h b/keyboards/boardsource/technik_o/config.h index bbaacd33c4..c6edbf1c4e 100644 --- a/keyboards/boardsource/technik_o/config.h +++ b/keyboards/boardsource/technik_o/config.h @@ -18,7 +18,7 @@ along with this program. If not, see . #pragma once #define RGB_DI_PIN C6 #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120 -#define DRIVER_LED_TOTAL 58 +#define RGB_MATRIX_LED_COUNT 58 #define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN #define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT #define ENABLE_RGB_MATRIX_BREATHING diff --git a/keyboards/boardsource/technik_s/config.h b/keyboards/boardsource/technik_s/config.h index 2141a2a0a9..ab4d79147c 100644 --- a/keyboards/boardsource/technik_s/config.h +++ b/keyboards/boardsource/technik_s/config.h @@ -18,7 +18,7 @@ along with this program. If not, see . #pragma once #define RGB_DI_PIN C6 #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120 -#define DRIVER_LED_TOTAL 55 +#define RGB_MATRIX_LED_COUNT 55 #define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN #define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT #define ENABLE_RGB_MATRIX_BREATHING diff --git a/keyboards/boardsource/the_mark/config.h b/keyboards/boardsource/the_mark/config.h index 61628e1821..6d9c9642de 100644 --- a/keyboards/boardsource/the_mark/config.h +++ b/keyboards/boardsource/the_mark/config.h @@ -17,7 +17,7 @@ along with this program. If not, see . #pragma once #ifdef RGB_MATRIX_ENABLE -# define DRIVER_LED_TOTAL 24 +# define RGB_MATRIX_LED_COUNT 24 # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 # define RGB_DISABLE_WHEN_USB_SUSPENDED # define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN diff --git a/keyboards/boston_meetup/2019/config.h b/keyboards/boston_meetup/2019/config.h index 7429845958..f69e5f953f 100644 --- a/keyboards/boston_meetup/2019/config.h +++ b/keyboards/boston_meetup/2019/config.h @@ -155,7 +155,7 @@ #define RGBLED_NUM 10 #define RGB_DI_PIN B5 -#define DRIVER_LED_TOTAL RGBLED_NUM +#define RGB_MATRIX_LED_COUNT RGBLED_NUM #define RGB_MATRIX_KEYPRESSES diff --git a/keyboards/canary/canary60rgb/canary60rgb.c b/keyboards/canary/canary60rgb/canary60rgb.c index b37a88b32f..c6aca13032 100644 --- a/keyboards/canary/canary60rgb/canary60rgb.c +++ b/keyboards/canary/canary60rgb/canary60rgb.c @@ -16,7 +16,7 @@ #include "canary60rgb.h" #ifdef RGB_MATRIX_ENABLE -const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { +const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = { { 0, J_14, K_14, L_14 }, { 0, J_13, K_13, L_13 }, { 0, J_12, K_12, L_12 }, diff --git a/keyboards/canary/canary60rgb/v1/config.h b/keyboards/canary/canary60rgb/v1/config.h index 8d3150a5d9..186cf189ae 100644 --- a/keyboards/canary/canary60rgb/v1/config.h +++ b/keyboards/canary/canary60rgb/v1/config.h @@ -78,5 +78,5 @@ # define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH # define DRIVER_ADDR_1 0b1010000 # define DRIVER_COUNT 1 -# define DRIVER_LED_TOTAL 63 +# define RGB_MATRIX_LED_COUNT 63 #endif diff --git a/keyboards/capsunlocked/cu80/v2_ansi/config.h b/keyboards/capsunlocked/cu80/v2_ansi/config.h index 4ff0af5c27..ae8d1cc741 100644 --- a/keyboards/capsunlocked/cu80/v2_ansi/config.h +++ b/keyboards/capsunlocked/cu80/v2_ansi/config.h @@ -24,5 +24,5 @@ along with this program. If not, see . #define LOCKING_RESYNC_ENABLE /* Define RGB */ -#define DRIVER_LED_TOTAL 87 +#define RGB_MATRIX_LED_COUNT 87 #define RGBLIGHT_ANIMATIONS diff --git a/keyboards/capsunlocked/cu80/v2_iso/config.h b/keyboards/capsunlocked/cu80/v2_iso/config.h index 7980837acf..2411039d93 100644 --- a/keyboards/capsunlocked/cu80/v2_iso/config.h +++ b/keyboards/capsunlocked/cu80/v2_iso/config.h @@ -25,5 +25,5 @@ along with this program. If not, see . #define LOCKING_RESYNC_ENABLE /* Define RGB */ -#define DRIVER_LED_TOTAL 88 +#define RGB_MATRIX_LED_COUNT 88 #define RGBLIGHT_ANIMATIONS diff --git a/keyboards/checkerboards/quark_lp/config.h b/keyboards/checkerboards/quark_lp/config.h index b4664ec5c2..a1d7533f8a 100644 --- a/keyboards/checkerboards/quark_lp/config.h +++ b/keyboards/checkerboards/quark_lp/config.h @@ -41,7 +41,7 @@ #define RGB_DI_PIN C2 // pin the DI on the ws2812 is hooked-up to #ifdef RGB_MATRIX_ENABLE -#define DRIVER_LED_TOTAL 51 +#define RGB_MATRIX_LED_COUNT 51 #define RGB_MATRIX_KEYPRESSES // reacts to keypresses #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 125 // limits maximum brightness of LEDs to 125 out of 255. Higher may cause the controller to crash. diff --git a/keyboards/cherrybstudio/cb87rgb/config.h b/keyboards/cherrybstudio/cb87rgb/config.h index d915e59c7f..9a9c70167e 100644 --- a/keyboards/cherrybstudio/cb87rgb/config.h +++ b/keyboards/cherrybstudio/cb87rgb/config.h @@ -41,7 +41,7 @@ along with this program. If not, see . #define DEBOUNCE 5 #define RGB_DI_PIN E6 -#define DRIVER_LED_TOTAL 92 +#define RGB_MATRIX_LED_COUNT 92 #define RGB_DISABLE_WHEN_USB_SUSPENDED #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200 #define RGB_MATRIX_LED_FLUSH_LIMIT 16 diff --git a/keyboards/chromatonemini/config.h b/keyboards/chromatonemini/config.h index 49b8eef7a8..e92f84ba87 100644 --- a/keyboards/chromatonemini/config.h +++ b/keyboards/chromatonemini/config.h @@ -88,7 +88,7 @@ along with this program. If not, see . #ifdef RGB_MATRIX_ENABLE /* ws2812 RGB MATRIX */ -# define DRIVER_LED_TOTAL 116 +# define RGB_MATRIX_LED_COUNT 116 // reacts to keypresses # define RGB_MATRIX_KEYPRESSES diff --git a/keyboards/chromatonemini/rgb_matrix_kb.inc b/keyboards/chromatonemini/rgb_matrix_kb.inc index 4fe474e12c..09877e1a31 100644 --- a/keyboards/chromatonemini/rgb_matrix_kb.inc +++ b/keyboards/chromatonemini/rgb_matrix_kb.inc @@ -42,7 +42,7 @@ bool my_solid_reactive_col(effect_params_t* params) { RGB rgb = rgb_matrix_hsv_to_rgb(hsv); rgb_matrix_set_color(i, rgb.r, rgb.g, rgb.b); } - return led_max < DRIVER_LED_TOTAL; + return led_max < RGB_MATRIX_LED_COUNT; } bool my_party_rocks(effect_params_t* params) { @@ -51,7 +51,7 @@ bool my_party_rocks(effect_params_t* params) { RGB rgb = rgb_matrix_hsv_to_rgb(hsv); // rgb_matrix_set_color(i, rgb.r, rgb.g, rgb.b); rgb_matrix_set_color_all(rgb.r, rgb.g, rgb.b); - return led_max < DRIVER_LED_TOTAL; + return led_max < RGB_MATRIX_LED_COUNT; } # endif // RGB_MATRIX_CUSTOM_EFFECT_IMPLS diff --git a/keyboards/clueboard/66_hotswap/gen1/config.h b/keyboards/clueboard/66_hotswap/gen1/config.h index b1bf6b3543..8fce4af364 100644 --- a/keyboards/clueboard/66_hotswap/gen1/config.h +++ b/keyboards/clueboard/66_hotswap/gen1/config.h @@ -79,7 +79,7 @@ #define I2C1_SDA_PIN B9 #define LED_DRIVER_COUNT 1 -#define DRIVER_LED_TOTAL 71 +#define LED_MATRIX_LED_COUNT 71 // LED Matrix Animation modes. Explicitly enabled // For full list of effects, see: diff --git a/keyboards/clueboard/66_hotswap/gen1/gen1.c b/keyboards/clueboard/66_hotswap/gen1/gen1.c index 66c40731ec..1d70f8b8b1 100644 --- a/keyboards/clueboard/66_hotswap/gen1/gen1.c +++ b/keyboards/clueboard/66_hotswap/gen1/gen1.c @@ -16,7 +16,7 @@ #include "gen1.h" #ifdef LED_MATRIX_ENABLE -const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { +const is31_led PROGMEM g_is31_leds[LED_MATRIX_LED_COUNT] = { /* Refer to IS31 manual for these locations * driver * | LED address diff --git a/keyboards/crkbd/keymaps/bermeo/config.h b/keyboards/crkbd/keymaps/bermeo/config.h index 567497afbe..cc83148d87 100644 --- a/keyboards/crkbd/keymaps/bermeo/config.h +++ b/keyboards/crkbd/keymaps/bermeo/config.h @@ -77,7 +77,7 @@ along with this program. If not, see . // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended # define RGB_MATRIX_FRAMEBUFFER_EFFECTS -# define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) +# define RGB_MATRIX_LED_PROCESS_LIMIT (RGB_MATRIX_LED_COUNT + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. # define RGB_MATRIX_HUE_STEP 8 diff --git a/keyboards/crkbd/keymaps/bermeo/keymap.c b/keyboards/crkbd/keymaps/bermeo/keymap.c index ad1dc92450..8c3d368ca0 100644 --- a/keyboards/crkbd/keymaps/bermeo/keymap.c +++ b/keyboards/crkbd/keymaps/bermeo/keymap.c @@ -87,7 +87,7 @@ void rgb_matrix_indicators_user(void) { case _QWERTY: isSneaking = false; mod_state = get_mods(); - for (int i = 0; i < DRIVER_LED_TOTAL; i++) { + for (int i = 0; i < RGB_MATRIX_LED_COUNT; i++) { if (mod_state & MOD_MASK_SHIFT) { isBarking = true; rgb_matrix_set_color(52, 255, 255, 255); @@ -135,7 +135,7 @@ void rgb_matrix_indicators_user(void) { case _RAISE: isSneaking = true; - for (int i = 0; i < DRIVER_LED_TOTAL; i++) { + for (int i = 0; i < RGB_MATRIX_LED_COUNT; i++) { switch (i) { case 7: // B key off case 8: // G key off @@ -169,7 +169,7 @@ void rgb_matrix_indicators_user(void) { case _LOWER: isSneaking = true; - for (int i = 0; i < DRIVER_LED_TOTAL; i++) { + for (int i = 0; i < RGB_MATRIX_LED_COUNT; i++) { switch (i) { case 7: // Delete key case 51: // ESC key @@ -210,7 +210,7 @@ void rgb_matrix_indicators_user(void) { case _NUMP: isSneaking = true; - for (int i = 0; i < DRIVER_LED_TOTAL; i++) { + for (int i = 0; i < RGB_MATRIX_LED_COUNT; i++) { switch (i) { case 12: // RGB speed- case 15: // RGB brigthness- diff --git a/keyboards/crkbd/keymaps/crkdves/config.h b/keyboards/crkbd/keymaps/crkdves/config.h index 4e5df394ac..31d23fdff7 100644 --- a/keyboards/crkbd/keymaps/crkdves/config.h +++ b/keyboards/crkbd/keymaps/crkdves/config.h @@ -56,7 +56,7 @@ along with this program. If not, see . // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended # define RGB_MATRIX_FRAMEBUFFER_EFFECTS -# define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) +# define RGB_MATRIX_LED_PROCESS_LIMIT (RGB_MATRIX_LED_COUNT + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. # define RGB_MATRIX_HUE_STEP 8 diff --git a/keyboards/crkbd/keymaps/crkqwes/config.h b/keyboards/crkbd/keymaps/crkqwes/config.h index aacd9c04f4..7c97ea0831 100644 --- a/keyboards/crkbd/keymaps/crkqwes/config.h +++ b/keyboards/crkbd/keymaps/crkqwes/config.h @@ -65,7 +65,7 @@ along with this program. If not, see . // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended # define RGB_MATRIX_FRAMEBUFFER_EFFECTS -# define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) +# define RGB_MATRIX_LED_PROCESS_LIMIT (RGB_MATRIX_LED_COUNT + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. # define RGB_MATRIX_HUE_STEP 8 diff --git a/keyboards/crkbd/keymaps/davidrambo/config.h b/keyboards/crkbd/keymaps/davidrambo/config.h index df5e0611e1..969ce07c8d 100644 --- a/keyboards/crkbd/keymaps/davidrambo/config.h +++ b/keyboards/crkbd/keymaps/davidrambo/config.h @@ -41,7 +41,7 @@ along with this program. If not, see