Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Added ioctl UI_DEV_SETUP call before UI_DEV_CREATE #34

Merged
merged 1 commit into from
Apr 27, 2023

Conversation

gslandtreter
Copy link
Contributor

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

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
@bendahl
Copy link
Owner

bendahl commented Apr 27, 2023

Hey @gslandtreter,

thanks for the fix! Also, thanks for pointing out the relevant bit of documentation! This looks good to me. Approved!

Cheers,
Ben

@bendahl bendahl merged commit 43336f6 into bendahl:master Apr 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants