Writing this for my FUTURE SELF when I need it. But anyone else, please pitch in a suggestion.
So! Just got Ashes of Creation and joined a Discord group. But Push to Talk doesn't work in Discord from what I can tell. I'm on Nobara with Flatpak Discord.
After too much searching, what I did is the following:
Created 2 custom keyboard shortcuts:
-
PTT Down mapped to BACKSLASH
-
pactl set-source-mute alsa_input.usb-Insta360_Insta360_Link-02.mono-fallback false
- PTT Up mapped to FORWARDSLASH
- pactl set-source-mute alsa_input.usb-Insta360_Insta360_Link-02.mono-fallback true
THEN in Input Mapper I mapped GRAVE to:
- k(KEY_BACKSLASH).h().k(KEY_SLASH)
That way when I hold GRAVE it pushes the BACKSLASH which runs the Mute FALSE and when I release it pushes KEY_SLASH which enables MUTE TRUE.
There HAS to be a better way right?!?