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

No event received for humb buttons on windows #104

Open gliviu opened 6 years ago

gliviu commented 6 years ago

Using this script I can only receive events for mouse buttons 1, 2 and 3. Nothing shown when pressing thumb buttons on Windows 10.

from pymouse import PyMouseEvent

class Mouse(PyMouseEvent):
    def click(self, x, y, button, press):
        print(button)

C = Mouse()
C.run()

The same script works well under linux and prints 8, 9 for thumb buttons.