summaryrefslogtreecommitdiff
path: root/src/lib/elput/elput.c
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-04-07 09:00:18 -0400
committerChris Michael <cpmichael@osg.samsung.com>2016-04-13 14:16:17 -0400
commit6c85fe751488c344f1c0cff8e9f3dd013bf5f66d (patch)
treeb84b98b7eda667a9b99a2befea05b75413e48847 /src/lib/elput/elput.c
parent6a7589bf7805b31b532cd6acf972a3f87f65366f (diff)
elput: Add event which can be raised when devices get added or removed
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Diffstat (limited to 'src/lib/elput/elput.c')
-rw-r--r--src/lib/elput/elput.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/elput/elput.c b/src/lib/elput/elput.c
index f65da98946..2e54b3ec28 100644
--- a/src/lib/elput/elput.c
+++ b/src/lib/elput/elput.c
@@ -10,6 +10,7 @@ EAPI int ELPUT_EVENT_SEAT_CAPS = -1;
10EAPI int ELPUT_EVENT_SEAT_FRAME = -1; 10EAPI int ELPUT_EVENT_SEAT_FRAME = -1;
11EAPI int ELPUT_EVENT_KEYMAP_SEND = -1; 11EAPI int ELPUT_EVENT_KEYMAP_SEND = -1;
12EAPI int ELPUT_EVENT_MODIFIERS_SEND = -1; 12EAPI int ELPUT_EVENT_MODIFIERS_SEND = -1;
13EAPI int ELPUT_EVENT_DEVICE_CHANGE = -1;
13 14
14EAPI int 15EAPI int
15elput_init(void) 16elput_init(void)
@@ -32,6 +33,7 @@ elput_init(void)
32 ELPUT_EVENT_SEAT_FRAME = ecore_event_type_new(); 33 ELPUT_EVENT_SEAT_FRAME = ecore_event_type_new();
33 ELPUT_EVENT_KEYMAP_SEND = ecore_event_type_new(); 34 ELPUT_EVENT_KEYMAP_SEND = ecore_event_type_new();
34 ELPUT_EVENT_MODIFIERS_SEND = ecore_event_type_new(); 35 ELPUT_EVENT_MODIFIERS_SEND = ecore_event_type_new();
36 ELPUT_EVENT_DEVICE_CHANGE = ecore_event_type_new();
35 37
36 return _elput_init_count; 38 return _elput_init_count;
37 39
@@ -57,6 +59,7 @@ elput_shutdown(void)
57 ELPUT_EVENT_SEAT_FRAME = -1; 59 ELPUT_EVENT_SEAT_FRAME = -1;
58 ELPUT_EVENT_KEYMAP_SEND = -1; 60 ELPUT_EVENT_KEYMAP_SEND = -1;
59 ELPUT_EVENT_MODIFIERS_SEND = -1; 61 ELPUT_EVENT_MODIFIERS_SEND = -1;
62 ELPUT_EVENT_DEVICE_CHANGE = -1;
60 63
61 eina_log_domain_unregister(_elput_log_dom); 64 eina_log_domain_unregister(_elput_log_dom);
62 _elput_log_dom = -1; 65 _elput_log_dom = -1;