Querying user input outside of terminals?

I want to be able to capture keyboard input globally to add some shortcut functionality to my app, that is even when the user is not directly interacting with windows created by rust program. (ie. Just on the desktop or interacting with another app while it runs on the background).

I see https://crates.io/crates/device_query is a possible option, but are there any alternatives I should look at? My target platform is both Windows and Linux so something cross compatible would be ideal, but I'm open to all suggestions.

winit can handle keyboard events even when not in focus

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.