mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-03 04:30:09 +01:00
tablet: point the pressure offset log messages to the right URL
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
576bc2e5e6
commit
c5865f3ef0
1 changed files with 4 additions and 4 deletions
|
|
@ -1292,19 +1292,19 @@ detect_pressure_offset(struct tablet_dispatch *tablet,
|
|||
if (offset > axis_range_percentage(pressure, 20)) {
|
||||
evdev_log_error(device,
|
||||
"Ignoring pressure offset greater than 20%% detected on tool %s (serial %#x). "
|
||||
"See http://wayland.freedesktop.org/libinput/doc/%s/tablet-support.html\n",
|
||||
"See %stablet-support.html\n",
|
||||
tablet_tool_type_to_string(tool->type),
|
||||
tool->serial,
|
||||
LIBINPUT_VERSION);
|
||||
HTTP_DOC_LINK);
|
||||
return;
|
||||
}
|
||||
|
||||
evdev_log_info(device,
|
||||
"Pressure offset detected on tool %s (serial %#x). "
|
||||
"See http://wayland.freedesktop.org/libinput/doc/%s/tablet-support.html\n",
|
||||
"See %stablet-support.html\n",
|
||||
tablet_tool_type_to_string(tool->type),
|
||||
tool->serial,
|
||||
LIBINPUT_VERSION);
|
||||
HTTP_DOC_LINK);
|
||||
tool->pressure_offset = offset;
|
||||
tool->has_pressure_offset = true;
|
||||
tool->pressure_threshold.lower = pressure->minimum;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue