Closed gslandtreter closed 1 year ago
The current implementation using fwrite() was causing new device events not to be properly identified on Wayland (Sway), rendering the udevice useless.
This change moves the code closer to the reference kernel impl from https://kernel.org/doc/html/v6.2/input/uinput.html
Hey @gslandtreter,
thanks for the fix! Also, thanks for pointing out the relevant bit of documentation! This looks good to me. Approved!
Cheers, Ben
The current implementation using fwrite() was causing new device events not to be properly identified on Wayland (Sway), rendering the udevice useless.
This change moves the code closer to the reference kernel impl from https://kernel.org/doc/html/v6.2/input/uinput.html