Replies: 2 comments 3 replies
-
|
Hi! Thanks for asking! Yes, I am currently working on and off on bringing a new Linux backend for SharpHook (and my libuiohook fork in the process). I don't really want to take the evdev branch from the original libuiohook repo because I'm currently actively looking into What I have right now is just some vague ideas about how to implement this. If you don't mind, I will start a new discussion once I have some more concrete steps towards implementing this support. Also, as a note, I have little experience with C and low-level programming (though I definitely know the basics), so this change will take quite some time for me to implement. But, as a user of SharpHook myself, I have interest in having Wayland support in it, so this is definitely something that I really want to do. |
Beta Was this translation helpful? Give feedback.
-
Glad to hear it!
I'm guessing the second "libuiohook" was meant to be something else? But if you manage to find a less invasive way than grabbing devices with evdev, please let me know :)
👍 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm wondering whether you've considered merging libuiohook evdev branch into your fork and continuing the work on evdev/uinput? I'm asking mostly because I've run into the limitations of the current Linux implementation (or more generally, X11 userland limitations): not being able to block input, and not being able to detect simulated input. A timing-based approach to differentiate simulated input from physical ones cannot be 100% accurate, and trying to block keys conditionally with XGrabKey is riddled with timing issues. And of course an added benefit of using evdev+uinput would be Wayland support...
Beta Was this translation helpful? Give feedback.
All reactions