Skip to content
Discussion options

You must be logged in to vote

You can use fork or switch to change behaviour while a modifier is pressed.

Link to simulator

Permalink

Simulator config

(defsrc)
(defvirtualkeys v-esc esc)
(defseq v-esc (\ \))

(deflayermap (base)
  \ (switch
      (lsft rsft lctl rctl lalt ralt lsft rsft) \ break
      () (macro (sequence 200 hidden-delay-type) 5 \) break
    )
)

Simulator input

d:ShiftRight t:39 d:Backslash t:48 u:ShiftRight t:21 u:Backslash t:9000

Simulator output

out:   ↓(press) RShift
t:              40ms
out:   ↓(press) Bslash
t:              47ms
out: ↑(release) RShift
t:              21ms
out: ↑(release) Bslash

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@jtroo
Comment options

@jtroo
Comment options

@sylvorg
Comment options

@jtroo
Comment options

Answer selected by sylvorg
@sylvorg
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
2 participants