Skip to content

Combo and Multi-Shot Layer #499

Answered by jtroo
gkstlr202 asked this question in Q&A
Jul 20, 2023 · 15 comments · 1 reply
Discussion options

You must be logged in to vote

@gkstlr202

Regarding layer switching, kanata has no builtin solution for automatic layer switching today, so there are no examples for a kanata configuration that would do it. Others have created their own solutions (varies by operating system) which use external programs that interact with kanata. These are described in the issue that Dark linked to you. E.g. in Windows, the komokana project would be the one to look at.

For your request on multi-shot, I'm unsure about what exactly you're looking for, but I believe something like this might be it:

(defsrc caps w a s d)
(deflayer default (layer-while-held mouse) w a s d)
(deflayer mouse _ @mmu @mml @mmd @mmr)

(defvar
  mmove-itvl 7
  mmov…

Replies: 15 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jtroo
Comment options

You must be logged in to vote
1 reply
@jtroo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #494 on July 21, 2023 22:45.