\doxysection{pygaze.\+\_\+mouse.\+pygamemouse.\+Py\+Game\+Mouse Class Reference}
\hypertarget{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse}{}\label{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse}\index{pygaze.\_mouse.pygamemouse.PyGameMouse@{pygaze.\_mouse.pygamemouse.PyGameMouse}}
Inheritance diagram for pygaze.\+\_\+mouse.\+pygamemouse.\+Py\+Game\+Mouse\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_abdbf9a3bf73ab463e3ec12c8ae75b9df}{\+\_\+\+\_\+init\+\_\+\+\_\+}} (self, mousebuttonlist=settings.\+MOUSEBUTTONLIST, \mbox{\hyperlink{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a79e92dd97d7667d2ee1ef27465f69d65}{timeout}}=settings.\+MOUSETIMEOUT, \mbox{\hyperlink{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_afa8e38e3ccaff184afb75b66c4d08615}{visible}}=False)
\item 
\mbox{\hyperlink{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a9f5ab93bed38630ea48fcf6a68e3192e}{set\+\_\+mousebuttonlist}} (self, mousebuttonlist=None)
\item 
\mbox{\hyperlink{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a5b78a3d4404cd04ebc108522ff1c26f5}{set\+\_\+timeout}} (self, \mbox{\hyperlink{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a79e92dd97d7667d2ee1ef27465f69d65}{timeout}}=None)
\item 
\mbox{\hyperlink{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a117c8e35ee5aaf3f8f366b073121f297}{set\+\_\+visible}} (self, \mbox{\hyperlink{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_afa8e38e3ccaff184afb75b66c4d08615}{visible}}=True)
\item 
\mbox{\hyperlink{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_ac1445dda4a4f042baf5206114a109396}{set\+\_\+pos}} (self, pos=(0, 0))
\item 
\mbox{\hyperlink{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a5da405111b119ab21e9a82613505f97b}{get\+\_\+pos}} (self)
\item 
\mbox{\hyperlink{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a98046d3c239f19663469ff8f9f4bb728}{get\+\_\+clicked}} (self, mousebuttonlist=\textquotesingle{}default\textquotesingle{}, \mbox{\hyperlink{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a79e92dd97d7667d2ee1ef27465f69d65}{timeout}}=\textquotesingle{}default\textquotesingle{})
\item 
\mbox{\hyperlink{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a61fa984d75395646237e3e0b4f7d7c9f}{get\+\_\+pressed}} (self)
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions inherited from \mbox{\hyperlink{classpygaze_1_1__mouse_1_1basemouse_1_1_base_mouse}{pygaze.\+\_\+mouse.\+basemouse.\+Base\+Mouse}}}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classpygaze_1_1__mouse_1_1basemouse_1_1_base_mouse_acd410b8c1c94804969b0eb4de89656e6}{\+\_\+\+\_\+init\+\_\+\+\_\+}} (self)
\end{DoxyCompactItemize}
\doxysubsubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
list \mbox{\hyperlink{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a70db7e66134947e5beebaaf33b8c5327}{mbuttonlist}} = None
\item 
\mbox{\hyperlink{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a79e92dd97d7667d2ee1ef27465f69d65}{timeout}} = timeout
\item 
\mbox{\hyperlink{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_afa8e38e3ccaff184afb75b66c4d08615}{visible}} = visible
\end{DoxyCompactItemize}


\doxysubsection{Constructor \& Destructor Documentation}
\Hypertarget{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_abdbf9a3bf73ab463e3ec12c8ae75b9df}\index{pygaze.\_mouse.pygamemouse.PyGameMouse@{pygaze.\_mouse.pygamemouse.PyGameMouse}!\_\_init\_\_@{\_\_init\_\_}}
\index{\_\_init\_\_@{\_\_init\_\_}!pygaze.\_mouse.pygamemouse.PyGameMouse@{pygaze.\_mouse.pygamemouse.PyGameMouse}}
\doxysubsubsection{\texorpdfstring{\_\_init\_\_()}{\_\_init\_\_()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_abdbf9a3bf73ab463e3ec12c8ae75b9df} 
pygaze.\+\_\+mouse.\+pygamemouse.\+Py\+Game\+Mouse.\+\_\+\+\_\+init\+\_\+\+\_\+ (\begin{DoxyParamCaption}\item[{}]{self}{, }\item[{}]{mousebuttonlist}{ = {\ttfamily settings.MOUSEBUTTONLIST}, }\item[{}]{timeout}{ = {\ttfamily settings.MOUSETIMEOUT}, }\item[{}]{visible}{ = {\ttfamily False}}\end{DoxyParamCaption})}



