mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-22 11:20:24 +01:00
tools: print the tablet capability as 'T' in event-debug
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
2365f7d3d1
commit
90918f77e6
1 changed files with 3 additions and 0 deletions
|
|
@ -152,6 +152,9 @@ print_device_notify(struct libinput_event *ev)
|
|||
if (libinput_device_has_capability(dev,
|
||||
LIBINPUT_DEVICE_CAP_TOUCH))
|
||||
printf("t");
|
||||
if (libinput_device_has_capability(dev,
|
||||
LIBINPUT_DEVICE_CAP_TABLET))
|
||||
printf("T");
|
||||
|
||||
if (libinput_device_get_size(dev, &w, &h) == 0)
|
||||
printf("\tsize %.2f/%.2fmm", w, h);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue