summaryrefslogtreecommitdiff
path: root/quantum/process_keycode
AgeCommit message (Collapse)Author
2023-06-04[Enhancement] Decouple autocorrect logic (#21116)Pablo Martínez
2023-06-02[Core] Move dynamic macro "stop recording" logic to a function (#21108)Ariane Emory
2023-05-20[Core] Add Repeat Key ("repeat last key") as a core feature. (#19700)Pascal Getreuer
Co-authored-by: casuanoob <96005765+casuanoob@users.noreply.github.com> Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
2023-05-15Keymap introspection for combos. (#19670)Nick Brassel
2023-05-10Fix Mod-Tap combo regression (#20669)Pete Sevander
* Add keyevent for combo keyrecord * Fix formatting * Update quantum/process_keycode/process_combo.c Co-authored-by: Sergey Vlasov <sigprof@gmail.com> * Add combo unit-tests and hot-fix process_record_tap_hint ...as this function tries to lookup the combo keys passed in. This will be refactored in a later pr. --------- Co-authored-by: Sergey Vlasov <sigprof@gmail.com> Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
2023-04-10Prevent Tri-Layer keys from stopping caps words (#20398)Ricardo Hermida Ruiz
2023-04-04[Core] Caps Word "Invert on shift" option: pressing Shift inverts the ↵Pascal Getreuer
shift state. (#20092) Co-authored-by: Nick Brassel <nick@tzarc.org>
2023-04-03[Core] Refactor `keyevent_t` for 1ms timing resolution (#15847)Stefan Kerkmann
2023-04-03Make IGNORE_MOD_TAP_INTERRUPT the default behaviour for mod-taps (#20211)precondition
2023-04-03Add direction to dynamic_macro_record_start_user (#19689)Johannes H. Jensen
2023-03-27Remove use of keymap.h (#20004)Joel Challis
2023-02-23Align magic keycodes (#19877)Joel Challis
2023-02-19Fix functions when `NO_ACTION_TAPPING` is defined (#11528)Drashna Jaelre
2023-02-18Align sequencer keycodes (#19875)Joel Challis
2023-02-15[Bug] Fix compiliation issue for Key Overrides (#19856)Drashna Jaelre
2023-02-13Add combo hook to allow per layer combo reference layers. (#16699)Eric.a Gebhart
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
2023-02-13Refactor Leader key feature (#19632)Ryan
Co-authored-by: Drashna Jaelre <drashna@live.com>
2023-02-12[Core] Tri Layer Keys (#19795)Drashna Jaelre
Co-authored-by: wilba <wilba@wilba.tech> Co-authored-by: Pablo Martínez <58857054+elpekenin@users.noreply.github.com> Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
2023-02-10Tidy up use of keycode range helpers (#19756)Joel Challis
2023-01-30Normalise Swap Hands keycodes (#19720)Ryan
2023-01-20Fix functions with empty params (#19647)Ryan
* Fix functions with empty params * Found a bunch more
2023-01-01Align definition of unicode_map (#19452)Joel Challis
2022-12-14Tap Dance: remove `qk_` prefix (#19313)Ryan
2022-12-15[Test] Reset timer for every unit test and provide timestamps for log ↵Stefan Kerkmann
messages (#17028)
2022-12-14Leader: remove `qk_` prefix (#19304)Ryan
2022-12-14UCIS: remove `qk_` prefix (#19302)Ryan
2022-12-13Remove IGNORE_MOD_TAP_INTERRUPT_PER_KEY in favour of ↵precondition
HOLD_ON_OTHER_KEY_PRESS_PER_KEY (#15741)
2022-11-07Align haptic feedback keycode names (#18964)Joel Challis
2022-11-07Normalise MIDI keycodes (#18972)Ryan
* `MI_ON`, `MI_OFF`, `MI_TOG` -> `MI_TOGG` * `MI_CH*`, `MI_CHU` -> `MI_CHNU`, `MI_CHD` -> `MI_CHND` * `MI_VEL_*` -> `MI_VL*`, `MI_VELU`, `MI_VELD` * `MI_TRNS_*` -> `MI_TR*`, `MI_TRNSU` -> `MI_TRSU`, `MI_TRNSD` -> `MI_TRSD` * `MI_OCT_*` -> `MI_OC*`, `MI_OCTU`, `MI_OCTD` * Misc controls * Note keycodes * Add legacy keycodes * Regenerate keycodes * Typo
2022-11-06Fix keycode parameter extraction to match the new DD keycodes (#18977)Sergey Vlasov
* Add macros to extract parameters from keycode values Implement both encoding and decoding for keycodes like TO(layer) or LM(layer, mod) in one place, so that the decoding won't get out of sync with the encoding. While at it, fix some macros for creating keycode values that did not apply the appropriate masks to parameters (and therefore could allow the result to be out of range if a wrong parameter was passed). * keymap_common: Use extraction macros for keycodes * pointing_device_auto_mouse: Use extraction macros for keycodes Fixes #18970. * process_autocorrect: Use extraction macros for keycodes * process_caps_word: Use extraction macros for keycodes (Also fix a minor bug - SH_TG was not handled properly) * process_leader: Use extraction macros for keycodes (Technically the code is not 100% correct, because it always assumes that the LT() or MT() action was a tap, but it's a separate issue that already existed before the keycode changes.) * process_unicode: Use extraction macros for keycodes * process_unicodemap: Use extraction macros for keycodes
2022-11-06Reworked backlight keycodes. (#18961)Nick Brassel
Co-authored-by: Ryan <fauxpark@gmail.com>
2022-11-05Align audio keycode names (#18962)Joel Challis
* Align audio keycode names * Update docs * Update quantum
2022-11-05Align dynamic tapping term keycode names (#18963)Joel Challis
* Align dynamic tapping term keycode names * regen header
2022-11-06Remove thermal printer. (#18959)Nick Brassel
2022-11-05Initial DD keycode migration (#18643)Joel Challis
* Initial DD keycode migration * Sort magic keycodes
2022-11-03Normalise Dynamic Macro keycodes (#18939)Ryan
* `DYN_REC_START1` -> `QK_DYNAMIC_MACRO_RECORD_START_1` * `DYN_REC_START2` -> `QK_DYNAMIC_MACRO_RECORD_START_2` * `DYN_MACRO_PLAY1` -> `QK_DYNAMIC_MACRO_PLAY_1` * `DYN_MACRO_PLAY2` -> `QK_DYNAMIC_MACRO_PLAY_2` * `DYN_REC_STOP` -> `QK_DYNAMIC_MACRO_RECORD_STOP` * Update docs
2022-10-31Normalise Unicode keycodes (#18898)Ryan
* `UC_MOD`/`UC_RMOD` -> `UC_NEXT`/`UC_PREV` * `UNICODE_MODE_*` -> `QK_UNICODE_MODE_*` * `UC_MAC` -> `UNICODE_MODE_MACOS` * `UC_LNX` -> `UNICODE_MODE_LINUX` * `UC_WIN` -> `UNICODE_MODE_WINDOWS` * `UC_BSD` -> `UNICODE_MODE_BSD` * `UC_WINC` -> `UNICODE_MODE_WINCOMPOSE` * `UC_EMACS` -> `UNICODE_MODE_EMACS` * `UC__COUNT` -> `UNICODE_MODE_COUNT` * `UC_M_MA` -> `UC_MAC` * `UC_M_LN` -> `UC_LINX` * `UC_M_WI` -> `UC_WIN` * `UC_M_BS` -> `UC_BSD` * `UC_M_WC` -> `UC_WINC` * `UC_M_EM` -> `UC_EMAC` * Docs * Update quantum/unicode/unicode.h
2022-10-28Normalise Auto Shift keycodes (#18892)Ryan
* Normalise Auto Shift keycodes * Add keycode table to main list * Add old keycodes to legacy header
2022-10-28Normalise Autocorrect keycodes (#18893)Ryan
2022-10-27Normalise Combo keycodes (#18877)Ryan
2022-10-27Normalise Space Cadet keycodes (#18864)Ryan
2022-10-25Deprecate `SECURE_*` keycodes for `QK_SECURE_*` (#18847)Joel Challis
* Deprecate SECURE_* keycodes for QK_SECURE_* * Update keycode process * Update process_secure.c * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
2022-10-25Deprecate `KEY_OVERRIDE_*` keycodes for `KO_*` (#18843)Ryan
2022-10-24Remove some assumptions on sequential keycode ranges (#18838)Joel Challis
2022-10-24added BS_TOGG so BS_SWAP and BS_NORM can be on a single key (#18837)Selene ToyKeeper
Co-authored-by: Selene ToyKeeper <git@toykeeper.net>
2022-10-24Deprecate `CAPS_WORD`/`CAPSWRD` for `CW_TOGG` (#18834)Ryan
2022-10-24Normalise Joystick and Programmable Button keycodes (#18832)Ryan
2022-10-21Deprecate `KC_LOCK` for `QK_LOCK` (#18796)Ryan
2022-10-21Deprecate `KC_LEAD` for `QK_LEAD` (#18792)Ryan
2022-10-15Programmable Button API refactor and improve docs (#18641)Ryan