trigg / Discover

Yet another discord overlay for linux
GNU General Public License v3.0
648 stars 29 forks source link

Mute or Unmute on Overlay Press #326

Open SetoNaikai opened 6 months ago

SetoNaikai commented 6 months ago

When using the overlay muting quickly via pressing the overlay would be helpful. Unmuting by pressing it again would be ideal.

trigg commented 6 months ago

Interesting idea, for the most part we don't accept input, allowing it to pass through behind the overlay.

But I suspect we might be able to get this in and for it work for handful of Desktop environments

SetoNaikai commented 6 months ago

Would it be possible to look into it for the steam deck as well? I saw that there was the terminal option for mute or unmute. Would be great if a button press could do that.

On Sun, Mar 24, 2024, 7:57 AM trigg @.***> wrote:

Interesting idea, for the most part we don't accept input, allowing it to pass through behind the overlay.

But I suspect we might be able to get this in and for it work for handful of Desktop environments

— Reply to this email directly, view it on GitHub https://github.com/trigg/Discover/issues/326#issuecomment-2016784850, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEEV3EMCENSPYWGCQ6CRNGTYZ25RVAVCNFSM6AAAAABFFUD53KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWG44DIOBVGA . You are receiving this because you authored the thread.Message ID: @.***>

trigg commented 6 months ago

The last time I checked overlays on gamescope/gamemode aren't given any user input at all.

It would probably be necessary to write a plugin for something like decky loader. That could be done marginally quickly but I honestly don't know how to code for that

SetoNaikai commented 6 months ago

Gotcha, thanks for giving it so much thought.

I found a workaround to setup a shortcut in discord to mute which works well but the options of what buttons to map using the steam deck desktop configuration sometimes doesn't work.

On Sun, Mar 24, 2024, 8:45 AM trigg @.***> wrote:

The last time I checked overlays on gamescope/gamemode aren't given any user input at all.

It would probably be necessary to write a plugin for something like decky loader. That could be done marginally quickly but I honestly don't know how to code for that

— Reply to this email directly, view it on GitHub https://github.com/trigg/Discover/issues/326#issuecomment-2016797882, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEEV3EPZQX275VY32WCHNXDYZ3DFZAVCNFSM6AAAAABFFUD53KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWG44TOOBYGI . You are receiving this because you authored the thread.Message ID: @.***>

trigg commented 5 months ago

You always can intercept ...

We certainly cannot do that, not without some really funky stuff like snooping X11 keyboard events that aren't sent to us.