mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-11 06:20:22 +01:00
tablet: drop unused condition
Since bd0f43eeb6 this condition isn't triggered
anymore.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
69dd3e4629
commit
6861039c29
1 changed files with 0 additions and 7 deletions
|
|
@ -398,13 +398,6 @@ tablet_check_notify_axes(struct tablet_dispatch *tablet,
|
|||
axis_to_evcode(a));
|
||||
|
||||
switch (a) {
|
||||
case LIBINPUT_TABLET_TOOL_AXIS_X:
|
||||
case LIBINPUT_TABLET_TOOL_AXIS_Y:
|
||||
if (device->left_handed.enabled)
|
||||
tablet->axes[a] = invert_axis(absinfo);
|
||||
else
|
||||
tablet->axes[a] = absinfo->value;
|
||||
break;
|
||||
case LIBINPUT_TABLET_TOOL_AXIS_DISTANCE:
|
||||
case LIBINPUT_TABLET_TOOL_AXIS_PRESSURE:
|
||||
case LIBINPUT_TABLET_TOOL_AXIS_SLIDER:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue