Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make tap dance prefer tapping term from get_tapping_term over TAPPING_TERM #9806

Closed
wants to merge 1 commit into from

Conversation

Merlin04
Copy link
Contributor

Description

Adding the get_tapping_term method to your keymap.c allows you to control the tapping term from your code, and specify what it will be based on the keycode. Previously tap dance would not use this; it would only use the parameter passed to it (if you used ACTION_TAP_DANCE_FN_ADVANCED_TIME) or the defined TAPPING_TERM. This PR makes it use the result of get_tapping_term if TAPPING_TERM_PER_KEY is defined.

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Keyboard (addition or update)
  • Keymap/layout/userspace (addition or update)
  • Documentation

Issues Fixed or Closed by This PR

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

@tzarc tzarc requested a review from a team July 24, 2020 04:20
@Merlin04
Copy link
Contributor Author

Not sure why the CI build failed, it looks like some JavaScript error?

@fauxpark
Copy link
Member

Duplicate of #6259

@fauxpark fauxpark marked this as a duplicate of #6259 Jul 24, 2020
@drashna
Copy link
Member

drashna commented Jul 31, 2020

I agree with this change! but as fauxpark has pointed out, it's already been fixed on develop.

But thank you for the submission!

I'm going to go ahead and close this.

@drashna drashna closed this Jul 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Tap dance does not use the tapping term from get_tapping_term
4 participants