What are the switch components in the internal Cypress library?
You can use the "Analog Hardware Mux" as a switch.
Since it is a multiplexer, it naturally has a resistance value.
S1 and S2 connect to analog pins,
Switch by connecting comparator output to S1 and S2 to GND.
This configuration may be feasible because it is close to the CapSense component configuration.
Depending on the speed of the signal you need,
It may be better to check the switching time, MUX resistance value, and external capacitor capacity with SPICE.