STEPS TO REPRODUCE 1. Have a touchpad in which the "pressure for touch" seems to be the same "pressure for untouching". 2. Click on something that behaves differently if clicked once or twice. OBSERVED RESULT Due to the poorly designed touchpad, a slightly variation of pressure of the finger causes the touchpad to be untouched and touched again, causing undesired extra clicks. EXPECTED RESULT If the pressure sensitivity for letting go was lower, these issues wouldn't happen, or so I think. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.4.2 KDE Frameworks Version: 6.16.0 Qt Version: 6.9.1 Kernel Version: 6.15.6-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz Memory: 9 GB of RAM (8.1 GB usable) Graphics Processor 1: NVIDIA GeForce GTX 1650 Graphics Processor 2: Intel® Iris® Xe Graphics Manufacturer: LENOVO Product Name: 82MG System Version: IdeaPad Gaming 3 15IHU6 ADDITIONAL INFORMATION I'm assuming that my touchpad is capable of detecting different levels of pressure.
This is a feature that would have to be implemented in Libinput; we can't add it ourselves. It sounds like you want this feature to work around a hardware bug. That's generally not a good approach. Rather, the software should automatically detect this kind of thing and adapt, or be nitified at the library level that the hardware needs special attention. Libinput already includes a lot of quirks and workarounds for crappy touchpads; perhaps yours needs some attention too. I'd recommend you report this at https://gitlab.freedesktop.org/libinput/libinput/-/issues/ and rather than asking for a new feature, describe the issue itself.