Open lukakemperle opened 2 years ago
{:des "Spacebar Mode"
:rules [:space-mode
[:1 [:!Q0 ["doublepress-mode" 0]] [:xd ["doublepress-mode" 1]]] ; double click
[:1 ["doublepress-mode" 1] :xd { ; single clicke
:delayed {:invoked [["doublepress-mode" 0] :!Q3]}
:params {:delay 300}
}]
]
above config (just put :xd as condition in both press) should work, if you've tried it and it won't work.
try put the :xd
condition into :layers
defination
:layers {
:xd-space-mode {:key :spacebar :condi :xd}
}
I'm struggling with the double press implementation and application condition: I would like to restrict this double press in
space-mode
to only Adobe XD.The double press works as expected, anyway, not with the
:xd
condition.Thank you for your suggestions!