From 3d7d37e4b5287eb43f3ceac9900a1ea32f1d7ec6 Mon Sep 17 00:00:00 2001 From: Daniel Mossaband Date: Fri, 21 Jul 2017 16:04:42 -0700 Subject: [PATCH] Updated mouse.py Added alias `hold` for `press` --- keyboard/mouse.py | 1 + 1 file changed, 1 insertion(+) diff --git a/keyboard/mouse.py b/keyboard/mouse.py index 292d7f66..f5192ab9 100644 --- a/keyboard/mouse.py +++ b/keyboard/mouse.py @@ -221,6 +221,7 @@ def play(events, speed_factor=1.0, include_clicks=True, include_moves=True, incl _os_mouse.wheel(event.delta) replay = play +hold = press if __name__ == '__main__': print('Recording... Double click to stop and replay.')