[PATCH libinput] tools: Handle LIBINPUT_SWITCH_TABLET_MODE
Stefan Brüns
stefan.bruens at rwth-aachen.de
Fri Nov 3 22:01:23 UTC 2017
From: Stefan Brüns <stefan.bruens at rwth-aachen.de>
Signed-off-by: Stefan Brüns <stefan.bruens at rwth-aachen.de>
---
tools/libinput-debug-events.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/libinput-debug-events.c b/tools/libinput-debug-events.c
index 87b7b80..fb8d84d 100644
--- a/tools/libinput-debug-events.c
+++ b/tools/libinput-debug-events.c
@@ -747,6 +747,9 @@ print_switch_event(struct libinput_event *ev)
case LIBINPUT_SWITCH_LID:
which = "lid";
break;
+ case LIBINPUT_SWITCH_TABLET_MODE:
+ which = "tablet-mode";
+ break;
default:
abort();
}
--
2.14.3
More information about the wayland-devel
mailing list