Skip to content

Conversation

@kimimaru4000
Copy link
Contributor

@kimimaru4000 kimimaru4000 commented May 9, 2025

This PR implements Sync for UInputDevice to allow it to be shared among threads. The code already implemented Send to send to another thread, so this increases the contexts in which one can use a UInputDevice.

-This allows it to be sent between threads
@kimimaru4000 kimimaru4000 changed the title Implemented Sync for UInputDevice to enable sending between threads Implemented Sync for UInputDevice to enable sharing between threads May 9, 2025
@kimimaru4000 kimimaru4000 changed the title Implemented Sync for UInputDevice to enable sharing between threads Implemented Sync for UInputDevice to enable sharing among threads May 9, 2025
@ndesh26 ndesh26 merged commit 418dd08 into ndesh26:master May 10, 2025
7 checks passed
ndesh26 added a commit that referenced this pull request Jun 29, 2025
Changes:

* Bump evdev to 0.2.6
* Updated libevdev submodule and enums (#112)
* Implemented Sync for UInputDevice (#111)
* Implemented the Display trait for enums to enable to_string usage (#110)
* examples: Use enable instead of enable_event_*
* Update to bitflags2

Signed-off-by: Nayan Deshmukh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants