Commit Graph

153 Commits

Author SHA1 Message Date
Ryan
f3bae56808
Update keycodes for keyboards with RGB Matrix (#24484) 2024-11-24 12:03:08 +00:00
Ryan
9884e4982b
Rename RGB/HSV structs: keyboard-level code (#24476) 2024-10-12 19:00:56 +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
Nick Brassel
45dc2499dc
Remove all via-enabled keymaps, including via. (#24322) 2024-08-26 07:51:22 +10:00
Ryan
8f6d2ac53c
Update Underglow keycodes (#23765)
Co-authored-by: Nick Brassel <nick@tzarc.org>
2024-08-25 22:15:07 +10:00
Joel Challis
02b43b4b60
Refactor use of matrix_scan_kb (#24200) 2024-07-26 22:02:51 -07:00
QMK Bot
fef8e7195b Merge remote-tracking branch 'origin/master' into develop 2024-07-15 08:42:14 +00:00
Ryan
a763dd5bbd
matrix/noah: move RGB Matrix LED config to data driven (#24117) 2024-07-15 18:41:44 +10:00
zvecr
b066c86e43 bad_kb_funcs1 2024-07-11 11:03:11 +01:00
Joel Challis
99aa4f5191
Migrate led_update_kb implementations to DD (#23980) 2024-06-22 09:10:12 +01:00
Nick Brassel
a4da5f219f
Fixup build failures. (#23869) 2024-06-05 12:20:57 +10:00
Ryan
f9f67d4cb3
Change all RGB mode keycodes to short aliases (#23691) 2024-05-12 10:05:11 +10:00
Ryan
1184e0d9be
Adjust keycode alignment around QK_BOOT (#23697) 2024-05-11 16:50:48 +01:00
Ryan
d09a06a1b3
Update GPIO API usage in keyboard code (#23361) 2024-05-03 15:21:29 +10:00
Joel Challis
3d83b3e7c5
Migrate build target markers to keyboard.json - Misc (#23609) 2024-04-25 08:42:48 +01:00
James Young
a1cbdf145f
Data-Driven Keyboard Conversions: M, Part 1 (#23590) 2024-04-23 04:06:24 +01:00
Ryan
c635733a7f
Remove quantum.h includes from keyboard code (#23394) 2024-04-03 10:44:25 +11:00
Ryan
2dd406f08f
Remove quantum.h includes from keyboard custom matrix.cs (#23371) 2024-03-30 14:07:19 +00:00
Ryan
f7cf40fa77
Add init function to RGBLight driver struct (#23076) 2024-03-18 22:03:27 +11:00
Joel Challis
80b72487ce
Migrate features from rules.mk to data drive - LMN (#23277) 2024-03-15 01:42:33 +00:00
Ryan
a522b1f156
i2c: rename read/write register functions (#22905) 2024-01-16 02:26:40 +00:00
Joel Challis
e30d0e5287
Migrate RGB Matrix config to info.json - M (#22908) 2024-01-16 01:04:09 +00:00
fauxpark
2c191e21c2 Merge remote-tracking branch 'upstream/master' into develop 2023-12-20 16:03:14 +11:00
Ryan
b9e81c0691
Update keyboard LED driver configs (#22638) 2023-12-18 20:13:08 +00:00
Nick Brassel
a1c8b1ebf7
Remove obvious user keymaps, keyboards/{d,e,f}* edition. (#22695) 2023-12-18 21:45:52 +11:00
Ryan
e648155113
Rename RGBLED_NUM -> RGBLIGHT_LED_COUNT (#22570) 2023-12-12 15:30:08 +11:00
Ryan
17f36a21bf
Rework RGBLight driver system (#22529) 2023-12-05 22:49:14 +11:00
Drashna Jaelre
3ef06aa732
Improve and Cleanup Shutdown callbacks (#21060)
Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
2023-11-26 22:59:18 +11:00
Joel Challis
b35bac6afb
Remove unnecessary driver counts (#22435) 2023-11-22 21:37:32 +00:00
Ryan
b52aca0af8
Relocate LED driver init code (#22365) 2023-11-01 00:53:45 +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
c157c19b81
Dedupe I2C, SPI, UART driver inclusions (#22253) 2023-10-13 17:25:32 +11:00
Ryan
d99dbe4d56
Update ISSI LED types (#22099) 2023-10-04 20:12:50 +11:00
Ryan
8f22105289
Add and use I2C address defines for ISSI LED drivers (#22008) 2023-09-19 19:31:54 +10:00
Ryan
8136eda6d4
is31fl3731: driver naming cleanups (#21918) 2023-09-13 22:53:15 +10:00
Ryan
41bd4e35a0
Clean up RGB LED type (#21859) 2023-09-04 01:19:59 +01:00
Ryan
023d644bb6
Move RGBLight animations to data driven (#21635)
* Move RGBLight animations to data driven, 0-9

* Move RGBLight animations to data driven, A

* Move RGBLight animations to data driven, B

* Move RGBLight animations to data driven, C

* Move RGBLight animations to data driven, D

* Move RGBLight animations to data driven, E

* Move RGBLight animations to data driven, F

* Move RGBLight animations to data driven, G

* Move RGBLight animations to data driven, H

* Move RGBLight animations to data driven, handwired

* Move RGBLight animations to data driven, I

* Move RGBLight animations to data driven, J

* Move RGBLight animations to data driven, K

* Move RGBLight animations to data driven, L

* Move RGBLight animations to data driven, M

* Move RGBLight animations to data driven, N

* Move RGBLight animations to data driven, O

* Move RGBLight animations to data driven, P

* Move RGBLight animations to data driven, Q

* Move RGBLight animations to data driven, R

* Move RGBLight animations to data driven, S

* Move RGBLight animations to data driven, T

* Move RGBLight animations to data driven, U

* Move RGBLight animations to data driven, V

* Move RGBLight animations to data driven, W

* Move RGBLight animations to data driven, X

* Move RGBLight animations to data driven, Y

* Move RGBLight animations to data driven, Z

* Fix incorrect placement

* Fix build failures and mismatches
2023-08-23 22:11:39 +01:00
Ryan
37bc949945
RGB Matrix: driver naming cleanups (#21594) 2023-08-23 01:00:03 +01:00
Ryan
1c069b13b9
rgblight: driver selection cleanups (#21558) 2023-08-15 11:06:57 +01:00
Ryan
7ff80a57cb
Get rid of USB_LED_SCROLL_LOCK (#21405) 2023-07-02 19:24:22 +01:00
Ryan
4ae9bfd17a
Move RGBLIGHT_HUE/SAT/VAL_STEP to data driven (#21292)
Co-authored-by: Nick Brassel <nick@tzarc.org>
2023-06-24 17:37:54 +10:00
Ryan
1c9d0f0eec
Remove default TAPPING_TERM from keyboard config.h (#21284) 2023-06-18 23:33:45 +01:00
Ryan
b1783db4ea
Move RGBLED_NUM to data driven (#21278) 2023-06-18 14:39:07 +10:00
Ryan
2367d8129c
Move RGBLIGHT_SLEEP to data driven (#21072) 2023-06-16 14:04:45 +10:00
Ryan
9551a0a38a
Move RGBLIGHT_LED_MAP to data driven (#21095) 2023-06-14 22:01:13 +10:00
Ryan
17de141c92
Add missing layout data for a handful of boards (#20931)
* Add missing layout data for a handful of boards

* typo

* Add missing layouts for stoutgat

* Add missing layout for j80

* Replace missing layout with alias for wraith

* Add missing layout for matrix/me

* Add missing layout for satisfaction75/prototype

* Apply suggestions from code review

* Rename wt80-a layouts

* Rename rosa layouts

* Add missing layouts for naked48

* Add missing layouts for naked60

* Add missing layouts for uma

* Remove unused and pointless `LAYOUT_stack` for buzzard

* Add missing layout for keyboardio/model01

* Add missing layout for smk65 revf

* Fix via keymap for h60

* Add missing layout for jabberwocky/v1

* Apply suggestions from code review

* Add missing layout for m3n3van

* Add missing layout for giabalanai

* Add missing layouts for treadstone48/rev1

* Add missing layouts for squiggle

* Update keyboards/marksard/treadstone48/rev1/info.json
2023-05-16 00:00:08 -07:00
James Young
20362a9b8b
Matrix Cain RE Touch-Up (#20719)
* add matrix_diagram.md

* info.json: apply friendly formatting

* info.json: correct layout data

* info.json: alias LAYOUT to LAYOUT_all

The PCB supports multiple layouts, but I have not been able to discover how the additional layouts are wired.

* update matrix_diagram.md (thanks yulei)

* add LAYOUT_2u_numpad_plus_enter_zero with reference keymap
2023-05-08 00:00:19 -07:00
James Young
3a1fe9281a
Matrix Lab 8XV1.2 OG Layout Updates (#20720)
* add matrix_diagram.md

* info.json: apply friendly formatting

* info.json: correct layout data

* rename LAYOUT_all to LAYOUT_tkl_ansi_tsangan

* add LAYOUT_tkl_ansi_wkl

* enable Community Layout support
2023-05-04 21:13:01 -07:00