How to configure the touchpad to rotate and zoom in/out the picture?

A user in another topic may be able to give information and advice:
Touchpad shortcuts (e.g., Ctrl + touchpad swipe) stop working after switching away from and back to Krita