Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of git://github.com/rawrmage/PyMouse

  • Loading branch information...
commit 8a22bdfc9c2c66d1fb845750408904c7282c546f 2 parents 63e29eb + 826f2fd
@pepijndevos pepijndevos authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 pymouse/unix.py
View
4 pymouse/unix.py
@@ -29,12 +29,12 @@ class PyMouse(PyMouseMeta):
def press(self, x, y, button = 1):
self.move(x, y)
- fake_input(display, X.ButtonPress, [None, 1, 3, 2][button])
+ fake_input(display, X.ButtonPress, [None, 1, 3, 2, 4, 5][button])
display.sync()
def release(self, x, y, button = 1):
self.move(x, y)
- fake_input(display, X.ButtonRelease, [None, 1, 3, 2][button])
+ fake_input(display, X.ButtonRelease, [None, 1, 3, 2, 4, 5][button])
display.sync()
def move(self, x, y):
Please sign in to comment.
Something went wrong with that request. Please try again.