tools: Handle LIBINPUT_SWITCH_TABLET_MODE

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Stefan Brüns 2017-11-03 23:01:23 +01:00 committed by Peter Hutterer
parent 5ea84fa7da
commit 48fd22def7

View file

@ -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();
}