Commit Graph

116 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
7b4e806c25
Move LED Matrix LED config to data driven (#24122) 2024-07-19 08:13:49 +10:00
Joel Challis
26e84c513c
Migrate SERIAL_DRIVER to json (#23925) 2024-07-13 13:12:35 +01:00
Ryan
3f44231d2d
Strip decimals from RGB Matrix layout positions (#23943) 2024-06-17 20:12:26 +10:00
Ryan
e659c3dae9
Remove some useless code from keymaps (#23787) 2024-05-23 19:21:39 +01:00
James Young
16d2db5048
Migrate LOCKING_*_ENABLE to Data-Driven: I-J (#23767)
Affects:

  - `ianklug/grooveboard`
  - `ibm/model_m/modelh`
  - `ibm/model_m_122/ibm122m`
  - `ibnuda/gurindam`
  - `idb/idb_60`
  - `idobao/id75/v1`
  - `idobao/id75/v2`
  - `idobao/id96`
  - `idobao/montex/v1`
  - `illuminati/is0`
  - `illusion/rosa`
  - `ilumkb/primus75`
  - `ilumkb/volcano660`
  - `inland/kb83`
  - `input_club/ergodox_infinity`
  - `irene`
  - `iriskeyboards`
  - `iron180`
  - `jacky_studio/bear_65/rev1`
  - `jacky_studio/bear_65/rev2`
  - `jacky_studio/s7_elephant/rev1`
  - `jacky_studio/s7_elephant/rev2`
  - `jadookb/jkb65`
  - `jae/j01`
  - `jagdpietr/drakon`
  - `jd40`
  - `jd45`
  - `jels/boaty`
  - `jels/jels60/v1`
  - `jels/jels60/v2`
  - `jels/jels88`
  - `jolofsor/denial75`
  - `jorne/rev1`
  - `joshajohnson/hub16`
  - `joshajohnson/hub20`
  - `jukaie/jk01`
2024-05-22 19:06:09 +01:00
Ryan
5fda349018
Remove RGB keycodes from boards with no RGB config (#23709) 2024-05-20 17:11:49 +10:00
Ryan
f9f67d4cb3
Change all RGB mode keycodes to short aliases (#23691) 2024-05-12 10:05:11 +10:00
Ryan
d09a06a1b3
Update GPIO API usage in keyboard code (#23361) 2024-05-03 15:21:29 +10:00
Joel Challis
e869c80af7
Migrate build target markers to keyboard.json - HI (#23540) 2024-04-17 02:49:17 +01:00
James Young
7be23a9cb4
Data-Driven Keyboard Conversions: I (#23533) 2024-04-17 00:15:34 +01:00
Ryan
bbf63a8466
LED Matrix: replace backlight keycodes with newly added ones (#23455) 2024-04-13 04:15:22 +01:00
Duncan Sutherland
8caa8674d2
Move SPLIT_KEYBOARD to data driven (#21410) 2024-04-11 20:22:15 -07:00
Ryan
c635733a7f
Remove quantum.h includes from keyboard code (#23394) 2024-04-03 10:44:25 +11:00
Joel Challis
831deac212
Migrate build target markers to keyboard.json (#23293) 2024-03-30 11:31:50 +00:00
Joel Challis
1c8e99ca45
Migrate features and LTO from rules.mk to data driven (#23307) 2024-03-30 10:57:30 +00:00
Joel Challis
539fa21bf8
Migrate features from rules.mk to data driven - IJK (#23276) 2024-03-15 01:42:15 +00:00
Ryan
65a04ead32
LED drivers: update keyboard LED configs (#23073)
* IS31FL3733: update keyboard LED config

* IS31FL3736: update keyboard LED config

* IS31FL3737: update keyboard LED config

* IS31FL3741: update keyboard LED config

* IS31FL3743A: update keyboard LED config

* AW20216S: update keyboard LED config

* SNLED27351: update keyboard LED config
2024-02-25 21:29:37 +00:00
Joel Challis
2eb9ff8efd
Remove obvious user keymaps, keyboards/{i,j,k}* edition (#23102) 2024-02-18 08:20:57 +00:00
Joel Challis
5233a62b20
Remove obvious user keymaps, keyboards/{s,t}* edition. (#23084) 2024-02-15 09:42:01 +00:00
Ryan
a9f1105f98
LED drivers: add support for shutdown pin (#23058)
* LED drivers: add support for shutdown pin

* Update candidate boards
2024-02-15 07:11:50 +00:00
Ryan
66015f1645
LED drivers: create structs to hold PWM/scaling buffers (#22955) 2024-02-10 18:48:13 +11:00
Ryan
a5ea619139
LED drivers: place I2C addresses into an array (#22975) 2024-02-09 22:37:18 +11:00
Ryan
728aa576b0
LED drivers: update I2C API usage (#22951) 2024-01-24 12:11:41 +11:00
Ryan
d96ac7084e
LED drivers: remove write_pwm_buffer() from public API (#22884) 2024-01-24 09:18:44 +11:00
Ryan
58696a3937
LED drivers: switch to i2c_writeReg() (#22878) 2024-01-10 17:25:34 +11:00
Ryan
7a3183b8c8
LED drivers: change write_pwm_buffer() return type to void (#22869) 2024-01-10 12:48:19 +11:00
Ryan
8b95dc6e00
LED drivers: more formatting (#22865) 2024-01-08 17:28:40 +11:00
Ryan
368a2eb08f
is31fl3733: change write_register() return type to void (#22824) 2024-01-08 04:54:26 +00:00
Joel Challis
ce34549c26
Migrate RGB Matrix config to info.json (#22863) 2024-01-08 04:27:01 +00:00
Joel Challis
709d07aebc
Migrate LED Matrix config to info.json (#22792) 2024-01-01 01:33:20 +00:00
fauxpark
2c191e21c2 Merge remote-tracking branch 'upstream/master' into develop 2023-12-20 16:03:14 +11:00
Ryan
73758d3d3a
Rename LED_DISABLE_WHEN_USB_SUSPENDED -> LED_MATRIX_SLEEP (#22681) 2023-12-20 13:31:39 +11:00
Joel Challis
c9d90db95c
[Keymap Removal] xiudi/xd75 and related keymaps. (#22698) 2023-12-19 09:02:03 +11:00
Ryan
b9e81c0691
Update keyboard LED driver configs (#22638) 2023-12-18 20:13:08 +00:00
Nick Brassel
ae90b1d1e5
Merge remote-tracking branch 'upstream/master' into develop 2023-12-17 22:27:35 +11:00
Nick Brassel
7ea022ba88
[Keymap Removal] Planck and related keymaps. (#22683) 2023-12-17 21:54:01 +11:00
Ryan
b6fbed3dc3
LED drivers: change "TWI" to "I2C" (#22617) 2023-12-05 19:52:18 -08:00
Ryan
358bc8eac8
LED drivers: refactor page selection (#22518) 2023-12-04 17:52:40 +11:00
Joel Challis
1ed03f498f
Remove userspace keymaps (#22544) 2023-11-27 05:36:45 +11:00
Joel Challis
b35bac6afb
Remove unnecessary driver counts (#22435) 2023-11-22 21:37:32 +00:00
Ryan
dda6e7fb36
LED drivers: register naming cleanups (#22436) 2023-11-20 15:48:23 +00:00
Ryan
786ebf8760
Remove requirement for keymap_steno.h include in keymaps (#22423)
* Remove requirement for `keymap_steno.h` include in keymaps

* Add back keymap_steno.h with a note for the time being
2023-11-12 18:25:46 +11:00
Ryan
8136cf4bfb
LED drivers: clean up SWx/CSy pullup/down resistor config (#22381) 2023-11-10 08:39:15 +11:00
Ryan
a27bc60703
LED drivers: add defines for PWM and LED control register counts (#22383) 2023-11-01 19:13:25 +00:00
Ryan
b52aca0af8
Relocate LED driver init code (#22365) 2023-11-01 00:53:45 +00:00
Ryan
4313b66edd
whitefox: remove pointless file (#22366) 2023-10-29 23:28:38 +00: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
d99dbe4d56
Update ISSI LED types (#22099) 2023-10-04 20:12:50 +11:00