最近、Logitech Wireless Trackpadの 3 本指ジェスチャーを再バインドして、 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 がトラックパッドのみをジェスチャに使用するように強制できますか? もしそうなら、どのように?