What config file handles touchscreen gestures?

I have a Wacom companion 2. Gestures like pinch to zoom, two finger drag to pan and the like do not work in Krita. I also have Microsoft Surface pro 3, which has a modded kernel and other files by Jakeday. Gestures to pan and zoom DO WORK with the surface pro 3 and Krita. So I’m curious if touch screen gestures are configured in a specific file that I could copy and place into my Wacom Companion system to get gestures working properly. Or am I barking up the wrong tree?