Synaptics 触摸板 synclient TapButton2 选项

Synaptics 触摸板 synclient TapButton2 选项

我的触摸板配置有问题。我想将双指行为改为中键单击,而不是右键单击。因此我在控制台中输入:

synclient TapButton2=2

从那时起,当我用两根手指点击时,什么都没有发生。为了测试它,我将 TapButton2 的值更改为 1,它开始像左键单击一样工作,就像它应该的那样。只有中间按钮的配置不起作用,你有什么解决方案吗?

下面是我的 synclient 的配置:

LeftEdge                = 1769
RightEdge               = 5423
TopEdge                 = 1644
BottomEdge              = 4544
FingerLow               = 25
FingerHigh              = 30
MaxTapTime              = 180
MaxTapMove              = 238
MaxDoubleTapTime        = 180
SingleTapTimeout        = 180
ClickTime               = 100
EmulateMidButtonTime    = 75
EmulateTwoFingerMinZ    = 282
EmulateTwoFingerMinW    = 7
VertScrollDelta         = 108
HorizScrollDelta        = 108
VertEdgeScroll          = 0
HorizEdgeScroll         = 0
CornerCoasting          = 0
VertTwoFingerScroll     = 1
HorizTwoFingerScroll    = 1
MinSpeed                = 1
MaxSpeed                = 1.75
AccelFactor             = 0.03688
UpDownScrolling         = 0
LeftRightScrolling      = 1
UpDownScrollRepeat      = 1
LeftRightScrollRepeat   = 1
ScrollButtonRepeat      = 100
TouchpadOff             = 2
LockedDrags             = 0
LockedDragTimeout       = 5000
RTCornerButton          = 0
RBCornerButton          = 0
LTCornerButton          = 0
LBCornerButton          = 0
TapButton1              = 1
TapButton2              = 2
TapButton3              = 3
ClickFinger1            = 1
ClickFinger2            = 1
ClickFinger3            = 0
CircularScrolling       = 0
CircScrollDelta         = 0.1
CircScrollTrigger       = 0
CircularPad             = 0
PalmDetect              = 0
PalmMinWidth            = 10
PalmMinZ                = 200
CoastingSpeed           = 20
CoastingFriction        = 50
PressureMotionMinZ      = 30
PressureMotionMaxZ      = 160
PressureMotionMinFactor = 1
PressureMotionMaxFactor = 1
ResolutionDetect        = 1
GrabEventDevice         = 1
TapAndDragGesture       = 1
AreaLeftEdge            = 0
AreaRightEdge           = 0
AreaTopEdge             = 0
AreaBottomEdge          = 0
HorizHysteresis         = 27
VertHysteresis          = 27
ClickPad                = 0

答案1

我解决了。由于这不是我的触摸板第一次出现问题,我之前更改了按钮映射以避免左侧物理按钮同时充当左键和中键的问题,因此我输入了:

xinput set-button-map "SynPS/2 Synaptics TouchPad" 1 0 3 4 5 6 7 8 9 10 11 12

因此实际上我无法在 TapButton2 选项中使用中间按钮。因此我决定使用以下命令将 ExtBt7 替换为中间按钮:

xinput set-button-map "SynPS/2 Synaptics TouchPad" 1 0 3 4 5 6 7 8 9 10 2 12

然后我将 TapButton2 设置为新值。

synclient TapButton2=11

瞧!一切正常。用一根手指点击会报告为左键单击,用两根手指点击会报告为中键单击。

相关内容