最近我一直在尝试重新绑定我的罗技无线触控板的三指手势,以便在Windows 10中的桌面之间切换。我使用的代码如下:
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
XButton1::SendInput {LCtrl down}{LWin down}{Right}{LCtrl up}{LWin up}
XButton2::SendInput {LCtrl down}{LWin down}{Left}{LCtrl up}{LWin up}
#F::Send {LWin down}{Tab}{LWin up}
但是,当我按下用于 Browser_forward 和 Browser_Back 的鼠标按钮时,鼠标也会在桌面之间切换。您可以强制 AutoHotKey 仅将触控板用于其手势吗?如果是这样,怎么做?