mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-09-18 00:29:15 +02:00
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:
co-authored by
Nick Brassel
parent
f6854c5037
commit
bf56a071d2
@@ -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 \
|
||||
@@ -0,0 +1,2 @@
|
||||
TEST_LIST += \
|
||||
keycode_cache \
|
||||
Reference in New Issue
Block a user