mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-28 22:30:07 +01:00
tablet: fix some code alignment
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
502e54f93a
commit
0f44173ff5
1 changed files with 2 additions and 2 deletions
|
|
@ -735,10 +735,10 @@ tablet_evcode_to_tool(int code)
|
|||
switch (code) {
|
||||
case BTN_TOOL_PEN: type = LIBINPUT_TABLET_TOOL_TYPE_PEN; break;
|
||||
case BTN_TOOL_RUBBER: type = LIBINPUT_TABLET_TOOL_TYPE_ERASER; break;
|
||||
case BTN_TOOL_BRUSH: type = LIBINPUT_TABLET_TOOL_TYPE_BRUSH; break;
|
||||
case BTN_TOOL_BRUSH: type = LIBINPUT_TABLET_TOOL_TYPE_BRUSH; break;
|
||||
case BTN_TOOL_PENCIL: type = LIBINPUT_TABLET_TOOL_TYPE_PENCIL; break;
|
||||
case BTN_TOOL_AIRBRUSH: type = LIBINPUT_TABLET_TOOL_TYPE_AIRBRUSH; break;
|
||||
case BTN_TOOL_MOUSE: type = LIBINPUT_TABLET_TOOL_TYPE_MOUSE; break;
|
||||
case BTN_TOOL_MOUSE: type = LIBINPUT_TABLET_TOOL_TYPE_MOUSE; break;
|
||||
case BTN_TOOL_LENS: type = LIBINPUT_TABLET_TOOL_TYPE_LENS; break;
|
||||
default:
|
||||
abort();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue