When BTT is running, click and drag with the left mouse button exhibits glitchy/hitchy movement when the click and drag first starts. It's almost like the mouse position is teleporting instead of smoothly moving to the target location. It's very noticeable in games like WoW where you have to click and drag to orbit the camera, and it's really interfering with my game experience.
I thought this was a game bug at first, but when game support asked me to test it out without other programs running in the background, it became clear BTT was causing the issue.
Here's a video of the problem in action. I start by showing the issue with BTT running, then quit BTT, show it again where you can see smooth mouse action, and then re-enable BTT and you can see the issue come back immediately. When the mouse cursor disappears it means I'm holding the button down.
These games seem to do something in response to macOS Accessibility API requests, which seems to cause issues. Instead they should just ignore the macOS Accessibility API completely.
BetterTouchTool uses the Accessibility API to check whether the clicked/dragged element is a window.
Disabling it can be done calling these methods in the game's window object (if the game is using NSWindow's, otherwise it might require more low level code):
Hi @Andreas_Hegenberg . I'm having this issue but with right click (left click issue was solved by disabling snapping). I've tried a profile for the game, snapping and ax observation but also tried disable BTT altogether on the app in question.. and I can confirm that BTT does get disabled when the app is in focus but the lag when right clicking continues until I close BTT.
I tried fixing this in a game I was working on where BTT’s Window Snapping was causing lag. Making the app’s NSWindow opt‑out of Accessibility (accessibilityElement = NO + role override) didn’t change the behavior. It might be worth a brief warning during BTT’s initial setup that it could impact gaming.