logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git
commit: 8b7c351e562f13bae5f25efb0120e13cfa491e9b
parent 196285c59c8ad906803747e1ca2de0de12e575cd
Author: Joel Challis <git@zvecr.com>
Date:   Sat, 24 May 2025 19:00:22 +0100

[Docs] Fix tap_hold code blocks (#25298)


Diffstat:

Mdocs/tap_hold.md4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/tap_hold.md b/docs/tap_hold.md @@ -450,7 +450,7 @@ Optionally, define the `is_flow_tap_key()` callback to specify where Flow Tap is The default implementation of this callback is: -```.c +```c bool is_flow_tap_key(uint16_t keycode) { if ((get_mods() & (MOD_MASK_CG | MOD_BIT_LALT)) != 0) { return false; // Disable Flow Tap on hotkeys. @@ -476,7 +476,7 @@ Optionally, for further flexibility, define the `get_flow_tap_term()` callback. The default implementation of this callback is -```.c +```c uint16_t get_flow_tap_term(uint16_t keycode, keyrecord_t* record, uint16_t prev_keycode) { if (is_flow_tap_key(keycode) && is_flow_tap_key(prev_keycode)) {