How to block trackpad gestures while typing

Is there any way to temporarily disable the configured gesture while typing? I accidentally trigger right edge swipe up gesture while keeping using casually on sofa / chair @Andreas_Hegenberg

Maybe this will work: Move the gestures in question to a separate preset that you can disable when you're typing on the sofa.

there are some advanced settings that allow for this but in the end it can not be prevented completely as BTT can not know whether you are about to type:

@Andreas_Hegenberg Sometimes it also bothers me that I accidentally do something on the trackpad while I'm typing.

Is there a quick way to enable this option, maybe a script that can be used with BTT??

@Frank1 I have added a predefined action "Ignore Built-In Trackpad While Mouse Present" that allows to toggle this quickly

Well, “quickly” is a bit of an exaggeration :slight_smile: I asked several AI tools for a script to toggle that option that could be triggered with BTT. Unfortunately, none of the scripts work.

No I mean the new BTT version has an explicit action.

Ah, even better. Do you think it will also work with Ventura? I am not at home and can’t test it right now. The AI says you need a different script for each macOS version.

yes this should work on all macOS versions BTT supports

Great, thanks a lot!

Unfortunately, it doesn't. I just tested it with various triggers.

what exactly did you test? does it not turn on/off the checkbox for you?

Correct.

on older systems the changes in system setting sometimes did not become visible (but still active) until restarting the system preferences app, is that maybe the issue?

Ah, okay, that's right. When I close the System Prefs and reopen it, the option is selected. But the trackpad remains active.

is an external mouse connected?

Ah or do you just want to disable BTT gestures temporarily?

Yes, with a cable.

No, that would be easy to set up, for example, by moving these gestures into a preset that you can enable or disable with a shortcut.

I want to completely disable the trackpad, just like the macOS option does when a mouse is connected.

Here’s another idea, maybe this is easier: The same thing happens when a Bluetooth mouse is connected. I still have an old one in my office. If this option is always turned on, but this action

turns Bluetooth on or off and the mouse connects on its own, you should achieve the same effect. I can’t test that right now. Instead of toggling the option, you’d toggle Bluetooth.

Do you think that would work?

I don’t think so, if the option does not work with cable nouse I doubt it will work with bluetooth mice.

However it works fine here - this is about the internal trackpad, correct?

No, no, the option works when I click it manually. It doesn't work with your action, even though the option is shown as active.

Correct.

Do you know if the last used Bluetooth mouse connects automatically when you toggle Bluetooth on and off?

In case anyone's interested, here's how it works: Leave the macOS option enabled and just toggle the Bluetooth function.

If you need Bluetooth, you can also use the predefined actions to just turn the mouse on or off.

Of course, this is just a workaround in case the new predefined action doesn't work, as it didn't for me.