rmst / yoke

Turns your Android device into a customizable gamepad for Windows/Mac/Linux
MIT License
215 stars 24 forks source link

Failed on Kubuntu 18.10: No module named 'uinput' #14

Closed YgorSilva closed 5 years ago

YgorSilva commented 5 years ago

I've runned the yoke-enable-uinput, which went just fine but when i try to run the yoke script it gives me this error: ModuleNotFoundError: No module named 'uinput'. Which occurs in the yoke/service.py file on line 71.

YgorSilva commented 5 years ago

Sorry. Just downloaded the uinput package with pip3 and it works now.

rmst commented 5 years ago

Thank you for linking the fix! I've applied it in master.

SanskritFritz commented 4 years ago

I have the same problem, but I can't find a uinput package:

pip3 install --user uinput
ERROR: Could not find a version that satisfies the requirement uinput (from versions: none)
ERROR: No matching distribution found for uinput

How do I proceed?

UPDATE: Sorry, I had to

modprobe uinput

pzmarzly commented 4 years ago

The package name in PIP is python-uinput (pip3 install python-uinput), as can be seen in setup.py.