\doxysubsection{Member Function Documentation}
\Hypertarget{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a98046d3c239f19663469ff8f9f4bb728}\index{pygaze.\_mouse.pygamemouse.PyGameMouse@{pygaze.\_mouse.pygamemouse.PyGameMouse}!get\_clicked@{get\_clicked}}
\index{get\_clicked@{get\_clicked}!pygaze.\_mouse.pygamemouse.PyGameMouse@{pygaze.\_mouse.pygamemouse.PyGameMouse}}
\doxysubsubsection{\texorpdfstring{get\_clicked()}{get\_clicked()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a98046d3c239f19663469ff8f9f4bb728} 
pygaze.\+\_\+mouse.\+pygamemouse.\+Py\+Game\+Mouse.\+get\+\_\+clicked (\begin{DoxyParamCaption}\item[{}]{self}{, }\item[{}]{mousebuttonlist}{ = {\ttfamily \textquotesingle{}default\textquotesingle{}}, }\item[{}]{timeout}{ = {\ttfamily \textquotesingle{}default\textquotesingle{}}}\end{DoxyParamCaption})}

\begin{DoxyVerb}        Waits for mouse clicks
        
        arguments
        
        None
        
        keyword arguments

        mousebuttonlist --  list of mouse buttons that are allowed (e.g.
                        [1,3] for left and right button); None to
                        allow all buttons or 'default' to use the
                        mbuttonlist property (default = 'default')
        timeout --  time in milliseconds after which None is returned
                    when no click is registered; None for no timeout or
                    'default' to use the timeout property (default =
                    'default')
        
        returns
        
        mousebutton, clickpos, clicktime    --  mousebutton is an integer,
                                    indicating which button has
                                    been pressed or None when no
                                    button has been pressed;
                                    clickpos is an (x,y) position
                                    tuple or None when no click
                                    was registered;
                                    clicktime is the time
                                    (measured from expbegintime) a
                                    buttonpress or a timeout
                                    occured
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classpygaze_1_1__mouse_1_1basemouse_1_1_base_mouse_aec7ef1be653de8e6a97fa87786295cf2}{pygaze.\+\_\+mouse.\+basemouse.\+Base\+Mouse}}.

\Hypertarget{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a5da405111b119ab21e9a82613505f97b}\index{pygaze.\_mouse.pygamemouse.PyGameMouse@{pygaze.\_mouse.pygamemouse.PyGameMouse}!get\_pos@{get\_pos}}
\index{get\_pos@{get\_pos}!pygaze.\_mouse.pygamemouse.PyGameMouse@{pygaze.\_mouse.pygamemouse.PyGameMouse}}
\doxysubsubsection{\texorpdfstring{get\_pos()}{get\_pos()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a5da405111b119ab21e9a82613505f97b} 
pygaze.\+\_\+mouse.\+pygamemouse.\+Py\+Game\+Mouse.\+get\+\_\+pos (\begin{DoxyParamCaption}\item[{}]{self}{}\end{DoxyParamCaption})}

\begin{DoxyVerb}        Returns mouse position
        
        arguments

        None
        
        keyword arguments
        
        None
        
        returns
        
        mpos        --  a (x,y) position tuple, assuming top left is (0,0)
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classpygaze_1_1__mouse_1_1basemouse_1_1_base_mouse_a0140ed3a121d04cfa231c984cb987082}{pygaze.\+\_\+mouse.\+basemouse.\+Base\+Mouse}}.

\Hypertarget{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a61fa984d75395646237e3e0b4f7d7c9f}\index{pygaze.\_mouse.pygamemouse.PyGameMouse@{pygaze.\_mouse.pygamemouse.PyGameMouse}!get\_pressed@{get\_pressed}}
\index{get\_pressed@{get\_pressed}!pygaze.\_mouse.pygamemouse.PyGameMouse@{pygaze.\_mouse.pygamemouse.PyGameMouse}}
\doxysubsubsection{\texorpdfstring{get\_pressed()}{get\_pressed()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a61fa984d75395646237e3e0b4f7d7c9f} 
pygaze.\+\_\+mouse.\+pygamemouse.\+Py\+Game\+Mouse.\+get\+\_\+pressed (\begin{DoxyParamCaption}\item[{}]{self}{}\end{DoxyParamCaption})}

\begin{DoxyVerb}        Returns the current state of the mouse buttons
        
        arguments
        
        None
        
        keyword arguments
        
        None
        
        returns

        statelist   --  a list of Booleans indicating which mousebutton is
                    down (e.g. [1,0,0] when only button 1 is pressed on
                    a three-button-mouse)
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classpygaze_1_1__mouse_1_1basemouse_1_1_base_mouse_a454d3cc9fac5fed55013d0b67b5c8815}{pygaze.\+\_\+mouse.\+basemouse.\+Base\+Mouse}}.

\Hypertarget{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a9f5ab93bed38630ea48fcf6a68e3192e}\index{pygaze.\_mouse.pygamemouse.PyGameMouse@{pygaze.\_mouse.pygamemouse.PyGameMouse}!set\_mousebuttonlist@{set\_mousebuttonlist}}
\index{set\_mousebuttonlist@{set\_mousebuttonlist}!pygaze.\_mouse.pygamemouse.PyGameMouse@{pygaze.\_mouse.pygamemouse.PyGameMouse}}
\doxysubsubsection{\texorpdfstring{set\_mousebuttonlist()}{set\_mousebuttonlist()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a9f5ab93bed38630ea48fcf6a68e3192e} 
pygaze.\+\_\+mouse.\+pygamemouse.\+Py\+Game\+Mouse.\+set\+\_\+mousebuttonlist (\begin{DoxyParamCaption}\item[{}]{self}{, }\item[{}]{mousebuttonlist}{ = {\ttfamily None}}\end{DoxyParamCaption})}

\begin{DoxyVerb}        Set a list of accepted mouse buttons
        
        arguments
        
        None
        
        keyword arguments

        mousebuttonlist --  list of mouse buttons that are allowed (e.g.
                        [1,3] for left and right button) or None to
                        allow all buttons (default = None)
        
        returns
        
        None        --   sets mbuttonlist property
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classpygaze_1_1__mouse_1_1basemouse_1_1_base_mouse_aa2ba677ab6417d00217a88a6181b8e44}{pygaze.\+\_\+mouse.\+basemouse.\+Base\+Mouse}}.

\Hypertarget{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_ac1445dda4a4f042baf5206114a109396}\index{pygaze.\_mouse.pygamemouse.PyGameMouse@{pygaze.\_mouse.pygamemouse.PyGameMouse}!set\_pos@{set\_pos}}
\index{set\_pos@{set\_pos}!pygaze.\_mouse.pygamemouse.PyGameMouse@{pygaze.\_mouse.pygamemouse.PyGameMouse}}
\doxysubsubsection{\texorpdfstring{set\_pos()}{set\_pos()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_ac1445dda4a4f042baf5206114a109396} 
pygaze.\+\_\+mouse.\+pygamemouse.\+Py\+Game\+Mouse.\+set\+\_\+pos (\begin{DoxyParamCaption}\item[{}]{self}{, }\item[{}]{pos}{ = {\ttfamily (0,0)}}\end{DoxyParamCaption})}

\begin{DoxyVerb}        Set the mouse position
        
        arguments
        
        None
        
        keyword arguments

        pos     --  an (x,y) position tuple, assuming top left is (0,0)
                    (default = (0,0))
        
        returns
        
        None        --  sets the mouse position
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classpygaze_1_1__mouse_1_1basemouse_1_1_base_mouse_ac9cfb8afec914c6ffc9b2139d6173899}{pygaze.\+\_\+mouse.\+basemouse.\+Base\+Mouse}}.

\Hypertarget{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a5b78a3d4404cd04ebc108522ff1c26f5}\index{pygaze.\_mouse.pygamemouse.PyGameMouse@{pygaze.\_mouse.pygamemouse.PyGameMouse}!set\_timeout@{set\_timeout}}
\index{set\_timeout@{set\_timeout}!pygaze.\_mouse.pygamemouse.PyGameMouse@{pygaze.\_mouse.pygamemouse.PyGameMouse}}
\doxysubsubsection{\texorpdfstring{set\_timeout()}{set\_timeout()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a5b78a3d4404cd04ebc108522ff1c26f5} 
pygaze.\+\_\+mouse.\+pygamemouse.\+Py\+Game\+Mouse.\+set\+\_\+timeout (\begin{DoxyParamCaption}\item[{}]{self}{, }\item[{}]{timeout}{ = {\ttfamily None}}\end{DoxyParamCaption})}

\begin{DoxyVerb}        Set a timeout (in milliseconds)
        
        arguments

        None
        
        keyword arguments
        
        timeout --  time in milliseconds after which None is returned
                    on a call to get_clicked method when no click is
                    registered (default = None)
        
        returns
        None        --  sets timeout property
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classpygaze_1_1__mouse_1_1basemouse_1_1_base_mouse_a537292910bcb6086fe0484b44a020e3f}{pygaze.\+\_\+mouse.\+basemouse.\+Base\+Mouse}}.

\Hypertarget{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a117c8e35ee5aaf3f8f366b073121f297}\index{pygaze.\_mouse.pygamemouse.PyGameMouse@{pygaze.\_mouse.pygamemouse.PyGameMouse}!set\_visible@{set\_visible}}
\index{set\_visible@{set\_visible}!pygaze.\_mouse.pygamemouse.PyGameMouse@{pygaze.\_mouse.pygamemouse.PyGameMouse}}
\doxysubsubsection{\texorpdfstring{set\_visible()}{set\_visible()}}
{\footnotesize\ttfamily \label{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a117c8e35ee5aaf3f8f366b073121f297} 
pygaze.\+\_\+mouse.\+pygamemouse.\+Py\+Game\+Mouse.\+set\+\_\+visible (\begin{DoxyParamCaption}\item[{}]{self}{, }\item[{}]{visible}{ = {\ttfamily True}}\end{DoxyParamCaption})}

\begin{DoxyVerb}        Sets the visibility of the cursor
        
        arguments
        
        None
        
        keyword arguments

        visible --  Boolean indicating if mouse should be visible or not
                    (default = False)
        
        returns
        
        None        --  sets visible property
\end{DoxyVerb}
 

Reimplemented from \mbox{\hyperlink{classpygaze_1_1__mouse_1_1basemouse_1_1_base_mouse_a4f3b9f345ff1a28e97252239b0f41f2b}{pygaze.\+\_\+mouse.\+basemouse.\+Base\+Mouse}}.



\doxysubsection{Member Data Documentation}
\Hypertarget{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a70db7e66134947e5beebaaf33b8c5327}\index{pygaze.\_mouse.pygamemouse.PyGameMouse@{pygaze.\_mouse.pygamemouse.PyGameMouse}!mbuttonlist@{mbuttonlist}}
\index{mbuttonlist@{mbuttonlist}!pygaze.\_mouse.pygamemouse.PyGameMouse@{pygaze.\_mouse.pygamemouse.PyGameMouse}}
\doxysubsubsection{\texorpdfstring{mbuttonlist}{mbuttonlist}}
{\footnotesize\ttfamily \label{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a70db7e66134947e5beebaaf33b8c5327} 
list pygaze.\+\_\+mouse.\+pygamemouse.\+Py\+Game\+Mouse.\+mbuttonlist = None}

\Hypertarget{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a79e92dd97d7667d2ee1ef27465f69d65}\index{pygaze.\_mouse.pygamemouse.PyGameMouse@{pygaze.\_mouse.pygamemouse.PyGameMouse}!timeout@{timeout}}
\index{timeout@{timeout}!pygaze.\_mouse.pygamemouse.PyGameMouse@{pygaze.\_mouse.pygamemouse.PyGameMouse}}
\doxysubsubsection{\texorpdfstring{timeout}{timeout}}
{\footnotesize\ttfamily \label{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_a79e92dd97d7667d2ee1ef27465f69d65} 
pygaze.\+\_\+mouse.\+pygamemouse.\+Py\+Game\+Mouse.\+timeout = timeout}

\Hypertarget{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_afa8e38e3ccaff184afb75b66c4d08615}\index{pygaze.\_mouse.pygamemouse.PyGameMouse@{pygaze.\_mouse.pygamemouse.PyGameMouse}!visible@{visible}}
\index{visible@{visible}!pygaze.\_mouse.pygamemouse.PyGameMouse@{pygaze.\_mouse.pygamemouse.PyGameMouse}}
\doxysubsubsection{\texorpdfstring{visible}{visible}}
{\footnotesize\ttfamily \label{classpygaze_1_1__mouse_1_1pygamemouse_1_1_py_game_mouse_afa8e38e3ccaff184afb75b66c4d08615} 
pygaze.\+\_\+mouse.\+pygamemouse.\+Py\+Game\+Mouse.\+visible = visible}



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
C\+:/\+Users/lurax/eyetracking\+Tobii/pygaze/\+\_\+mouse/\mbox{\hyperlink{pygamemouse_8py}{pygamemouse.\+py}}\end{DoxyCompactItemize}
