You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "pytest.py", line 10, in <module>
dev_virt = UInput(cap, name='Cypress Virtual')
File "/usr/lib/python3.5/site-packages/evdev/uinput.py", line 83, in __init__
_uinput.create(self.fd, name, vendor, product, version, bustype, absinfo)
OSError: [Errno 22] Invalid argument
But when I change the value=128 to value=0 for both AbsInfo()'s. it runs without an error.
Printing the uinput device capabilities with evtest.py reveals this:
Type EV_ABS 3:
Code ABS_X 0:
val 139, min 0, max 0, fuzz 255, flat 0, res 0
Code ABS_Y 1:
val 101, min 0, max 0, fuzz 255, flat 0, res 0
Activity
tapir commentedon Oct 7, 2015
Could it be related to this part in uinput.py:70?
Fix absinfo item indexes in uinput_create (see gvalkov#40)