Permalink
Browse files

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

  • Loading branch information...
2 parents 63e29eb + 826f2fd commit 8a22bdfc9c2c66d1fb845750408904c7282c546f @pepijndevos pepijndevos committed Aug 15, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 pymouse/unix.py
View
@@ -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):

0 comments on commit 8a22bdf

Please sign in to comment.