How to use digital ports D2 and D3 on Robot Hat Pidog for other sensors

I wanted to add and test other sensors on Pidog. How can I use D2 and D3 which is currently used by dual_touch ?

I can not just disconnect the connection to dual touch sensor because it is used somewhere in pidog class or perhaps in other libraries and will fail during init phase and startup.

You can refer to the Robot Hat API documentation at Robot Hat API for details on the corresponding Raspberry Pi GPIO pins, which can be found here: Raspberry Pi GPIO Pins. Alternatively, you can use the GPIO Zero library for control. class Pin — SunFounder Robot HAT documentation
Hardware Introduction — SunFounder Robot HAT documentation