IOGear 2x2 and 4x4 USB 2.0 hubs play friendly with Xim4, PS4 and XB1. The only potential issue is ensuring the DS4 controller is charged, or the PS4 can send the Xim into a boot cycle. It's only a problem if I've unplugged the DS4 and have used it wirelessly on the PS4 for a couple of hours. Otherwise, it's a complete non-issue.
My setup uses a 2x4 HDMI switch for video, 2x4 TOSlink switch for audio and two 4x4 IOGear USB 2.0 switches for kb/m shared between PC, Mac, Xim4 and 4 consoles (360, XB1, PS3, PS4). The switches are all rock-solid with no detectable lag.
It's actually more complex than that (
more info), with the objective to see if it all worked, and it does...really well. Refer to two posts above that for the previous setup.
I don't have both the XB1 and PS4 controllers connected concurrently in Port 3 (my controller plugs into Port 2 with nothing in Port 3) on Xim via a USB hub, but it would possibly work, depending on whether or not the PS4 and XB1 will authenticate through the hub. I can give it a try and let you know if it works.
I don't personally see the need as the XB1 and PS4 share the same USB cable type, so I just swap between them as needed. That said, I do have an XB1 wireless adapter plugged into a USB hub, plugged into a USB switch, plugged into the Xim. The adapter could easily be replaced with a wired XB1 controller and *might* detect for XB1 authentication purposes.