Replies: 2 comments
-
I might be wrong with this, but I think thanks to Wayland there is no longer a standardized way to do this from the application side (at least on Linux). For me for example, since moving desktop environments, OBS no longer has global shortcuts working. If you're okay with shortcuts not working in Wayland, you would likely be best suited with a dedicated crate that can add this functionality. My guess is that it's unlikely to ship in Bevy itself. |
Beta Was this translation helpful? Give feedback.
-
Hi @copygirl , thanks for your answer. I came across a project (rdev) that partially supports global event listening, though it currently only handles keyboard and mouse events. I would like to attempt improving it to add support for gamepads and other input events. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm new to Bevy and currently developing an application using the Bevy engine. My goal is to capture input events (including but not limited to keyboard, mouse, and gamepad inputs) and display them in an overlay window format.
I've encountered an issue where the EventReader no longer captures input events when the application window loses focus. Is there any recommended approach or workaround to maintain input capture capabilities even when the application is unfocused?
Any guidance or suggestions would be greatly appreciated 🙏.
Beta Was this translation helpful? Give feedback.
All reactions