summaryrefslogtreecommitdiff
path: root/src/lib/elput
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-01-31 10:29:25 -0500
committerChris Michael <cp.michael@samsung.com>2017-01-31 10:29:25 -0500
commitea3c1d17dac7227f5982cef6d3182f8b5c6c4c5d (patch)
tree8eb370842a26f8869da26e3f7ec710afb1115a4d /src/lib/elput
parentb44093c193ab3c563eaa955f57b98a21dbeaf3a7 (diff)
elput: Add more robust debugging output for input devices
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/elput')
-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 706e4f7567..6bb5b579e3 100644
--- a/src/lib/elput/elput_input.c
+++ b/src/lib/elput/elput_input.c
@@ -176,6 +176,13 @@ _device_add(Elput_Manager *em, struct libinput_device *dev)
176 edev = _evdev_device_create(eseat, dev); 176 edev = _evdev_device_create(eseat, dev);
177 if (!edev) return; 177 if (!edev) return;
178 178
179 if (edev->caps & EVDEV_SEAT_KEYBOARD)
180 DBG("\tDevice added as Keyboard device");
181 if (edev->caps & EVDEV_SEAT_POINTER)
182 DBG("\tDevice added as Pointer device");
183 if (edev->caps & EVDEV_SEAT_TOUCH)
184 DBG("\tDevice added as Touch device");
185
179 oname = libinput_device_get_output_name(dev); 186 oname = libinput_device_get_output_name(dev);
180 eina_stringshare_replace(&edev->output_name, oname); 187 eina_stringshare_replace(&edev->output_name, oname);
181 188