Commit Graph
85 Commits
Author SHA1 Message Date
QMK Bot e71069174a Merge remote-tracking branch 'origin/develop' into xap 2026-11-10 03:51:12 +00:00
Mauricio Alexander Flórez Patiño f7ff4ac9a3 Fix out-of-range LED writes on split keyboards in rgblight (#26481)
rgblight_led_index() subtracts the clipping start position and returns a
uint8_t, so on the half whose clipping range does not start at 0 the LEDs
of the other half wrap around to indices like 252..255. Those reached
rgblight_driver.set_color() unchecked and, with the RP2040 vendor WS2812
driver, overwrote RAM past the LED buffer (the emulated EEPROM cache).

Skip indices outside the clipping range in setrgb() and route the direct
set_color() calls through it.

Fixes #26480
2026-11-10 14:50:33 +11:00
QMK Bot ab0b45bdb9 Merge remote-tracking branch 'origin/develop' into xap 2026-09-20 19:44:11 +00:00
Joel Challis efe3a8a43a Remove RGBLED_NUM and remaining references (#26474) 2026-09-20 20:43:38 +01:00
zvecr 2e04c31310 Regenerate Files 2026-01-03 14:01:25 +00:00
QMK Bot f105a37740 Merge remote-tracking branch 'origin/develop' into xap 2026-01-01 12:20:29 +00:00
QMK Bot 99b5b9ab7f [CI] Regenerate Files (#25920)
Regenerate Files
2026-01-01 12:19:14 +00:00
QMK Bot a95ec7a6f9 Merge remote-tracking branch 'origin/develop' into xap 2025-11-30 19:26:33 +00:00
QMK Bot 6ed61c65dd [CI] Format code according to conventions (#25827)
Format code according to conventions
2025-11-30 19:25:13 +00:00
QMK Bot a88b5cd5eb Merge remote-tracking branch 'origin/develop' into xap 2025-05-22 13:31:52 +00:00
Pablo Martínez 955809bd5a Add compiler_support.h (#25274) 2025-05-22 23:31:15 +10:00
QMK Bot 328655713a Merge remote-tracking branch 'origin/develop' into xap 2025-05-20 18:23:57 +00:00
Stefan Kerkmann 4f0a0f32f2 [Chore] use {rgblight,rgb_matrix}_hsv_to_rgb overrides (#25271) 2025-05-20 19:23:20 +01:00
Nick Brassel bb34a247b8 Merge remote-tracking branch 'upstream/develop' into xap 2025-03-22 20:45:27 +11:00
Nick Brassel 2b00b846dc Non-volatile memory data repository pattern (#24356)
* First batch of eeconfig conversions.

* Offset and length for datablocks.

* `via`, `dynamic_keymap`.

* Fix filename.

* Commentary.

* wilba leds

* satisfaction75

* satisfaction75

* more keyboard whack-a-mole

* satisfaction75

* omnikeyish

* more whack-a-mole

* `generic_features.mk` to automatically pick up nvm repositories

* thievery

* deferred variable resolve

* whitespace

* convert api to structs/unions

* convert api to structs/unions

* convert api to structs/unions

* fixups

* code-side docs

* code size fix

* rollback

* nvm_xxxxx_erase

* Updated location of eeconfig magic numbers so non-EEPROM nvm drivers can use them too.

* Fixup build.

* Fixup compilation error with encoders.

* Build fixes.

* Add `via_ci` keymap to onekey to exercise VIA bindings (and thus dynamic keymap et.al.), fixup compilation errors based on preprocessor+sizeof.

* Build failure rectification.
2025-03-21 23:38:34 +11:00
Nick Brassel d9adad642a Fix up generated files. 2025-01-21 09:05:58 +11:00
QMK Bot d471da238a Merge remote-tracking branch 'origin/develop' into xap 2025-01-01 02:10:29 +00:00
QMK Bot 57f89e5388 [CI] Regenerate Files (#24770)
Regenerate Files
2025-01-01 13:02:16 +11:00
QMK Bot d383244336 Merge remote-tracking branch 'origin/develop' into xap 2024-10-24 04:27:57 +00:00
Ryan bb9625ba55 RGBLight: Improve RGB Test animation (#24477) 2024-10-24 15:27:24 +11:00
QMK Bot 31cdc0eb28 Merge remote-tracking branch 'origin/develop' into xap 2024-10-11 23:10:38 +00:00
Ryan 6129af93f4 Rename RGB and HSV structs (#24471) 2024-10-12 00:10:02 +01:00
QMK Bot 0402213d51 Merge remote-tracking branch 'origin/develop' into xap 2024-10-06 08:01:38 +00:00
RyanandDasky 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
QMK Bot b4507a19d6 Merge remote-tracking branch 'origin/develop' into xap 2024-06-13 12:20:16 +00:00
Ryan 55538b2e1e APA102: API rework (#23355) 2024-06-13 22:19:45 +10:00
Nick Brassel 6aacdb0b76 Merge remote-tracking branch 'upstream/develop' into xap 2024-05-02 20:48:16 +10:00
Ryan 0ff53b2498 Rename RGBW define to WS2812_RGBW (#23585) 2024-04-28 00:36:54 +10:00
QMK Bot 0135b95e25 Merge remote-tracking branch 'origin/develop' into xap 2024-03-24 00:20:35 +00:00
Dasky d0ee4a1cb2 Fix rgblight init (#23335) 2024-03-24 11:20:05 +11:00
QMK Bot c542efb7ac Merge remote-tracking branch 'origin/develop' into xap 2024-03-22 06:04:46 +00:00
Ryan 583cde398a Un-extern RGBLight led[] array (#23322) 2024-03-22 06:04:13 +00:00
QMK Bot fcd3f957c7 Merge remote-tracking branch 'origin/develop' into xap 2024-03-18 11:03:59 +00:00
Ryan f7cf40fa77 Add init function to RGBLight driver struct (#23076) 2024-03-18 22:03:27 +11:00
zvecr 9ce7202670 regen files 2024-01-09 14:26:55 +00:00
QMK Bot f698a764c6 Merge remote-tracking branch 'origin/develop' into xap 2024-01-01 02:25:48 +00:00
QMK Bot b12b5485bc Update copyright year on generated files (#22795) 2024-01-01 02:25:20 +00:00
QMK Bot 297d7c89ba Merge remote-tracking branch 'origin/develop' into xap 2023-12-16 15:44:09 +00:00
Joel Challis f165eb5cc9 Remove redundant rgblight eeconfig init (#22674) 2023-12-16 15:43:53 +00:00
QMK Bot a3dfae729b Merge remote-tracking branch 'origin/develop' into xap 2023-12-12 04:30:38 +00:00
Ryan e648155113 Rename RGBLED_NUM -> RGBLIGHT_LED_COUNT (#22570) 2023-12-12 15:30:08 +11:00
QMK Bot f5d6ca3deb Merge remote-tracking branch 'origin/develop' into xap 2023-12-05 11:49:47 +00:00
Ryan 17f36a21bf Rework RGBLight driver system (#22529) 2023-12-05 22:49:14 +11:00
QMK Bot fe11704eed Merge remote-tracking branch 'origin/develop' into xap 2023-09-29 13:53:48 +00:00
2eed1f5bad Add RGBLIGHT_DEFAULT_ON macro configuration option (#20857)
* ADD RGB_DEFAULT_DISABLED option and updated documentation

* Formatting

* Add  as by fauxpark's suggestion

Co-authored by: fauxpark

* Formatting

* Use boolean values instead of numerical

Co-authored-by: Ryan <fauxpark@gmail.com>

* Edit documentation formatting

Co-authored-by: Ryan <fauxpark@gmail.com>

* Remove comment

Co-authored-by: Ryan <fauxpark@gmail.com>

* Set RGB mode to DEFAULT macro at init

Co-authored-by: Ryan <fauxpark@gmail.com>

---------

Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: zvecr <git@zvecr.com>
2023-09-29 14:53:12 +01:00
QMK Bot fa0e5135ea Merge remote-tracking branch 'origin/develop' into xap 2023-09-25 16:48:44 +00:00
Joel Challis 339bff6339 Move velocikey to within rgblight (#22123) 2023-09-25 17:48:10 +01:00
QMK Bot 9d9af8d353 Merge remote-tracking branch 'origin/develop' into xap 2023-09-21 05:50:37 +00:00
Ryan f8cea06be3 RGBLight/Backlight: add prefixed driver defines (#22089) 2023-09-21 15:50:01 +10:00
Drashna Jael're e69909cc53 Merge remote-tracking branch 'origin/develop' into xap 2023-09-05 00:56:56 -07:00