Skip to content

is there a way to check if a virtual/"fake" key is/was pressed, in a switch ? #827

Answered by jtroo
wis asked this question in Q&A
Discussion options

You must be logged in to vote

Something different between key history and input history is that the most-recently-pressed input (e.g. s when pressing a s) will already be s, and NOT a or fk_a.

So to make this work as intended, would need:

( (input-history virtual fk_s 2) )   (macro h e l l o a a spc ) break

( (input-history virtual fk_a 2) )   (macro h e l l o s s spc ) break

Replies: 1 comment 17 replies

Comment options

You must be logged in to vote
17 replies
@wis
Comment options

@jtroo
Comment options

Answer selected by wis
@bogorad
Comment options

@jtroo
Comment options

@bogorad
Comment options

@thomastthai
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
5 participants