mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-05-08 09:18:03 +02:00
libeis: better logging of new device capabilities
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
cc085b26f1
commit
9e60619439
1 changed files with 7 additions and 2 deletions
|
|
@ -187,8 +187,13 @@ client_new_device(struct eis_client *client,
|
|||
|
||||
eis_device_set_client_keymap(device, keymap_type, keymap_fd, keymap_sz);
|
||||
|
||||
log_debug(eis_client_parent(client), "New device %d caps: %#x\n",
|
||||
id, capabilities);
|
||||
log_debug(eis_client_parent(client),
|
||||
"New device %d caps: %s%s%s%s\n",
|
||||
id,
|
||||
eis_device_has_capability(device, EIS_DEVICE_CAP_POINTER) ? "p" : "",
|
||||
eis_device_has_capability(device, EIS_DEVICE_CAP_POINTER_ABSOLUTE) ? "a" : "",
|
||||
eis_device_has_capability(device, EIS_DEVICE_CAP_KEYBOARD) ? "k" : "",
|
||||
eis_device_has_capability(device, EIS_DEVICE_CAP_TOUCH) ? "t" : "");
|
||||
|
||||
eis_queue_added_event(device);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue