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.
Sergey Vlasov 610035dce8
Add HOLD_ON_OTHER_KEY_PRESS option for dual-role keys (#9404)
* Add HOLD_ON_OTHER_KEY_PRESS option for dual-role keys

Implement an additional option for dual-role keys which converts the
dual-role key press into a hold action immediately when another key is
pressed (this is different from the existing PERMISSIVE_HOLD option,
which selects the hold action when another key is tapped (pressed and
then released) while the dual-role key is pressed).  The Mod-Tap keys
already behave in a similar way, unless the IGNORE_MOD_TAP_INTERRUPT
option is enabled (but with some additional delays); the added option
makes this behavior available for all other kinds of dual-role keys.

* [Docs] Update tap-hold docs for HOLD_ON_OTHER_KEY_PRESS

Document the newly added HOLD_ON_OTHER_KEY_PRESS option and update the
documentation for closely related options (PERMISSIVE_HOLD and
IGNORE_MOD_TAP_INTERRUPT).

Use Layer Tap instead of Mod Tap in examples for PERMISSIVE_HOLD and
HOLD_ON_OTHER_KEY_PRESS, because the effect of using these options with
Mod Tap keys is mostly invisible without IGNORE_MOD_TAP_INTERRUPT.

Add comments before return statements in sample implementations of
`get_ignore_mod_tap_interrupt()`, `get_hold_on_other_key_press()` and
`get_permissive_hold()`.

Thanks to @Erovia and @precondition for comments and suggestions to
improve the documentation.
4 years ago
..
arm_atsam Merge remote-tracking branch 'origin/master' into develop 4 years ago
avr Merge remote-tracking branch 'origin/master' into develop 4 years ago
chibios Merge remote-tracking branch 'origin/master' into develop 4 years ago
test Avoid name conflicts with usb_hid Arduino code (#13870) 4 years ago
action.c Process combos earlier & overlapping combos (#8591) 4 years ago
action.h Process combos earlier & overlapping combos (#8591) 4 years ago
action_code.h
action_layer.c Improve layer mask handling (#13065) 4 years ago
action_layer.h Improve layer mask handling (#13065) 4 years ago
action_macro.c
action_macro.h
action_tapping.c Add HOLD_ON_OTHER_KEY_PRESS option for dual-role keys (#9404) 4 years ago
action_tapping.h Process combos earlier & overlapping combos (#8591) 4 years ago
action_util.c [Feature] Key Overrides (#11422) 4 years ago
action_util.h 2021 May 29 Breaking Changes Update (#13034) 5 years ago
atomic_util.h
bootloader.h
eeconfig.c 2021 May 29 Breaking Changes Update (#13034) 5 years ago
eeconfig.h 2021 May 29 Breaking Changes Update (#13034) 5 years ago
eeprom.h
gpio.h
host.c Extensible split data sync (#11930) 5 years ago
host.h
host_driver.h
keyboard.c Add CRC8 calculation subsystem to quantum (#12641) 5 years ago
keyboard.h 2021 May 29 Breaking Changes Update (#13034) 5 years ago
keycode.h
pin_defs.h
progmem.h __flash? (#13799) 4 years ago
raw_hid.h
report.c
report.h
sleep_led.h
suspend.h
sync_timer.c Add sync_timer support over serial_link (i.e. Ergodox Infinity) (#12845) 5 years ago
sync_timer.h Add sync_timer support over serial_link (i.e. Ergodox Infinity) (#12845) 5 years ago
timer.h Merge remote-tracking branch 'upstream/master' into develop 4 years ago
usb_util.c Avoid LTO conficts on arm_atsam (#13676) 4 years ago
usb_util.h Avoid LTO conficts on arm_atsam (#13676) 4 years ago
virtser.h
wait.h 2021 May 29 Breaking Changes Update (#13034) 5 years ago