mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-28 20:18:49 +06:00
b829a1d264
* Add fast_timer_t that is 16-bit or 32-bit based on architecture A 16-bit timer will overflow sooner but be faster to compare on AVR. * Avoid 8-bit timer overflows in debounce algorithms Count down remaining elapsed time instead of trying to do 8-bit timer comparisons. Add a "none" implementation that is automatically used if DEBOUNCE is 0 otherwise it will break the _pk/_pr count down. * Avoid unnecessary polling of the entire matrix in sym_eager_pk The matrix only needs to be updated when a debounce timer expires. * Avoid unnecessary polling of the entire matrix in sym_eager_pr The matrix only needs to be updated when a debounce timer expires. The use of the "needed_update" variable is trying to do what "matrix_need_update" was added to fix but didn't work because it only applied when all keys finished debouncing. * Fix sym_defer_g timing inconsistency compared to other debounce algorithms DEBOUNCE=5 should process the key after 5ms, not 6ms * Add debounce tests |
||
---|---|---|
.. | ||
api | ||
audio | ||
backlight | ||
bootmagic | ||
debounce | ||
keymap_extras | ||
led_matrix_animations | ||
led_matrix_runners | ||
process_keycode | ||
rgb_matrix_animations | ||
rgb_matrix_runners | ||
sequencer | ||
serial_link | ||
split_common | ||
template | ||
tools | ||
visualizer | ||
api.c | ||
api.h | ||
bitwise.c | ||
bitwise.h | ||
color.c | ||
color.h | ||
command.c | ||
command.h | ||
config_common.h | ||
debounce.h | ||
dip_switch.c | ||
dip_switch.h | ||
dynamic_keymap.c | ||
dynamic_keymap.h | ||
dynamic_macro.h | ||
encoder.c | ||
encoder.h | ||
joystick.c | ||
joystick.h | ||
keycode_config.c | ||
keycode_config.h | ||
keymap_common.c | ||
keymap.h | ||
led_matrix_drivers.c | ||
led_matrix_types.h | ||
led_matrix.c | ||
led_matrix.h | ||
led_tables.c | ||
led_tables.h | ||
led.c | ||
led.h | ||
matrix_common.c | ||
matrix.c | ||
matrix.h | ||
mcu_selection.mk | ||
mousekey.c | ||
mousekey.h | ||
pointing_device.c | ||
pointing_device.h | ||
quantum_keycodes.h | ||
quantum.c | ||
quantum.h | ||
rgb_matrix_drivers.c | ||
rgb_matrix_types.h | ||
rgb_matrix.c | ||
rgb_matrix.h | ||
rgb.h | ||
rgblight_breathe_table.h | ||
rgblight_list.h | ||
rgblight_modes.h | ||
rgblight_post_config.h | ||
rgblight.c | ||
rgblight.h | ||
ring_buffer.h | ||
send_string_keycodes.h | ||
send_string.c | ||
send_string.h | ||
util.h | ||
variable_trace.c | ||
variable_trace.h | ||
velocikey.c | ||
velocikey.h | ||
via_ensure_keycode.h | ||
via.c | ||
via.h | ||
wpm.c | ||
wpm.h |