mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 09:20:29 +01:00
evdev: log the applied model flags in debug mode
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>
This commit is contained in:
parent
dc7570f047
commit
d8e92b3e45
1 changed files with 6 additions and 1 deletions
|
|
@ -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++;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue