qmk/qmk_firmware

Mod Tap or Tap Dance requires two taps to initiate

Open

#16.855 aperta il 15 apr 2022

Vedi su GitHub
 (7 commenti) (1 reazione) (0 assegnatari)C (43.867 fork)batch import
bughelp wanted

Metriche repository

Star
 (20.368 star)
Metriche merge PR
 (Merge medio 20g 9h) (27 PR mergiate in 30 g)

Descrizione

Describe the Bug

Whenever I use my keyboard again after a while, mod tap or tap dance do not work when tapping once. For mod tap I have to press twice for it to activate atleast once. Also for tap dance I cannot even activate single tap key as I'm only handling the state for single tap and single hold.

For example if I have a mod tap setup to send Control on hold and Z on tap, it will not send Z on the first tap. Instead it would only send after tapping it again for the second time. Hold works perfectly fine in all cases, but tapping does not.

The only way I have managed to find a fix is by unplugging the USB-C cable and replugging it into the microcontroller.

System Information

Keyboard: Cantor Revision (if applicable): Operating system: macOS qmk doctor output:

Ψ QMK Doctor is checking your environment.
Ψ CLI version: 1.0.0
Ψ QMK home: /Users/parsa/qmk_firmware
Ψ Detected macOS 12.3.
Ψ Git branch: master
Ψ Repo version: 0.16.7
Ψ CLI installed in virtualenv.
Ψ All dependencies are installed.
Ψ Found arm-none-eabi-gcc version 8.3.1
Ψ Found avr-gcc version 8.4.0
Ψ Found avrdude version 6.4
Ψ Found dfu-util version 0.11
Ψ Found dfu-programmer version 0.7.2
Ψ Submodules are up to date.
Ψ QMK is ready to go

Any keyboard related software installed?

  • AutoHotKey (Windows)
  • Karabiner (macOS)
  • Other:

Additional Context

The Cantor keyboard has not been merged yet into the master branch, however this is the pr for adding it.

And here is my keymap.

There has been another PR with the same issue and microcontroller, but I'm not sure if it stems from the keyboard going to sleep.

Guida contributor