Skip to content

Way to execute an action when all input buttons have been released? #908

Answered by sabudum
sabudum asked this question in Q&A
Discussion options

You must be logged in to vote

Solved it by creating the remaps as follow:
L1+L2 mapped to macro hold().key_up(KEY_LEFTALT)
L1+L2+Select mapped to macro key_down(KEY_LEFTALT).key(KEY_TAB)

This makes the combo L1+L2 always release the Alt key when released, which is not a problem if Alt is not being pressed.
And the combo L1+L2+Select always holds Alt down, which will be released when L1+L2 is also released.

Replies: 2 comments

Comment options

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

You must be logged in to vote
0 replies
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