tablet: remove obsolete BTN_TOUCH case

We filter BTN_TOUCH in the caller, so this cannot happen here.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2018-02-02 15:38:22 +10:00
parent 5ec1dcbfb4
commit 2872cb4dec

View file

@ -673,8 +673,6 @@ tablet_update_button(struct tablet_dispatch *tablet,
uint32_t enable) uint32_t enable)
{ {
switch (evcode) { switch (evcode) {
case BTN_TOUCH:
return;
case BTN_LEFT: case BTN_LEFT:
case BTN_RIGHT: case BTN_RIGHT:
case BTN_MIDDLE: case BTN_MIDDLE: