Commit Graph

431 Commits

Author SHA1 Message Date
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
ad7a405fa5 Merge remote-tracking branch 'origin/master' into develop 2023-09-21 06:02:13 +00:00
8c52bab930 add odinmini layout (#21983)
Co-authored-by: Ryan <fauxpark@gmail.com>
2023-09-20 23:01:55 -07:00
8f22105289 Add and use I2C address defines for ISSI LED drivers (#22008) 2023-09-19 19:31:54 +10:00
8136eda6d4 is31fl3731: driver naming cleanups (#21918) 2023-09-13 22:53:15 +10:00
1cbb5ae99e is31fl3733: driver naming cleanups (#21905) 2023-09-13 22:52:16 +10:00
4a0badfb34 is31fl3741: driver naming cleanups (#21929) 2023-09-13 22:48:01 +10:00
41bd4e35a0 Clean up RGB LED type (#21859) 2023-09-04 01:19:59 +01:00
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
37bc949945 RGB Matrix: driver naming cleanups (#21594) 2023-08-23 01:00:03 +01:00
27ff1d4153 Remove layout aliases from keyboard_aliases.hjson (#21658) 2023-08-01 01:54:28 +01:00
87b11345a5 Get rid of USB_LED_CAPS_LOCK (#21436) 2023-07-06 09:48:02 +01:00
9ab16e62f7 Get rid of USB_LED_NUM_LOCK (#21424) 2023-07-02 19:35:41 +01:00
5542f5ede1 Get rid of USB_LED_KANA and USB_LED_COMPOSE (#21366) 2023-06-27 09:15:33 +10:00
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
6545eb64a0 Move RGB_MATRIX_HUE/SAT/VAL/SPD_STEP to data driven (#21354) 2023-06-24 17:13:18 +10:00
416af0171c Remove CORTEX_ENABLE_WFI_IDLE from keyboards. (#21353)
* Remove CORTEX_ENABLE_WFI_IDLE from the codebase.

* Turn on CORTEX_ENABLE_WFI_IDLE by default.
2023-06-23 20:31:25 +01:00
b1783db4ea Move RGBLED_NUM to data driven (#21278) 2023-06-18 14:39:07 +10:00
2367d8129c Move RGBLIGHT_SLEEP to data driven (#21072) 2023-06-16 14:04:45 +10:00
363bfdbfda Move RGBLIGHT_LIMIT_VAL to data driven (#20974)
Co-authored-by: Nick Brassel <nick@tzarc.org>
2023-05-27 12:27:44 +10:00
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
ef6a712899 Even more info.json whitespace cleanups (#20703) 2023-05-04 19:09:59 +10:00
4efd6a805c KBDfans Odin Soldered Layout Additions and Touch-Up (#20695)
* add matrix_diagram.md

* info.json: apply friendly formatting

* info.json: correct layout data

* add LAYOUT_ansi

* add LAYOUT_iso

* add LAYOUT_ansi_split_bs_rshift

* add LAYOUT_iso_split_bs_rshift

* refactor default and via keymaps

- use four-space indent
- grid-align keycodes
2023-05-03 17:36:43 -07:00
13e139779e KBDfans Odin RGB Touch-Up (#20694)
* add matrix_diagram.md

* info.json: apply friendly formatting

* info.json: correct layout data

* rename LAYOUT_all to LAYOUT
2023-05-03 17:13:31 -07:00
4615aa748e KBDfans KBD66 Layout Additions and Refactor (#20693)
* add matrix_diagram.md

* info.json: apply friendly formatting

* add LAYOUT_66_ansi_split_space

* add LAYOUT_66_iso_split_space

* refactor default keymap

- use four-space indent
- use QMK-native keycode aliases directly
- use `enum` statement for layer names
- grid-align keycodes

* refactor ansi keymap

- use four-space indent
- use QMK-native keycode aliases directly
- use `enum` statement for layer names
- grid-align keycodes

* refactor iso keymap

- use four-space indent
- use QMK-native keycode aliases directly
- use `enum` statement for layer names
- grid-align keycodes

* change layout macro for ansi keymap

Refactors the `ansi` keymap to use the `LAYOUT_66_ansi_split_space` macro, and renames the keymap to `default_ansi_split_space`.

* change layout macro for iso keymap

Refactors the `iso` keymap to use the `LAYOUT_66_iso_split_space` macro, and renames the keymap to `default_iso_split_space`.

* add LAYOUT_66_ansi

The column for the spacebar key may be wrong; I was unable to find high-resolution images of the PCB.

* add LAYOUT_66_iso

The column for the spacebar key may be wrong; I was unable to find high-resolution images of the PCB.

* enable Community Layout support
2023-05-03 16:50:08 -07:00
dcd934ba00 KBDfans Bounce75 Hotswap Touch-Up (#20692)
* add matrix_diagram.md

* info.json: apply friendly formatting

* rename LAYOUT_all to LAYOUT_ansi_rwkl

* touch-up keymap keycode alignment
2023-05-03 16:22:36 -07:00
461b0d6c86 KBDfans Bella Soldered Layout Macro Additions (#20691)
* add matrix_diagram.md

* info.json: apply friendly formatting

* add LAYOUT_ansi_rwkl_split_bs

* add LAYOUT_ansi_rwkl

* add LAYOUT_ansi_wkl_split_bs

* add LAYOUT_ansi_wkl

* add LAYOUT_iso_rwkl_split_bs

* add LAYOUT_iso_rwkl

* add LAYOUT_iso_wkl_split_bs

* add LAYOUT_iso_wkl

* refactor keymaps

- use four-space indent
- add layer indices
- grid-align keycodes
2023-05-03 15:18:57 -07:00
79aa319946 info.json whitespace cleanups (#20651) 2023-05-02 08:25:15 +10:00
12d42cedd2 Move FORCE_NKRO to data driven (#20604) 2023-05-01 13:33:10 +10:00
4871f651c5 Move remaining LAYOUT_alls to data driven (#20463) 2023-04-27 07:45:43 +10:00
798cbfe6a3 Fix info.json LTO and format encoder definitions (#20456) 2023-04-15 23:37:24 -06:00
172a40686b Move single LAYOUT_alls to data driven (#20430) 2023-04-15 21:08:15 +10:00
5bd68e3695 Move single LAYOUTs to data driven (#20365) 2023-04-12 13:42:51 +10:00
522048725f Move RGB_MATRIX_DRIVER to data driven (#20350) 2023-04-08 18:08:08 +10:00
47966dc2a6 Migrate rgblight.pin and RGB_DI_PIN to ws2812.pin (#20303) 2023-04-06 18:00:54 +10:00
8bb4cba7b0 Move TKL layouts to data driven (#20337) 2023-04-05 15:53:45 +10:00
6847dba8af Move 75% and 96% layouts to data driven (#20289) 2023-04-05 15:48:37 +10:00
7bfc2a367d Move 65% layouts to data driven (#20308) 2023-04-04 15:20:10 +10:00
4869b8061c Move ortho & numpad layouts to data driven (#20183)
Co-authored-by: Nick Brassel <nick@tzarc.org>
2023-03-29 15:54:34 +11:00
36ce81df59 Move WS2812_DRIVER to data driven (#20248) 2023-03-26 18:22:12 +11:00
ad625e7c06 Remove RGB_DI_PIN ifdefs (#20218) 2023-03-23 21:38:01 +11:00
1690d72906 Merge remote-tracking branch 'origin/master' into develop 2023-03-18 17:39:02 +00:00
a1a5dd6ddd Fixup kbdfans/tiger80 RGB animations (#20164) 2023-03-18 11:38:24 -06:00
02ccc50e60 Remove more empty headers (#20155) 2023-03-17 14:02:04 +11:00
ef419d14e9 kbdfans/tiger80: remove duplicate keys in info.json (#20148) 2023-03-16 16:56:08 +00:00
9dbee3e23d Remove useless "ifdef KEYBOARD_*" (#20078)
Co-authored-by: Nick Brassel <nick@tzarc.org>
2023-03-16 20:18:33 +11:00
72da3ee63e Merge remote-tracking branch 'origin/master' into develop 2023-03-16 00:50:29 -07:00
3eb04fee87 add tiger80 iso layout support (#19975)
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: jack <0x6a73@protonmail.com>
2023-03-15 10:53:28 -06:00
1022afa6c2 Move matrix config to info.json, part 8 (#20030) 2023-03-11 04:59:07 +11:00
7a8265247b Remove "w":1 and "h":1 from info.json (#19961) 2023-02-28 15:06:11 +00:00