How does one get seperate mouse and keyboard usb outputs from a kvm switch?

Greetings.

Problem: Combined with a kvm. Mouse and keyboard output is hubbed. This output is not understood by one of my peripherals. I need to split the kvm output back into 2 single usb channels containing only mouse and only keyboard.

This is rather niche and any google term I can think of for doing this is giving recursive results.

I haven’t soldered anything since radioshack existed. But I am not beyond building a custom controller to do so.

Before I do that I would like to ask the community if you’ve run into this as well, and how did you solve it?

Thanks.