qmk/qmk_firmware

Mod Tap or Tap Dance requires two taps to initiate

Open

#16.855 geöffnet am 15. Apr. 2022

Auf GitHub ansehen
 (7 Kommentare) (1 Reaktion) (0 zugewiesene Personen)C (43.867 Forks)batch import
bughelp wanted

Repository-Metriken

Stars
 (20.368 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 20T 9h) (27 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide