LABSN / expyfun

Experimental paradigm functions.
BSD 3-Clause "New" or "Revised" License
13 stars 21 forks source link

MRG, ENH: Add move_mouse_to #416

Closed larsoner closed 4 years ago

larsoner commented 4 years ago

Tested on Linux and macOS, Windows in progress. @drammock feel free to review and if you're happy I'll merge once it works on Windows.

cc @LiesbethGijbels this will allow you just to use ec.move_mouse_to((0, 0)) instead of using pyautogui.

larsoner commented 4 years ago

Scratch that, seems to work fine on Windows already. No mouse moving works on Windows 7 for me (not even pyautogui) but this code works fine on my Windows 10 install.

codecov[bot] commented 4 years ago

Codecov Report

Merging #416 into master will increase coverage by 0.13%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #416      +/-   ##
==========================================
+ Coverage   88.27%   88.40%   +0.13%     
==========================================
  Files          50       50              
  Lines        6609     6641      +32     
  Branches     1093     1095       +2     
==========================================
+ Hits         5834     5871      +37     
+ Misses        520      516       -4     
+ Partials      255      254       -1