summaryrefslogtreecommitdiffstats
path: root/quantum/process_keycode
Commit message (Collapse)AuthorAgeFilesLines
* Format code according to conventions (#16322)QMK Bot2022-02-1221-131/+239
|
* Pass in the keyrecord_t of the dual-role/tapping key when calling per-key ↵precondition2022-02-111-1/+1
| | | | | | | tap hold functions (#15938) * Replace keyp by &tapping_key in the record arg of per-key tap hold funcs * Replace NULL by &(keyrecord_t){} in 2nd arg of get_tapping_term
* [Bug] Fix layer_state restoration at end of dynamic macro feature (#16230)Desprez Jean-Marc2022-02-061-1/+1
|
* Combo `TAP_CODE_DELAY` and `clear_weak_mods` (#15866)Pete Sevander2022-01-281-0/+13
|
* Merge remote-tracking branch 'origin/master' into developQMK Bot2022-01-251-2/+3
|\
| * Fix joystick button off-by-one error (#16037)Ryan2022-01-251-2/+3
| |
* | Rip out old macro and action_function system (#16025)Ryan2022-01-241-3/+0
| | | | | | | | | | | | | | * Rip out old macro and action_function system * Update quantum/action_util.c Co-authored-by: Joel Challis <git@zvecr.com>
* | Rename some Quantum keycodes (#15968)Ryan2022-01-221-2/+2
| | | | | | | | | | * Rename some Quantum keycodes * Tweak EEPROM clear and debug keycode short aliases
* | New combo configuration options (#15083)Pete Sevander2022-01-091-1/+38
| | | | | | Co-authored-by: precondition <57645186+precondition@users.noreply.github.com>
* | Unify the key up/down behaviour of RGB keycodes (#15730)Joel Challis2022-01-061-5/+1
| |
* | Migrate serial_uart usages to UART driver (#15479)Ryan2021-12-152-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Migrate Thermal Printer feature to UART driver * Migrate 40percentclub UT47 to UART driver * Migrate Centromere to UART driver * Migrate Chimera Ergo to UART driver * Migrate Chimera Let's Split to UART driver * Migrate Chimera Ortho to UART driver * Migrate Chimera Ortho Plus to UART driver * Migrate Comet46 to UART driver * Migrate Palm USB converter to UART driver * Migrate Sun USB converter to UART driver * Migrate Dichotomy to UART driver * Migrate Honeycomb to UART driver * Migrate Mitosis to UART driver * Migrate Redox W to UART driver * Migrate Uni660 to UART driver * Migrate Telophase to UART driver
* | added missing audio_off_user() callback (#15457)Dipl.-Ing. Raoul Rubien, BSc2021-12-112-0/+2
| | | | | | Co-authored-by: Raoul Rubien <raoul.rubienr@gmail.com>
* | Implement MAGIC_TOGGLE_CONTROL_CAPSLOCK (#15368)Joel Challis2021-11-301-0/+4
| |
* | Added cancel_key_lock function (#15321)wheredoesyourmindgo2021-11-292-0/+6
|/
* New feature: `DYNAMIC_TAPPING_TERM_ENABLE` (#11036)precondition2021-11-262-0/+76
| | | | | | | | | * New feature: `DYNAMIC_TAPPING_TERM_ENABLE` 3 new quantum keys to configure the tapping term on the fly. * Replace sprintf call in tapping_term_report by get_u16_str * Replace tab with 4 spaces
* Add Retro Shift (Auto Shift for Tap Hold via Retro Tapping) and Custom Auto ↵Isaac Elenbaas2021-11-252-95/+346
| | | | | | | Shifts (#11059) * Add Retro Shift and Custom Auto Shifts * Fix compilation errors with no RETRO_SHIFT value
* Format code according to conventions (#15195)QMK Bot2021-11-171-5/+5
|
* Merge remote-tracking branch 'origin/master' into developDrashna Jael're2021-11-131-0/+1
|\
| * add wait to unicode for win (#15061)Markus Fritsche2021-11-121-0/+1
| | | | | | Co-authored-by: Markus Fritsche <fritsche.markus@gmail.com>
* | Basic keycode overhaul (#14726)Ryan2021-11-0310-93/+93
| |
* | haptic: Feature to disable it when usb port is not configured or suspended. ↵Purdea Andrei2021-11-021-1/+2
| | | | | | | | | | | | | | (#12692) This also add support for specifying a LED pin to indicate haptic status, and also adds support for a haptic-enable pin, which is useful to turn off the boost converter on the solenoid driver.
* | define to AUTO_SHIFT_DISABLED_AT_STARTUP (#14201)Woody2021-11-021-1/+7
| | | | | | Co-authored-by: agodinhost <agodinhost@globo.com>
* | Manually format develop (#15003)Joel Challis2021-11-013-96/+101
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-10-201-1/+1
|\|
| * Fix type of Tap Dance max index variable (#14887)Drashna Jaelre2021-10-191-1/+1
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-10-201-0/+1
|\|
| * Make the MAGIC_TOGGLE_GUI keycode work (#14886)Sergey Vlasov2021-10-191-0/+1
| |
* | Add LM() keys to the list of keys disabled by NO_HAPTIC_MOD (#14181)Purdea Andrei2021-10-031-0/+1
| |
* | Add ability to use numpad digits for unicode mode UC_WIN (#14496)Marcus van Houdt2021-09-211-10/+37
| | | | | | Co-authored-by: Konstantin Đorđević <vomindoraan@gmail.com>
* | Add Support for USB programmable buttons (#12950)Thomas Weißschuh2021-09-152-0/+54
|/
* Apply `TAP_CODE_DELAY` to Tap Dance key sequences (#14412)Drashna Jaelre2021-09-131-0/+2
| | | | | * Add support to tap dances * Move default tap code defines to header file
* [Bug] Fix build error when enabling NO_HAPTIC_MOD (#14178)Purdea Andrei2021-08-301-0/+1
| | | | | Without this build would fail, if a keyboard had haptic feedback enabled, TAPPING_TOGGLE was not overridden in a config.h, and if NO_HAPTIC_MOD was defined in config.h.
* Add a toggle key for GUI On/Off in Magic feature (#13830)Drashna Jaelre2021-08-181-0/+3
|
* Steno combinedkeys (#12538)freqmod2021-08-181-0/+15
| | | | | * Add support for steno keys that press adjacent keys simultaniously * Add some docs for steno combined keys
* Rgb matrix/enable modes explicitly (#13758)Drashna Jaelre2021-08-181-3/+3
| | | | | | | | | | | * Change animations to require explicet activation * Add support for legacy config * Make default for now * Add LED Matrix support * change LED Matrix docs
* Fix `combo_disable` (#13988)Pete Sevander2021-08-141-8/+10
| | | | | | - Dump key buffer when combos are disabled. - Recursive calls to `dump_key_buffer` need to start dumping the buffer from index i+1 to avoid possible infinite loops. - Handle combo key releases even though combo processing is disabled.
* Process combos earlier & overlapping combos (#8591)Pete Sevander2021-08-062-108/+476
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Combo processing improvements. Now it is possible to use ModTap and LayerTap keys as part of combos. Overlapping combos also don't trigger all the combos, just exactly the one that you press. New settings: - COMBO_MUST_HOLD_MODS - COMBO_MOD_TERM - COMBO_TERM_PER_COMBO - COMBO_MUST_HOLD_PER_COMBO - COMBO_STRICT_TIMER - COMBO_NO_TIMER * Remove the size flags from combo_t struct boolean members. This in the end actually saves space as the members are accessed so many times. The amount of operations needed to access the bits uses more memory than setting the size saves. * Fix `process_combo_key_release` not called correctly with tap-only combos * Fix not passing a pointer when NO_ACTION_TAPPING is defined. * Docs for `COMBO_ONLY_FROM_LAYER` * Update docs/feature_combo.md Co-authored-by: precondition <57645186+precondition@users.noreply.github.com> * Update quantum/process_keycode/process_combo.c Co-authored-by: precondition <57645186+precondition@users.noreply.github.com> * Add `EXTRA_SHORT_COMBOS` option. Stuff combo's `disabled` and `active` flags into `state`. Possibly can save some space. * Add more examples and clarify things with dict management system. - Simple examples now has a combo that has modifiers included. - The slightly more advanced examples now are actually more advanced instead of just `tap_code16(<modded-keycode>)`. - Added a note that `COMBO_ACTION`s are not needed anymore as you can just use custom keycodes. - Added a note that the `g/keymap_combo.h` macros use the `process_combo_event` function and that it is not usable in one's keymap afterwards. * Update docs/feature_combo.md Co-authored-by: precondition <57645186+precondition@users.noreply.github.com> * Update docs/feature_combo.md Co-authored-by: precondition <57645186+precondition@users.noreply.github.com> * Update docs/feature_combo.md Co-authored-by: precondition <57645186+precondition@users.noreply.github.com> * Update docs/feature_combo.md Co-authored-by: precondition <57645186+precondition@users.noreply.github.com> * Update docs/feature_combo.md Co-authored-by: precondition <57645186+precondition@users.noreply.github.com> * Change "the" combo action example to "email" example. * Update docs/feature_combo.md Co-authored-by: precondition <57645186+precondition@users.noreply.github.com> * Fix sneaky infinite loop with `combo_disable()` No need to call `dump_key_buffer` when disabling combos because the buffer is either being dumped if a combo-key was pressed, or the buffer is empty if a non-combo-key is pressed. * Update docs/feature_combo.md Co-authored-by: precondition <57645186+precondition@users.noreply.github.com> * Update docs/feature_combo.md Co-authored-by: precondition <57645186+precondition@users.noreply.github.com> Co-authored-by: precondition <57645186+precondition@users.noreply.github.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
* [BUG] Fix Key Override includes (#13831)Drashna Jaelre2021-08-011-1/+1
| | | | | * [BUG] Fix Key Override includes * simplify includes
* Minor tidy up of key overrides (#13747)Joel Challis2021-07-283-29/+11
| | | | | | | * Minor tidy up of key overrides * Update quantum/quantum.c * Update quantum/quantum.c
* matrix_scan_x -> x_task (#13748)Joel Challis2021-07-286-6/+6
|
* Haptic: driver-> feature (#13713)Joel Challis2021-07-252-0/+168
|
* [Feature] Key Overrides (#11422)Jonas Gessner2021-07-133-0/+689
|
* Remove rgblight stubs (#13302)Ryan2021-06-231-1/+0
|
* Fix bad PR merge for #6580. (#12721)Nick Brassel2021-04-281-2/+0
|
* Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-251-0/+4
|\
| * Do not leak weak mods from tap dance to the interrupting keypress (#12471)Sergey Vlasov2021-04-251-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Tap dance callbacks may register weak mods; one case when it happens is when a tap dance registers a key with modifiers. When the tap dance is interrupted by pressing another key, these weak mods could affect the interrupting key (normally any stale weak mods are cleared at the start of action_exec() when handling a keypress event, but the tap dance interrupt check code is called later, and the weak mods left by that code were not cleared). Add another clear_weak_mods() call to preprocess_tap_dance() to make sure that the interrupting keypress is not affected by unrelated weak mods from the previous tap dance. Fixes #12445.
* | Format code according to conventions (#12680)github-actions[bot]2021-04-251-2/+2
| | | | | | Co-authored-by: QMK Bot <hello@qmk.fm>
* | feat: infinite timeout for leader key (#6580)Daniel Rodríguez Rivero2021-04-252-2/+12
| | | | | | | | | | * feat: implement leader_no_timeout logic * docs(leader_key): infinite leader timeout docs
* | Add Per Key functionality for AutoShift (#11536)Drashna Jaelre2021-04-192-7/+14
| | | | | | Co-authored-by: Ryan <fauxpark@gmail.com>
* | Add missing RGB_MODE_TWINKLE / RGB_M_TW keycodes (#11935)Joshua Diamond2021-04-151-0/+5
| | | | | | | | | | | | | | | | | | * Add missing RGB_MODE_TWINKLE / RGB_M_TW keycodes * Better comment Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>