启用触摸板压力检测

启用触摸板压力检测

我的触摸板上有很多错误的点击,导致我拖动东西并点击我本来不想点击的东西。我认为原因是压力检测(我假设我的触摸板有)不受支持。我可以做些什么来启用它?

$ libinput measure touchpad-pressure 
Using SYNACD3E:00 06CB:CD3E Touchpad: /dev/input/event6

This device does not have the capabilities for pressure-based touch detection.
Details: Device does not have ABS_PRESSURE or ABS_MT_PRESSURE

我目前已停用点击拖动功能,但这是我经常使用的功能,但我仍然会收到虚假点击。

xinput list-props 13
Device 'SYNACD3E:00 06CB:CD3E Touchpad':
    Device Enabled (169):   1
    Coordinate Transformation Matrix (171): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Tapping Enabled (322): 1
    libinput Tapping Enabled Default (323): 0
    libinput Tapping Drag Enabled (324):    1
    libinput Tapping Drag Enabled Default (325):    1
    libinput Tapping Drag Lock Enabled (326):   0
    libinput Tapping Drag Lock Enabled Default (327):   0
    libinput Tapping Button Mapping Enabled (328):  1, 0
    libinput Tapping Button Mapping Default (329):  1, 0
    libinput Natural Scrolling Enabled (306):   1
    libinput Natural Scrolling Enabled Default (307):   0
    libinput Disable While Typing Enabled (330):    1
    libinput Disable While Typing Enabled Default (331):    1
    libinput Scroll Methods Available (308):    1, 1, 0
    libinput Scroll Method Enabled (309):   1, 0, 0
    libinput Scroll Method Enabled Default (310):   1, 0, 0
    libinput Click Methods Available (332): 1, 1
    libinput Click Method Enabled (333):    1, 0
    libinput Click Method Enabled Default (334):    1, 0
    libinput Middle Emulation Enabled (335):    0
    libinput Middle Emulation Enabled Default (336):    0
    libinput Accel Speed (313): 0.000000
    libinput Accel Speed Default (314): 0.000000
    libinput Left Handed Enabled (318): 0
    libinput Left Handed Enabled Default (319): 0
    libinput Send Events Modes Available (291): 1, 1
    libinput Send Events Mode Enabled (292):    0, 0
    libinput Send Events Mode Enabled Default (293):    0, 0
    Device Node (294):  "/dev/input/event6"
    Device Product ID (295):    1739, 52542
    libinput Drag Lock Buttons (320):   <no items>
    libinput Horizontal Scroll Enabled (321):   1

我有联想 IdeaPad S540 和 libinput 版本 1.15.5。

有没有什么方法可以安装正确的触摸板驱动程序或我可以做其他什么来获得压力或尺寸检测?

答案1

就我而言,通过切换到 synaptics 解决了这个问题:

sudo apt install xserver-xorg-input-synaptics

(然后注销并重新登录。)

未经测试:另一种选择是:

sudo apt install xserver-xorg-input-evdev

相关内容