Qmk_firmware: Question: Using mod tap, but sometimes I get a hold when I intend to get a press

Created on 7 Jan 2018  路  7Comments  路  Source: qmk/qmk_firmware

Good Morning!

I am using the ModTap functionality to make the 'B' key a 'B' when tapped but a 'CTRL' key when held. See here.

This for the most part has been working fairly well. Unfortunately, sometimes I am getting a control when I am expecting to get a 'b'. This can result in odd behaviour like pressing CTRL-A.

Is there a timeout that I could tweak to help address this issue?

Thanks! If there is somewhere better that I should post this question, please let me know.

Jake

help wanted

All 7 comments

You should try to adjust the TAPPING_TERM timeout

#define TAPPING_TERM 200
how long before a tap becomes a hold

Alternatively, try add #define RETRO_TAPPING to your keymap's config.h, as this will send b if nothing else is hit while it's being treated as a hold.

What's the default value of TAPPING_TERM?

EDIT: Ehm, OK. I realize it was already defined to 200 in ./keyboards/ergodox_ez/config.h, in my case. Is there a way to only change the value for my specific layout, instead of every layout for the ergodox-ez keyboard?

If you add the following to your keymap's config.h file, it will set it for just your keymap:

#ifdef TAPPING_TERM
#undef TAPPING_TERM
#endif // TAPPING_TERM
#define TAPPING_TERM 175

Is there a way to have different timeouts for different keys? I'd like my Enter key to be slower than the Shift and Ctrl keys. Sorry for being picky.

And is there an IRC, where small questions like these can be asked?

No, there isn't. I mean, there is, but .. it doesn't work right (and is a PR, not in the official QMK repo).

So if you create a custom keycode for this, you could.

Though ...

Is there a way to have different timeouts for different keys? I'd like my Enter key to be slower than the Shift and Ctrl keys. > Sorry for being picky.

Do you mean for how often it repeats? Or for stuff like Mod Tap?

Also, for mod tap, adding the following to your config.h file may help with how they trigger:

#define IGNORE_MOD_TAP_INTERRUPT

Also, you should check out these options, too:
https://docs.qmk.fm/#/feature_advanced_keycodes?id=permissive-hold

And it sounds like this may have been resolved, or abandoned.
If not, then please reopen.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vokeio picture vokeio  路  3Comments

BenRoe picture BenRoe  路  3Comments

matz-e picture matz-e  路  4Comments

ghost picture ghost  路  3Comments

henrebotha picture henrebotha  路  4Comments