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
When I try to run pynput 1.3.2 (from pip) on FreeBSD 11.0 amd64, I get this error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/neel/.local/lib/python2.7/site-packages/pynput/mouse/_base.py", line 78, in scroll
self._scroll(dx, dy)
File "/home/neel/.local/lib/python2.7/site-packages/pynput/mouse/_xorg.py", line 75, in _scroll
self._check_bounds(dx, dy)
File "/home/neel/.local/lib/python2.7/site-packages/pynput/mouse/_xorg.py", line 103, in _check_bounds
raise ValueError()
ValueError
The commands I am trying to run include:
from pynput.mouse import Controller
Controller().scroll(0, 1)
Please advise
The text was updated successfully, but these errors were encountered:
The issue was caused by an invalid condition: a while ago, a check was added to ensure that values were valid short ints; unfortunately the check was inverted.
I have made a new release, 1.3.4, which fixes the issue.
When I try to run pynput 1.3.2 (from pip) on FreeBSD 11.0 amd64, I get this error:
The commands I am trying to run include:
Please advise
The text was updated successfully, but these errors were encountered: