Replies: 2 comments 2 replies
-
@TxHawks Hi! Keyboard shortcuts don’t allow binding to just a modifier key. There has been some asks of also supporting raw key events in Phoenix, this would likely be possible with that. However then you couldn’t exclusive react to the key press, but other apps would also react. You can do something like this: Key.on(
'e',
['control', 'shift'],
_.after(2, () => {
console.log('Function called after 2 invokes.');
}),
); |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to bind an action to when a key is double-tapped within a certain time?
I'd like to double tap the
alt
key to bring up my terminal app.Beta Was this translation helpful? Give feedback.
All reactions