Nicolas Patry
Nicolas Patry
Not sure I understand. You mean the Enter keypress is not ignored ? (Your code is capturing Escape, not Enter, is that it ?)
The problem is that you're using `std::process::exit` which kills the process without letting it clean up, meaning the end state is most likely UB. One solution would be something like...
Hi, As a sidenote, you are aware this crate is to detect global keyboard events, and that bevy has probably better suited app level event stream catching, right ? Thanks...
> The readme for rdev says process Trust the doc, not me, I forgot those details. But I remember MacOS being picky sometimes. Maybe main process is enough :) It's...
What is actually happening ?
> I want move of ownership to closure, but Fn applies to closures that don’t move captured values out of their body and that don’t mutate captured values. That's because...
Hmm, what prevents from running this code ? This crate is binding against x11 so as far as I'm aware it doesn't care about distros. Unless something is going on...
Hi, sorry for the very late reply, GH wasn't giving me notifications here. I'm not sure I understand your issue. You're grabbing the keyboard, and it's messing up your keystrokes...
Really interesting, thanks !
This would need to be done for ALL oses unfortunately, this is afaik, impossible. :(