Skip to content

Commit

Permalink
tools: Handle LIBINPUT_SWITCH_TABLET_MODE
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
  • Loading branch information
StefanBruens authored and whot committed Nov 5, 2017
1 parent 5ea84fa commit 48fd22d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/libinput-debug-events.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 48fd22d

Please sign in to comment.