Commit graph

2301 commits

Author SHA1 Message Date
QMK Bot
47145a6ce8 Merge remote-tracking branch 'origin/master' into develop 2023-10-11 07:07:05 +00:00
Dasky
81e086b387
add missing gpio include for pointing motion pin (#22246) 2023-10-11 00:06:28 -07:00
QMK Bot
528ebb42a4 Merge remote-tracking branch 'origin/master' into develop 2023-10-08 18:43:45 +00:00
ikorihn
4345d34cf2
Fix build error when Automatic Mouse Layer is enabled (#22229) 2023-10-08 19:43:09 +01:00
Pablo Martínez
21389fbd89
[Bugfix] qp_ellipse overflow (#19005) 2023-10-08 10:29:27 +11:00
Ryan
c0f16be50f
Rename CKLED2001 driver to SNLED27351 (#22071) 2023-10-04 20:10:05 +11:00
Kuan-Wei, Chiu
3df155f203
Fix memory leak in realloc failure handling (#22188) 2023-10-04 09:27:11 +11:00
Ryan
bd5860de4e
is31fl3737/3741: add LED Matrix support (#22163) 2023-10-03 01:09:20 +11:00
Joel Challis
6910ed2de5
Add _DEFAULT_ON lighting configuration options (#21865) 2023-09-29 18:31:21 +01:00
Álvaro A. Volpato
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
Less/Rikki
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
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
HorrorTroll
9d526b8d66
Added flower blooming on RGB Matrix effect (#21948) 2023-09-25 12:58:45 +10:00
NapOli1084
e0eb90aba1
Fix OSM on a OSL activated layer (#20410) 2023-09-25 12:53:12 +10:00
Andre Brait
960d6e0d7d
[Enhancement] Improvements for debounce test coverage + bug fixes for sym_defer_g and sym_eager_pr (#21667)
Co-authored-by: Nebuleon <2391500+Nebuleon@users.noreply.github.com>
2023-09-25 12:48:55 +10:00
Isaac Elenbaas
dd94877ec6
Improve test invocation, fix Retro Shift bugs, and add Auto+Retro Shift test cases (#15889) 2023-09-25 12:45:49 +10:00
Nick Brassel
1fb02d5ad8
Merge remote-tracking branch 'upstream/master' into develop 2023-09-25 12:34:48 +10:00
Ben Cooper
4ebb065f94
Fix combo_ref_from_layer respect different default layer [#21780] (#21781) 2023-09-25 12:32:20 +10:00
Pablo Martínez
a360900fbb
[Enhancement] QP Getters (#21171) 2023-09-25 12:31:46 +10:00
フィルターペーパー
246f3cb4d2
Improve directional transition of overlapping mouse keys (#21494) 2023-09-25 12:25:24 +10:00
jacob-w-gable
99290b4c7e
Add full solenoid support on split keyboards (#21583)
Co-authored-by: Jacob Gable <jacob.gable@statheros.tech>
2023-09-25 12:23:31 +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
Ryan
2aacda3235
Move PACKED define to util.h (#22074) 2023-09-20 07:33:54 +01:00
Ryan
1ea54a2d8d
Complete RGB Matrix support for IS31FL3218 (#22004) 2023-09-17 22:11:16 +10:00
David Hoelscher
169b0f33f6
Lvgl rate control (#22049) 2023-09-17 14:25:14 +10:00
Drashna Jaelre
9c2c96a20e
[Bug] Fix default layer value in eeconfig_init (#21909)
Co-authored-by: Ryan <fauxpark@gmail.com>
2023-09-14 10:17:15 -07:00
Ryan
a0aebe5cd5
aw20216: driver naming cleanups (#21891) 2023-09-13 22:45:17 +10:00
Ryan
aec7f29df7
Add mousekey.h include to quantum.h (#21897) 2023-09-04 03:14:14 +01:00
Ryan
41bd4e35a0
Clean up RGB LED type (#21859) 2023-09-04 01:19:59 +01:00
Joel Challis
11a8101301
Fix compilation of dynamic_keymap.c without VIA (#21858) 2023-08-29 14:28:09 +01:00
Ryan
70e34e491c
Unicode, Unicodemap and UCIS refactor (#21659) 2023-08-27 13:30:19 +10:00
Ryan
37bc949945
RGB Matrix: driver naming cleanups (#21594) 2023-08-23 01:00:03 +01:00
Joel Challis
dfb6d38f08
Simplfy RGB/LED matrix effect logic (#21703) 2023-08-23 00:03:01 +01:00
Less/Rikki
0d535381de
fix: restore indicators to jellybean_raindrops (#21792)
After #21169, rgb_matrix_indicators() was limited to running on the
final render iteration. Since the jellybean_raindrops animation
immediately returns false after updating a single LED, the iteration
count no longer ends up high enough to render non-advanced indicators.

This change also brings jellybean_raindrops more in line with raindrops.
2023-08-22 18:39:33 +01:00
Ryan
0b802defd4
haptic: further naming cleanups (#21682) 2023-08-04 01:16:16 +01:00
Nebuleon
f0c9453083
audio: Don't play the first note of zero-note melodies (#21661) 2023-08-02 17:07:43 +01:00
James Young
eab315e935
Fix Dynamic Macro Compilation for avr-gcc 5.4.0 + Linux (#21653)
Co-authored-by: Joel Challis <git@zvecr.com>
2023-08-01 22:49:58 -07:00
Ryan
6018b56c55
Remove old OLED API code (#21651) 2023-07-31 15:43:10 +01:00
Ryan
f407d90598
keycode aliases: work around ChibiOS ch.h include guard (#21497) 2023-07-31 09:35:06 +10:00
Ryan
571b8bac82
LED Matrix: driver naming cleanups (#21580) 2023-07-29 15:25:00 +10:00
Ryan
4af6f1df06
quantum.h: clean up process_keycode includes (#21579) 2023-07-29 15:05:15 +10:00
Nebuleon
96789a7cb0
Unify MIDI note calculation with the audio feature's algorithm (#21588) 2023-07-27 16:14:34 -07:00
Ryan
727b1d1597
Unicode: move keycode aliases to a separate header (#21613) 2023-07-27 16:29:22 +01:00
Nebuleon
9bc85ff5af
Reduce needless precision in audio note frequency calculation (#21496) 2023-07-26 21:05:26 -07:00
leep-frog
2c70d38910
On-each-release tap dance function (#20255)
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
2023-07-26 21:04:35 -07:00
Ryan
8b7ac7f2ca
Raw HID: documentation improvements (#21596) 2023-07-25 09:20:41 +10:00
Ryan
d136d49053
Revert "[Bug] Fix compilation error when Split Watchdog enabled" (#21572) 2023-07-22 06:43:14 +10:00
Drashna Jaelre
625671d1cf
[Bug] Fix compilation error when Split Watchdog enabled (#21543) 2023-07-20 18:40:05 -07:00
Ryan
b090354143
haptic: naming cleanups (#21551) 2023-07-21 09:17:39 +10:00
Ryan
da2d2f947d
quantum: remove direct quantum.h includes (#21507) 2023-07-16 23:42:56 +10:00
フィルターペーパー
83c73d42f9
process_combo: restore wait.h header (#21514)
Required for `wait_ms()` function
2023-07-12 09:38:59 +01:00
Ryan
eee0384167
process_keycode: remove direct quantum.h includes (#21486) 2023-07-11 17:07:24 +10:00
フィルターペーパー
a05e5b5554
Add MOUSEKEY_WHEEL_DELTA documentation (#21493) 2023-07-10 10:57:08 -07:00
Ryan
03ecd34684
keymap_extras: remove direct quantum.h includes (#21485) 2023-07-09 20:05:01 +10:00
Ryan
7457e90887
debounce: remove direct quantum.h includes (#21480) 2023-07-09 02:05:20 +01:00
Ryan
cb2331713c
Relocate backlight drivers (#21444) 2023-07-08 23:13:10 +10:00
Nick Brassel
f41bc8ce20
bootmagic mods covering the case when swapped mods are pressed at the same time (#21320) (#21472)
Co-authored-by: Nimish Gåtam <nimishg@gmail.com>
2023-07-08 10:15:51 +10:00
Pablo Martínez
d13925be9a
[Bugfix] Check NULL pointers on QP (#20481) 2023-07-08 00:51:19 +10:00
フィルターペーパー
9b3ac793bc
Refactor times inverse of sqrt 2 calculation (#21293) 2023-07-08 00:50:21 +10:00
Pascal Getreuer
a8a87a0922
[Core] Simplify audio_duration_to_ms() and audio_ms_to_duration(), reduce firmware size by a few bytes. (#21427) 2023-07-08 00:47:16 +10:00
Jake Grossman
e648b84da3
Allow key override to respect weak mods caused by caps word (#21434) 2023-07-08 00:40:09 +10:00
フィルターペーパー
0035ed6762
Set minimum middle column value (#21365) 2023-07-08 00:35:22 +10:00
フィルターペーパー
df5984022f
Refactor kinetic mouse key feature (#21164) 2023-07-08 00:26:06 +10:00
mechlovin
2264e6d26b
add VIA support for LED Matrix (#21281) 2023-07-08 00:24:29 +10:00
precondition
1abf8f3e8b
[Feature] Send a dummy keycode to neutralize flashing modifiers in retro tap and key overrides (#20992) 2023-07-08 00:18:02 +10:00
Pablo Martínez
55295ed3dc
[Enhancement] More info on apply_autocorrect (#21056)
Co-authored-by: Drashna Jaelre <drashna@live.com>
2023-07-08 00:13:15 +10:00
Chris Salch
e9ff66d8ad
Adds a way to separate tab from AUTO_SHIFT_SPECIAL. (#20996) 2023-07-07 21:52:24 +10:00
Ryan
87b11345a5
Get rid of USB_LED_CAPS_LOCK (#21436) 2023-07-06 09:48:02 +01:00
Xelus22
c4f66e5d6e
[Core] RGB Matrix limit basic indicators to the last render (#21169)
Co-authored-by: Joel Challis <git@zvecr.com>
2023-07-02 15:56:48 -07:00
Ryan
9ab16e62f7
Get rid of USB_LED_NUM_LOCK (#21424) 2023-07-02 19:35:41 +01:00
Ryan
7ff80a57cb
Get rid of USB_LED_SCROLL_LOCK (#21405) 2023-07-02 19:24:22 +01:00
Ryan
5542f5ede1
Get rid of USB_LED_KANA and USB_LED_COMPOSE (#21366) 2023-06-27 09:15:33 +10:00
QMK Bot
7178645be7 Merge remote-tracking branch 'origin/master' into develop 2023-06-18 04:33:50 +00:00
Nick Brassel
884be6c1ba
Fix up operator precedence in RGBLIGHT (#21280) 2023-06-18 14:33:18 +10:00
Nick Brassel
6c7c5889ca
Rely on introspection to handle OOB access. (#21247) 2023-06-14 20:48:19 -07:00
Albert Y
3444e9656d
Refactor the rain lighting decision operator (#21139) 2023-06-10 23:55:03 -07:00
Xelus22
806b61c2f7
[Core] RGB matrix ws2812 update (#21135)
* ws2812_update boolean to stop update every single cycle

* lint1

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

* lint2

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

* Update quantum/rgb_matrix/rgb_matrix_drivers.c

---------

Co-authored-by: Joel Challis <git@zvecr.com>
2023-06-09 01:00:22 +01:00
dexter93
90ea9e447a
Reset matrix_need_update properly in eager debouncing algorithms (#21154)
The `matrix_need_update` variable needs to be reset to `false` in
`transfer_matrix_values()`, otherwise that function continues to be
invoked for every scanning loop (forever with `sym_eager_pk` and
`sym_eager_pk`, or until some key gets released with
`asym_eager_defer_pk`), and the scanning rate gets much lower because of
all that useless work.

Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
2023-06-08 02:01:45 +01:00
QMK Bot
542749433c Merge remote-tracking branch 'origin/master' into develop 2023-06-07 23:00:02 +00:00
Pablo Martínez
ae0342c12a
[Bugfix] LVGL bindings wrong offset math (#21147) 2023-06-08 08:59:13 +10:00
Albert Y
fd1e638c28
Use unsigned integer for mousekey kinetic speed (#21151) 2023-06-07 13:12:49 -07:00
Joel Challis
0c0cabe3f5
Remove quantum/keymap.h (#21086) 2023-06-05 06:17:38 +01:00
Pablo Martínez
edaf665414
[Enhancement] Decouple autocorrect logic (#21116) 2023-06-04 02:11:54 +01:00
Ariane Emory
c754f644dc
[Core] Move dynamic macro "stop recording" logic to a function (#21108) 2023-06-02 14:46:04 -07:00
Ryan
a4ed6ad0f5
Unicodemap keycodes rename (#21092) 2023-06-01 17:25:08 +01:00
Evgenii Vilkov
04719c774d
Fix backlight sync on suspend_power_down for split keyboards (#21079) 2023-05-31 11:46:03 -07:00
André Greiner-Petter
249fb3c2c2
[BUG] Allow multiple IS31FL3741 drivers per board in rgb_matrix (#20988) 2023-05-27 13:26:14 +10:00
Pascal Getreuer
3993b15f05
[Core] Add Repeat Key ("repeat last key") as a core feature. (#19700)
Co-authored-by: casuanoob <96005765+casuanoob@users.noreply.github.com>
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
2023-05-20 22:35:06 +10:00
Sergey Vlasov
21b660fa07
Move pre_process_record_kb() before process_combo() (#20969) 2023-05-20 22:15:55 +10:00
Nick Brassel
5faa23d54c
Keymap introspection for combos. (#19670) 2023-05-15 22:27:37 +10:00
Albert Y
128f808496
Add a user callback for pre process record (#20584) 2023-05-13 08:42:06 +01:00
Drashna Jaelre
aec882528a
[Bug] Fix compilation error introduced by #20669 (#20849) 2023-05-11 00:06:12 +01:00
Pete Sevander
8a332e6f01
Fix Mod-Tap combo regression (#20669)
* Add keyevent for combo keyrecord

* Fix formatting

* Update quantum/process_keycode/process_combo.c

Co-authored-by: Sergey Vlasov <sigprof@gmail.com>

* Add combo unit-tests and hot-fix process_record_tap_hint

...as this function tries to lookup the combo keys passed in. This will
be refactored in a later pr.

---------

Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
2023-05-10 17:59:52 +02:00
Drashna Jaelre
5c4b53a143
[Bug] Realign and size check EECONFIG structures (#20541)
Co-authored-by: Nick Brassel <nick@tzarc.org>
2023-05-08 10:56:03 -07:00
QMK Bot
50e99864dd Merge remote-tracking branch 'origin/master' into develop 2023-05-06 14:53:53 +00:00
Nick Brassel
88780bf710
Fixup QP font rendering when --no-ascii is specified. (#20637) 2023-05-06 15:53:14 +01:00
Drashna Jaelre
59eb8940b0
Make Pointing Device Auto Layer more configurable (#20061)
Co-authored-by: Pablo Martínez <58857054+elpekenin@users.noreply.github.com>
2023-05-06 06:38:45 -07:00