[GH-ISSUE #1198] Feature: Custom (multi key keybinding) #967

Open
opened 2026-05-05 07:20:26 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @bradkyle on GitHub (Jun 12, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1198

I am trying to implement a multi key command in barrier i.e.
keystroke(F9+d) = switchInDirection(down)
keystroke(F9+u) = switchInDirection(up)
Could anyone suggest how one might accomplish this?
Thanks

Originally created by @bradkyle on GitHub (Jun 12, 2021). Original GitHub issue: https://github.com/debauchee/barrier/issues/1198 I am trying to implement a multi key command in barrier i.e. keystroke(F9+d) = switchInDirection(down) keystroke(F9+u) = switchInDirection(up) Could anyone suggest how one might accomplish this? Thanks
Author
Owner

@eldorel commented on GitHub (Jun 16, 2021):

I'm not sure if you can combine two non-modifier keys like this, but this is how I have this setup for the same hotkey to rotate between systems and always return to my center computer from any other device when I hit ctrl at the same time.

keystroke(F13) = switchInDirection(up)
keystroke(Control+F13) = switchToScreen(MAINPC)

<!-- gh-comment-id:862603393 --> @eldorel commented on GitHub (Jun 16, 2021): I'm not sure if you can combine two non-modifier keys like this, but this is how I have this setup for the same hotkey to rotate between systems and always return to my center computer from any other device when I hit ctrl at the same time. keystroke(F13) = switchInDirection(up) keystroke(Control+F13) = switchToScreen(MAINPC)
Author
Owner

@PseudoResonance commented on GitHub (Feb 25, 2022):

I've also been looking for something like this. I've got a bunch of hotkeys setup on my computer that use multiple function keys, like F24 + F14 to do a separate action from F24 + F15. Discord supports it, and so do a few other programs, but it would be great if Barrier supported it too, as it can be a great way of organizing many hotkeys.

I know Windows' builtin hotkey system doesn't support this, but I'm not sure if Barrier uses that. I'm not experienced with this kind of keyboard input stuff and wasn't able to find it unfortunately.

<!-- gh-comment-id:1050605079 --> @PseudoResonance commented on GitHub (Feb 25, 2022): I've also been looking for something like this. I've got a bunch of hotkeys setup on my computer that use multiple function keys, like F24 + F14 to do a separate action from F24 + F15. Discord supports it, and so do a few other programs, but it would be great if Barrier supported it too, as it can be a great way of organizing many hotkeys. I know Windows' builtin hotkey system doesn't support this, but I'm not sure if Barrier uses that. I'm not experienced with this kind of keyboard input stuff and wasn't able to find it unfortunately.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#967
No description provided.