You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
instead of those two cases. I didn't try it for this example but I think I encountered somthing similar before. For the reset section, I didn't use the defult case and it works fine. I checked my keymap and it actually has the default case in both td_finished and td_reset section.
ForsakenRei
added a commit
to ForsakenRei/qmk_firmware
that referenced
this issue
Oct 20, 2021
After checking the doc, in example 6 there is another solution: ql_tap_state.state = TD_NONE;
I'm not sure what's the difference XD but it should also work.
Hey,
I've implemented the behaviour explained in the 5th example of the tap dance section, but the compiler threw the following errors:
error: enumeration value 'TD_NONE' not handled in switch
error: enumeration value 'TD_UNKNOWN' not handled in switch
I've fixed it adding
to both functions with a case switch.
qmk_firmware/docs/feature_tap_dance.md
Line 384 in 2353232
qmk_firmware/docs/feature_tap_dance.md
Line 399 in 2353232
I'm not submitting a PR because I can't write C and I don't know if my fix is a good solution.
Thanks for maintaining this package!
The text was updated successfully, but these errors were encountered: