\hypertarget{group__Elput__Manager__Group}{}\doxysection{Elput Manager}
\label{group__Elput__Manager__Group}\index{Elput Manager@{Elput Manager}}


Functions that deal with connecting, disconnecting, opening, closing of input devices.  


\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
EAPI Elput\+\_\+\+Manager $\ast$ \mbox{\hyperlink{group__Elput__Manager__Group_ga74f173d8bdaa7ff24b53735f0c3555a5}{elput\+\_\+manager\+\_\+connect}} (const char $\ast$seat, unsigned int tty)
\begin{DoxyCompactList}\small\item\em Create an input manager on the specified seat. \end{DoxyCompactList}\item 
EAPI Elput\+\_\+\+Manager $\ast$ \mbox{\hyperlink{group__Elput__Manager__Group_ga93bd1f71b4adef8dfcb82e035d359347}{elput\+\_\+manager\+\_\+connect\+\_\+gestures}} (const char $\ast$seat, unsigned int tty)
\begin{DoxyCompactList}\small\item\em Create an input manager on the specified seat. \end{DoxyCompactList}\item 
EAPI void \mbox{\hyperlink{group__Elput__Manager__Group_gac4abcc0fed4ef131bd70892aff4ae3f5}{elput\+\_\+manager\+\_\+disconnect}} (Elput\+\_\+\+Manager $\ast$manager)
\begin{DoxyCompactList}\small\item\em Disconnect an input manager. \end{DoxyCompactList}\item 
EAPI int \mbox{\hyperlink{group__Elput__Manager__Group_ga8c5287fb689b4f7be28a677500be950d}{elput\+\_\+manager\+\_\+open}} (Elput\+\_\+\+Manager $\ast$manager, const char $\ast$path, int flags)
\begin{DoxyCompactList}\small\item\em Request input manager to open a file. \end{DoxyCompactList}\item 
EAPI void \mbox{\hyperlink{group__Elput__Manager__Group_gafe51840dc0d72a69bd5fd857a72d7bb1}{elput\+\_\+manager\+\_\+close}} (Elput\+\_\+\+Manager $\ast$manager, int fd)
\begin{DoxyCompactList}\small\item\em Request input manager to close a file. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Elput__Manager__Group_ga7e81726e3f11a123f3dd57a3c961658d}{elput\+\_\+manager\+\_\+vt\+\_\+set}} (Elput\+\_\+\+Manager $\ast$manager, int vt)
\begin{DoxyCompactList}\small\item\em Request to switch to a given vt. \end{DoxyCompactList}\item 
EAPI const \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ \mbox{\hyperlink{group__Elput__Manager__Group_ga46bcc991d255fbc650745aaf06e6a7c3}{elput\+\_\+manager\+\_\+seats\+\_\+get}} (Elput\+\_\+\+Manager $\ast$manager)
\begin{DoxyCompactList}\small\item\em Get the list of seats from a manager. \end{DoxyCompactList}\item 
EAPI void \mbox{\hyperlink{group__Elput__Manager__Group_gac81bff540ebaf5593f8d82325e145d31}{elput\+\_\+manager\+\_\+window\+\_\+set}} (Elput\+\_\+\+Manager $\ast$manager, unsigned int window)
\begin{DoxyCompactList}\small\item\em Set which window to use for this input manager. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Functions that deal with connecting, disconnecting, opening, closing of input devices. 



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Elput__Manager__Group_ga74f173d8bdaa7ff24b53735f0c3555a5}\label{group__Elput__Manager__Group_ga74f173d8bdaa7ff24b53735f0c3555a5}} 
\index{Elput Manager@{Elput Manager}!elput\_manager\_connect@{elput\_manager\_connect}}
\index{elput\_manager\_connect@{elput\_manager\_connect}!Elput Manager@{Elput Manager}}
\doxysubsubsection{\texorpdfstring{elput\_manager\_connect()}{elput\_manager\_connect()}}
{\footnotesize\ttfamily EAPI Elput\+\_\+\+Manager $\ast$ elput\+\_\+manager\+\_\+connect (\begin{DoxyParamCaption}\item[{const char $\ast$}]{seat,  }\item[{unsigned int}]{tty }\end{DoxyParamCaption})}



Create an input manager on the specified seat. 


\begin{DoxyParams}{Parameters}
{\em seat} & \\
\hline
{\em tty} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A Elput\+\_\+\+Manager on success, NULL on failure
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+18 
\end{DoxySince}


Referenced by \mbox{\hyperlink{group__Ecore__Drm2__Device__Group_gadd02bec97fc93262fa6c3581cc92534f}{ecore\+\_\+drm2\+\_\+device\+\_\+open()}}, and \mbox{\hyperlink{group__Elput__Manager__Group_ga93bd1f71b4adef8dfcb82e035d359347}{elput\+\_\+manager\+\_\+connect\+\_\+gestures()}}.

\mbox{\Hypertarget{group__Elput__Manager__Group_ga93bd1f71b4adef8dfcb82e035d359347}\label{group__Elput__Manager__Group_ga93bd1f71b4adef8dfcb82e035d359347}} 
\index{Elput Manager@{Elput Manager}!elput\_manager\_connect\_gestures@{elput\_manager\_connect\_gestures}}
\index{elput\_manager\_connect\_gestures@{elput\_manager\_connect\_gestures}!Elput Manager@{Elput Manager}}
\doxysubsubsection{\texorpdfstring{elput\_manager\_connect\_gestures()}{elput\_manager\_connect\_gestures()}}
{\footnotesize\ttfamily EAPI Elput\+\_\+\+Manager $\ast$ elput\+\_\+manager\+\_\+connect\+\_\+gestures (\begin{DoxyParamCaption}\item[{const char $\ast$}]{seat,  }\item[{unsigned int}]{tty }\end{DoxyParamCaption})}



Create an input manager on the specified seat. 

Only gesture events are emitted. Nothing else.


\begin{DoxyParams}{Parameters}
{\em seat} & \\
\hline
{\em tty} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A Elput\+\_\+\+Manager on success, NULL on failure 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}, and \mbox{\hyperlink{group__Elput__Manager__Group_ga74f173d8bdaa7ff24b53735f0c3555a5}{elput\+\_\+manager\+\_\+connect()}}.

\mbox{\Hypertarget{group__Elput__Manager__Group_gac4abcc0fed4ef131bd70892aff4ae3f5}\label{group__Elput__Manager__Group_gac4abcc0fed4ef131bd70892aff4ae3f5}} 
\index{Elput Manager@{Elput Manager}!elput\_manager\_disconnect@{elput\_manager\_disconnect}}
\index{elput\_manager\_disconnect@{elput\_manager\_disconnect}!Elput Manager@{Elput Manager}}
\doxysubsubsection{\texorpdfstring{elput\_manager\_disconnect()}{elput\_manager\_disconnect()}}
{\footnotesize\ttfamily EAPI void elput\+\_\+manager\+\_\+disconnect (\begin{DoxyParamCaption}\item[{Elput\+\_\+\+Manager $\ast$}]{manager }\end{DoxyParamCaption})}



Disconnect an input manager. 


\begin{DoxyParams}{Parameters}
{\em manager} & \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+18 
\end{DoxySince}


References \mbox{\hyperlink{group__Ecore__Thread__Group_gae9b9b20e1ed53c62c51617b55aed2511}{ecore\+\_\+thread\+\_\+cancel()}}, and \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}.



Referenced by \mbox{\hyperlink{group__Ecore__Drm2__Device__Group_gadd02bec97fc93262fa6c3581cc92534f}{ecore\+\_\+drm2\+\_\+device\+\_\+open()}}.

\mbox{\Hypertarget{group__Elput__Manager__Group_ga8c5287fb689b4f7be28a677500be950d}\label{group__Elput__Manager__Group_ga8c5287fb689b4f7be28a677500be950d}} 
\index{Elput Manager@{Elput Manager}!elput\_manager\_open@{elput\_manager\_open}}
\index{elput\_manager\_open@{elput\_manager\_open}!Elput Manager@{Elput Manager}}
\doxysubsubsection{\texorpdfstring{elput\_manager\_open()}{elput\_manager\_open()}}
{\footnotesize\ttfamily EAPI int elput\+\_\+manager\+\_\+open (\begin{DoxyParamCaption}\item[{Elput\+\_\+\+Manager $\ast$}]{manager,  }\item[{const char $\ast$}]{path,  }\item[{int}]{flags }\end{DoxyParamCaption})}



Request input manager to open a file. 


\begin{DoxyParams}{Parameters}
{\em manager} & \\
\hline
{\em path} & \\
\hline
{\em flags} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Filedescriptor of opened file or -\/1 on failure
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+18 
\end{DoxySince}


References \mbox{\hyperlink{group__Ecore__Event__Group_ga886c90c3f917f87b3b4c931adcbc41c5}{ecore\+\_\+event\+\_\+handler\+\_\+add()}}, and \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.



Referenced by \mbox{\hyperlink{group__Ecore__Drm2__Device__Group_gadd02bec97fc93262fa6c3581cc92534f}{ecore\+\_\+drm2\+\_\+device\+\_\+open()}}.

\mbox{\Hypertarget{group__Elput__Manager__Group_gafe51840dc0d72a69bd5fd857a72d7bb1}\label{group__Elput__Manager__Group_gafe51840dc0d72a69bd5fd857a72d7bb1}} 
\index{Elput Manager@{Elput Manager}!elput\_manager\_close@{elput\_manager\_close}}
\index{elput\_manager\_close@{elput\_manager\_close}!Elput Manager@{Elput Manager}}
\doxysubsubsection{\texorpdfstring{elput\_manager\_close()}{elput\_manager\_close()}}
{\footnotesize\ttfamily EAPI void elput\+\_\+manager\+\_\+close (\begin{DoxyParamCaption}\item[{Elput\+\_\+\+Manager $\ast$}]{manager,  }\item[{int}]{fd }\end{DoxyParamCaption})}



Request input manager to close a file. 


\begin{DoxyParams}{Parameters}
{\em manager} & \\
\hline
{\em fd} & \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+18 
\end{DoxySince}


References \mbox{\hyperlink{group__Ecore__Event__Group_ga06b06480c83da219f1118835a1c23a2e}{ecore\+\_\+event\+\_\+handler\+\_\+del()}}, and \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}.



Referenced by \mbox{\hyperlink{group__Ecore__Drm2__Device__Group_ga723ea01676711266a102ea539971795e}{ecore\+\_\+drm2\+\_\+device\+\_\+close()}}, and \mbox{\hyperlink{group__Ecore__Drm2__Device__Group_gadd02bec97fc93262fa6c3581cc92534f}{ecore\+\_\+drm2\+\_\+device\+\_\+open()}}.

\mbox{\Hypertarget{group__Elput__Manager__Group_ga7e81726e3f11a123f3dd57a3c961658d}\label{group__Elput__Manager__Group_ga7e81726e3f11a123f3dd57a3c961658d}} 
\index{Elput Manager@{Elput Manager}!elput\_manager\_vt\_set@{elput\_manager\_vt\_set}}
\index{elput\_manager\_vt\_set@{elput\_manager\_vt\_set}!Elput Manager@{Elput Manager}}
\doxysubsubsection{\texorpdfstring{elput\_manager\_vt\_set()}{elput\_manager\_vt\_set()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} elput\+\_\+manager\+\_\+vt\+\_\+set (\begin{DoxyParamCaption}\item[{Elput\+\_\+\+Manager $\ast$}]{manager,  }\item[{int}]{vt }\end{DoxyParamCaption})}



Request to switch to a given vt. 


\begin{DoxyParams}{Parameters}
{\em manager} & \\
\hline
{\em vt} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
EINA\+\_\+\+TRUE on success, EINA\+\_\+\+FALSE otherwise
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+18 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1dbe0d7e3c6b10f4bd49a2a132d73269}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+TRUE\+\_\+\+RETURN\+\_\+\+VAL}}.



Referenced by \mbox{\hyperlink{group__Ecore__Drm2__Device__Group_ga3917c199eba2dc4259fb4ace275b9f26}{ecore\+\_\+drm2\+\_\+device\+\_\+vt\+\_\+set()}}.

\mbox{\Hypertarget{group__Elput__Manager__Group_ga46bcc991d255fbc650745aaf06e6a7c3}\label{group__Elput__Manager__Group_ga46bcc991d255fbc650745aaf06e6a7c3}} 
\index{Elput Manager@{Elput Manager}!elput\_manager\_seats\_get@{elput\_manager\_seats\_get}}
\index{elput\_manager\_seats\_get@{elput\_manager\_seats\_get}!Elput Manager@{Elput Manager}}
\doxysubsubsection{\texorpdfstring{elput\_manager\_seats\_get()}{elput\_manager\_seats\_get()}}
{\footnotesize\ttfamily EAPI const \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ elput\+\_\+manager\+\_\+seats\+\_\+get (\begin{DoxyParamCaption}\item[{Elput\+\_\+\+Manager $\ast$}]{manager }\end{DoxyParamCaption})}



Get the list of seats from a manager. 


\begin{DoxyParams}{Parameters}
{\em manager} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
An Eina\+\_\+\+List of existing Elput\+\_\+\+Seats or NULL on failure
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+18 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

\mbox{\Hypertarget{group__Elput__Manager__Group_gac81bff540ebaf5593f8d82325e145d31}\label{group__Elput__Manager__Group_gac81bff540ebaf5593f8d82325e145d31}} 
\index{Elput Manager@{Elput Manager}!elput\_manager\_window\_set@{elput\_manager\_window\_set}}
\index{elput\_manager\_window\_set@{elput\_manager\_window\_set}!Elput Manager@{Elput Manager}}
\doxysubsubsection{\texorpdfstring{elput\_manager\_window\_set()}{elput\_manager\_window\_set()}}
{\footnotesize\ttfamily EAPI void elput\+\_\+manager\+\_\+window\+\_\+set (\begin{DoxyParamCaption}\item[{Elput\+\_\+\+Manager $\ast$}]{manager,  }\item[{unsigned int}]{window }\end{DoxyParamCaption})}



Set which window to use for this input manager. 

This function should be used to specify which window to set on the input manager. Setting a window on the input manager is done so that when we raise events (mouse movement, keyboard key, etc) then this window is passed to the event structure as the window which the event occurred on.


\begin{DoxyParams}{Parameters}
{\em manager} & \\
\hline
{\em window} & \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+18 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}.



Referenced by \mbox{\hyperlink{group__Ecore__Drm2__Device__Group_gac3d576e723396ee377795fc3023e09d7}{ecore\+\_\+drm2\+\_\+device\+\_\+window\+\_\+set()}}.

