Skip to content

Commit

Permalink
Updated mouse.py
Browse files Browse the repository at this point in the history
Added alias `hold` for `press`
  • Loading branch information
DanMossa authored Jul 21, 2017
1 parent 85a4162 commit 3d7d37e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions keyboard/mouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.')
Expand Down

0 comments on commit 3d7d37e

Please sign in to comment.