I have a laptop with a touchpad with physical buttons. The problem is that the physical buttons are part of the touchpad, so the cursor moves when you press them. Basically, what I want to do is get the equivalent of
if (touchpressure() > arbitrary_threshold && isinbottomfourthoftouchpad())
disabletouchinbottomfourthoftouchpad();
in /etc/X11/xorg.conf. Is this solvable through easy scripting, or through something far more involved?
For those interested, my laptop is an HP Pavilion dv6t.