Code Monkey home page Code Monkey logo

Comments (5)

pontus-albert avatar pontus-albert commented on July 22, 2024

I don't exactly know what features are included under the 'tap dance' headline, but having one behavior when you hold a button and another when you tap it is doable in Via.

Check out the list of key codes. If you want to use for instance shift and caps lock, I think the code is MT(MOD_LSFT, KC_CAPS) (wrote that from memory so check for yourself). If you want to change layer and do some other thing I think it's LT(1, KC_CAPS) for example.

You assign key codes by using the any binding.

from app.

Moghul avatar Moghul commented on July 22, 2024

Thank you! I didn't realize the features were supported under a different name!

from app.

vinorodrigues avatar vinorodrigues commented on July 22, 2024

Tap Dance is different from Mod Tap, or Layer Tap. While VIA supports both Mod Tap and Layer Tap, it does not support Tap Dance.

from app.

StevenCurran avatar StevenCurran commented on July 22, 2024

This does not appear to work for say remapping a hold of x to cntrl + x.

I have tried with via by using: MT(MOD_LCTL | KC_X, KC_X) but VIA rejects it.

Any suggestions on how it could be achieved?

from app.

AdrienLF avatar AdrienLF commented on July 22, 2024

Here is the doc about tap dance, which is different from Mod Tap or Layer Tap. It would be really useful to have it in VIA, as it is one of the most unique (and useful) feature of QMK.

https://github.com/samhocevar-forks/qmk-firmware/blob/master/docs/feature_tap_dance.md

from app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.