Repository navigation
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.');
}),
); |
2 replies
|
Thanks! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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
altkey to bring up my terminal app.All reactions