projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc7570f
)
evdev: log the applied model flags in debug mode
author
Peter Hutterer
<peter.hutterer@who-t.net>
Tue, 3 May 2016 04:10:51 +0000
(14:10 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Tue, 3 May 2016 05:10:01 +0000
(15:10 +1000)
Makes it a lot easier to figure out if the udev properties are set up
correctly.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev.c
patch
|
blob
|
history
diff --git
a/src/evdev.c
b/src/evdev.c
index afc4710cced838273832863ccfd147d92ac0cd7a..bcd9c5bdb56f275954a931ff27f23e5d66333a5c 100644
(file)
--- a/
src/evdev.c
+++ b/
src/evdev.c
@@
-1741,8
+1741,13
@@
evdev_read_model_flags(struct evdev_device *device)
while (m->property) {
if (!!udev_device_get_property_value(device->udev_device,
- m->property))
+ m->property)) {
+ log_debug(device->base.seat->libinput,
+ "%s: tagged as %s\n",
+ evdev_device_get_sysname(device),
+ m->property);
model_flags |= m->model;
+ }
m++;
}