C
C#3mo ago
Tom

Global key events listener (when app window is minimalised or out of focus)

Hi! I'm making an Avalonia UI app and I want to listen to keyboard events even when app window is minimalised or I'm doing smth else in other app. Do you know a "good" way to do that? As far as I know it's not possible to do it through Avalonia itself and additional library is needed. I looked on NuGet, but those I found were not really pupular.
3 Replies
canton7
canton73mo ago
They're not really popular because it's pretty trivial to do by hand (at least on Windows), so people don't reach for a nuget package
Tom
Tom3mo ago
I'm looking rather for smth cross-platform
canton7
canton73mo ago
Maybe one of the nuget packages has cross-platform support? Or maybe you'll need to combine several
Want results from more Discord servers?
Add your server