我有一个 Thinkpad T431s,带有轨迹点(键盘中间的红色棒)和触控板(一个也用作按钮的触摸板)。这是第一个不为轨迹点提供任何专用按钮的模型。我只想使用跟踪点。到目前为止,我能够配置触控板,使其充当轨迹点的按钮,同时通过以下方式禁用运动:
# Devide the clickpad into 3 areas for left/middle/right click
xinput set-prop 10 "Synaptics Soft Button Areas" 3477, 5112, 0, 0, 2659, 3476, 0, 0
# Disable mouse movements
xinput set-prop 10 "Device Accel Constant Deceleration" 9999999
# Disable tap events
xinput set-prop 10 "Synaptics Tap Action" 0, 0, 0, 0, 0, 0, 0
Run Code Online (Sandbox Code Playgroud)
其中 10 是触控板的 ID。
但是,我无法弄清楚如何配置轨迹点以使用中间按钮进行滚动模拟。问题似乎是 trackpoint 设备没有任何真正的按钮。因此,以下不起作用:
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 1
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel …
Run Code Online (Sandbox Code Playgroud)