Commit Graph

63 Commits

Author SHA1 Message Date
Ryan
208ebf54a9
WS2812 API rework (#24364)
* Begin WS2812 API rework

* Move RGBW conversion, clean up color.h, fix RGBW for AVR bitbang

* Formatting & update PS2AVRGB I2C driver (untested)

* Tested ARM bitbang RGB+RGBW

* Tested ARM SPI RGB - RGBW not working

* Tested ARM PWM RGB+RGBW

* Tested RP2040 PIO driver RGB+RGBW

* Update RGBLight

* Formatting

* Fix BM60HSRGB rev2

* Fix oddforge/vea

* Fix 1k and XD002 RGBLite

* Fix model_m/mschwingen

* Fix handwired/promethium

* Rename `WS2812_LED_TOTAL` for BM60HSRGB

* Fix work_louder boards

* Fix dawn60

* Fix rgbkb/pan

* Fix neson_design/700e and n6

* Fix ergodox_ez/shine

* ergodox_ez/shine: invert indices for left half

* Fix matrix/abelx

* Fix matrix/m20add

* Remove custom rgblight driver for matrix/noah - should be done with lighting layers

* Fix LED indexes for RGBLight split

* Rename `convert_rgb_to_rgbw()` to `ws2812_rgb_to_rgbw()`

* Update WS2812 API docs

* `ergodox_ez/shine`: simplify LED index calculation

* LED/RGB Matrix: Add weak function for LED index resolution

* Bandaid fix for RGB Matrix splits not using WS2812

* `steelseries/prime_plus`: redo custom RGBLight driver

* Update keyboards/steelseries/prime_plus/rgblight_custom.c

Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>

---------

Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
2024-10-06 21:01:07 +13:00
Ryan
e84104fe8d
Reinstate global k_rgb_matrix_split (#24388) 2024-09-15 10:08:29 +10:00
Ryan
a9ba83c7be
Remove useless LED/RGB_MATRIX_ENABLE ifdefs (#23726) 2024-05-16 12:52:15 +01:00
Ryan
9fa91ad494
Rename process_{led,rgb}_matrix() (#23422) 2024-04-05 15:43:52 +01:00
Ryan
23b7a02ebe
LED drivers: add support for IS31FL3236 (#23264) 2024-03-17 19:23:14 +11:00
HorrorTroll
f6709e65eb
Add RGB matrix & LED Matrix support for IS31FL3729 (#21944)
Co-authored-by: Xelus22 <preyas22@gmail.com>
Co-authored-by: dexter93 <d3xter93@gmail.com>
2024-02-17 01:41:35 +11:00
Fabien Fellay
734c7afa7d
Add missing rgb matrix default parameters (#22281) 2024-01-30 14:56:32 +11:00
Ryan
597de0e298
LED drivers: rename "simple" to "mono" (#22814) 2024-01-04 06:05:37 +00:00
Ryan
f583d2fef0
Remove IS31FLCOMMON code (#22800) 2024-01-02 16:26:01 +11:00
Ryan
0a6913b682
LED drivers: extract IS31FL3746A from IS31COMMON (#22637) 2024-01-01 21:44:18 +11:00
Ryan
a88dd675bf
LED drivers: extract IS31FL3745 from IS31COMMON (#22636) 2024-01-01 19:31:44 +11:00
Ryan
ae2d5e2e5a
LED drivers: extract IS31FL3743A from IS31COMMON (#22635) 2024-01-01 17:04:51 +11:00
Ryan
e1c0bd8a7c
LED drivers: extract IS31FL3742A from IS31COMMON (#22620) 2024-01-01 12:40:35 +11:00
Ryan
73758d3d3a
Rename LED_DISABLE_WHEN_USB_SUSPENDED -> LED_MATRIX_SLEEP (#22681) 2023-12-20 13:31:39 +11:00
Joel Challis
dc5befd139
Remove redundant RGB/LED matrix eeconfig init (#22673) 2023-12-16 15:43:39 +00:00
Ryan
24511d31b6
LED/RGB Matrix: add header for drivers (#22628) 2023-12-08 16:54:47 +11:00
Pete Neisen
7cc90c234f
Converted RGB matrix to use last_input_activity_elapsed(). (#21687)
Co-authored-by: Nick Brassel <nick@tzarc.org>
2023-11-30 09:38:06 +11:00
Ryan
b52aca0af8
Relocate LED driver init code (#22365) 2023-11-01 00:53:45 +00:00
Dasky
f293658147
RGB/LED matrix use limits size optimisation (#22325) 2023-10-25 22:06:51 +01:00
Dasky
7e0147f8e6
Fix compilation error when led/rgb process limit is zero. (#22328)
Co-authored-by: Drashna Jaelre <drashna@live.com>
2023-10-24 13:45:33 +01:00
QMK Bot
c245ee4cd3 Merge remote-tracking branch 'origin/master' into develop 2023-10-23 23:00:51 +00:00
Dasky
ca45416999
Remove extra led_matrix_indicators_user call (#22329) 2023-10-24 00:00:16 +01:00
Ryan
cf7d3435d7
Add _flush() functions to LED drivers (#22308) 2023-10-22 18:32:27 +01:00
Ryan
d56ee70c52
Rename DRIVER_ADDR_n defines (#22200)
Co-authored-by: Nick Brassel <nick@tzarc.org>
2023-10-21 21:41:59 +10:00
Ryan
c0f16be50f
Rename CKLED2001 driver to SNLED27351 (#22071) 2023-10-04 20:10:05 +11:00
Ryan
bd5860de4e
is31fl3737/3741: add LED Matrix support (#22163) 2023-10-03 01:09:20 +11:00
Joel Challis
6910ed2de5
Add _DEFAULT_ON lighting configuration options (#21865) 2023-09-29 18:31:21 +01:00
Less/Rikki
346b06d391
refactor: move default RGB/LED matrix #defines (#21938)
* refactor: move default RGB/LED matrix #defines

Moving the fallback definitions of macros like LED_MATRIX_VAL_STEP and
RGB_MATRIX_MAXIMUM_BRIGHTNESS to header files allows keyboards to
leverage these defaults without requiring #ifdef guards (and often
repeating said fallback definitions).

* style: use if(n)def for consistency

and remove redundant UINT8_MAX checks on maximum brightness

Co-authored-by: Joel Challis <git@zvecr.com>

* refactor: remove INDICATOR_MAX_BRIGHTNESS macro

Co-authored-by: Joel Challis <git@zvecr.com>

---------

Co-authored-by: Joel Challis <git@zvecr.com>
2023-09-28 11:51:18 +01:00
Ryan
288c2313fe
is31fl3218: Add LED Matrix support (#22126)
Co-authored-by: Joel Challis <git@zvecr.com>
2023-09-27 14:37:06 +10:00
Ryan
32de27bb20
is31fl3736: extract single-color API (#22133) 2023-09-27 01:18:07 +01:00
Ryan
db68a95cae
LED/RGB Matrix: prefix driver defines (#22088) 2023-09-21 12:16:17 +10:00
Ryan
2aacda3235
Move PACKED define to util.h (#22074) 2023-09-20 07:33:54 +01:00
Joel Challis
dfb6d38f08
Simplfy RGB/LED matrix effect logic (#21703) 2023-08-23 00:03:01 +01:00
Ryan
571b8bac82
LED Matrix: driver naming cleanups (#21580) 2023-07-29 15:25:00 +10:00
Ryan
da2d2f947d
quantum: remove direct quantum.h includes (#21507) 2023-07-16 23:42:56 +10:00
Xelus22
c4f66e5d6e
[Core] RGB Matrix limit basic indicators to the last render (#21169)
Co-authored-by: Joel Challis <git@zvecr.com>
2023-07-02 15:56:48 -07:00
Drashna Jaelre
5c4b53a143
[Bug] Realign and size check EECONFIG structures (#20541)
Co-authored-by: Nick Brassel <nick@tzarc.org>
2023-05-08 10:56:03 -07:00
jack
9c6942ea40
Remove config.h include from quantum files (#19817) 2023-02-12 02:40:16 +00:00
Ryan
a5a20cc792
Change LED_MATRIX_STARTUP_* defines to LED_MATRIX_DEFAULT_* (#19080) 2022-11-27 03:14:35 +11:00
Drashna Jaelre
64b1ed4550
Fix Per Key LED Indicator Callbacks (#18450)
Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
Co-authored-by: Nick Brassel <nick@tzarc.org>
2022-10-04 15:24:22 -07:00
Ryan
ea2819b2c2
Change {LED,RGB}_DISABLE_TIMEOUT to {LED,RGB}_MATRIX_TIMEOUT (#18415) 2022-09-26 14:40:15 +10:00
Ryan
36c410592d
Change DRIVER_LED_COUNT to {LED,RGB}_MATRIX_LED_COUNT (#18399) 2022-09-23 22:46:23 +10:00
lokher
a02aff9c77
Add led matrix support for CKLED2001 (#17643) 2022-08-13 14:39:06 +01:00
Drashna Jaelre
09e4001bba
[Bug] Fix compile issue with LED Matrix (#17658) 2022-07-13 01:10:51 -07:00
Drashna Jaelre
1dfe2bb49a
Update LED/RGB Matrix flag function behavior (#17651) 2022-07-12 22:18:02 -07:00
fauxpark
5b688a09ec Merge remote-tracking branch 'upstream/master' into develop 2022-02-19 04:27:09 +11:00
Joakim Tufvegren
7dd993fb06
Fix build error for LED Matrix effect solid_reactive_wide. (#16383) 2022-02-17 08:53:06 -08:00
QMK Bot
63646e8906
Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
MasterSpoon
0452ad9479
Add RGB matrix & LED Matrix support for IS31FL3742A, IS31FL3743A, IS31FL3745, IS31FL3746A (#14989)
Co-authored-by: Xelus22 <17491233+Xelus22@users.noreply.github.com>
2022-02-06 09:04:43 -08:00
Leo Deng
82d3bdb733
IS31FL3733 driver for LED Matrix (#15088) 2022-01-08 19:37:03 -08:00