How to add homing in kinematic model that has no homing features?

Basic Information:

Printer Model: Custom

Describe your issue:

Greetings. I am building a custom 3D-printer. Currently I decided to use “winch” kinematics, although it’s somewhat different. My printer uses 4 carriages. To move base in x axis all of them should move in sync. The problem is that “winch” kinematics doesn’t have rails. How should I change the code to add rails functionalities? I want to set up homing with G28 command. Thanks in advance!
P.S. - I have added a photo of my printer, so you can see how it moves, as my description is pretty basic.

The document Code overview - Klipper documentation contains some information on code organization and steps needed to define a new kinematic.

Maybe this will help as well: