MangoHud icon indicating copy to clipboard operation
MangoHud copied to clipboard

Implement wayland hotkeys

Open Etaash-mathamsetty opened this issue 2 years ago • 9 comments

ready for review!

Etaash-mathamsetty avatar Aug 17 '23 01:08 Etaash-mathamsetty

hooking up vulkan will require us to use elf and replace every instance of wl_display_flush, im not interesting in doing that :/ there's got to be a way of setting LD_PRELOAD in a vulkan layer

Etaash-mathamsetty avatar Aug 22 '23 01:08 Etaash-mathamsetty

Maybe have a look at what renderdoc's capture layer does? It also registers a hotkey that bypasses the app where the layer is loaded.

jansol avatar Sep 14 '23 23:09 jansol

Maybe have a look at what renderdoc's capture layer does? It also registers a hotkey that bypasses the app where the layer is loaded.

This would require intercepting messages. Maybe something using libei could work? Although that would still require compositor support

i509VCB avatar Sep 15 '23 00:09 i509VCB

libei

does plasma 5.27 support libei?

Etaash-mathamsetty avatar Sep 21 '23 21:09 Etaash-mathamsetty

hooking up vulkan will require us to use elf and replace every instance of wl_display_flush, im not interesting in doing that :/ there's got to be a way of setting LD_PRELOAD in a vulkan layer

im a stupid guy in a world that has already done this before in a more sane and nice way :) (overloading CreateWaylandSurfaceKHR in the layer)

Etaash-mathamsetty avatar Nov 12 '23 05:11 Etaash-mathamsetty

missing things: ~~1. support for multiple wl displays (not needed)~~ ~~2. ifdefs for wayland (done)~~ ~~3. shifting some of the wayland keyboard stuff out of keybinds.cpp~~

no more missing things ?

Etaash-mathamsetty avatar Nov 12 '23 05:11 Etaash-mathamsetty

Can you squash the unnecessary commits?

flightlessmango avatar Feb 19 '24 08:02 flightlessmango

Can you squash the unnecessary commits?

yea should I squash all of them into one or?

Etaash-mathamsetty avatar Feb 19 '24 12:02 Etaash-mathamsetty

yea should I squash all of them into one or?

Yeah I think that would be fine

flightlessmango avatar Feb 19 '24 12:02 flightlessmango