Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tap-Hold support? #8

Open
a9udn9u opened this issue Aug 31, 2020 · 11 comments
Open

Tap-Hold support? #8

a9udn9u opened this issue Aug 31, 2020 · 11 comments

Comments

@a9udn9u
Copy link

a9udn9u commented Aug 31, 2020

Is there plan to support configuring tap-hold keys?

@Pastitas
Copy link

Pastitas commented Oct 23, 2020

I am also interested in this, is there any intention of supporting all features from qmk? i'm specifically interested in the Modifier Keys with the fuction while holding and another when tapped, LALT(kc) and so.
If not, what would be necesary to make it work?

@olivavek
Copy link

I'm also interested in this feature.

@pingshunhuangalex
Copy link

It's kinda supported already. You can use the Any in the special key section and use mod-tap function directly.

Don't forget to use the MT() instead of shortcut or aliases as they may not be supported in some cases (https://docs.qmk.fm/#/mod_tap?id=caveats).

@aegatlin
Copy link

@pingshunhuangalex thank you for pointing out the Any special key. That is such a powerful key/feature I wonder if it would be beneficial to call it out in the docs? As a new user to Via, I was about to sadly move on to editing raw QMK source code (yet again) because I didn't realize what Any really was. Now I'm excited to continue using Via. On the off-chance other new users are like me, mentioning the power of Any somewhere early in the docs or website could help.

Thank you, and excited to continue using Via :D

@ctconwell
Copy link

Reviving this thread to say that I wish VIA could configure tap-hold time, or TAPPING_TERM in the QMK config file. I have a CIDOO/Finalkey V65 V2 and use Space Fn1 almost exclusively to access layer 1. However, for whatever reason, the default tap-hold time on this keyboard seems shorter than my others (also flashed with VIA), so I end up missing a lot of space keystrokes. Re-flashing this board with VIAL has been challenging because I can't get it to enter bootloader mode. To have this option in VIA would be really powerful.

@trustednstaller
Copy link

Experiencing similar issues. They key that is supposed to get triggered on hold, gets triggered on a tap a majority of the time, unless I do it slowly. This is absurd. Also the Any key is simply not flexibly enough when it comes to modifiers. There shouldn't be a limit on the tap/hold functionality to a limited set of keys. It should apply to all keys. There is a LALT (hold) ( (tap) key. Why? If you can do this, you should allow the capacity for any key. It is so difficult to get used to VIA on my Ferris coming from a PLANCK. If all this can be done in the source code, please anyone direct me to the right code/docs etc. Wouldn't mind doing this.

@oc-tk
Copy link

oc-tk commented Jun 24, 2023

I have same problem. I would like to bind some keys together, for example Enter and Win key and Any key just does not allow me to insert this value :C

@martin-braun
Copy link

martin-braun commented Aug 24, 2023

It's kinda supported already. You can use the Any in the special key section and use mod-tap function directly.

Don't forget to use the MT() instead of shortcut or aliases as they may not be supported in some cases (docs.qmk.fm/#/mod_tap?id=caveats).

It doesn't work for me on the Keychron K7 Pro, because the UI won't accept my input:

Screenshot 2023-08-24 at 16 13 47

Why is "Confirm" greyed out, please? I already disabled fast key mapping without success.

EDIT: Ok I figured it out. To enable another layer when holding a key, I have to use the LT function.

So instead of MT(MO(3), KC_ESC) I have to use LT(3, KC_ESC).

Nice.

@Rizautomo
Copy link

I have similar issue with this. My board is local board from Indonesia which using json file to load the through via definitions. Even tho I'm writing using Any on via and it written well (got some evidence on via ui accepting the qmk code), seems layer tap and mod tap doesnt support with this current version of this board json file. #
Screenshot 2024-06-07 003941

on the key tester tabs, the qmk writing doesnt tell the keyboard anything to do

@antidoid
Copy link

same issue with my ajazz aks068 pro keybaord, I have this doubt as I'm unsure if my keyboard is qmk supported.
Is there any difference b/w VIA compatible and VIA/QMK support if so how do you confirm which one does your keyboard support?

@PetarBoshnakov
Copy link

PetarBoshnakov commented Oct 10, 2024

I would quite like to see some option or way to increase or modify the hold time. At the moment i just get multiple activations when i type fast (on Q1 HE) as the keypress is registered for longer there.

Meanwhile, to the question regarding why you cannot extend the functionality of MT() please read here in the QMK guide:
https://docs.qmk.fm/mod_tap#caveats

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests