觸控板原始輸入

觸控板原始輸入

我正在研究使用筆記型電腦觸控板作為滑鼠移動之外的輸入裝置的額外可能性。

如何掛接和監聽來自觸控板驅動程式的原始資料?

答案1

首先,找到您系統的觸控板驅動程序,透過
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.

相關內容