[GH-ISSUE #493] ["Push to Talk Feature"] Configure a specific key stroke to be always send to a client regardless of which computer has focus #384

Closed
opened 2026-05-05 06:14:29 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @Blutkoete on GitHub (Nov 15, 2019).
Original GitHub issue: https://github.com/debauchee/barrier/issues/493

#180 # Operating Systems ###

Server: Arch Linux

Client: Arch Linux

Barrier Version

2.3.2

Feature Request

My usecase for barrier is that I put my laptop to left of the two screens which are connected to my desktop computer, using barrier to share mouse and keyboard between laptop and desktop computer. The only situation that is tricky for me is if I'm using a voice chat software that I've configured for "Push to talk" (Discord, Steam, Team Speak, ...) because it won't trigger a voice chat client running on the other computer if my mouse currently on this computer.

I was wondering if it would be possbile to add a configuration option that a specific key stroke or combination is duplicated and always send to a second configurable computer if that computer does not have focus at the moment (so both the computer with focus and the second computer would get the event).

Example: I have three computers (A, B, C) connected with barrier, keyboard and mouse is connected to computer A. Computer B has focus. Computer C is running a voice chat software, CTRL is configured as the Push-to-Talk button in the voice chat software. I press CTRL, the barrier server recognizes it as my pre-configured "always send this key stroke to computer C" key combination and sends it B (because of focus) and C (because of the configuration option).

NOTE: This is purely a convenience feature, I admit :).

Thank you for your work on barrier (regardless of whether you like this idea or not),

Blutkoete

Originally created by @Blutkoete on GitHub (Nov 15, 2019). Original GitHub issue: https://github.com/debauchee/barrier/issues/493 #180 # Operating Systems ### Server: Arch Linux Client: Arch Linux ### Barrier Version ### 2.3.2 ### Feature Request ### My usecase for barrier is that I put my laptop to left of the two screens which are connected to my desktop computer, using barrier to share mouse and keyboard between laptop and desktop computer. The only situation that is tricky for me is if I'm using a voice chat software that I've configured for "Push to talk" (Discord, Steam, Team Speak, ...) because it won't trigger a voice chat client running on the *other* computer if my mouse currently on *this* computer. I was wondering if it would be possbile to add a configuration option that a specific key stroke or combination is duplicated and always send to a second configurable computer if that computer does not have focus at the moment (so both the computer with focus and the second computer would get the event). Example: I have three computers (A, B, C) connected with barrier, keyboard and mouse is connected to computer A. Computer B has focus. Computer C is running a voice chat software, CTRL is configured as the Push-to-Talk button in the voice chat software. I press CTRL, the barrier server recognizes it as my pre-configured "always send this key stroke to computer C" key combination and sends it B (because of focus) and C (because of the configuration option). **NOTE:** This is purely a convenience feature, I admit :). Thank you for your work on barrier (regardless of whether you like this idea or not), Blutkoete
gitea-mirror 2026-05-05 06:14:29 -06:00
Author
Owner

@therealromster commented on GitHub (Nov 17, 2019):

I just started to package barrier for CRUX Linux to use my windows 10 notebook from Linux with discord on the notebook, I too would love to be able to use a key on my roccat keyboard on CRUX to trigger push to talk on the notebook.

<!-- gh-comment-id:554729533 --> @therealromster commented on GitHub (Nov 17, 2019): I just started to package barrier for CRUX Linux to use my windows 10 notebook from Linux with discord on the notebook, I too would love to be able to use a key on my roccat keyboard on CRUX to trigger push to talk on the notebook.
Author
Owner

@candeira commented on GitHub (Dec 29, 2019):

This already exists. The Synergy-Core wiki calls this feature "keystrokes" and "actions".

https://github.com/symless/synergy-core/wiki/Text-Config#Actions

On my install (barrier 2.3.2-snapshot on linux server, barrier 2.1.10-RELEASE-8b69f9fe on macos client), the following server configuration will ensure that only the MacOS client named demerit receives the keystrokes for audio up, down and mute:

section: options
    keystroke(AudioUp) = keystroke(AudioUp, demerit)
    keystroke(AudioDown) = keystroke(AudioDown, demerit)
    keystroke(AudioMute) = keystroke(AudioMute, demerit)
end

@AdrianKoshka I suggest closing this issue as answered.

<!-- gh-comment-id:569482875 --> @candeira commented on GitHub (Dec 29, 2019): This already exists. The Synergy-Core wiki calls this feature "keystrokes" and "actions". https://github.com/symless/synergy-core/wiki/Text-Config#Actions On my install (barrier 2.3.2-snapshot on linux server, barrier 2.1.10-RELEASE-8b69f9fe on macos client), the following server configuration will ensure that only the MacOS client named `demerit` receives the keystrokes for audio up, down and mute: ``` section: options keystroke(AudioUp) = keystroke(AudioUp, demerit) keystroke(AudioDown) = keystroke(AudioDown, demerit) keystroke(AudioMute) = keystroke(AudioMute, demerit) end ``` @AdrianKoshka I suggest closing this issue as answered.
Author
Owner

@github-actions[bot] commented on GitHub (Oct 1, 2020):

Is this issue still an issue for you? Please do comment and let us know! Alternatively, you may close the issue yourself if it is no longer an problem

<!-- gh-comment-id:701709441 --> @github-actions[bot] commented on GitHub (Oct 1, 2020): Is this issue still an issue for you? Please do comment and let us know! Alternatively, you may close the issue yourself if it is no longer an problem
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#384
No description provided.