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/process_keycode
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
..
process_audio.c Adds support for Planck Rev 6 (#2666) 7 years ago
process_audio.h Adds support for Planck Rev 6 (#2666) 7 years ago
process_auto_shift.c Add non-US Hash and Backslash to AutoShift handling 7 years ago
process_auto_shift.h Add on/off/toggle keycodes for Auto Shift 8 years ago
process_clicky.c Fix Audio Clicky by adding missing punctuation (#5171) 6 years ago
process_clicky.h Add On/Off keycodes 7 years ago
process_combo.c Switch process_combo to using global register and timer (#2561) 6 years ago
process_combo.h Switch process_combo to using global register and timer (#2561) 6 years ago
process_key_lock.c Fix for issue https://github.com/qmk/qmk_firmware/issues/1751 8 years ago
process_key_lock.h Added support for locking One Shot modifiers. 8 years ago
process_leader.c Fix leader processing 7 years ago
process_leader.h Fix up process_leader to be a bit more optimized (#4662) 7 years ago
process_midi.c Added bending to MIDI (#2740) 7 years ago
process_midi.h Merge ChibiOS and LUFA descriptor support (#2362) 7 years ago
process_music.c Adds support for Planck Rev 6 (#2666) 7 years ago
process_music.h Adds support for Planck Rev 6 (#2666) 7 years ago
process_printer.c Fix warnings in process_printer 8 years ago
process_printer.h Fix warnings in process_printer 8 years ago
process_printer_bb.c Fix warnings in process_printer 8 years ago
process_steno.c Fix Tx Bolt ghosting second character on key press (#5229) 6 years ago
process_steno.h Improve state/chord handling and clean up namespace 7 years ago
process_tap_dance.c Register the interrupting keycode in the tap dance state struct 7 years ago
process_tap_dance.h Register the interrupting keycode in the tap dance state struct 7 years ago
process_terminal.c Allows Terminal to use ModTap/LayerTap keys (#4586) 7 years ago
process_terminal.h Updates send_string functionality, adds terminal feature (#1657) 8 years ago
process_terminal_nop.h Updates send_string functionality, adds terminal feature (#1657) 8 years ago
process_ucis.c Overhaul Unicode Common functionality (#4325) 7 years ago
process_ucis.h Overhaul Unicode Common functionality (#4325) 7 years ago
process_unicode.c Overhaul Unicode Common functionality (#4325) 7 years ago
process_unicode.h Overhaul Unicode Common functionality (#4325) 7 years ago
process_unicode_common.c Unicode fix for new wincompose version (#5082) 6 years ago
process_unicode_common.h Overhaul Unicode Common functionality (#4325) 7 years ago
process_unicodemap.c Remove problematic unicode_map stub definition in process_unicodemap.c (#5110) 6 years ago
process_unicodemap.h Remove problematic unicode_map stub definition in process_unicodemap.c (#5110) 6 years ago