diff --git a/tools/libinput-debug-events.c b/tools/libinput-debug-events.c index 87b7b803..fb8d84d8 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(); }