summaryrefslogtreecommitdiff
path: root/src/lib/elput/Elput.h
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-04-01 13:04:25 -0400
committerChris Michael <cpmichael@osg.samsung.com>2016-04-13 14:16:17 -0400
commitf832d2019cc96d750a17f9df3aec3feff78dc5a3 (patch)
treeb04ab779de26adff0529f11f43354f2607f2f6ee /src/lib/elput/Elput.h
parentb5422700c05a102d418faa60f93287b7abcf44db (diff)
elput: Add API function to initialize and shutdown input devices
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Diffstat (limited to 'src/lib/elput/Elput.h')
-rw-r--r--src/lib/elput/Elput.h31
1 files changed, 30 insertions, 1 deletions
diff --git a/src/lib/elput/Elput.h b/src/lib/elput/Elput.h
index 44a861ce29..234597ff33 100644
--- a/src/lib/elput/Elput.h
+++ b/src/lib/elput/Elput.h
@@ -39,6 +39,7 @@ typedef struct _Elput_Manager Elput_Manager;
39 * 39 *
40 * @li @ref Elput_Init_Group 40 * @li @ref Elput_Init_Group
41 * @li @ref Elput_Manager_Group 41 * @li @ref Elput_Manager_Group
42 * @li @ref Elput_Input_Group
42 * 43 *
43 */ 44 */
44 45
@@ -75,7 +76,6 @@ EAPI int elput_shutdown(void);
75 * 76 *
76 * Functions that deal with connecting, disconnecting, opening, closing 77 * Functions that deal with connecting, disconnecting, opening, closing
77 * of input devices. 78 * of input devices.
78 *
79 */ 79 */
80 80
81/** 81/**
@@ -127,6 +127,35 @@ EAPI int elput_manager_open(Elput_Manager *manager, const char *path, int flags)
127 */ 127 */
128EAPI void elput_manager_close(Elput_Manager *manager, int fd); 128EAPI void elput_manager_close(Elput_Manager *manager, int fd);
129 129
130/**
131 * @defgroup Elput_Input_Group Elput input functions
132 *
133 * Functions that deal with setup of inputs
134 */
135
136/**
137 * Initialize input
138 *
139 * @param manager
140 * @param seat
141 *
142 * @return EINA_TRUE on success, EINA_FALSE on failure
143 *
144 * @ingroup Elput_Input_Group
145 * @since 1.18
146 */
147EAPI Eina_Bool elput_input_init(Elput_Manager *manager, const char *seat);
148
149/**
150 * Shutdown input
151 *
152 * @param manager
153 *
154 * @ingroup Elput_Input_Group
155 * @since 1.18
156 */
157EAPI void elput_input_shutdown(Elput_Manager *manager);
158
130# endif 159# endif
131 160
132# undef EAPI 161# undef EAPI