mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-25 05:50:05 +01:00
tablet: drop unnecessary switch case statements
We fall through to the default statement anyway Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
95242ceb4b
commit
5ec1dcbfb4
1 changed files with 0 additions and 10 deletions
|
|
@ -757,16 +757,6 @@ tablet_process_key(struct tablet_dispatch *tablet,
|
|||
TABLET_TOOL_LEAVING_CONTACT);
|
||||
}
|
||||
break;
|
||||
case BTN_LEFT:
|
||||
case BTN_RIGHT:
|
||||
case BTN_MIDDLE:
|
||||
case BTN_SIDE:
|
||||
case BTN_EXTRA:
|
||||
case BTN_FORWARD:
|
||||
case BTN_BACK:
|
||||
case BTN_TASK:
|
||||
case BTN_STYLUS:
|
||||
case BTN_STYLUS2:
|
||||
default:
|
||||
tablet_update_button(tablet, e->code, e->value);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue