summaryrefslogtreecommitdiff
path: root/src/lib/elput/elput_input.c
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-05-10 13:49:38 -0400
committerChris Michael <cpmichael@osg.samsung.com>2016-05-10 13:49:38 -0400
commitbe763a011c4d37edff48d8db99bf234514670cb6 (patch)
tree1465d14ba0e93edaaa411b25e7d6b2c09ce0498b /src/lib/elput/elput_input.c
parentba3a91a8b534b1ff9af095d3084a37031f15f974 (diff)
elput: Add API function to return a list of Elput_Devices on a given
seat This patch adds a new API function which can be called to retrieve a list of existing Elput_Devices on a given Elput_Seat. @feature Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Diffstat (limited to '')
-rw-r--r--src/lib/elput/elput_input.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/elput/elput_input.c b/src/lib/elput/elput_input.c
index 8a15694b16..11269dfe07 100644
--- a/src/lib/elput/elput_input.c
+++ b/src/lib/elput/elput_input.c
@@ -328,3 +328,10 @@ elput_input_pointer_xy_set(Elput_Manager *manager, const char *seat, int x, int
328 } 328 }
329 } 329 }
330} 330}
331
332EAPI const Eina_List *
333elput_input_devices_get(Elput_Seat *seat)
334{
335 EINA_SAFETY_ON_NULL_RETURN_VAL(seat, NULL);
336 return seat->devices;
337}