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

No way to easily combine layer switching with tap dancing #1532

Closed
Ptomerty opened this issue Aug 1, 2017 · 0 comments
Closed

No way to easily combine layer switching with tap dancing #1532

Ptomerty opened this issue Aug 1, 2017 · 0 comments

Comments

@Ptomerty
Copy link
Contributor

Ptomerty commented Aug 1, 2017

Desired code: Something like [TD_ESC_T1] = ACTION_TAP_DANCE_DOUBLE(KC_ESC, TO(_LOWER))

Current solution: define custom function, as provided by @algernon https://github.com/algernon/ergodox-layout/blob/509fb348a61a8963c9a3e38fd2ddb5dc3b8254df/keymap.c#L749-L777

jackhumbert pushed a commit that referenced this issue Aug 2, 2017
This adds the `ACTION_TAP_DANCE_DUAL_ROLE` helper, which makes it easy to have
keys that act as a key on the first tap, and as a layer toggle on the second.

Fixes #1532, reported by @Ptomerty.

Signed-off-by: Gergely Nagy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant