bug/missing-docs: manual wgpu integration using iced-runtime
not handling any keyboard/mouse events.
#2445
Closed
2 tasks done
Labels
bug
Something isn't working
Is there an existing issue for this?
Is this issue related to iced?
What happened?
Hello! I am attempting to implement a lockscreen for wayland using the ext-session-lock-v1 protocol.
Due to limitations of the protocol, the compositor assigns the program specially designated wayland surfaces to draw the UI on top of. Limitations in winit and other windowing solutions means i cannot wrap the existing surface in other libraries and am forced to implement my own rendering runtime myself. I've begun using
iced_runtime
andiced_wgpu
together to handle drawing directly via wgpu. However, I've run into trouble when trying to pass keyboard & mouse events from wayland.According to the existing documentation, I should be able to queue events via the program State.queue_events call.
After a lot of testing and logging whats happening, I've found that for some reason it seems like all of the events are being ignored. Here's a sample from the logs im collecting after the output of State.update
I've referenced the existing integration example and even scanned through iced-winit to see if I could find any information or documentation that could help me resolve this issue.
For further reference, the entire iced integration and code for the implementation is available here. It's part of the larger codebase of this repo
I would greatly appreciate any support or recommendations if possible. Thank you!
What is the expected behavior?
keyboard and mouse events should be handled and processed by the iced's program runtime
Version
master
Operating System
Linux
Do you have any log output?
No response
The text was updated successfully, but these errors were encountered: