hello pygaze users, i want to use the mouse import to make my experiment, but what is the correct sintaxis?. when i wan run it the console show me this
The problem seems to be that you're trying to create a Mouse instance before creating an active Display. The following minimal example illustrates the correct order:
from pygaze.display import Display
from pygaze.mouse import Mouse
disp = Display()
my_mouse = Mouse()
As I said in my previous comment: It's not the import, it the initialisation. If you simply copy the code from my previous message, you should be fine.
Comments
The problem seems to be that you're trying to create a Mouse instance before creating an active Display. The following minimal example illustrates the correct order:
If that doesn't work, please let us know!
yeah, i import like that but the error persist.

As I said in my previous comment: It's not the import, it the initialisation. If you simply copy the code from my previous message, you should be fine.