qmk/quantum/debounce/tests
フィルターペーパー 4bd5c033c3
Refactor debounce algorithm with static allocation (#25515)
* Refactor debounce counters with direct indexing

* Refactor code to use array indexing for debounce_counters
* Use global MATRIX_ROW_SHIFTER macro

* Refactor debounce algorithm with static allocation

* Converted arrays to static allocation
* Standardised use of MATRIX_ROWS_PER_HAND for array sizing
* Added Doxygen comments for primary debounce functions
* Removed debounce_free()

* Rewrite sym_defer_pr

* Modernise code using sym_defer_pk as template
* Format consistency with other current algorithms

* Use shorter SPDX-License-Identifier

* Remove ChibiOS core memory manager guard
* Keep type definition within DEBOUNCE guard

* Add change log

* Minor optimisation refactor

* Pre-calculate row_offset in per-key matrix loops
* Add inline compiler hints
* Improve readability with blank lines

* Limit elapsed time to the maximum debounce value

* Apply suggestions from code review

Declare counters with "DEBOUNCE_ELAPSED"

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

* Update change log to new breaking change date

---------

Co-authored-by: Joel Challis <git@zvecr.com>
2025-09-07 13:34:05 +01:00
..
asym_eager_defer_pk_tests.cpp [Enhancement] Improvements for debounce test coverage + bug fixes for sym_defer_g and sym_eager_pr (#21667) 2023-09-25 12:48:55 +10:00
debounce_test_common.cpp Refactor debounce algorithm with static allocation (#25515) 2025-09-07 13:34:05 +01:00
debounce_test_common.h [Enhancement] Improvements for debounce test coverage + bug fixes for sym_defer_g and sym_eager_pr (#21667) 2023-09-25 12:48:55 +10:00
none_tests.cpp [Enhancement] Improvements for debounce test coverage + bug fixes for sym_defer_g and sym_eager_pr (#21667) 2023-09-25 12:48:55 +10:00
rules.mk Consolidate timer_elapsed implementations (#24830) 2025-01-19 17:07:11 +00:00
sym_defer_g_tests.cpp [Enhancement] Improvements for debounce test coverage + bug fixes for sym_defer_g and sym_eager_pr (#21667) 2023-09-25 12:48:55 +10:00
sym_defer_pk_tests.cpp [Enhancement] Improvements for debounce test coverage + bug fixes for sym_defer_g and sym_eager_pr (#21667) 2023-09-25 12:48:55 +10:00
sym_defer_pr_tests.cpp [Enhancement] Improvements for debounce test coverage + bug fixes for sym_defer_g and sym_eager_pr (#21667) 2023-09-25 12:48:55 +10:00
sym_eager_pk_tests.cpp [Enhancement] Improvements for debounce test coverage + bug fixes for sym_defer_g and sym_eager_pr (#21667) 2023-09-25 12:48:55 +10:00
sym_eager_pr_tests.cpp [Enhancement] Improvements for debounce test coverage + bug fixes for sym_defer_g and sym_eager_pr (#21667) 2023-09-25 12:48:55 +10:00
testlist.mk [Enhancement] Improvements for debounce test coverage + bug fixes for sym_defer_g and sym_eager_pr (#21667) 2023-09-25 12:48:55 +10:00