hid-remapper icon indicating copy to clipboard operation
hid-remapper copied to clipboard

Unexpected tap hold behavior with macro

Open rabidalpaca opened this issue 1 year ago • 3 comments

Is the expected behavior of tap hold where:

Input Output Layer Sticky Tap Hold "1" "1" 1 x "1" "2" 1 x

Hold returns "2"
Tap returns "1"

Whereas:

Input Output Layer Sticky Tap Hold "1" "1" 1 x "1" Macro1 1 x and Macro1 = "2"

Hold returns "2"
Tap returns "21"

My setup: Keyboard: DAS Keyboard 4 Pro HID Remapper: Adafruit Feather RP2040 USB Host board from Adafruit UF2: https://github.com/jfedor2/hid-remapper/releases/latest/download/remapper_feather.uf2 Flashed with: https://www.jfedor.org/hid-remapper-config/

BTW thanks for the great project. I think adding a modifier support to the output would be a nice feature as well as some of the others tagged feature. I'm ultimately trying to achieve something similar to tap(1) = "1" and hold(1) = "!".

Thanks.

rabidalpaca avatar Dec 24 '23 12:12 rabidalpaca

Macros aren't currently compatible with tap-hold. I think that could be improved, but for a simple modifier you don't need macros, just make two separate mappings, both with hold enabled: 1 -> 1 1 -> shift

jfedor2 avatar Dec 24 '23 13:12 jfedor2

Got it, that works! Thanks!

rabidalpaca avatar Dec 24 '23 13:12 rabidalpaca

"Hold" macro mappings should also work correctly now in the latest release.

jfedor2 avatar Jan 10 '24 18:01 jfedor2