[ltp] Disabling touchpad buttons only

Richard Neill linux-thinkpad@linux-thinkpad.org
Tue, 22 Jan 2008 17:26:25 +0000


Marius Gedminas wrote:
> Lenovo T61 has the UltraNav thingy: trackpoint with three buttons and a
> touchpad with two buttons.
> 
> Is it possible to disable the buttons below the touchpad, but keep the
> touchpad itself active?
> 

I think so.

1)Write separate udev rules to create symlinks /dev/input/trackpoint, 
and /dev/input/touchpad

2)Configure these devices separately in xorg.conf, one as CorePointer, 
the other as SendCoreEvents.  Don't use /dev/input/mice.

3)With the touchpad, map the buttons 1/2  out of the way, so that they 
send button 9,10 events. (which will be ignored)

HTH,

Richard