Commit Graph

109 Commits

Author SHA1 Message Date
Stefan Kerkmann
f3b974f216 [Fix] lib8tion: enable fixed scale8 and blend functions (#25272)
lib8tion: enable fixed scale8 and blend functions

These FastLED derived lib8tion functions have been fixed and enabled by
default in FastLED. QMK just never set these defines, there is no reason
to keep the buggy implementation. It is assumed that nobody relied on
the buggy behavior.
2025-05-22 22:52:45 +01:00
Stefan Kerkmann
f686ad9e63 [Core] STM32G0x1 support (#24301) 2025-05-19 15:51:28 +10:00
Joel Challis
3e7ce54902 Fix Wear Leveling compilation (#25254) 2025-05-12 08:39:38 +10:00
Joel Challis
88c094908b Add raw_hid support to host driver (#25255) 2025-05-12 08:38:48 +10:00
Joel Challis
842c840145 Bind Bluetooth driver to host_driver_t (#25199) 2025-05-05 04:05:04 +01:00
Nick Brassel
bb9dd05c6a [Bug] Minimise force-included files (#25194) 2025-05-05 10:07:53 +10:00
Joel Challis
c7cb7ba976 Implement connection keycode logic (#25176) 2025-04-21 22:27:56 +01:00
Joel Challis
ce8b8414d9 Remove bluefruit_le_read_battery_voltage function (#25129) 2025-04-19 22:52:25 +01:00
Nick Brassel
5c39722ab9 Allow for disabling EEPROM subsystem entirely. (#25173) 2025-04-19 20:20:00 +01: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
Joel Challis
6ee806f376 Implement battery level interface (#24666)
Co-authored-by: Nick Brassel <nick@tzarc.org>
2025-02-28 16:46:14 +11:00
Ryan
a6e931400e Relocate base WS2812 code (#24850) 2025-01-25 17:38:12 +11:00
Nick Brassel
a6a0dc8039 Consolidate send_string implementations. (#24817) 2025-01-21 08:24:39 +11:00
Joel Challis
a822545da0 Set custom effect defines for LED Matrix (#24745) 2024-12-24 10:26:08 -08:00
Joel Challis
4a5bae51cd [Feature] Add keycode PDF(layer) to set the default layer in EEPROM (#24630)
* [Feature] Add keycode PDF(layer) to set the default layer in EEPROM (#21881)

* Apply suggestions from code review

Co-authored-by: Nick Brassel <nick@tzarc.org>

---------

Co-authored-by: Nebuleon <2391500+Nebuleon@users.noreply.github.com>
Co-authored-by: Nick Brassel <nick@tzarc.org>
2024-11-23 10:09:34 +00:00
HorrorTroll
39161b9ee7 Added MCU support for ArteryTek AT32F415 (#23445) 2024-11-21 17:28:28 +11:00
Ryan
9c86583981 Backward compatibility for new RGB keycode handling (#24490)
Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
2024-11-20 09:53:33 +11:00
Dasky
f5b495e06e Move pointing device driver code (#24445)
Co-authored-by: Drashna Jaelre <drashna@live.com>
2024-10-25 18:11:51 +01:00
Ryan
6fa11bf219 Separate RGBLight/RGB Matrix keycode handling (#23679)
* Separate RGBLight/RGB Matrix keycode handling

* Remove `_DISABLE_KEYCODES` handling

* Update RGB Matrix keycode docs

* Update underglow keycodes for previously migrated boards

* Update keycodes for boards with custom handling

* Fix typos

* Fix bad merge
2024-10-12 18:43:50 +02:00
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
Joel Challis
3bd303f204 Remove arm_atsam platform (#24337) 2024-09-02 03:48:17 +01:00
Nick Brassel
70cbf08b67 Add new connection keycodes for Bluetooth, 2.4GHz. (#24251) 2024-08-27 10:52:23 +10:00
Nick Brassel
7bc3eef8cc SPI flash API cleanup, add async erase capability. (#23894) 2024-07-02 10:16:41 +10:00
Ryan
25f608c1b4 Separate keycode handling for LED Matrix and Backlight (#23426) 2024-04-11 14:06:36 +10:00
Ryan
23b7a02ebe LED drivers: add support for IS31FL3236 (#23264) 2024-03-17 19:23:14 +11:00
Stefan Kerkmann
61fa6949fb [Core] Allow ChibiOS SIO driver for UART driver (#22839)
* onekey: stm32f3_disco: add usart pins and activate peripheral

Signed-off-by: Stefan Kerkmann <karlk90@pm.me>

* chibios: uart: change SD1 prefix to UART

Signed-off-by: Stefan Kerkmann <karlk90@pm.me>

* chibios: uart: add SIO driver and RP2040 compatibility

Signed-off-by: Stefan Kerkmann <karlk90@pm.me>
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>

* Update platforms/chibios/drivers/uart.h

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

---------

Signed-off-by: Stefan Kerkmann <karlk90@pm.me>
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
Co-authored-by: Joel Challis <git@zvecr.com>
2024-02-20 11:34:24 +01:00
Nick Brassel
9d9cdaaa2d Add encoder abstraction. (#21548) 2024-02-18 21:17:15 +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
Joel Challis
77e8867498 Fix joystick initialization (#22953) 2024-02-17 01:14:46 +11:00
Joel Challis
5cd31fda9c Begin removal of bootmagic lite terminology (#22970) 2024-01-28 22:51:58 +00:00
Ryan
597de0e298 LED drivers: rename "simple" to "mono" (#22814) 2024-01-04 06:05:37 +00: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
Joel Challis
4682226e20 Keymap introspection for Dip Switches (#22543) 2023-12-11 23:06:18 +00:00
Ryan
17f36a21bf Rework RGBLight driver system (#22529) 2023-12-05 22:49:14 +11:00
Dasky
68722d35a3 Azoteq IQS5xx support (#22280) 2023-11-20 16:25:35 +00:00
Joel Challis
e884e42ce9 Generalise ADC driver source inclusion (#22448) 2023-11-12 22:30:27 +00:00
Joel Challis
147865cf57 Migrate some common features to generic (#22403) 2023-11-09 02:01:44 +00:00
Ryan
c157c19b81 Dedupe I2C, SPI, UART driver inclusions (#22253) 2023-10-13 17:25:32 +11: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
Ryan
d58f85e09e is31fl3733: complete LED Matrix support (#22149) 2023-09-27 16:11:28 +10: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
Joel Challis
339bff6339 Move velocikey to within rgblight (#22123) 2023-09-25 17:48:10 +01:00
Ryan
21ed9b4575 Simplify more feature driver defines (#22090) 2023-09-25 13:06:42 +10:00
Ryan
f8cea06be3 RGBLight/Backlight: add prefixed driver defines (#22089) 2023-09-21 15:50:01 +10:00
Ryan
db68a95cae LED/RGB Matrix: prefix driver defines (#22088) 2023-09-21 12:16:17 +10:00