SavinaRoja / PyUserInput

A module for cross-platform control of the mouse and keyboard in python that is simple to install and use.
GNU General Public License v3.0
1.07k stars 244 forks source link

PyMouse.drag error #90

Closed MacHu-GWU closed 8 years ago

MacHu-GWU commented 8 years ago

https://github.com/SavinaRoja/PyUserInput/blob/master/pymouse/windows.py, line 72

    def drag(self, x, y):
        self.press(*m.position()) # this should be self.press(*self.position())
        #self.move(x, y)
        self.release(x, y)  
pepijndevos commented 8 years ago

This repo is out of date. Fixed upstream.

https://github.com/PyUserInput/PyUserInput/blob/master/pymouse/windows.py#L73

MacHu-GWU commented 8 years ago

But if I use pip install PyUserInput, what I installed is the wrong one. You should update tihs fix to PyPI also