store_or_get_action - cache keycode on key press, return cached keycode on key release (#25349)

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Garretonzo
2026-09-10 14:39:53 +10:00
committed by GitHub
co-authored by Nick Brassel
parent f6854c5037
commit bf56a071d2
10 changed files with 454 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
# Keycode cache unit tests configuration
keycode_cache_DEFS := -DMATRIX_ROWS=4 -DMATRIX_COLS=4 -DNO_DEBUG -DKEYCODE_CACHE_ENABLE -DKEYCODE_CACHE_LIMIT=8
keycode_cache_SRC := \
$(QUANTUM_PATH)/keycode_cache/keycode_cache_tests.cpp \
$(QUANTUM_PATH)/keycode_cache/keycode_cache_mock.c \
$(QUANTUM_PATH)/action_layer.c \
+2
View File
@@ -0,0 +1,2 @@
TEST_LIST += \
keycode_cache \