mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-10 15:10:14 +01:00
touchpad: log the sysname of the device that looks like a bad clickpad
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
bb3edf4c94
commit
fccbe88f05
1 changed files with 4 additions and 2 deletions
|
|
@ -581,11 +581,13 @@ tp_init_buttons(struct tp_dispatch *tp,
|
|||
libevdev_has_event_code(device->evdev, EV_KEY, BTN_RIGHT)) {
|
||||
if (tp->buttons.is_clickpad)
|
||||
log_bug_kernel(libinput,
|
||||
"clickpad advertising right button\n");
|
||||
"%s: clickpad advertising right button\n",
|
||||
device->sysname);
|
||||
} else {
|
||||
if (!tp->buttons.is_clickpad)
|
||||
log_bug_kernel(libinput,
|
||||
"non clickpad without right button?\n");
|
||||
"%s: non clickpad without right button?\n",
|
||||
device->sysname);
|
||||
}
|
||||
|
||||
absinfo_x = device->abs.absinfo_x;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue