触摸板原始输入

触摸板原始输入

我正在研究除了鼠标移动之外使用笔记本电脑触摸板作为输入设备的额外可能性。

如何挂接并监听来自触摸板驱动程序的原始数据?

答案1

首先,找到系统的 TouchPad 驱动程序,在
zgrep -i touchpad /var/log/dmesg*
我的系统上(您的系统可能不同),它正在
input: AlpsPS/2 ALPS DualPoint TouchPad as /devices/platform/i8042/serio1/input/input7
执行
ls -lRA /sys/devices/platform/i8042/serio1/input/input7
(请注意添加的/系统)。显示了一些有趣的文件,但
man -k touchpad
引导我查看
man synaptics
以下内容:
synaptics - touchpad input driver
DESCRIPTION
synaptics is an Xorg input driver for touchpads. Even though touchpads can be
handled by the normal evdev or mouse drivers, this driver allows more advanced
features of the touchpad to become available.

相关内容