Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uinput extra dependency necessary? #12

Open
gsauthof opened this issue Sep 2, 2023 · 1 comment
Open

uinput extra dependency necessary? #12

gsauthof opened this issue Sep 2, 2023 · 1 comment

Comments

@gsauthof
Copy link

gsauthof commented Sep 2, 2023

While looking at wayremap/main.py I noticed that both evdev and uinput are imported:

import evdev
import uinput

I'm wondering, why you are using the python-uinput package when the evdev package already also supports injecting input via UInput devices?

See also: https://python-evdev.readthedocs.io/en/latest/apidoc.html#module-evdev.uinput

@acro5piano
Copy link
Owner

That's a good point. I didn't know it.

Recently, I'm not using this library as I'm using Xremap (X11 version). However, If you create a pull request for this, I'm happy to merge it.

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

No branches or pull requests

2 participants