You are not logged in.

#1 2023-08-13 15:13:46

Miuzore
Member
Registered: 2022-10-14
Posts: 30

Getting push to talk for Discord to work on Sway (wayland)

Hi, I've been trying to get push to talk for Discord to work under all applications, with very little success. Currently, if I use Discord's implementation of push to talk, my input only gets recognized inside Discord and xwayland applications. It is somewhat functional, but it's annoying having to switch to another window in order to just talk, which is why I've been trying to get different solutions to work.

So far, I've tried installing input-remapper-git from AUR and rebinding my push to talk key (which is a side mouse button) to some other key in hopes that maybe it will maybe get listened to all the time but that did not work. Another thing I've tried was leaving the push to talk up to the window manager with these lines in the configuration:

    bindsym --no-repeat XF86NumericPound exec amixer -D pipewire set Capture 1+ toggle
    bindsym --no-repeat --release XF86NumericPound exec amixer -D pipewire set Capture 1+ toggle

This did somewhat work, but it brought another issue where if I were to press a different key while I was holding the button for push to talk, the release event would never trigger upon letting go of the push to talk button.

Any ideas or suggestions would be greatly appreciated.

Offline

Board footer

Powered by FluxBB