

I’ve modified your example slightly, can you please try running it? This is running on PsychoPy 2021.2.0 on macOS.

Looking at this further on macOS, it seems that the issue maybe related to the code provided and recent update to iohub where launchHubServer now likes to be passed the psychopy Window being used. Monitor='testMonitor', color=, colorSpace='rgb',Ĭursor = visual.Circle(win, radius=5, edges=32, units='pix', pos=(0, -198), fillColor='black', autoDraw=True, autoLog=True, name='cursor') WinType='pyglet', allowGUI=False, allowStencil=False, Thank you!įrom psychopy.iohub import launchHubServer Note, I am using macOS Big Sur with an intel i7 processor.
#MOUSE STATUS IOHUB PSYCHOPY HOW TO#
Is this a known bug, or is there some kind of work-around that you can think of? It seems to be a systems error or Psychopy/iohub error, but I am not sure how to approach the issue. I have also attached images of the code and output, in case you cannot reproduce it on your computer. The code will print the position of the mouse so you can see that the mouse position will only register as (0, 198) after it has been moved, but the mouse does begin at (0, 198) instead of (0, -198). I have attached some code below that shows the issue. Thus, I am pretty sure that the issue is not an error with how I am setting the position. I also have a black circle that is set to the same location as the mouse, and it does in fact appear at (0, -198) instead of (0, 198). I have searched my code, and it is not an issue with my code itself. However, the log data states that the mouse is at (0, -198) until it is moved, after which the log file recognizes the mouse is on the positive y-axis. the mouse would appear at (0, 198) instead of (0, -198).

The mouse is appearing at the location with the opposite y-value s.t. I am trying to set the computer’s mouse to a specific location using iohub (e.g., (0, -198)).
