[PATCH libinput] tools: Handle LIBINPUT_SWITCH_TABLET_MODE

Peter Hutterer peter.hutterer at who-t.net
Sun Nov 5 22:58:19 UTC 2017


On Fri, Nov 03, 2017 at 11:01:23PM +0100, Stefan Brüns wrote:
> 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
> 
pushed, thanks

   aaded3d0..48fd22de  master -> master

Cheers,
   Peter


More information about the wayland-devel mailing list