How to turn off/on touchpad when mouse connected/not detected

Hi @edwkmho Not sure I do understand the question. My mouse is always connected (bluetooth) and in dconf I disabled touchpad while typing. That works.

6585cf32b05d328e167150077b7bad68efaed49a.png