Two Z endstops plus probe with an IDEX printer

Basic Information:

Printer Model: T-Rex 3
MCU / Printerboard: Vivedino 1.1
klippy.log (302.9 KB)

Fill out above information and in all cases attach your klippy.log file. Pasting your printer.cfg is not needed
Be sure to check our Knowledge Base and in particular this and this post

Describe your issue:

I like to run two regular endstops on my dual Z drive axes IDEX printer.

I connected the endstops to the GPIO of the raspi.

The BLTouch is mounted to [extruder] (the left one, in difference to [extruder1] on the right side)

I like to use the BLTouch to create the bed mesh.

I there a way to say Klipper that the BLtouch is mounted to [extruder] as it was formerly done by endstop_pin: probe:z_virtual_endstop in the [extruder] section.

It appears that Klipper assumes the BLTouch to be mounted to [extruder].

Everything works as expected.