Hi folks esp Jon and Sol,
..... things for end-users too like setting the mouse position without using iohub. I'm not currently up on the status of this in iohub, so maybe this is redundant.
Hi folks esp Jon and Sol,..... things for end-users too like setting the mouse position without using iohub. I'm not currently up on the status of this in iohub, so maybe this is redundant.iohub originally had support for setting mouse position and visibility, but once integrated with psychopy that functionality became redundant because pyglet could be used to do these things (that was my thinking at least). So while this functionality has not been totally removed from the iohub mouse device api, it really should have be(en) and is likely in a unusable state for some, if not all, OS's.I did not realize pyglet has become broken in this way, so if it is something that should be resurrected in iohub, it should not be very hard to do.
Or would it make sense to look into patching pyglet and doing a pull request so it gets fixed in pyglet itself?
I am pretty sure that pyglet never supported setting the mouse position, whereas pygame does.
win.winHandle.set_mouse_position(pix_x,pix_y)
--
You received this message because you are subscribed to the Google Groups "psychopy-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psychopy-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I'd love instead to hear of a way to fire wx events to the app instead (open the dialog box and fire a wx.WX_OK event etc). I sort of imagine that such a thing must be possible, but I've not found out how. I think that would lead to more robust testing of the gui, which we could certainly use.
The question of whether it's useful for the purpose of testing the gui... hmm... so far we have no way to test that menus and buttons in the gui work at all. This would potentially increase our test coverage a great deal. The problem is that it would be very fragile I think. If the button moves position very slightly on a different screen size then tests will fail for very boring reasons.