p2rkw / xf86-input-mtrack

Xorg Multitouch Trackpad Driver
GNU General Public License v2.0
489 stars 54 forks source link

clickpad not fully disabled when palm detected (still clicks) #110

Open zfortier opened 3 years ago

zfortier commented 3 years ago

I am using a clickpad device. Palm detection is enabled and set to disable the clickpad when palm is detected.

  1. Hand-1 is placed on the clickpad so that it is detected as a palm
  2. While hand-1 is held in place, Hand-2 uses a finger to generate events on the clickpad
    • Cursor movement and scrolling gestures from hand-2 are ignored (expected)
    • Clicks generated using a finger on hand-2 are still accepted (and clicks generate haptic feedback from the clickpad) (not expected)
    • All input from hand-1 is ignored for as long as it continues to be detected as a palm (expected)
    • If hand-2 is also detected as a palm, clicks are ignored until that hand is no longer detected as a palm (expected)
Device 'bcm5974':
        Device Enabled (143):   1
        Coordinate Transformation Matrix (145): 2.000000, 0.000000, 0.000000, 0.000000, 2.000000, 0.000000, 0.000000, 0.000000, 1.000000
        Device Accel Profile (276):     2
        Device Accel Constant Deceleration (277):       0.900000
        Device Accel Adaptive Deceleration (278):       1.000000
        Device Accel Velocity Scaling (279):    10.000000
        Trackpad Disable Input (280):   0
        Trackpad Sensitivity (281):     0.300000
        Trackpad Touch Pressure (282):  8, 8
        Trackpad Button Settings (283): 1, 1
        Trackpad Button Emulation Settings (284):       0, 1, 100
        Trackpad Button Emulation Values (285): 3, 2, 14
        Trackpad Tap Settings (286):    50, 120, 400
        Trackpad Tap Button Emulation (287):    0, 0, 0, 0
        Trackpad Thumb Detection (288): 1, 0
        Trackpad Thumb Size (289):      28, 40
        Trackpad Palm Detection (290):  1, 1
        Trackpad Palm Size (291):       30
        Trackpad Gesture Settings (292):        10, 100
        Trackpad Scroll Distance (293): 220
        Trackpad Scroll Buttons (294):  4, 5, 6, 7
        Trackpad Swipe Distance (295):  700
        Trackpad Swipe Buttons (296):   8, 9, 10, 11
        Trackpad Swipe4 Distance (297): 700
        Trackpad Swipe4 Buttons (298):  0, 0, 10, 11
        Trackpad Scale Distance (299):  150
        Trackpad Scale Buttons (300):   14, 15
        Trackpad Rotate Distance (301): 150
        Trackpad Drag Settings (302):   0, 350, 40, 200
        Trackpad Axis Inversion (303):  0, 0

This is a problem because some laptops now have such comically huge clickpads that your whole hand naturally rests on it while typing.