summaryrefslogtreecommitdiff
path: root/quantum/process_keycode
AgeCommit message (Collapse)Author
2022-01-25Fix joystick button off-by-one error (#16037)Ryan
2021-11-26New feature: `DYNAMIC_TAPPING_TERM_ENABLE` (#11036)precondition
* 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
2021-11-25Add Retro Shift (Auto Shift for Tap Hold via Retro Tapping) and Custom Auto ↵Isaac Elenbaas
Shifts (#11059) * Add Retro Shift and Custom Auto Shifts * Fix compilation errors with no RETRO_SHIFT value
2021-11-17Format code according to conventions (#15195)QMK Bot
2021-11-13Merge remote-tracking branch 'origin/master' into developDrashna Jael're
2021-11-12add wait to unicode for win (#15061)Markus Fritsche
Co-authored-by: Markus Fritsche <fritsche.markus@gmail.com>
2021-11-03Basic keycode overhaul (#14726)Ryan
2021-11-02haptic: Feature to disable it when usb port is not configured or suspended. ↵Purdea Andrei
(#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.
2021-11-02define to AUTO_SHIFT_DISABLED_AT_STARTUP (#14201)Woody
Co-authored-by: agodinhost <agodinhost@globo.com>
2021-11-01Manually format develop (#15003)Joel Challis
2021-10-20Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-10-19Fix type of Tap Dance max index variable (#14887)Drashna Jaelre
2021-10-20Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-10-19Make the MAGIC_TOGGLE_GUI keycode work (#14886)Sergey Vlasov
2021-10-03Add LM() keys to the list of keys disabled by NO_HAPTIC_MOD (#14181)Purdea Andrei
2021-09-21Add ability to use numpad digits for unicode mode UC_WIN (#14496)Marcus van Houdt
Co-authored-by: Konstantin Đorđević <vomindoraan@gmail.com>
2021-09-15Add Support for USB programmable buttons (#12950)Thomas Weißschuh
2021-09-13Apply `TAP_CODE_DELAY` to Tap Dance key sequences (#14412)Drashna Jaelre
* Add support to tap dances * Move default tap code defines to header file
2021-08-30[Bug] Fix build error when enabling NO_HAPTIC_MOD (#14178)Purdea Andrei
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.
2021-08-18Add a toggle key for GUI On/Off in Magic feature (#13830)Drashna Jaelre
2021-08-18Steno combinedkeys (#12538)freqmod
* Add support for steno keys that press adjacent keys simultaniously * Add some docs for steno combined keys
2021-08-18Rgb matrix/enable modes explicitly (#13758)Drashna Jaelre
* Change animations to require explicet activation * Add support for legacy config * Make default for now * Add LED Matrix support * change LED Matrix docs
2021-08-14Fix `combo_disable` (#13988)Pete Sevander
- 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.
2021-08-06Process combos earlier & overlapping combos (#8591)Pete Sevander
* 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>
2021-08-01[BUG] Fix Key Override includes (#13831)Drashna Jaelre
* [BUG] Fix Key Override includes * simplify includes
2021-07-28Minor tidy up of key overrides (#13747)Joel Challis
* Minor tidy up of key overrides * Update quantum/quantum.c * Update quantum/quantum.c
2021-07-28matrix_scan_x -> x_task (#13748)Joel Challis
2021-07-25Haptic: driver-> feature (#13713)Joel Challis
2021-07-13[Feature] Key Overrides (#11422)Jonas Gessner
2021-06-23Remove rgblight stubs (#13302)Ryan
2021-04-28Fix bad PR merge for #6580. (#12721)Nick Brassel
2021-04-25Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-04-25Do not leak weak mods from tap dance to the interrupting keypress (#12471)Sergey Vlasov
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.
2021-04-25Format code according to conventions (#12680)github-actions[bot]
Co-authored-by: QMK Bot <hello@qmk.fm>
2021-04-25feat: infinite timeout for leader key (#6580)Daniel Rodríguez Rivero
* feat: implement leader_no_timeout logic * docs(leader_key): infinite leader timeout docs
2021-04-19Add Per Key functionality for AutoShift (#11536)Drashna Jaelre
Co-authored-by: Ryan <fauxpark@gmail.com>
2021-04-15Add missing RGB_MODE_TWINKLE / RGB_M_TW keycodes (#11935)Joshua Diamond
* 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>
2021-03-25Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-03-25Fix issues when manually shifting characters and Auto Shift (#12083)Drashna Jaelre
Specifically, when using the Auto-Shift feature, if you hold and roll shift, it would not actually shift the character that you hit after the shift
2021-03-25Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-03-25Fix handling multiples of the same MIDI note (fixes bug brought up in issue ↵jakobkg
#10199) (#11639) * Fix handling multiples of the same MIDI note * Extend MIDI note status to fix note releases
2021-03-12Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-03-12Remove hex_to_keycode and move tap_random_base64 to send_string.c (#12079)Ryan
2021-03-08LED Matrix: decouple from Backlight (#12054)Ryan
2021-01-19Fix wrong key when "Music Map" is used with MAJOR_MODE. (#11234)Takeshi Nishio
With MAJOR_MODE (= major scale), keys in one octave is not 12 but 7. To solve this problem, change divisor number from 12 to 7 at %(Modulo) and /(Division). NOTE: The last 12 represents half step keys in one octave for pitch calculation.
2021-01-04Fix Tap-Hold Configs (#11127)Drashna Jaelre
* Add proper prototypes for Tap-Hold Per Key functions * Fix handwired/tennie default keymap * Remove unneeded references * Fix tapping term per key check in space cadet * Pre-emptive fix for tap dance * Fix marksard/leftover30 * Replace hard coded tapping term with define
2020-12-26Change include guards in quantum/ to pragma once (#11239)Ryan
2020-12-23Partial fix for Issue #9405 - Caps Lock not working with Unicode Map's XP on ↵Joshua Diamond
Linux (#11232)
2020-12-22Fix Issue #9533 - Delayed shift state handling (#11220)Joshua Diamond
Co-authored-by: Ryan <fauxpark@gmail.com>
2020-12-11Normalise include statements in core code (#11153)Ryan
* Normalise include statements in core code * Missed one