82 Commits

Author SHA1 Message Date
Stefan Kerkmann c68e4dec10 [Core] suspend: suppress wake up keypress (#23389)
* suspend: suppress wake up keypress

Waking the host from suspend is done by pressing any key on the
keyboard, the regular key codes assigned to the keys are not important
and must not be sent - otherwise they usually end up in password prompts
as ghost characters that have to be deleted again. This commit adds
suppression for all keys pressed at the time of wake up. Once a key is
released it functions as a regular key again.

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

* suspend: update wake up matrix after wake up delay

If USB_SUSPEND_WAKEUP_DELAY is set, the keyboard sleeps during wake up -
which can be up to multiple seconds. To handle key presses and releases
in that time frame we have to handle the following cases:

1. Key not pressed before suspend, and not pressed after wakeup → do
   nothing (normal case).
2. Key not pressed before suspend, but pressed after wakeup → set the
   wakeup_matrix bit to 1 (so that the press and release events would be
   suppressed).
3. Key pressed before suspend, but not pressed after wakeup → do nothing
   (the release event will be generated on the first matrix_task() call
   after the wakeup).
4. Key pressed before suspend, and still pressed after wakeup → do
   nothing (the release event will be generated some time later).

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

* keyboards: anavi: macropad8: disable snake and rgb_test effects

...to shrink the binary size.
2025-11-11 23:35:03 +11:00
Ryan 115bf771a8 Custom oled fonts cleanup (#25665) 2025-09-21 21:40:30 +10:00
Joel Challis 0bd02952ea Remove "command":false from keyboards (#25193) 2025-04-24 10:28:13 +10:00
Joel Challis 07684bcc99 Remove "console":false from keyboards (#25190) 2025-04-23 12:09:56 +10:00
Joel Challis 960c4969a5 Remove empty url fields (#25181) 2025-04-22 17:59:00 +01:00
QMK Bot 0c4124c1c0 Merge remote-tracking branch 'origin/master' into develop 2025-04-22 04:15:10 +00:00
Nick Brassel 9f04023d35 Decrease firmware size for anavi/macropad8. (#25185)
Preparation for bootstrapper.
2025-04-22 14:14:28 +10:00
Joel Challis 88453acc6a Remove duplication of RGBLight defaults (#25169) 2025-04-19 11:56:45 -07:00
Ryan 8f6d2ac53c Update Underglow keycodes (#23765)
Co-authored-by: Nick Brassel <nick@tzarc.org>
2024-08-25 22:15:07 +10:00
Ryan d09a06a1b3 Update GPIO API usage in keyboard code (#23361) 2024-05-03 15:21:29 +10:00
James Young 63bc7b63a6 Data-Driven Keyboard Conversions: A (#23379) 2024-04-02 17:45:44 +01:00
Joel Challis 831deac212 Migrate build target markers to keyboard.json (#23293) 2024-03-30 11:31:50 +00:00
Joel Challis 8e5cd981e1 Migrate features from rules.mk to DD (#23247) 2024-03-14 03:56:42 +00:00
Joel Challis 2f37a7854d Migrate lighting defaults to info.json (#22920) 2024-02-01 18:10:14 +00:00
Nick Brassel f25226453f Remove obvious user keymaps, keyboards/a* edition. (#22692) 2023-12-18 14:06:47 +11:00
Marc Nause 7ae0f7caf1 Fix compile error in VLC keymap for Anavi Macropad8 (#22644) 2023-12-11 19:02:28 -08:00
Leon Anavi 6fb9de6cbb [Keyboard] Add ANAVI Arrows (#22454)
Co-authored-by: Drashna Jaelre <drashna@live.com>
2023-12-04 23:43:14 -08:00
Ryan c157c19b81 Dedupe I2C, SPI, UART driver inclusions (#22253) 2023-10-13 17:25:32 +11:00
James Young 9eaa8a24ed ANAVI Macro Pad 12: rename LAYOUT to LAYOUT_ortho_4x3 (#21886)
[refactor]
2023-09-03 23:17:53 -07: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 5d2f2af198 OLED: driver naming cleanups (#21710) 2023-08-15 10:30:34 +01:00
QMK Bot 00cc75560f Merge remote-tracking branch 'origin/master' into develop 2023-07-28 06:49:18 +00:00
Leon Anavi 5f0eab959f [Keyboard] Add ANAVI Macro Pad 12 (#21547) 2023-07-27 23:48:40 -07:00
Ryan 4137685f8e backlight: split AVR PWM and timer drivers (#21540) 2023-07-21 09:27:55 +10: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 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 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
Ryan ef6a712899 Even more info.json whitespace cleanups (#20703) 2023-05-04 19:09:59 +10:00
Ryan a5e46d8082 More info.json whitespace cleanups (#20665) 2023-05-03 12:19:34 +10:00
Ryan 79aa319946 info.json whitespace cleanups (#20651) 2023-05-02 08:25:15 +10:00
Ryan 798cbfe6a3 Fix info.json LTO and format encoder definitions (#20456) 2023-04-15 23:37:24 -06:00
Ryan 47966dc2a6 Migrate rgblight.pin and RGB_DI_PIN to ws2812.pin (#20303) 2023-04-06 18:00:54 +10:00
jack 36ab0c0aaa Add core/fallback encoder behaviour (#20320) 2023-04-03 10:18:17 -06:00
Ryan 36ce81df59 Move WS2812_DRIVER to data driven (#20248) 2023-03-26 18:22:12 +11:00
Leon Anavi 61f3f5676a keyboards/anavi: Add ANAVI Knobs 3 (#18624) 2023-03-05 18:28:01 -07:00
Ryan 314f6c1ddb Move backlight config to data driven (#19910) 2023-02-26 08:37:57 +11:00
Ryan 26854f5940 Remove default and unused BACKLIGHT_LEVELS (#19898) 2023-02-22 01:12:42 +00:00
Ryan e837a32b2b Move layouts for direct_pins boards to data driven (#19872) 2023-02-19 18:55:12 +11:00
Ryan 2cdf99ae95 Migrate DIRECT_PINS to data driven (#19826) 2023-02-14 00:39:41 -07:00
Ryan f9aeea64c1 Migrate MCU and BOOTLOADER to data-driven (#19529) 2023-02-08 18:41:46 +11:00
Ryan ebb512db82 Debounce defines cleanup (#19742)
* Clean up `DEBOUNCE` in config.h, 0-9

* Clean up `DEBOUNCE` in config.h, A

* Clean up `DEBOUNCE` in config.h, B

* Clean up `DEBOUNCE` in config.h, C

* Clean up `DEBOUNCE` in config.h, D

* Clean up `DEBOUNCE` in config.h, E

* Clean up `DEBOUNCE` in config.h, F

* Clean up `DEBOUNCE` in config.h, G

* Clean up `DEBOUNCE` in config.h, H

* Clean up `DEBOUNCE` in config.h, handwired

* Clean up `DEBOUNCE` in config.h, I

* Clean up `DEBOUNCE` in config.h, J

* Clean up `DEBOUNCE` in config.h, K

* Clean up `DEBOUNCE` in config.h, L

* Clean up `DEBOUNCE` in config.h, M

* Clean up `DEBOUNCE` in config.h, N

* Clean up `DEBOUNCE` in config.h, O

* Clean up `DEBOUNCE` in config.h, P

* Clean up `DEBOUNCE` in config.h, Q

* Clean up `DEBOUNCE` in config.h, R

* Clean up `DEBOUNCE` in config.h, S

* Clean up `DEBOUNCE` in config.h, T

* Clean up `DEBOUNCE` in config.h, U

* Clean up `DEBOUNCE` in config.h, V

* Clean up `DEBOUNCE` in config.h, W

* Clean up `DEBOUNCE` in config.h, X

* Clean up `DEBOUNCE` in config.h, Y

* Clean up `DEBOUNCE` in config.h, Z

* Remove default debounce from info.json

* Migrate non-default debounce to info.json
2023-02-03 19:19:58 +00:00
Nick Brassel f6dd8dea2e Remove usages of config_common.h from config.h files. (#19714) 2023-01-31 06:03:30 +11:00
Stefan Kerkmann 9dc3f79196 [RP2040] update i2c drivers to reflect peripheral number (#19277) 2022-12-11 14:04:29 +01:00
QMK Bot 9974978909 Merge remote-tracking branch 'origin/master' into develop 2022-11-15 16:55:25 +00:00
Leon Anavi 7e843d0eca keyboards/anavi: Add ANAVI Knob 1 (#18623)
ANAVI Knob 1 is a mini mechanical keyboard with a clickable rotary
encoder, USB-C, RP2040 microcontroller and I2C slot for a display.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2022-11-15 16:54:45 +00:00
Drashna Jaelre d021bedf50 Remove RGBLIGHT_ANIMTION and clean up effect defines for 0-F (#18725) 2022-10-15 09:55:12 -07:00
Leon Anavi a3d2c89c4c [Keyboard] Add ANAVI Macro Pad 10 (#18620) 2022-10-09 19:28:19 -07:00
Nick Brassel 154d35ac14 Remove UNUSED_PINS (#17931) 2022-08-06 23:23:35 +10:00
Ryan 674422eb13 Move keyboard USB IDs and strings to data driven: A (#17781) 2022-07-26 01:52:18 +01:00