You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qmk-fw/quantum
Bob bc536b9b6d Switch process_combo to using global register and timer (#2561)
Since combos keep local state about what keys have been previously pressed, when combos are layered, multiple keypresses will register for any key with multiple combos assigned to it. In order to fix this, I switched process_combo to use a global keycode / keyrecord register and timer. When a keypress is consumed by a combo, it gets stored in the register and the timer is updated; when the next keypress takes too long or a key is pressed that isn't part of any combo, the buffer is emitted and the timer reset. This has a few side effects. For instance, I couldn't _not_ fix combo keys printing out of order while also fixing this bug, so combo keys print in order correctly when a combo fails. since combos no longer have local timers, the logic around when combos time out has changed. now that there is a single timer pressing any combo key (including one in a different combo) will reset the timer for all combos, making combo entry a little more lenient. Since combos no longer have local keycode / keyrecord state, there is an edge case where incomplete combo keys can be consumed. if you have a combo for a+s = tab and a combo for b+n = space, if you press a+b+n, only a space will be emitted. This is because when b+n completes successfully, it drops the register.
6 years ago
..
api
audio Added some new songs (#5525) 6 years ago
debounce Eager Per Row Debouncing added (added to Ergodox) (#5498) 6 years ago
keymap_extras Add UK variant of the SEND_STRING() LUTs 6 years ago
process_keycode Switch process_combo to using global register and timer (#2561) 6 years ago
rgb_matrix_animations Fix bugs that cause compile failures when enabling only some animations. 6 years ago
serial_link
split_common Added encoder support to split common code (#5477) 6 years ago
stm32
template Update ps2avrgb template to use standard matrix/i2c code (#4957) 6 years ago
tools
visualizer Fixing dead links (#5503) 6 years ago
api.c rgblight split transfer non-eeprom config (#5396) 6 years ago
api.h
color.c RGB Matrix Overhaul (#5372) 6 years ago
color.h
config_common.h Add new keyboard Plaid and ATMEGA328p support (#5379) 6 years ago
debounce.h Removed #include "matrix.h" from debounce.h 6 years ago
dynamic_keymap.c Added SS_TAP_CODE, SS_DOWN_CODE, SS_UP_CODE 6 years ago
dynamic_keymap.h
dynamic_macro.h
encoder.c Added encoder support to split common code (#5477) 6 years ago
encoder.h Added encoder support to split common code (#5477) 6 years ago
fauxclicky.c
fauxclicky.h
keycode_config.c
keycode_config.h
keymap.h
keymap_common.c Next set of split_common changes (#4974) 6 years ago
led_matrix.c fix the led_matrix.h naming conflict 6 years ago
led_matrix_drivers.c fix the led_matrix.h naming conflict 6 years ago
led_tables.c
led_tables.h
ledmatrix.h fix the led_matrix.h naming conflict 6 years ago
matrix.c Debounce refactor / API (#3720) 6 years ago
mcu_selection.mk
pincontrol.h
pointing_device.c
pointing_device.h
quantum.c [Keyboard] Refactor jj40 to current standards (#5574) 6 years ago
quantum.h Fixed tap/down/up handling in dynamic keymap macros (#5363) 6 years ago
quantum_keycodes.h Fix indentation in quantum_keycodes.h (#5221) 6 years ago
rgb.h
rgb_matrix.c Fix bugs that cause compile failures when enabling only some animations. 6 years ago
rgb_matrix.h RGB Matrix Overhaul (#5372) 6 years ago
rgb_matrix_drivers.c
rgb_matrix_types.h RGB Matrix support for Massdrop CTRL/ALT (#5328) 6 years ago
rgblight.c Add support for RGB LEDs wired directly to each half's controller (#5392) 6 years ago
rgblight.h Add support for RGB LEDs wired directly to each half's controller (#5392) 6 years ago
rgblight_list.h
rgblight_reconfig.h
rgblight_types.h
send_string_keycodes.h
variable_trace.c
variable_trace.h
velocikey.c Velocikey: Match RGB animation speed to typing speed (#3754) 6 years ago
velocikey.h Velocikey: Match RGB animation speed to typing speed (#3754) 6 years ago