jfedor2 / hid-remapper

USB input remapping dongle
Other
1.06k stars 124 forks source link

Suggestion: Double-tap input mappings #4

Open voussoir opened 2 years ago

voussoir commented 2 years ago

Hi, thanks for this great software.

I'd like to make a feature suggestion: double-tap inputs.

My use case is a trackball mouse where I'd like to do a double-middle-click to enter Layer 1 where the ball becomes a scroll wheel. That way I could still do single middle-click normally and not have to assign a whole separate button to Layer 1.

Also, I think it would be nice if:

Layer activating mappings work on all layers, regardless of which layer they are defined on.

was optional. I'm imagining double-middle-click while on L0 enters L1, and then a single middle-click while on L1 goes back to L0. I can also imagine defining a single button that rotates through several layers one at a time with a different layer activate command on each layer, but that's a whole other idea!

222Phoenix commented 1 month ago

@jfedor2, do you think double tap action will be possible in the future? It would be greatly helpful for all devices, but especially those with only a few buttons (like a 3-button L-Trac) to have a tap action, a hold action, and a double tap action. This is probably the feature that I use the most in QMK, hope it comes to HID-remapper.