diff --git a/tests/mouse-click.py b/tests/mouse-click.py index a321009..9edbff2 100755 --- a/tests/mouse-click.py +++ b/tests/mouse-click.py @@ -6,7 +6,7 @@ def waitMouseClick(): buf = mouse.read(3) if ((buf[0] & 0x1)==1): break; - close(mouse) + mouse.close() waitMouseClick()