I’ve installed Haiku on an old Thinkpad x131e Chromebook (which I previously corebooted). Runs fine. Unfortunately, my touchpad is physically broken and too easily produces clicks. It can be pushed down to click which is independent of tapping. I’d like to disable tapping as well. The notebook has a trackpoint with its own mouse keys, so there’s really no need for clicking via the touchpad. The Input preferences do not show any touchpad-specific settings (even though it does seem to be detected as a Synaptics according to syslog). And even if it did, I probably couldn’t disabling clicking altogether.
So I thought, why not write a simple input filter to ignore any B_MOUSE_DOWN of that particular device…
However, it seems that B_MOUSE_DOWN doesn’t have any field allowing you to identify the originating device. Is that right?
> uname -a Haiku shredder 1 hrev54154+111 Jun 7 2020 07:16 x86_64 x86_64 Haiku
Here’s an interesting excerpt from the syslog. In this boot, the trackpoint is not detected (it usually is). Perhaps you can also see why the Synaptics is not detected as a proper touchpad (ie. why there are no touchpad preferences). If necessary, I’ll file a bug of course.
KERN: ps2_hid: init_hardware KERN: ps2_hid: init_driver KERN: ps2: active multiplexing v1.1 enabled KERN: ps2_hid: publish_devices KERN: ps2_hid: uninit_driver KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/input/ps2_hid KERN: ps2: reset failed KERN: ps2: devfs_publish_device input/mouse/ps2/0, status = 0xffffffff KERN: ps2: reset failed KERN: ps2: devfs_publish_device input/mouse/ps2/1, status = 0xffffffff KERN: ps2: reset failed KERN: ps2: devfs_publish_device input/mouse/ps2/2, status = 0xffffffff KERN: /dev/net/atheroswifi/0: media change, media 0x300a0 quality 1000 speed 0 KERN: ps2: devfs_publish_device input/touchpad/ps2/synaptics_3, status = 0x00000000 KERN: ps2: devfs_publish_device input/keyboard/at/0, status = 0x00000000 KERN: Highpoint-IDE: supports_device() Last message repeated 1 time KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/bus/usb_raw KERN: sis7018:init_hardware:ver:2.0.2 KERN: pci_reserve_device(0, 27, 0, hda) KERN: HDA: Detected controller @ PCI:0:27:0, IRQ:16, type 8086/1e20 (1ae0/c000) KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/audio/hmulti/hda KERN: emuxki: init_hardware() KERN: echo3g: init_hardware() KERN: echo3g: no card found KERN: auvia: init_hardware() KERN: auich: init_hardware() KERN: ps2: keyboard found