<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 1, 2015 at 5:46 PM, Peter Hutterer <span dir="ltr"><<a href="mailto:peter.hutterer@who-t.net" target="_blank">peter.hutterer@who-t.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
+ switch (tool->type) {<br>
+ case LIBINPUT_TABLET_TOOL_TYPE_PEN:<br>
+ strtype = "PEN";<br>
+ break;<br>
+ case LIBINPUT_TABLET_TOOL_TYPE_BRUSH:<br>
+ strtype = "BRUSH";<br>
+ break;<br>
+ case LIBINPUT_TABLET_TOOL_TYPE_AIRBRUSH:<br>
+ strtype = "AIRBRUSH";<br>
+ break;<br>
+ case LIBINPUT_TABLET_TOOL_TYPE_PENCIL:<br>
+ strtype = "PENCIL";<br>
+ break;<br>
+ case LIBINPUT_TABLET_TOOL_TYPE_ERASER:<br>
+ strtype = "RUBBER";<br>
+ break;<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div>Is there a good reason for this inconsistency in the strings? Ie why isn't the last strtype "ERASER".<br> <br></div></div><br></div></div>